[Qt-interest] Checkbox in the header of a model?
Arnold Krille
arnold at arnoldarts.de
Mon Apr 20 21:21:05 CEST 2009
On Monday 20 April 2009 21:13:27 Dario Ahdoot wrote:
> That is what I was afraid of. However, that will require having a pixmap to
> match the native look for each system, blah blah blah. Not fun.
You don't have to draw these pixmaps yourself. Would be pretty hard with the
variety of styles available at least on unix/linux alone...
Instead let QPainter/QStyle/QPixmap/etc. do the (automated) work during
runtime. :-)
Maybe you could also use a delegate to paint the header and use the paint-
functions there.
Have fun,
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090420/0420fa68/attachment.bin
More information about the Qt-interest-old
mailing list