Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
4.6.3, 5.4.0 Beta
-
None
-
Windows, Linux
Description
When a checkable item in a QComboBox popup list is drawn, QCleanlooksStyle is the only style that doesn't paint its checkbox.
The problem is that it impacts the behavior of the entire widget, it's not just a "style" issue.
To reproduce:
int main( int argc, char * argv [] ) { QApplication::setStyle(new QCleanlooksStyle); //QApplication::setStyle(new QPlastiqueStyle); // QApplication::setStyle(new Q...Style); QApplication app(argc, argv); QComboBox combo; combo.addItem("foo"); QStandardItem* item = qobject_cast<QStandardItemModel*>(combo.model())->item(0,0); item->setCheckable(true); item->setCheckState(Qt::Checked); combo.show(); return app.exec(); }
Attachments
Issue Links
- duplicates
-
QTBUG-60310 Check Box in QComboBox is not drawn in case of "Fusion" Style
- Closed
- is duplicated by
-
QTBUG-37176 Can't view checkbox in QComboBox on Ubuntu
- Closed
-
QTBUG-49260 QCheckBox Item In QComboBox
- Closed