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

Support multiple delegate types in QML views

    XMLWordPrintable

Details

    Description

      It would be sometimes be useful to be able to specify different delegates for a single view. For example:

      ListView {
          delegate: index % 2 ? delegateA : delegateB
      }
      

      At the moment, you have to use Loader in order to load different delegate types, which has a performance and convenience cost.

      Attachments

        Issue Links

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

          Activity

            People

              paangele Paolo Angelelli
              bealam Bea Lam (closed Nokia identity) (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes