Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How does QWidget support stylesheet ?
linlin_0 last edited by
as we know ,the widget supports stylesheet. but i read the qwidget source code , i find the function paintevent() doing nothing.
anybody can tell me
how does the qwidget support stylesheet ?
where can i find the information?
thanks a lot.
Franzk last edited by
Have you read the "Qt Style Sheets":http://doc.qt.nokia.com/latest/stylesheet.html documentation?
dfaure last edited by
The stylesheet support is done by a widget style, internally. I.e. a QStyle subclass. So if you're looking for the code, it will be in src/gui/styles/qstylesheetstyle.cpp