Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
What's the different between QStyle and QStyleSheet?
henryxuv last edited by
I don't have much experience to UI programming, Can anybody explain the difference between them?thanks!
jensen82 last edited by
QStyleSheet is an old class from Qt3. I'm sure you mean styling the application with a stylesheet like webpages "Stylesheet Examples":http://qt-project.org/doc/qt-5/stylesheet-examples.html. You derive a class from QStyle to create a style (style coded in C++). Take a look at the examples int Qt5 (FoldertoQt\examples\widgets\widgets).