Thanks to the help of Niels and Vladimir, the solution for the QStyleSheet variable was to do:
int r, g, b;
m_theme->letterInputColor().getRgb(&r, &g, &b);
m_letterEdit->setStyleSheet(QString("border-style: solid; background-color: rgb(%1, %2, %3); border-bottom-right-radius:10; border-radius: 15px; border-width: 3px").arg(r).arg(g).arg(b));
It's the getRgb() that I failed to see how to use!
Yesterday on Saturday I went to the monthly hacking day organized by ervin in Toulouse. We were 7, sharing the power of our machines with icecream and hacking on various things.
Speaking of Icecream, B&J is now selling Fair-Trade icecreams. Nice to see fair trade spreading in lots of areas, I also noted a new trend in ethically made clothes, using organic material.
About patents: Quoting the BBC website: "The Thai government's decision to bypass the patents on two Aids drugs and one heart drug, so it can offer them to all Thai citizens, is a bold move, which has put the country on a collision course with the big pharmaceutical firms."
I do hope it'll induce a change of world ethics.
The FFII motto for its campaign against software patents Ethipat is "Sometimes less is more" (I have a poster of it in my kitchen). Sometimes less money for a few individuals in pharmaceutical firms is more health for thousands people.
Sunday, April 29, 2007
Thursday, April 26, 2007
QStyleSheet
Yesterday I thought I can be a bit artistic and improve the KLettres input widget (which is a QLineEdit). So I looked at QStyleSheet and after lots of trials I found out that it cannot take any variable. You have to set
background-color: rgb(202, 217, 84);
and you cannot set
background-color: rgb(m_theme->letterInputColor());
OK, I thought I'll set the nice round corners and border width with QStyleSheet and the colors with QPalette. No luck, QStyleSheet overrides QPalette, no way you can use both.
Pino cleaned my code recently and put everything related to themes in one class in order to manage that easier. So if I use QStyleSheet I'll have to hardcode the colors in the KLettresView class...
You can see on the left the normal widget used with QPalette and on the right the widget with a QStyleSheet applied which allows the rounded corners and the border width to be customized.
The stylesheet code looks like this:
m_letterEdit->setStyleSheet("border-style: solid; color: rgb(141, 80, 17); border-color: rgb(141, 80, 17); background-color: rgb(196, 189, 94); border-bottom-right-radius:10; border-radius: 15px; border-width: 3px");
where m_letterEdit is my QLineEdit.
Note that you can easily set stylesheets in Qt Designer by right clicking on the widget and choose "Change stylesheet..." then write your stylesheet attributes in the field. The dialog checks that they are valid.
background-color: rgb(202, 217, 84);
and you cannot set
background-color: rgb(m_theme->letterInputColor());
OK, I thought I'll set the nice round corners and border width with QStyleSheet and the colors with QPalette. No luck, QStyleSheet overrides QPalette, no way you can use both.
Pino cleaned my code recently and put everything related to themes in one class in order to manage that easier. So if I use QStyleSheet I'll have to hardcode the colors in the KLettresView class...
You can see on the left the normal widget used with QPalette and on the right the widget with a QStyleSheet applied which allows the rounded corners and the border width to be customized.
The stylesheet code looks like this:
m_letterEdit->setStyleSheet("border-style: solid; color: rgb(141, 80, 17); border-color: rgb(141, 80, 17); background-color: rgb(196, 189, 94); border-bottom-right-radius:10; border-radius: 15px; border-width: 3px");
where m_letterEdit is my QLineEdit.
Note that you can easily set stylesheets in Qt Designer by right clicking on the widget and choose "Change stylesheet..." then write your stylesheet attributes in the field. The dialog checks that they are valid.
Wednesday, April 25, 2007
Edu & School Day at aKademy
There will be a special focus on Education at next aKademy, Tuesday 3rd July, at the Department of Computer & Information Sciences, University of Strathclyde in GLASGOW. Various talks about using KDE in schools, deploying Linux will look into the reality of real life for teachers. GCompris author, Bruno Coudoin, will present GCompris and will probably amaze you with his Tux Droid (Bruno demonstrated it at our LUG and as Bruno is talented to speak, he made it a very enjoyable talk). Recently Bruno also got an OLPC small laptop and integrated GCompris with it. If you don't know GCompris, it is a whole educational suite with lots of activities. Primarily targetted to kids, it is now also widely used for rehabiliting adults, as I mentioned in my previous post.
See the Dot article for more details and don't forget to add your name on the wiki page.
Please help spread the word with this nice flyer (picture by Nuno Pinheiro, flyer improvement by Melissa from the Promo team, big thanks to both). Send it around to people involved in education, to your LUG (you can print it easily) and help make a difference in spreading freedom in education!
See the Dot article for more details and don't forget to add your name on the wiki page.
Please help spread the word with this nice flyer (picture by Nuno Pinheiro, flyer improvement by Melissa from the Promo team, big thanks to both). Send it around to people involved in education, to your LUG (you can print it easily) and help make a difference in spreading freedom in education!
Saturday, April 21, 2007
KLettres
I started KLettres when I was trying to get Leah learn the alphabet. The idea is simple: display a letter, listen to its sound and type it. Then at the second level you only hear the sound of the letter and you have to type it. Levels 3 and 4 are the same for syllables. The difficulty is that the program needs someone to record the letters of his language alphabet and some common syllables. So far KLettres supports 13 languages which is quite good.
Klettres is thus a very simple program. It looks so simple that it is sometimes overlooked. I am not sure it is included in Edubuntu. However, having already 13 languages shows that it is used. It is used in Uganda and in India for example. I also recently got a mail from someone who uses it for teaching kids with Cerebral Palsy. Very often, free educational software help reeducation and rehabilitation of adults. GCompris, the well known educational suite of activities for children is also used in such reeducational environment for example to help people recover their memory or to help moving hands and arms with some simple exercises and so on.
I coded support for svg backgrounds in KLettres these past 2 days. KLettres graphical interface is very simple and thus it needs nice backgrounds. Thanks to Danny Allen, KLettres has 3 svg different backgrounds, the "Desert" one was already there as png in KLettres for KDE 3 and Danny made 2 more nice backgrounds, one for kids and one more for adults. Also a big thank you to Pino Toscano who cleaned the KLettres code and provided a nice and easy management for different colors and widgets locations.
The mandatory screenshot

