NOV
30
2007

Having too much time

Due to our little hackweek project winning in two categories, I have the rest of the year so called "Innovative time off". In the beginning 10 days ITO sounded like nothing, but now I'm kind of forced go give up on real work and do fancy experiments :)

So I tried something. Certain voices claimed, porting Yast to Qt4 would be almost impossible due to the different event loops and threading and all that. But thanks to Thiago's little explanations on how things to go together, it was actually a job done pretty quickly (it was once tried in july, so I didn't start from scratch). Damn! Did I say, I have the rest of the year?

Anyway, here you can compare qt3 to qt4 when running the infamouse Wizard3.ycp example:

Qt3:

Qt4:

As you can easily see, I have one bug remaining: the cool gradients are missing. So I had two choices: either fix it or remove them all together. Asking around I couldn't find someone too attached to them, so I went for the latter:

This looks pretty plain I thought, but browsing on planet.kde.org (don't blame me, the O in ITO stands for "off"!) I happened to saw girish's blog entry about theming Qt, so I thought I give my theme designer capabilities a try. Thanks to Robert for showing me once more how to use inkscape I wrote a little qss file. And now if you start the above yast with -stylesheet style.qss, it will look like this:

.

As you can see, I'm project manager for a reason: This looks pretty ugly. But the good news is: A designer can go from here and make the qss good looking. The bad news though: it's still not even december and I need to find another pet project to hack on.

Comments

ok, now that is a yast i'd *want* use. nicely done! =)


By Aaron J. Seigo at Fri, 11/30/2007 - 09:29

This is awesome!

Will we see this in the next release of SUSE?

Regards Harry


By dirtyharry at Fri, 11/30/2007 - 10:37

I do not think this is wasted time at all. This is just great! All the people complaining about the yast installation will stop.

Do some more work on it and get it on the first alpha installation image of openSUSE 11.0.


By fm at Fri, 11/30/2007 - 10:47

that's sooo cool that you've picked up the mockup... it just looks gorgeous!!

plz include this in the next opensuse version!

[edit]: maybe you can theme the buttons too.. it would look a bit better if they also fit into the picture.


By lordbernhard at Fri, 11/30/2007 - 18:37

hi,

I just want to let you know the style.qss link appears broken. I guess the directory is renamed.

btw, nice work on yast! :)


By mxttie at Wed, 12/05/2007 - 00:31

i hope it will be in opensuse 11.0, because it looks amazing :-D


By ra100 at Thu, 12/06/2007 - 08:12