Qt 6.11 is out! See what's new in the release
blog
QListView QCss styling of selected/checked item inside QComboBox
-
I have a QComboBox. By default the previously selected item has the checkmark and is bold. I'm trying to set the style of this item while leaving the hovered item as is. The problem is that I cannot find the right QCss selector to access it. I've tried
QListView::item:selectedwhich selects the currently hovered item,QListView::item:checkedwhich doesn't select any item.
Which selector should I be using? And where can I find a list of all the selectors available?