summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.2.0
diff options
context:
space:
mode:
authorThorbjørn Lund Martsum <tmartsum@gmail.com>2012-12-06 10:42:53 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-07 14:01:23 +0200
commit658e42e77a00596b63823482c9b77644556b647c (patch)
tree092376fa88c606089b69282f1bde20ae490d0e93 /dist/changes-5.2.0
parentb215176da34661969015e4950815fe8297885163 (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 'dist/changes-5.2.0')
-rw-r--r--dist/changes-5.2.03
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/changes-5.2.0 b/dist/changes-5.2.0
index dab73b7a2e..89d1a2d8c7 100644
--- a/dist/changes-5.2.0
+++ b/dist/changes-5.2.0
@@ -26,6 +26,9 @@ QtWidgets
it will make use of the new protected viewportSizeHint() (binary compatible since it
was reserved in Qt5). This function returns a suggested size based on contents.
+- QTreeView now has setTreePosition to allow the treestructure to show data from other
+ columns than logicalindex zero.
+
- [QTBUG-4206] QTableView resizeToContents will now adjust to actual contents
and not just visible area. QHeaderView::setAutoResizePrecision() has been
introduced to control how precise the autoResize should be.