Widget Style CHallenge

Various KDE 1.-4. Styles

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.5
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)

benv57

15 years ago

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.

Report

jos

15 years ago

I like the stile, mostly. It's not extremely original, though.

but why the snake-menueffect? its not that cool... ;-)

Report

chouimat

15 years ago

this look like old dos games ... not really professional

Report

luca

15 years ago

only regarding the style:

I find it quite ugly to be honest ...

Report

shm

15 years ago

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.

Report

bradenm

15 years ago

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

Report

prenumerera

15 years ago

Please release it, it would be a pleasure to try it out!

Report

C

cmf

15 years ago

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.. :)

Report

Brandybuck

15 years ago

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...

Report

tminos

15 years ago

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.

Report

12345678910
product-maker Count:63 Rating: 5.52
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Dec 20 2003
added Dec 20 2003
downloads today
0
page views today 1
+