Reply
Thread Tools
direx's Avatar
Posts: 102 | Thanked: 153 times | Joined on Feb 2010
#1
Hi there,

I'd like to use some of the native Maemo 5 icons in my Qt app (for the N900) and so far I've found this List of icons.

Is there any way to refer to these icons in the Qt SDK or do I need to download them and add them to my app's resources? I though it would be nice if I could just say e.g. something like "general_locked" (control panel -> lock symbol) instead of downloading the PNG .
 
Posts: 61 | Thanked: 43 times | Joined on Aug 2008
#2
Haven't tried but I think fromTheme is the thing for this.
http://doc.qt.nokia.com/4.6/qicon.html#fromTheme
 

The Following User Says Thank You to harriva For This Useful Post:
direx's Avatar
Posts: 102 | Thanked: 153 times | Joined on Feb 2010
#3
Thanks. I was so stupid that I forgot about the Qt documentation awesomeness.

In case anybody wonders: the Qt Simulator does not show these icons. They'll only become visible on the device!

Last edited by direx; 2010-06-19 at 13:23.
 
Posts: 180 | Thanked: 76 times | Joined on May 2010
#4
The simulator doesn't use platform look and feel, use scratchbox instead.
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#5
Originally Posted by direx View Post
Thanks. I was so stupid that I forgot about the Qt documentation awesomeness.

In case anybody wonders: the Qt Simulator does not show these icons. They'll only become visible on the device!
There is a Maemo emulator for that in MADDE.
 
Posts: 200 | Thanked: 44 times | Joined on Jan 2010
#6
in proxyswitxher i use the themes button image check the source.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:06.