[Qt-interest] static struct of QIcons?
Kārlis Repsons
k at 11.lv
Mon Mar 29 16:57:35 CEST 2010
On Monday 29 March 2010 12:29:39 Kārlis Repsons wrote:
> Is that possible to put all icons of resource file into a static struct?
>
> Similar to this:
>
> static struct
> {
> QIcon minus(":/images/minus.png");
> QIcon plus(":/images/plus.png");
> } icons;
>
> The intent is to get a struct, which could provide references to icons...
You might see the solution in http://www.cplusplus.com/forum/general/21591, if
you want to. Well, it seems, static is impossible...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100329/f0690e76/attachment.bin
More information about the Qt-interest-old
mailing list