Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What's the different between QStyle and QStyleSheet?
QtWS25 Last Chance

What's the different between QStyle and QStyleSheet?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 939 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    henryxuv
    wrote on last edited by
    #1

    I don't have much experience to UI programming, Can anybody explain the difference between them?thanks!

    1 Reply Last reply
    0
    • jensen82J Offline
      jensen82J Offline
      jensen82
      wrote on last edited by
      #2

      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).

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved