Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
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