aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4function.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-04-15 09:40:34 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-06-02 13:33:49 +0200
commitc6c31740a7377715ce53fea5f323c4e48525e425 (patch)
treea36a488ecf7e21f8a1e98f6b145e9c8456771612 /src/qml/jsruntime/qv4function.cpp
parent28c4d536e2bbf65d85c89efe1b64fc4e714e02bc (diff)
Selection support: support setting a QItemSelectionModel on TableView
Add support for assigning a QItemSelectionModel to TableView. By doing so, delegate items that has a "required property selected" defined will get this updated according to the state of the selection model. It's essential that the property is defined as "required". If not, the property will simply be ignored by TableView. This is done to ensure that existing applications that already has a "selected" property defined, will continue to work as before, unaffected by the new selection API. [ChangeLog][QtQuick] TableView now supports selections by using an ItemSelectionModel. Task-number: QTBUG-74750 Change-Id: I4f4d75e9e65563b9aab0c54f3aa4aad2f6883952 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions