User Tools

Site Tools


qt:icons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
qt:icons [2011/05/13 11:38] – [Creating a Qt Resource for the theme] mithatqt:icons [2011/05/13 16:47] – [System theme using QIcon::fromTheme()] mithat
Line 142: Line 142:
 On X11 systems, Qt lets you access all the icons that are part of the system icon theme using the static function ''QIcon::fromTheme()''((http://doc.qt.nokia.com/4.7/qicon.html#fromTheme)). Icons so accessed will be selected as needed based on the required rendering size. On X11 systems, Qt lets you access all the icons that are part of the system icon theme using the static function ''QIcon::fromTheme()''((http://doc.qt.nokia.com/4.7/qicon.html#fromTheme)). Icons so accessed will be selected as needed based on the required rendering size.
  
-As was the case with QStyle's standardIcon() function, implementation with QIcon::fromTheme() requires a bit of hand-coding.+As was the case with QStyle'''standardIcon()'' function, implementation with ''QIcon::fromTheme()'' requires a bit of hand-coding.
  
 ==== Code implementation ==== ==== Code implementation ====
qt/icons.txt · Last modified: 2011/05/13 17:01 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki