Is it possible to search for style values at runtime in Qt?
I am working on a custom button derived from QPushButton
that has some stylesheet properties. I would like to be able to look for some style sheet settings such as border width, margin
, padding-top
, padding-left
, padding-right
, etc. Is it possible to do without calling widget->getStyleSheet()
and parsing the values themselves?
c ++ qt qss
Grant limberg
source share