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

Support multiple delegate types in QML views

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes