[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: Easy Decoration and Widget Style creation
by blacksheep on Saturday 10/Mar/2007, @19:56
Qt 4 has introduced the possibility to do styles using CSS some syntax. There was even an article about that at this site. Dunno how that works for doing gradients, and other drawing effects...

Anyway, I have just started a project for a KDE style that uses GTK+ for the rendering (the opposite of gtk-qt-engine) [1]. Saying this cause I have done this QSimpleStyle layer which simplifies doing a C++ style using QStyle. It handles the placement of widgets parts, their sizes and etc, as well as highlighting, for you. You just need to paint primitives (like the step button of a scroll bar) and set the size of some attributes (stuff like how much pixels the label of a button should be displaced when pressed).

I will be doing a simple Qt style with it as an example... Anyway, if someone is interested, drop me an email.

[1] http://gtk4qt.sourceforge.net/
  Related Links
 ·   Articles on KDE Public Relations and Marketing
 ·   Also by blacksheep
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: Easy Decoration and Widget Style creation
by ed on Tuesday 13/Nov/2007, @09:33
I was wondering if theres a web site that has widget styles to download in rpm form. i use FC7 and im kinda sick of kemerik style. its one of the style i use. i love it but i want to have a veriety to choose from. that give a 3d look to buttons and all that great stuff. thanks for a reply. i am also using the crystal theme. i also have dekorator, and its not as hard to install themeś as you think.
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "World domination doesn't come by itself." -- Ralf Nolden
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]