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. View CSS

View CSS

Scheduled Pinned Locked Moved General and Desktop
cssstylesheet
4 Posts 2 Posters 1.5k 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.
  • W Offline
    W Offline
    whitecastleroad
    wrote on 14 Apr 2015, 23:37 last edited by
    #1

    There are tons of posts where users are specifying how to tweak the CSS of existing widgets, such as the items of a QComboBox. What I am wondering is how they they know the various CSS classes and such of existing items? Read the documentation? Browse to source? or is there some debugger view I am missing like where is with WebKit/Chrome/Firefox/etc where you can visualize the active styles of a widget?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Apr 2015, 23:39 last edited by
      #2

      Hi,

      Do you mean Qt's style sheet ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      W 1 Reply Last reply 15 Apr 2015, 01:11
      0
      • S SGaist
        14 Apr 2015, 23:39

        Hi,

        Do you mean Qt's style sheet ?

        W Offline
        W Offline
        whitecastleroad
        wrote on 15 Apr 2015, 01:11 last edited by
        #3

        @SGaist Yes, that is the documentation to which I was referring. That is what I have been using. I just wanted to make sure there was not an equivalent to Chrome Inspector in Qt Creator that I was missing. I have spent hours trying to figure out how to keep an icon from touching the edge of a QComboBox to no avail. When dealing with web technologies, I'd choose the Inspector from the context menu, and then manipulate the stylesheet on-the-fly to see the results in realtime. I understand of no such thing exists within Qt, I just did not want to miss it if it did :)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 15 Apr 2015, 23:03 last edited by
          #4

          AFAIK, no, you didn't miss anything. Maybe KDAB's GammaRay has an option for that

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          4/4

          15 Apr 2015, 23:03

          • Login

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