summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qtreeview.cpp
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2015-08-06 09:46:45 +0200
committerSamuel Gaist <samuel.gaist@edeltech.ch>2015-08-06 20:50:02 +0000
commit63cd55b1722f43910436e46e7e16d2cf50c9218e (patch)
tree95b8e235d4d11831cc29de38bf4a025d5f0e922b /src/widgets/itemviews/qtreeview.cpp
parent141f03a814245e33a1e30d89429dc92783c227bd (diff)
QTreeView: add size hint handling information to uniformRowHeights
Task-number: QTBUG-10802 Change-Id: I6aa60d8fd7678f02003a229e191a5ab4f93c4b9d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'src/widgets/itemviews/qtreeview.cpp')
-rw-r--r--src/widgets/itemviews/qtreeview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/itemviews/qtreeview.cpp b/src/widgets/itemviews/qtreeview.cpp
index 9b3e270fdd..57092a7cdc 100644
--- a/src/widgets/itemviews/qtreeview.cpp
+++ b/src/widgets/itemviews/qtreeview.cpp
@@ -433,6 +433,9 @@ void QTreeView::setRootIsDecorated(bool show)
The height is obtained from the first item in the view. It is updated
when the data changes on that item.
+ \note If the editor size hint is bigger than the cell size hint, then the
+ size hint of the editor will be used.
+
By default, this property is \c false.
*/
bool QTreeView::uniformRowHeights() const