qt:icons
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qt:icons [2011/05/13 11:38] – [Creating a Qt Resource for the theme] mithat | qt:icons [2011/05/13 16:52] – [QStyle's standardIcon() function] mithat | ||
---|---|---|---|
Line 109: | Line 109: | ||
===== QStyle' | ===== QStyle' | ||
- | An alternative to using icon resources is provided by the '' | + | An alternative to using icon resources is provided by the '' |
- | The enumerated icons should be available on all platforms, so testing for their existence isn't required. | + | The main issue with using '' |
Implementation requires only a bit of straight-forward hand-coding. | Implementation requires only a bit of straight-forward hand-coding. | ||
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 '' | On X11 systems, Qt lets you access all the icons that are part of the system icon theme using the static function '' | ||
- | As was the case with QStyle' | + | As was the case with QStyle' |
==== Code implementation ==== | ==== Code implementation ==== | ||
Line 199: | Line 199: | ||
==== Caveat ==== | ==== Caveat ==== | ||
- | QIcon' | + | QIcon' |
<code cpp-qt> | <code cpp-qt> | ||
QString iconTheme = My:: | QString iconTheme = My:: | ||
QIcon:: | QIcon:: | ||
+ | Until such '' | ||
===== Custom theme using QIcon:: | ===== Custom theme using QIcon:: | ||
qt/icons.txt · Last modified: 2011/05/13 17:01 by mithat