Styling QTreeView indicator in Qt6
Unsolved
Qt 6
-
Hi,
I had a working stylesheets in Qt5 using the following
QTreeView::indicator, QCheckBox::indicator { } QTreeView::indicator:hover, QCheckBox::indicator:hover { } QTreeView::indicator:checked, QCheckBox::indicator:checked { }
In Qt6, the checkboxes work fine outside of QTreeView, but in QTreeView, only the hover style works - Actually, it works even if I remove the QTreeView::indicator:hover so I guess that on hover, the QCheckBox style is used.
How can I style QTreeView indicator in Qt6 with stylesheets?
Thanks,
-
Hi,
This looks like a regression. Did you already check the bug report system ?
-
@Holt59 said in Styling QTreeView indicator in Qt6:
QCheckBox::indicator:hover
Same here with QListWidget..
I create a ticket ! https://bugreports.qt.io/browse/QTBUG-103855