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

Delegate factory method

    XMLWordPrintable

Details

    Description

      When you have a list that has items which differ a lot, it would be nice to be able to choose a delegate component to be instantiated for this specific item. This could be a javascript function that gets called for the list model item in question and which would then return the suitable component.

      If a single delegate component is used to display a plethora of different types of list items the delegate easily becomes overly complex, cluttered and/or wasteful.

      Can we have this, please (pretty please )?

      Attachments

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

        Activity

          People

            martinj Martin Jones
            juturune Juha Turunen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes