diff options
author | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2012-12-06 10:42:53 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-07 14:01:23 +0200 |
commit | 658e42e77a00596b63823482c9b77644556b647c (patch) | |
tree | 092376fa88c606089b69282f1bde20ae490d0e93 /tests/manual/widgets/itemviews/itemviews.pro | |
parent | b215176da34661969015e4950815fe8297885163 (diff) |
QTreeView - allow users to control data in the treestructure
This patch allows to set which logical index the tree is in.
Before the tree always displayed data from the logical index 0,
but it is actually more likely that the user wants to have data
from visual index 0 (which can be done by special value -1).
There is nothing special about logical index 0, and not being
able to change the tree-data is just annoying.
Change-Id: Ib070ce93343a0d2fbac3ad5a42cb4359401ac87c
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/manual/widgets/itemviews/itemviews.pro')
-rw-r--r-- | tests/manual/widgets/itemviews/itemviews.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/widgets/itemviews/itemviews.pro b/tests/manual/widgets/itemviews/itemviews.pro index 58b02bfc0d..6b91531a87 100644 --- a/tests/manual/widgets/itemviews/itemviews.pro +++ b/tests/manual/widgets/itemviews/itemviews.pro @@ -1,2 +1,2 @@ TEMPLATE = subdirs -SUBDIRS = delegate qheaderview qtreeview +SUBDIRS = delegate qheaderview qtreeview qtreewidget |