summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qheaderview.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2014-09-17 10:00:14 +0200
committerMitch Curtis <mitch.curtis@digia.com>2014-09-18 07:11:17 +0200
commit8eb3d724a92b8eeb1e96362bd6997fcee178af89 (patch)
tree1f57140ddca15c4e8b4356f1c2f3c92589dbd0c0 /src/widgets/itemviews/qheaderview.cpp
parent9b556afc5a2507077dff54c18a2b19c7df3c4575 (diff)
Improve documentation regarding moving item view columns.
The only way I was able to find information on this was through bug reports. Change-Id: Iac59a82fab9c216495860ad3b1efad1125130002 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/itemviews/qheaderview.cpp')
-rw-r--r--src/widgets/itemviews/qheaderview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/itemviews/qheaderview.cpp b/src/widgets/itemviews/qheaderview.cpp
index 27b85c678e..208ff34695 100644
--- a/src/widgets/itemviews/qheaderview.cpp
+++ b/src/widgets/itemviews/qheaderview.cpp
@@ -1087,6 +1087,9 @@ int QHeaderView::logicalIndex(int visualIndex) const
If \a movable is true, the header may be moved by the user; otherwise it
is fixed in place.
+ By default, all sections are movable except the first, which always stays
+ fixed.
+
\sa sectionsMovable(), sectionMoved()
*/