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. CSS groups in a module
Forum Updated to NodeBB v4.3 + New Features

CSS groups in a module

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 644 Views 1 Watching
  • 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 Offline
    L Offline
    lasse.sportsediting.se
    wrote on 24 Jan 2018, 11:51 last edited by
    #1

    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
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 24 Jan 2018, 11:54 last edited by
      #2

      Hi
      try color for the text

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lasse.sportsediting.se
        wrote on 24 Jan 2018, 12:05 last edited by
        #3

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

        M 1 Reply Last reply 24 Jan 2018, 12:52
        0
        • L lasse.sportsediting.se
          24 Jan 2018, 12:05

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

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 24 Jan 2018, 12:52 last edited by mrjj
          #4

          @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
          1

          2/4

          24 Jan 2018, 11:54

          • Login

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