Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.3, 5.9.7, 5.12.2
-
None
Description
Create a QTreeView widget with custom styling. Branch close, open, and other states have custom icons.
- Image 1 - Correct behavior
QTreeView widget is in focus, the selection behavior is correct. The row item is selected along with the branch images set using the stylesheet. - Image 2, Image 3 - Incorrect behavior
QTreeView widget is not in focus, the selection behavior is incorrect. The row item is grayed out, the branch icon has incorrect color. It should be grayed out
Custom styling on QTreeView widget (branch open, close images) should not affect the default out of focus behavior.
Also attached QTreeView styling code.
Similar behavior can be duplicated with QTreeWidget