What's the different between QStyle and QStyleSheet?
I don't have much experience to UI programming, Can anybody explain the difference between them?thanks!
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).