[Qt-interest] decoration role for the tree model subclass
Benjamin
ikipou at gmail.com
Wed Dec 17 00:18:59 CET 2008
2008/12/16 ami guru <dosto.walla at gmail.com>
>
>
> How to generate the icon in the above code and assign role for that
>
> Hi,
The documentation says that the role for icons is Qt::DecorationRole:
http://doc.trolltech.com/4.4/qt.html#ItemDataRole-enum
best regards,
Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081217/b7f05967/attachment.html
More information about the Qt-interest-old
mailing list