From 0c7a631a0465dd36d6c29a720114c80804287f40 Mon Sep 17 00:00:00 2001 From: Geir Vattekar Date: Thu, 17 Feb 2011 15:31:22 +0100 Subject: Doc: Work on QHeaderView::sectionPosition() Task-number: QTBUG-17119 Reviewed-by: David Boddie --- src/gui/itemviews/qheaderview.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui/itemviews/qheaderview.cpp b/src/gui/itemviews/qheaderview.cpp index c857670..2ccf792 100644 --- a/src/gui/itemviews/qheaderview.cpp +++ b/src/gui/itemviews/qheaderview.cpp @@ -643,8 +643,12 @@ int QHeaderView::sectionSize(int logicalIndex) const } /*! - Returns the section position of the given \a logicalIndex, or -1 if the - section is hidden. + + Returns the section position of the given \a logicalIndex, or -1 + if the section is hidden. The position is measured in pixels from + the first visible item's top-left corner to the top-left corner of + the item with \a logicalIndex. The measurement is along the x-axis + for horizontal headers and along the y-axis for vertical headers. \sa sectionViewportPosition() */ -- cgit v0.12