[Qt-interest] Preferred method of making embedded linux application themable ?
Pritam Ghanghas
pritam_ghanghas at infosys.com
Wed Jun 16 17:04:15 CEST 2010
Hi
What is preferred way of theming a embedded Linux application.
As far as I have read and understood, one has to use a combination of
custom/stock QStyle and QPalette. Then there are stylesheets as well.
But according to docs stylesheets wont work for custom styles.
Is this the right approach?
And what happens when I switch the palette and/or style while
application is running.
Will all the widgets/items in my application redraw themselves
automatically or I will have to do that manually.
I can see a event QEvent::StyleChange. Will it be delivered to every
widget in my application on styleChange?
I searched on google for "theming qt applications", a lot of links came
up but most of them were kde and gtk related except for this one.
http://labs.trolltech.com/blogs/2007/11/27/theming-qt-for-fun-and-profit/ . But till now I have stayed away from created .ui files for UI design,
that apporach didnt seem to fit my requirements.
I think this is a question, a lot of Qters would have faced and
researched about. if somebody can give me a few pointer on this, it will
be very helpful.
--
Thanks,
Pritam
More information about the Qt-interest-old
mailing list