Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33251

stylesheet on QTreeWidget doesnt work when custom delegates are set.

    XMLWordPrintable

Details

    Description

      Run the attached test app,

      If you use Line 46 instead of 39 in main.cpp, you would see it works ( QTreewidget works )

      If you use line 39 and comment out line 49, you would see it works again ( custom Treewidget works when a custom delegate is not used ) .

      If you use 39 and 49 together, then it doesn't work as expected.

      Attachments

        1. treewidget.zip
          7 kB
          Indrajit Tapadar
        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:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes