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

Stylesheets doesnt work properly on QtTreePropertyBrowser

    XMLWordPrintable

Details

    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

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