[Qt-interest] Preferred method of making embedded linux application themable ?

Pritam Ghanghas pritam_ghanghas at infosys.com
Fri Jun 18 17:14:26 CEST 2010


Hi

Anybody interested in sharing some experience on this topic.
And do I write bad/offending mails. I dont seem to get anyone's
attention.


-- 
Thanks,
Pritam


On Wed, 2010-06-16 at 20:34 +0530, Pritam Ghanghas wrote:
> 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.
> 
> 



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***



More information about the Qt-interest-old mailing list