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

[QListView] QStyle::State_Selected is not set in QStyleOption::state passed to QAbstractItemDelegate::sizeHint(...) method

    XMLWordPrintable

Details

    Description

      The "State_Selected" flag is not set in the style option passed from a "QListView" to its delegate in "sizeHint(...)" method.

      With this flag set it's possible to implement expanding lists with a very trivial code.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              zuck Emanuele Bertoldi
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes