[Interest] paint with QPainter on a QTreeWidgetItem

Thomas PABST thomas.pabst at gmail.com
Thu May 2 11:55:51 CEST 2013


Hi,

Currently I have reimplemented the paintEvent virtual method of
QtreeWidget. I use QPaintEvent to draw a rectangle on QTreeWidgetItem.
However I can only draw on the first Column in despite of the event retrun
by QPaintEvent provide the entire item area. I should be able to draw on
all the widget. no only on the first column.

Any idéa ?
Thanks

-----------------------------------------------------
Thomas PABST
thomas.pabst at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130502/c1b4882b/attachment.html>


More information about the Interest mailing list