[Qt-interest] static struct of QIcons?

Kārlis Repsons k at 11.lv
Mon Mar 29 14:29:39 CEST 2010


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...
-------------- 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/2b54df68/attachment.bin 


More information about the Qt-interest-old mailing list