Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
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
- is required for
-
QTBUG-70326 TableView
- In Progress
- relates to
-
QTBUG-51710 Provide TableView in QtQuick
- Closed
- resulted from
-
QTBUG-20107 Research more flexible views
- Closed
For Gerrit Dashboard: QTBUG-26681 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
175776,18 | Item views: support multiple delegates | wip/itemviews | qt/qtdeclarative | Status: MERGED | -2 | 0 |
206670,8 | WIP: Allow views to support multiple delegate types | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
228909,38 | Allow DelegateModel-based views to support multiple delegate types | dev | qt/qtdeclarative | Status: MERGED | -2 | 0 |