Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved CSS groups in a module

    General and Desktop
    2
    4
    420
    Loading More Posts
    • 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.
    • L
      lasse.sportsediting.se last edited by

      I have a CSS question..
      I just now trying to find which CSS group that change the stuff in the list as in picture.
      I Use :
      QAbstractItemView
      {
      background-color: #292c33;
      }

      That changes the background, but other items like hoover, text color etc i cant find.
      Anyone know how to do?
      A link to the docs wont do, i read it already.

      0_1516794449852_Skärmavbild 2018-01-24 kl. 12.43.16.png

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        try color for the text

        1 Reply Last reply Reply Quote 0
        • L
          lasse.sportsediting.se last edited by

          First i need to know what group to use, and what undergroup..
          like "QAbstractItemView" and "QAbstractItemView:title"
          None of above works on that window apart from backgroundcolor..

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @lasse.sportsediting.se last edited by mrjj

            @lasse.sportsediting.se

            Look in the code ?

            it looks like a delegate design and might not use styles sheets at all.

            What you call group is actually selector or widget type but we cant guess it from the image as it can be anything and
            might not use style sheet settings at all if just drawn with qpainter.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post