Description: Ok, I saw this on a story on osnews.com (http://www.osnews.com/story.php?news_id=5453&page=2) Question 9, and i thought "i wonder how close to this Qt could manage", so here is my challenge, a style as close to this as possible (which i'm sure you will agree with me, is a very nice style), let's see what (if any) people can come up with? (although i do realise there are some things in there QT can't manage, eg snake menu effect)
I've found one problem to make it : edit widgets, at least with Qt 3.X style implementation, can't have a shape different of rectangular. Even by forcing the clip region with an internal Qt function, there are still some problems, in konqueror for example.
Of the more innovative things in this style, and some hints on how to do them.. everything else has been done already..
Easily doable:
- Bolding of menu text (just setBold before you paint the text item)
- Bolding of groupbox text (you need to setBold the widget, then use a QObjectList to get a list of the children of the groupbox, and reset their bold values, or else you'll get everything bold)
- Centered tabs (TabBar alignment style hint.. see Baghira or something)
- Frames- there is a frame around the main widget.. you can do that. There is no frame around the QListView.. you can do that, but might not work in all places.
- A totally flat appearance of KColorButtons- need to check if the QPushButton inherits KColorButton, I guess. KColorButton does it's own painting, so override that.
Hardest, but might be doable:
- The snaking menus
- The snaking popupmenu
You have to override how Qt draws menus in the first place. Complex stuff.
Good to hear it is "doable", lets just hope that someone with the knowledge to do this jumps on and has a crack at it.
About the busy'ness of it, i agree it looks a little too busy there, but like you saw, maybe it's just the mockup.
And concerning the windec, that doesn't matter really... to be honest the windec is ugly.. :)
It's all doable. But the menus would be extremely difficult. You would have to catch the drawing of menus in an event filter, and override all of Qt's menu drawing. I don't think I could do it, but I'm sure it's possible
That said, it's an interesting theme, with some interesting ideas, but I think overall it's too busy. Or maybe that's just the prototype dialog that's busy...
I'm not a very big qt/KDE developer, but I know some of that is doable.
The window decor is available in XFCE...
Looks like a mix of BeOS, Keramik and Plastik to me.
Ratings & Comments
10 Comments
I've found one problem to make it : edit widgets, at least with Qt 3.X style implementation, can't have a shape different of rectangular. Even by forcing the clip region with an internal Qt function, there are still some problems, in konqueror for example.
I like the stile, mostly. It's not extremely original, though. but why the snake-menueffect? its not that cool... ;-)
this look like old dos games ... not really professional
only regarding the style: I find it quite ugly to be honest ...
Of the more innovative things in this style, and some hints on how to do them.. everything else has been done already.. Easily doable: - Bolding of menu text (just setBold before you paint the text item) - Bolding of groupbox text (you need to setBold the widget, then use a QObjectList to get a list of the children of the groupbox, and reset their bold values, or else you'll get everything bold) - Centered tabs (TabBar alignment style hint.. see Baghira or something) - Frames- there is a frame around the main widget.. you can do that. There is no frame around the QListView.. you can do that, but might not work in all places. - A totally flat appearance of KColorButtons- need to check if the QPushButton inherits KColorButton, I guess. KColorButton does it's own painting, so override that. Hardest, but might be doable: - The snaking menus - The snaking popupmenu You have to override how Qt draws menus in the first place. Complex stuff.
I have actually made an implementation of the windec... though I saw no reason to release it. ___________ Screenshot: http://members.shaw.ca/bradenm_k/misc/11-21-03-alpha.png
Please release it, it would be a pleasure to try it out!
Good to hear it is "doable", lets just hope that someone with the knowledge to do this jumps on and has a crack at it. About the busy'ness of it, i agree it looks a little too busy there, but like you saw, maybe it's just the mockup. And concerning the windec, that doesn't matter really... to be honest the windec is ugly.. :)
It's all doable. But the menus would be extremely difficult. You would have to catch the drawing of menus in an event filter, and override all of Qt's menu drawing. I don't think I could do it, but I'm sure it's possible That said, it's an interesting theme, with some interesting ideas, but I think overall it's too busy. Or maybe that's just the prototype dialog that's busy...
I'm not a very big qt/KDE developer, but I know some of that is doable. The window decor is available in XFCE... Looks like a mix of BeOS, Keramik and Plastik to me.