[Qt-interest] Bug in QAbstractItemView??

Eric Clark eclark at ara.com
Thu Jul 9 21:26:23 CEST 2009


Hello All,

I have a QTreeView and a QAsbtractItemModel associated with it. When I return a pixmap for the decoration role, the pixmap is 48x48 pixels. I have set the view's icon size to 16x16, but the icons always show up at their original size of 48x48. Is this a bug in Qt or am I doing something wrong? I have tried setting the icon size before and after any models are added to it, but neither approach works.

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090709/8611e3b4/attachment.html 


More information about the Qt-interest-old mailing list