Leah is reading the Harry Potter books so I guess KLettres got her started well!
Klettres is thus a very simple program. It looks so simple that it is sometimes overlooked. I am not sure it is included in Edubuntu. However, having already 13 languages shows that it is used. It is used in Uganda and in India for example. I also recently got a mail from someone who uses it for teaching kids with Cerebral Palsy. Very often, free educational software help reeducation and rehabilitation of adults. GCompris, the well known educational suite of activities for children is also used in such reeducational environment for example to help people recover their memory or to help moving hands and arms with some simple exercises and so on.
I coded support for svg backgrounds in KLettres these past 2 days. KLettres graphical interface is very simple and thus it needs nice backgrounds. Thanks to Danny Allen, KLettres has 3 svg different backgrounds, the "Desert" one was already there as png in KLettres for KDE 3 and Danny made 2 more nice backgrounds, one for kids and one more for adults. Also a big thank you to Pino Toscano who cleaned the KLettres code and provided a nice and easy management for different colors and widgets locations.
The mandatory screenshot

Leah is reading the Harry Potter books so I guess KLettres got her started well!
Friday, April 20, 2007
Back from vacation
I had a great 2 weeks holiday in Burgundy, meeting family and having a great time with the kids as you can see on the pic (we had to put Clarisse in a kid pen which of course she did not like but in this old house she could not crawl safely and freely like at home thus we took turns in the pen with her!)

