Qt 6.11 is out! See what's new in the release
blog
QComboBox Popup Hover Style [SOLVED]
General and Desktop
4
Posts
2
Posters
4.4k
Views
1
Watching
-
Try this.
@ QComboBox combo;
QListView * listView = new QListView(&combo);
combo.addItem("pthinks.com");
combo.addItem("Bangaluru");
combo.addItem("india");
combo.addItem("dheerendra");
listView->setStyleSheet("QListView::item:hover {
background: red }
");combo.setView(listView); combo.show();@ -
You can move this to SOLVED state by editing your question.