Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2
-
-
7dc67d989 (dev), 41df8e68c (6.8), c52d0bfb0 (6.7)
Description
Hello,
I've a problem when using windows 11 style. Using windowsvista style works as expected in this version. I have a QTreeView and a model behind it. In this model from the data() function I return colors for Qt::ForegroundRole. This color sseems to be iognored while painting the tree text items. I always see black text independent of returned color. I use stylesheets, dont't know if this plays a role as in vista style everything works.
windows 11 style:
same code with vista style:
Attachments
Issue Links
- duplicates
-
QTBUG-126596 QListWidgetItem::setForeground() does not work
- Closed