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/12 09:32] – [Icons and Actions] mithat | qt:icons [2011/05/12 12:28] – mithat | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Using Qt Resources in Qt Designer ===== | ===== Using Qt Resources in Qt Designer ===== | ||
- | The path-of-least-resistance for binding icons to actions when developing Qt applications with Qt Designer((Throughout, | + | The path-of-least-resistance for binding icons to actions when developing Qt applications with Qt Designer((Throughout, |
While this approach has the above stated benefits, it's not optimal for a couple reasons. First, it lacks the ability to specify multiple icon sizes. In a typical application, | While this approach has the above stated benefits, it's not optimal for a couple reasons. First, it lacks the ability to specify multiple icon sizes. In a typical application, | ||
Line 96: | Line 96: | ||
}</ | }</ | ||
- | If you have more than a handful of such icons, you will probably want to write a helper function to reduce the repeated data entry. | + | If you have more than a handful of such icons, you will probably want to write a [[MainWindow-buildIcon|helper function]] to reduce the repeated data entry. |
==== Pros ==== | ==== Pros ==== |
qt/icons.txt · Last modified: 2011/05/13 17:01 by mithat