[PyQt] Selected text color of QTreeWidgetItem
blaven at gmail.com
Tue Jul 8 22:39:06 BST 2008
Is there any way to set the highlighted text color of QTreeWidgetItems?
Using setColor or setForeground, it only sets the color of the
non-highlighted text. QTreeWidgetItems don't seem to have a setPalette call
but the QTreeWidget does. The problem with setting the palette on the
QTreeWidget is that it sets the highlighted text color for all items in the
tree. I'd like to do it on an individual item basis. Is this possible?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt