QTreeWidgetItems and gradients, is it possible?
I have a QTreeWidget where I need the text of the different items to be of different colors. QTreeWidgetItem::setForeground works great as long as you use a brush that's a single color, but I thought it'd be nice to use linear gradients instead. However nothing I do seems to work. For example:
QBrush l_brush (l_gradient);
appears to do nothing. Am I doing it wrong, or are gradients for tree widget items just not supported at this point?