[PyQt] question about QComboBox

Phillip Feldman phillip.m.feldman at gmail.com
Thu Apr 7 21:58:22 BST 2016


In Qt4 (or at least in PyQt4), it was possible to set a stylesheet for a
QComboBox, but not possible to set styles on individual options/items in a
QComboBox.  I was hoping that this would be addressed in Qt5, but it
hasn't.  Worse yet, the API documentation does not mention a setStyleSheet
method, so it looks as though the ability to set a stylesheet for the
top-level widget has been removed.  I hope that I'm wrong on both of these
points.

Phillip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160407/f1b3fc00/attachment.html>


More information about the PyQt mailing list