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

Add pooled as a property to ItemDelegate

    XMLWordPrintable

Details

    Description

      ItemDelegate is typically used in a view, so to make things a little bit simpler without having to manually create the right kind of attached property for each delegate in different views (ListView/GridView/TableView), maybe it could have pooled property that is updated based on onPooled/onReused notifications from the attached property.

      Or perhaps to save some memory, maybe the view could do that on its own if a delegate has "required property bool pooled" so no attached property need to be constructed for every delegate.

      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
              poikelin Joni Poikelin
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes