Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-173

Stylesheets doesnt work properly on QtTreePropertyBrowser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: Next Major Release
    • Fix Version/s: None
    • Component/s: Property Editor
    • Environment:
      linux

      Description

      Setting stylesheet as below,

      QTreeWidget::item:selected:active {
          background: rgb(215, 198, 224);
          color: black;
      }
      
      QTreeWidget::item:selected:!active {
          background: rgb(220, 220, 220);
          color: black;
      }
      
      QTreeWidget::item:hover {
          background: rgb(234, 224, 238);
          color: black;
      }
      
      QTreeWidget::item:selected:hover{
          background: rgb(234, 224, 238);
          color: black;
      }
      

      doesnt work.

      I also have noticed similar behavior with custom treewidgets with delegates. QTBUG-33251 , not sure if it is totally related.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tapadar Indrajit Tapadar (Inactive)
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes