theme idea

Aaron J. Seigo aseigo at kde.org
Tue Feb 24 20:50:32 CET 2009


hi all ..

some users seem disturbed that plasma "looks different". while i think they 
are rather completely missing the point (which is "yes, the shell is meant to 
look different") it did get me thinking about things ...

when a theme doesn't include a given widget svg, right now we fall back to the 
default theme. i wonder if it might be interesting to let themed Plasma 
widgets such as the pushbutton fall back instead to the application QStyle.

this could be accomplished by simply not falling back to the default theme for 
these elements or (i think probably more safely?) by having an entry in the 
theme's .desktop file that says "use system widgets".

then in widgets like PushButton the paint method could check for which way the 
theme wants to go and use the normal QGraphicsProxyWidget's paint method in 
that case.

thoughts?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software



More information about the Plasma-devel mailing list