diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-17 14:31:22 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-17 14:31:22 (GMT) |
commit | 0c7a631a0465dd36d6c29a720114c80804287f40 (patch) | |
tree | f1a54de6c00e0a0662a8846299f1f4e9783cbead /src/gui/itemviews | |
parent | f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24 (diff) | |
download | Qt-0c7a631a0465dd36d6c29a720114c80804287f40.zip Qt-0c7a631a0465dd36d6c29a720114c80804287f40.tar.gz Qt-0c7a631a0465dd36d6c29a720114c80804287f40.tar.bz2 |
Doc: Work on QHeaderView::sectionPosition()
Task-number: QTBUG-17119
Reviewed-by: David Boddie
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r-- | src/gui/itemviews/qheaderview.cpp | 8 |
1 files 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() */ |