[PyQt] QTreeWidget/View: reimplementing drawTree()

James Polk jpolk5001 at yahoo.com
Fri Apr 1 00:09:16 BST 2011


I need to change/assign a unique color to the tree and branches of a QTreeWidget.
It appears I need to reimplement the drawTree() function.  While I've implemented
a treeview delegate before, this is unique enough (at least to me) to have me a
but stumped on syntax.  I've searched high and low for documentation and examples
and can't find anything definitive.

Does anybody out there have any experience or knowledge that you can share on this?

Many Thanks,
-JP


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110331/5d1ed677/attachment.html>


More information about the PyQt mailing list