summaryrefslogtreecommitdiffstats
path: root/framework/qml/TreeView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 10:26:58 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 11:08:30 -0600
commit0527b2da9740862deb795768f8a6a6a3426faaab (patch)
treec7899ebb05995daf8f26ec346235f6438c5eac8a /framework/qml/TreeView.qml
parentc6eb3e2feae612d96a7909ceca701658e41ec52f (diff)
downloadkube-0527b2da9740862deb795768f8a6a6a3426faaab.tar.gz
kube-0527b2da9740862deb795768f8a6a6a3426faaab.zip
The selection would better be solved using what QItemSelectionModel
provides.
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r--framework/qml/TreeView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml
index 8f4f543b..5434e366 100644
--- a/framework/qml/TreeView.qml
+++ b/framework/qml/TreeView.qml
@@ -33,6 +33,7 @@ FocusScope {
33 /* 33 /*
34 * Because active focus is useless in list/treeviews we use the concept of an activeIndex. 34 * Because active focus is useless in list/treeviews we use the concept of an activeIndex.
35 * The current selection represents the focused index. The activeIndex represents the selected index. 35 * The current selection represents the focused index. The activeIndex represents the selected index.
36 * FIXME: This is what QItemSelectionModel selection vs current selection are for. Try to use that instead.
36 */ 37 */
37 property var activeIndex: null 38 property var activeIndex: null
38 signal dropped(var drop, var model) 39 signal dropped(var drop, var model)