It was relaxing and the weather was awesome, still is in Toulouse!
Back at home I caught up with latest KDE development and I am improving KAppTemplate, learning to use D-Bus in order to integrate it in a template. I am also writing a doc for KAppTemplate so it'll get more exposure, so far I think it was the most unknown feature of the kdesdk module. I'll blog more about it so that new KDE 4 would-be developers can use it to easily start programming.
It was relaxing and the weather was awesome, still is in Toulouse!
Back at home I caught up with latest KDE development and I am improving KAppTemplate, learning to use D-Bus in order to integrate it in a template. I am also writing a doc for KAppTemplate so it'll get more exposure, so far I think it was the most unknown feature of the kdesdk module. I'll blog more about it so that new KDE 4 would-be developers can use it to easily start programming.
Saturday, March 31, 2007
Holiday & Dev Items
I'll be away on holiday for 2 weeks (the kids have Easter holidays) in Burgundy to see my parents, in-laws and family. Unfortunately there's no internet connection so it'll be a break from KDE. In any case I'll be back the 15th April fueled with fresh air and good food (my mum's a great cooker). Deb will come on Wednesday from Lyon, she did not see her brother and sisters for 3 months. Blandine has no holiday so is staying in Montreal.
I'll bring qt-copy from trunk in my laptop which is now Qt 4.3 beta and I plan to test something I'd always wanted to do: put some QWidget on a former canvas, now a QGraphicsView. This is now easily possible thanks to Andreas and the Trolltech labs. The pros and cons are described in Andreas'blog.
On IRC we chatted about KDE 3 and KDE 4 environments and how to develop KDE 4 programs with KDevelop 3.4 (in KDE 3) when you have separate users for each environment. milliams came with a very good tip to do so which I share with you. You use the great Alt-F2 command and type kdevelop (yes, I know, until there, nothing new). Wait! Expand the Options and check
"Run as a different user"
then add your KDE 4 user name and password.

KDevelop 3.4 will then start but it'll load all the environment variables from KDE 4. From there you can start a Qt 4 template or import an already existing KDE 4 program. If you work with a KDE 4 imported program, import it as "Generic C++ (custom buildsystem)" and then set cmake this way: in the Project Options dialog, Make Options tab, set the name to the make executable to point to a script. This custom shell script should "source ~/.bashrc" and then run "cmake" and "make" etc.
Thanks a lot to milliams for sharing that!
Another tip: in the "Project Options" dialog, "C++ Support" tab, be sure that your Qt points to Qt 4. You can set there the path to qmake and designer.
Update: another KDevelop setting for developing KDE 4 apps can be found on techbase.
Have fun with KDevelop and KDE 4 development. This week-end is the last week-end for kdelibs changes, I can't wait to come back in 2 weeks and see the latest goodies there, KNewStuff2 being the one I am most waiting for!
I'll bring qt-copy from trunk in my laptop which is now Qt 4.3 beta and I plan to test something I'd always wanted to do: put some QWidget on a former canvas, now a QGraphicsView. This is now easily possible thanks to Andreas and the Trolltech labs. The pros and cons are described in Andreas'blog.
On IRC we chatted about KDE 3 and KDE 4 environments and how to develop KDE 4 programs with KDevelop 3.4 (in KDE 3) when you have separate users for each environment. milliams came with a very good tip to do so which I share with you. You use the great Alt-F2 command and type kdevelop (yes, I know, until there, nothing new). Wait! Expand the Options and check
"Run as a different user"
then add your KDE 4 user name and password.

KDevelop 3.4 will then start but it'll load all the environment variables from KDE 4. From there you can start a Qt 4 template or import an already existing KDE 4 program. If you work with a KDE 4 imported program, import it as "Generic C++ (custom buildsystem)" and then set cmake this way: in the Project Options dialog, Make Options tab, set the name to the make executable to point to a script. This custom shell script should "source ~/.bashrc" and then run "cmake" and "make" etc.
Thanks a lot to milliams for sharing that!
Another tip: in the "Project Options" dialog, "C++ Support" tab, be sure that your Qt points to Qt 4. You can set there the path to qmake and designer.
Update: another KDevelop setting for developing KDE 4 apps can be found on techbase.
Have fun with KDevelop and KDE 4 development. This week-end is the last week-end for kdelibs changes, I can't wait to come back in 2 weeks and see the latest goodies there, KNewStuff2 being the one I am most waiting for!
Sunday, March 25, 2007
Latex Beamer
My husband is keen in using Free Software as much as possible for his work and I was telling him my friends use Latex Beamer for their presentations. He used to use SliTeX but that was not up to the job. he was happy to learn about Beamer. So we competed to see who will be first to have a Latex-Beamer working installation. Our distribution somehow did not have it so we installed from sources. I won!
As a coincidence, Thomas from my LUG asked me if I wanted to do a KDE presentation for our next LUG meeting on Wednesday evening! I felt obliged to say yes as I was not very much involved in the LUG activities these past 2 months. So here I am feeling the Ultimate Geek using LaTeX!!! I must say Beamer is very neat and the pdf output is impressive. There's a Beamer template available for KDDE presentations, thanks to Kévin, so half the work is already done. Well, the other half requires my attention now!
\end{post}
As a coincidence, Thomas from my LUG asked me if I wanted to do a KDE presentation for our next LUG meeting on Wednesday evening! I felt obliged to say yes as I was not very much involved in the LUG activities these past 2 months. So here I am feeling the Ultimate Geek using LaTeX!!! I must say Beamer is very neat and the pdf output is impressive. There's a Beamer template available for KDDE presentations, thanks to Kévin, so half the work is already done. Well, the other half requires my attention now!
\end{post}
Saturday, March 17, 2007
Statistics
Someone asked me recently how many developers there was in KDE-Edu and I could not assess the number. Thus I analyzed the current situation and I'm happy to share the figures with you. It's quite amazing as you will discover. It shows that most developers are quiet people who don't blog much and stay in the shadows of KDE, especially as KDE4 is not out yet.
For KDE4 edu development, we had 12 people who joined KDE-Edu! Yes, twelve, isn't that impressive? We have new developers for KVocTrain, Kiten, KTurtle, KmPlot, Kalzium, we have new projects in development in playground,... We have a developer who made a comeback: he started a program, had to stay away from KDE develpment for a few years and now he is back in the team. This also includes an artist, Johan, who does artwork for Kalzium. From the "older" developers (KDE3), 10 are still active while 4 intend to do work but do not have so much time.
If we add it up it's quite a big team and it shows at a small scale how Free Software Projects work, with a flow of people contributing, with people very active then driven away by life (having Clarisse and moving home last year made me quite inactive for several months for example) and new people joining.
I'd like to warmly thank all the KDE-Edu team for making it such an active project and to encourage new people to join the KDE community! And welcome to the new contributors!
For KDE4 edu development, we had 12 people who joined KDE-Edu! Yes, twelve, isn't that impressive? We have new developers for KVocTrain, Kiten, KTurtle, KmPlot, Kalzium, we have new projects in development in playground,... We have a developer who made a comeback: he started a program, had to stay away from KDE develpment for a few years and now he is back in the team. This also includes an artist, Johan, who does artwork for Kalzium. From the "older" developers (KDE3), 10 are still active while 4 intend to do work but do not have so much time.
If we add it up it's quite a big team and it shows at a small scale how Free Software Projects work, with a flow of people contributing, with people very active then driven away by life (having Clarisse and moving home last year made me quite inactive for several months for example) and new people joining.
I'd like to warmly thank all the KDE-Edu team for making it such an active project and to encourage new people to join the KDE community! And welcome to the new contributors!
Wednesday, February 28, 2007
FOSDEM follow-up
After the nice edu meeting at FOSDEM last Sunday morning, I started a wiki page so people can write down their ideas. I took few notes during the meeting so it's difficult to build a report on that. The wiki will help and I already got some feedback :-)
http://wiki.kde.org/tiki-index.php?page=FOSDEM2007EduReport
I'll then send that to all people who were present and to other people who could not come. We need to promote better Free Software in Education and that's why we need to work together. The idea of a general wiki where people using Free Software could be listed would be good. Skolelinux already has a webpage listing the schools who use it.
Another side effect of FOSDEM is that I started ported KioskTool to KDE 4 but it's quite long. The more we wait for porting programs to KDE 4 the more it's painful to do so. I'm struggling with subclassing the .ui files and also with DCOP to DBUS. First goal is to make it build... Scripts like am2cmake and qt3to4 work well but there's lot of code still to be ported. Well, all KDE core devels have to do boring stuff as well so it's not an exception!
http://wiki.kde.org/tiki-index.php?page=FOSDEM2007EduReport
I'll then send that to all people who were present and to other people who could not come. We need to promote better Free Software in Education and that's why we need to work together. The idea of a general wiki where people using Free Software could be listed would be good. Skolelinux already has a webpage listing the schools who use it.
Another side effect of FOSDEM is that I started ported KioskTool to KDE 4 but it's quite long. The more we wait for porting programs to KDE 4 the more it's painful to do so. I'm struggling with subclassing the .ui files and also with DCOP to DBUS. First goal is to make it build... Scripts like am2cmake and qt3to4 work well but there's lot of code still to be ported. Well, all KDE core devels have to do boring stuff as well so it's not an exception!
Monday, February 26, 2007
FOSDEM - Sunday
On Sunday morning I had the KDE room for 3 hours to conduct a workshop on "Free Educational Software: Working Together". The aim was to gather various people involved in Free Educational Software (developers, associations members, distributions,...) and to see how we can collaborate better. 20 to 25 people attended which was good and I'll put together a note on what we debated on. More on that in the next days. Warm thanks to all people who participated and also thanks to Bart for letting me have the room. A cool idea would be to have a scheduled track next year with presentations in FOSDEM.
In the afternoon, I attended the 3 KDE talks: Krita by Bart Coppens (the demos were excellent), KDE4 by Jos Poortvliet (the room was packed) and KDE e.V. by Sebastian Kügler.
See all that on pictures on http://www.flickr.com/photos/75461282%40N00/sets/72157594557713350/
All KDE talks were very interesting and I learnt quite a lot as I was not familiar with Nepomuk and Strigi. No need to say that I am a Krita fan and the Flake shapes are so good in KOffice (how about a kid app with the shapes and a few stamps and colors?)
It was then time to go to the airport and take the plane back to Toulouse. I enjoyed traveling with Kévin (ervin), it made the transport time go very fast :-)
Very nice meeting you all! I had a great and very productive time!
Back at home my husband dealt OK with the kids. Even if Clarisse is #5 and he is now experienced, it's a lot of work to have a crawling baby to look after. Big hug!
In the afternoon, I attended the 3 KDE talks: Krita by Bart Coppens (the demos were excellent), KDE4 by Jos Poortvliet (the room was packed) and KDE e.V. by Sebastian Kügler.
See all that on pictures on http://www.flickr.com/photos/75461282%40N00/sets/72157594557713350/
All KDE talks were very interesting and I learnt quite a lot as I was not familiar with Nepomuk and Strigi. No need to say that I am a Krita fan and the Flake shapes are so good in KOffice (how about a kid app with the shapes and a few stamps and colors?)
It was then time to go to the airport and take the plane back to Toulouse. I enjoyed traveling with Kévin (ervin), it made the transport time go very fast :-)
Very nice meeting you all! I had a great and very productive time!
Back at home my husband dealt OK with the kids. Even if Clarisse is #5 and he is now experienced, it's a lot of work to have a crawling baby to look after. Big hug!
Sunday, February 25, 2007
FOSDEM Friday && Saturday
I arrived in Brussels by plane with ervin and after some walk to drop our things at our hotels we went to see the Grand Place and some touristical things (of course it started to rain) with Guillaume, a nice French guy who was at the Youth Hostel. I was starving as we only had a sandwiche in the plane and believe it or not, in Belgium the streets smell chocolate! We joined the Roy d'Espagne early and that was good as it got quickly packed and people could not sit anymore. I met ThomasZ and guess what, suddenly Jonathan appeared! He said the previous day he could not come but a KDE gathering has such an attraction power that he had to be there. My English was a bit rusty but it improved after 2 beers ;-) People easily recognize me from the pic and from the fact that I have a unique profile in KDE while I am not so good in recognizing them. Kurt from Skolelinux was also sitted close. We had a great time and moved to another pub after Adriaan and others arrived. Fortunately on Saturday the day started at only 10:00 am and first we had a talk about patents in Europe. The talk was very interesting and straight to the point. The OLPC talk was less interesting as Jim Gettys showed the laptop hardware specs and talked little about software and even less about potential issues. Well it's difficult to cover it all in 1 hour. The afternoon the KDE room opened and I met more people. I attended the talks there then we went to dinner. The group splitted in 2 groups and my group went to a local restaurant. There the waitres thought I was a teacher with my students! We had a good laugh about it. I got to met Claire and Wendy (yes, 3 women in a group of 10, now that's better than all figures I saw until now) and I really enjoyed the dinner. The Amarok team shared their ideas for KDE4 but took time to eat ;-)
A very friendly day!
A very friendly day!
Saturday, February 17, 2007
Hacking Day
Today Kévin "ervin" organized a hacking day in Toulouse at the University Paul Sabatier. Some of his students were here as well as 2 of Kévin's friends who want to learn more about KDE developing and it was a very pleasing day (thanks to my husband who looked after the kids, I'll be away again at FOSDEM next week-end so I'm glad he is able to do everything at home :-).
We first started by setting icecream (I managed to erase my gcc but with the help of Thiago and another guy in the Mandriva channel on IRC it was quickly repaired)

then we went on hacking. I helped Flo making a patch for icemon (window not keeping its size and text too bold). His first patch, he would like to contribute to KDE so it's a great start. Everybody was cheerful and had a good time.

At the moment I am working on KAppTemplate, an application in kdesdk. It's a script that generates KDE templates to allow you to start developing easily. At the moment it generates 1 working KDE4 template and I am working on another one which was based on DCOP and should thus include DBus calls. However I did not really get it how QdBus is working. Also I have a bit of trouble with CMake as when I run make, the .moc files are not found in the build dir although correctly generated. So more tweaking needed. I'll write a doc when the templates are working as it's one of those things that exist but few people know about it.
Thanks Kévin for a great hacking day and I'll post the group pic as soon as I get it as I don't have taken any myself.
We first started by setting icecream (I managed to erase my gcc but with the help of Thiago and another guy in the Mandriva channel on IRC it was quickly repaired)

then we went on hacking. I helped Flo making a patch for icemon (window not keeping its size and text too bold). His first patch, he would like to contribute to KDE so it's a great start. Everybody was cheerful and had a good time.

At the moment I am working on KAppTemplate, an application in kdesdk. It's a script that generates KDE templates to allow you to start developing easily. At the moment it generates 1 working KDE4 template and I am working on another one which was based on DCOP and should thus include DBus calls. However I did not really get it how QdBus is working. Also I have a bit of trouble with CMake as when I run make, the .moc files are not found in the build dir although correctly generated. So more tweaking needed. I'll write a doc when the templates are working as it's one of those things that exist but few people know about it.
Thanks Kévin for a great hacking day and I'll post the group pic as soon as I get it as I don't have taken any myself.
Friday, February 09, 2007
KDE-Edu progress for KDE4
KDE-Edu is quite alive at the moment. Pino cleaned my code in KHangMan and KLettres, there's still work to do on it. I did not use enough classes when I started coding them and added code in an unruly way. Beginner trap! Albert helped me for SVG rendering in KHangMan as the "desert" theme was slow (cactus'fault). Also today I got sound support for Low Saxon in KLettres. Thanks to all!
We're also trying to fix some warnings in compilation. A new developer is looking into KVocTrain, we also have a new physics program in progress. Of course core developers work hard and are building an amazing KDE4.
Amazing life of FOSS projects!
We're also trying to fix some warnings in compilation. A new developer is looking into KVocTrain, we also have a new physics program in progress. Of course core developers work hard and are building an amazing KDE4.
Amazing life of FOSS projects!
Monday, February 05, 2007
KDE at FOSDEM
As every year, FOSDEM is again in 3 weeks (24-25 February, in Brussels). Bart Coppens has been busy preparing KDE dev room schedule at FOSDEM and together with Pascal Bleser they put it online: http://fosdem.org/2007/schedule/devroom/kde.
You can see how interesting the talks will be!
Focus has been put from KDE people to meet with other projects. Thus I get the KDE dev room for 3 hours on Sunday morning (9:00am to 12:00) for a meeting of all people interested in free educational software, while the GNOME room will be hosting a session on topics related to crossdesktop issues. I'd like to invite all people interested in Free Education come to share their ideas: developers, packagers, teachers, associations, ...
Working together while being different is the key for building something usefull, in software as in the real world!
You can see how interesting the talks will be!
Focus has been put from KDE people to meet with other projects. Thus I get the KDE dev room for 3 hours on Sunday morning (9:00am to 12:00) for a meeting of all people interested in free educational software, while the GNOME room will be hosting a session on topics related to crossdesktop issues. I'd like to invite all people interested in Free Education come to share their ideas: developers, packagers, teachers, associations, ...
Working together while being different is the key for building something usefull, in software as in the real world!
Thursday, February 01, 2007
Solutions Linux
On Tuesday and Wednesday I went to Paris to attend the Linux Show called "Solutions Linux". I nearly missed the train to Paris as the Toulouse subway got stuck on Tuesday morning, the subway got to a halt one stop before the station and I had to run in Toulouse streets at 6:00am.
I joined the KDE booth midday on Tuesday. We had 2 PCs sponsored by Open Wengo (which also printed our flyers) plus our own laptops.
Who was there for KDE?
Several French KDE core developers (David Faure, Laurent Montel, Aurélien Gâteau) plus translators (Sébastien Renard, Éric Pignet) and KDE-France Laurent Rathle and Charles de Miramon. Gaël Beaudoin also spent some time at the booth and several other people I knew by mail came to say hello.
What were people interested in?
- KDE4: roadmap, visual preview, latest stuff
- KDE cross platforms
- some support for specific problems. For example a guy is about to open a KDE cyber café in Paris and we were able to give him precise hints on what to tweak (using kiosk) and on how to set up KDE for a best performance run on low machines)
About KDE-Edu
I did a 1 hour presentation about KDE-Edu on Tuesday afternoon which did not attract many people but the persons who attended were very interested. It was my first presentation and I enjoyed it. As it's in French, it'll be available on the KDE-France website.
I also met quite a lot of French edu-related people, people from Scideralle and Skolelinux as well as several teachers who came at the booth so I got interesting feedback. Several teachers told me how good it will be to run kde-edu apps on Windows for KDE4 as they are often dependant on what OS exist in schools. French people in general don't speak English very well so translations are very important to them.
Tuesday was Vista launch and "L'Arche de la Défense" was illuminated with Vista colors and there was fireworks. We did not attend though ;-) We had dinner in a restaurant where Benoît Jacob (Eigen) and Cyrille Berger (Krita) joined us. Needless to say how pleased I was to meet them all.
I came back home won Wednesday evening in a night train, first time I did that. I had a 2 hours wait at the station and I was reading Linux Magazine when 2 people rightly guessed that I was involved in Linux. We spent the next 2 hours chatting, he wants to set up some Free Software parental control solutions for families and seeked adequate software at the show. His assistant was trying to get familiar with the Free Software concept. When I borded the train, there was a younger woman in the same compartment than me and the compartment was so tiny we started laughing when a giant-like guy entered with ski equipment! And he had the top bunk! He laughed as well and looked resigned, in the morning he said he managed to sleep but it was really cramped for him. The girl and me chatted for more than one hour in the hallway before going to sleep, we had quite a lot of common points. It's what I like in trips, especially by trains, people relate very easily.
ToDo for next year
- have KDE posters so the booth will be more visible
- maybe sell KDE goodies
- have flyers with local French contacts as people ask about French resources and several people wanted to know how to join the translation team
- have some business cards to give to important contacts
I don't have any pics but Laurent Rathle took some. Special thanks to him as he asked me to come. He also coordinated the preparation on the KDE-France.org wiki and forum.
I joined the KDE booth midday on Tuesday. We had 2 PCs sponsored by Open Wengo (which also printed our flyers) plus our own laptops.
Who was there for KDE?
Several French KDE core developers (David Faure, Laurent Montel, Aurélien Gâteau) plus translators (Sébastien Renard, Éric Pignet) and KDE-France Laurent Rathle and Charles de Miramon. Gaël Beaudoin also spent some time at the booth and several other people I knew by mail came to say hello.
What were people interested in?
- KDE4: roadmap, visual preview, latest stuff
- KDE cross platforms
- some support for specific problems. For example a guy is about to open a KDE cyber café in Paris and we were able to give him precise hints on what to tweak (using kiosk) and on how to set up KDE for a best performance run on low machines)
About KDE-Edu
I did a 1 hour presentation about KDE-Edu on Tuesday afternoon which did not attract many people but the persons who attended were very interested. It was my first presentation and I enjoyed it. As it's in French, it'll be available on the KDE-France website.
I also met quite a lot of French edu-related people, people from Scideralle and Skolelinux as well as several teachers who came at the booth so I got interesting feedback. Several teachers told me how good it will be to run kde-edu apps on Windows for KDE4 as they are often dependant on what OS exist in schools. French people in general don't speak English very well so translations are very important to them.
Tuesday was Vista launch and "L'Arche de la Défense" was illuminated with Vista colors and there was fireworks. We did not attend though ;-) We had dinner in a restaurant where Benoît Jacob (Eigen) and Cyrille Berger (Krita) joined us. Needless to say how pleased I was to meet them all.
I came back home won Wednesday evening in a night train, first time I did that. I had a 2 hours wait at the station and I was reading Linux Magazine when 2 people rightly guessed that I was involved in Linux. We spent the next 2 hours chatting, he wants to set up some Free Software parental control solutions for families and seeked adequate software at the show. His assistant was trying to get familiar with the Free Software concept. When I borded the train, there was a younger woman in the same compartment than me and the compartment was so tiny we started laughing when a giant-like guy entered with ski equipment! And he had the top bunk! He laughed as well and looked resigned, in the morning he said he managed to sleep but it was really cramped for him. The girl and me chatted for more than one hour in the hallway before going to sleep, we had quite a lot of common points. It's what I like in trips, especially by trains, people relate very easily.
ToDo for next year
- have KDE posters so the booth will be more visible
- maybe sell KDE goodies
- have flyers with local French contacts as people ask about French resources and several people wanted to know how to join the translation team
- have some business cards to give to important contacts
I don't have any pics but Laurent Rathle took some. Special thanks to him as he asked me to come. He also coordinated the preparation on the KDE-France.org wiki and forum.
Monday, January 15, 2007
X && SVG
Until now I had a problem with my X setting and my laptop was slow in rendering pictures. I thought it was due to some libs and did not go deeper in the matter. Ervin, whom I met last wednesday at Toulouse LUG, told me it was my X conf. I have a NVidia GeForce 7400 and I used the nv XOrg driver. So I settled to fix it. I had to install nvidia drivers from NVidia in order to fix this and that took me several days last week. Somehow in my usual user I ended with a blue screen! With the help of Mandriva IRC people I got it all working again.
I could demonstrate Nexuiz to my son. I did not manage to get compiz work but I don't have the time to tweak it.
Yesterday (we should have gone out but Léah had a nasty stomach bug) I implemented SVG rendering in KHangMan (before I thought SVG rendering in Qt4 was slow while it was my machine...). The great thing about Free Software is that you have sources from other people to dig in. As I am not a "real" programmer (i.e. one who learnt it properly) I really need to "study" other people code. It's easy to see the difference between a self-taught person (me) and a "professional". Just look in KHangMan sources and KGeography sources for example. That does not mean KHangMan code is crap, it just does not flow like KGeography's does, it's not so intuitive. That also does not mean I feel I can't code. It's just that I have some areas to improve to master OO programming.
Implementing direct SVG support in Qt4 is a matter of very few lines of code, less than with pixmaps.
I toyed with the idea to enter the Qt Centre Programming Contest in order to raise my knowledge but I probably won't have the time. It seems quite demanding. My idea was to implement a KEduca replacement in Qt as it's a very needed application. People kept telling me so in Auch and it also came on an edu-related mailing list. Having it cross-platforms would be great although it could be ported to KDE later. But I don't want to pursue too many goals and reach none!
I could demonstrate Nexuiz to my son. I did not manage to get compiz work but I don't have the time to tweak it.
Yesterday (we should have gone out but Léah had a nasty stomach bug) I implemented SVG rendering in KHangMan (before I thought SVG rendering in Qt4 was slow while it was my machine...). The great thing about Free Software is that you have sources from other people to dig in. As I am not a "real" programmer (i.e. one who learnt it properly) I really need to "study" other people code. It's easy to see the difference between a self-taught person (me) and a "professional". Just look in KHangMan sources and KGeography sources for example. That does not mean KHangMan code is crap, it just does not flow like KGeography's does, it's not so intuitive. That also does not mean I feel I can't code. It's just that I have some areas to improve to master OO programming.
Implementing direct SVG support in Qt4 is a matter of very few lines of code, less than with pixmaps.
I toyed with the idea to enter the Qt Centre Programming Contest in order to raise my knowledge but I probably won't have the time. It seems quite demanding. My idea was to implement a KEduca replacement in Qt as it's a very needed application. People kept telling me so in Auch and it also came on an edu-related mailing list. Having it cross-platforms would be great although it could be ported to KDE later. But I don't want to pursue too many goals and reach none!
Tuesday, January 09, 2007
Developing a Qt4 project with KDevelop
You can easily develop Qt4 projects in your KDE3 environment using KDevelop. You need to get Qt4 either from trunk/qt-copy or from Trolltech. Just follow the usual README in order to configure it correctly. No need to install it (that safely ensures you won't install over your existing Qt3).
How do you "use" Qt3 or Qt4? Just change a few variables. Qt4 basically only needs to have qmake first in the PATH variable. Open a new terminal session and set PATH to
$ export PATH=/path/to/qt4/bin:$PATH
and work on Qt4 in that terminal session if you work on command line.
If you want to use a pre-made Qt4 template and KDevelop, you then need KDevelop 3.4 branch
$ svn co svn://anonsvn.kde.org/home/kde/branches/kdevelop/3.4/
Note: build KDevelop against Qt3 and kdelibs from KDE3.
Then before running KDevelop, set in a terminal:
$ export PATH=/path/to/qt4/bin:$PATH
and run KDevelop from that terminal.
kdevelop &
In KDevelop choose
Project-> New Project -> C++ -> QMake Project -> Qt4 Application
You are asked the Project name then in the second page you can fill in the Qt4 path to qmake and to designer.

In KDevelop Build menu, choose "Build Project" or click F8 and then "Execute Main Program" (Shift - F9) and you'll get the following:

You can then add a .ui file for example using the QMake Manager on the right in KDevelop:

Right click on SOURCES and choose "Create New File" and in the dialog choose for example "QT4 Widget" and add the name of the file. Click OK and the .ui file will be added in your project (the file is created in the /src dir and also added in the .pro file). In the QMake Manager you will see a FORMS section and your .ui file is there. Clicking on it will open Designer and you will be able to start designing!
How do you "use" Qt3 or Qt4? Just change a few variables. Qt4 basically only needs to have qmake first in the PATH variable. Open a new terminal session and set PATH to
$ export PATH=/path/to/qt4/bin:$PATH
and work on Qt4 in that terminal session if you work on command line.
If you want to use a pre-made Qt4 template and KDevelop, you then need KDevelop 3.4 branch
$ svn co svn://anonsvn.kde.org/home/kde/branches/kdevelop/3.4/
Note: build KDevelop against Qt3 and kdelibs from KDE3.
Then before running KDevelop, set in a terminal:
$ export PATH=/path/to/qt4/bin:$PATH
and run KDevelop from that terminal.
kdevelop &
In KDevelop choose
Project-> New Project -> C++ -> QMake Project -> Qt4 Application
You are asked the Project name then in the second page you can fill in the Qt4 path to qmake and to designer.

In KDevelop Build menu, choose "Build Project" or click F8 and then "Execute Main Program" (Shift - F9) and you'll get the following:

You can then add a .ui file for example using the QMake Manager on the right in KDevelop:

Right click on SOURCES and choose "Create New File" and in the dialog choose for example "QT4 Widget" and add the name of the file. Click OK and the .ui file will be added in your project (the file is created in the /src dir and also added in the .pro file). In the QMake Manager you will see a FORMS section and your .ui file is there. Clicking on it will open Designer and you will be able to start designing!
Sunday, January 07, 2007
Free Software Event
Yesterday I went to a free software event in a Cyber Base in Auch (France). Cyber bases are as cyber café except free, they are meant to provide free IT access to citizens and they offer some training in office and such. Auch cyber base is having a Free Software event and I was part of if yesterday (couln't leave my husband in charge longer ;-), demonstrating edu software. First I'd like to praise the organizer Benoit Falque who had everything ready for us when we arrived. We were 4 members of my LUG to attend. A buffet was provided and machines were ready. The conference room was nice, with a big screen, wifi and a laptop provided. My teammates LUG members gave talks on Free Software (Thomas), GCompris (Bruno, GCompris author) and Wikipedia (Guillaume, a Fr Wikipedia member). Meanwhile I demonstrated edu software. I had a PC running Edubuntu Live CD and my laptop running KDE 3.5. I met all sort of users: families with kids, teachers, older people interested for their grand-children. Most of them were not aware at all of Free Software but were very open to the idea. Giving Live CDs is cool as they can instantly use the software. I got interesting feedback about KDE-Edu: teachers would like a KEduca replacement and they are also keen in inputting their own data in apps whenever possible. I also chatted about edu with Bruno who drove us all to Auch.
I also saw cool demos of 3D desktop with Beryl and it was the 1st time I saw such effects (cube, 3D snow all over the desktop,...). Someone also demonstrated a new game Nexuiz.
I'm glad to be part of such an active LUG and I'd like to thank them all for their involvement and team spirit! Thanks also to the guy who drove me back and whose name I don't even know!
To finish, love to Deb with a (p)why who is back in Lyon!
I also saw cool demos of 3D desktop with Beryl and it was the 1st time I saw such effects (cube, 3D snow all over the desktop,...). Someone also demonstrated a new game Nexuiz.
I'm glad to be part of such an active LUG and I'd like to thank them all for their involvement and team spirit! Thanks also to the guy who drove me back and whose name I don't even know!
To finish, love to Deb with a (p)why who is back in Lyon!
Friday, January 05, 2007
Friday && Wiki
Today's being Friday I added a page in the wiki: http://developernew.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts which is a transcript of David Faure talk at aKademy 2006. It gives you tricks and tips about easier setting your KDE 4 environment. It needs some verbosity to better explain each section but I'm glad I contributed in some way to the wiki. I'll polish it Sunday.
I've been translating more KDE-Edu apps to French and had trouble with Kanagram screenshots which are fancy but difficult to reproduce but I got help from the nice KOffice guys and from Dannya, thanks a lot.
Holidays are coming to an end with Debs leaving for Lyon tomorrow morning. Blandine will stay longer before going back to Montreal and she'll travel next week to Germany by plane and train to visit a friend. She barely speaks German and she has to commute in Berlin (I hope my syster in law will take care of her) and then in Leipsiz in order to go to Dresden. Clarisse now claps in her hands and crawls faster and faster!
I've been translating more KDE-Edu apps to French and had trouble with Kanagram screenshots which are fancy but difficult to reproduce but I got help from the nice KOffice guys and from Dannya, thanks a lot.
Holidays are coming to an end with Debs leaving for Lyon tomorrow morning. Blandine will stay longer before going back to Montreal and she'll travel next week to Germany by plane and train to visit a friend. She barely speaks German and she has to commute in Berlin (I hope my syster in law will take care of her) and then in Leipsiz in order to go to Dresden. Clarisse now claps in her hands and crawls faster and faster!
Sunday, December 31, 2006
Upgrade
My husband's laptop had Mandriva 2006 and he wanted to upgrade as his wifi was not working since we are in France. He also wanted OpenOffice 2 and a couple of other new progs. The upgrade went pretty well except that there was no input possible in any app... After a few tries of different things I managed to find out that the kdebase- kdm package does it and probably conflicts with something else. I got the wifi working except that at boot Mandriva sometimes gives the wifi eth0 and other times eth1 and it only works when it's eth1. My husband is a konsole, emacs and gnuplot kind of user, doing fortran progs and office work for presentations on his laptop. But he is also happy using KDE for multimedia especially Kaffeine for watching our region 1 DVDs.
I ordered 100 Edubuntu CDs for a Free Software show next week but they'll only ship me 20. The CDs were sent but I did not get them yet. I hope to get them in time but I was very disapointed to see they shipped only 20. I'll demonstrate KDE-Edu and Bruno from my LUG will demonstrate GCompris as there's an Education focus thus I thought Edubuntu CDs were the best to give. If anyone knows an updated Live CD distro including KDE-Edu with different languages, i'd be happy to know about it!
Meanwhile I am busy finishing edu apps translations to French.
So far I went 4 times to the cinema in 10 days (watching a kid film with Léah, 2 girl films with my older daughters and a French film with my husband)! Holidays are relaxing and the weather is amazingly warm, especially after 4 winters in Canada. Life is good!
I ordered 100 Edubuntu CDs for a Free Software show next week but they'll only ship me 20. The CDs were sent but I did not get them yet. I hope to get them in time but I was very disapointed to see they shipped only 20. I'll demonstrate KDE-Edu and Bruno from my LUG will demonstrate GCompris as there's an Education focus thus I thought Edubuntu CDs were the best to give. If anyone knows an updated Live CD distro including KDE-Edu with different languages, i'd be happy to know about it!
Meanwhile I am busy finishing edu apps translations to French.
So far I went 4 times to the cinema in 10 days (watching a kid film with Léah, 2 girl films with my older daughters and a French film with my husband)! Holidays are relaxing and the weather is amazingly warm, especially after 4 winters in Canada. Life is good!
Subscribe to:
Posts (Atom)