Doc: Fix obsoleteness of some QStyle::PixelMetric enum items

The enum items PM_ScrollView_ScrollBarSpacing, PM_ScrollView_ScrollBarOverlap
and PM_SubMenuOverlap were mistakenly put together with obsolete enum items.
Move them up to fix it.

Change-Id: I90bd3a8ab68c99db27134d976fe69df56c9af2b8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
Alexander Volkov 2014-09-22 13:03:21 +04:00
parent 4fbd2dd4a6
commit b5bbfad0a4

View File

@ -1463,6 +1463,12 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
\value PM_TabCloseIndicatorWidth The default width of a close button on a tab in a tab bar.
\value PM_TabCloseIndicatorHeight The default height of a close button on a tab in a tab bar.
\value PM_ScrollView_ScrollBarSpacing Distance between frame and scrollbar
with SH_ScrollView_FrameOnlyAroundContents set.
\value PM_ScrollView_ScrollBarOverlap Overlap between scroll bars and scroll content
\value PM_SubMenuOverlap The horizontal overlap between a submenu and its parent.
\value PM_TreeViewIndentation The indentation of items in a tree view.
This enum value has been introduced in Qt 5.4.
@ -1483,12 +1489,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
and PM_LayoutVerticalSpacing
instead.
\value PM_ScrollView_ScrollBarSpacing Distance between frame and scrollbar
with SH_ScrollView_FrameOnlyAroundContents set.
\value PM_ScrollView_ScrollBarOverlap Overlap between scroll bars and scroll content
\value PM_SubMenuOverlap The horizontal overlap between a submenu and its parent.
\sa pixelMetric()
*/