Search code examples
qtstylesheet

Where is a reference for the customizable stylesheet properties for Qt widgets?


I've been struggling with learning how to use stylesheets to customize the look of my widgets in Qt.

For example, after much effort, I just figured out that the name of the property that determines what color the text on a QComboBox drop-down menu is when it is mouse-over'd is selection-color, and the background color is selection-background-color. But most of that I discovered by random guess-and-check.

Where can I find documentation that will actually tell me these things so I don't have to guess? Does Qt follow some sort of standard naming convention?


Solution

  • http://doc.qt.nokia.com/latest/stylesheet-reference.html