qt:mainwindow-buildicon
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:mainwindow-buildicon [2011/05/12 15:58] – mithat | qt:mainwindow-buildicon [2011/05/13 11:29] – mithat | ||
---|---|---|---|
Line 8: | Line 8: | ||
* ": | * ": | ||
* that we want to bundle them together into exitIcon. | * that we want to bundle them together into exitIcon. | ||
+ | * | ||
* \code | * \code | ||
| | ||
Line 13: | Line 14: | ||
| | ||
* \endcode | * \endcode | ||
+ | * | ||
* Does NOT check whether the referenced resources actually exist. | * Does NOT check whether the referenced resources actually exist. | ||
* | * | ||
Line 19: | Line 21: | ||
void MainWindow:: | void MainWindow:: | ||
| | ||
- | QList const & | + | QList< |
) | ) | ||
{ | { | ||
- | foreach (const int iconSize | + | foreach (const int iconSize, sizeList) |
{ | { | ||
QString theResource = iconRscTemplate; | QString theResource = iconRscTemplate; | ||
Line 28: | Line 30: | ||
theResource.replace(QString(" | theResource.replace(QString(" | ||
- | theIcon-> | + | theIcon-> |
} | } | ||
}</ | }</ |
qt/mainwindow-buildicon.txt · Last modified: 2011/05/13 12:32 by mithat