Is it possible to look up stylesheet values at runtime in Qt?
I\'m working on a custom button derived from QPushButton
that has some stylesheet properti
Internally, when you call QApplication::setStyleSheet() Qt creates a QStyle sub-class called QStyleSheetStyle.
That means you can query style sheet information via the normal QStyle methods. Just remember to fill in the options and widget parameters properly to ensure you get the right values from the style sheet.