diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-15 17:01:11 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-16 16:53:18 +0200 |
commit | 90295dcd030e731acfbcfe480cadfe84200b1a0a (patch) | |
tree | 1aff3c21fc3e1c5791b0b6742b6b81621fe38053 /src/widgets/styles/qstyle.cpp | |
parent | fe4a5a27e09b8109381e52aa1b71135a916dff1a (diff) |
Remove deprecated QStyle enum values
Change-Id: I7eba336017844c06b2976df53d440e167abd7894
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/styles/qstyle.cpp')
-rw-r--r-- | src/widgets/styles/qstyle.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/widgets/styles/qstyle.cpp b/src/widgets/styles/qstyle.cpp index 70af3e295a..1e698028fd 100644 --- a/src/widgets/styles/qstyle.cpp +++ b/src/widgets/styles/qstyle.cpp @@ -1039,8 +1039,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, \value SE_ProgressBarLabel Area for the text label. \value SE_ProgressBarLayoutItem Area that counts for the parent layout. - \omitvalue SE_ViewItemCheckIndicator - \value SE_FrameContents Area for a frame's contents. \value SE_ShapedFrameContents Area for a frame's contents using the shape in QStyleOptionFrame; see QFrame \value SE_FrameLayoutItem Area that counts for the parent layout. @@ -1074,8 +1072,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, \value SE_TreeViewDisclosureItem Area for the actual disclosure item in a tree branch. - \omitvalue SE_DialogButtonBoxLayoutItem - \value SE_GroupBoxLayoutItem Area that counts for the parent layout. \value SE_CustomBase Base value for custom sub-elements. @@ -1359,9 +1355,7 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, \value PM_SpinBoxFrameWidth Frame width of a spin box, defaults to PM_DefaultFrameWidth. \value PM_ComboBoxFrameWidth Frame width of a combo box, defaults to PM_DefaultFrameWidth. - \value PM_MDIFrameWidth Obsolete. Use PM_MdiSubWindowFrameWidth instead. \value PM_MdiSubWindowFrameWidth Frame width of an MDI window. - \value PM_MDIMinimizedWidth Obsolete. Use PM_MdiSubWindowMinimizedWidth instead. \value PM_MdiSubWindowMinimizedWidth Width of a minimized MDI window. \value PM_LayoutLeftMargin Default \l{QLayout::setContentsMargins()}{left margin} for a @@ -1503,21 +1497,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, \value PM_CustomBase Base value for custom pixel metrics. Custom values must be greater than this value. - The following values are obsolete: - - \value PM_DefaultTopLevelMargin Use PM_LayoutLeftMargin, - PM_LayoutTopMargin, - PM_LayoutRightMargin, and - PM_LayoutBottomMargin instead. - \value PM_DefaultChildMargin Use PM_LayoutLeftMargin, - PM_LayoutTopMargin, - PM_LayoutRightMargin, and - PM_LayoutBottomMargin instead. - \value PM_DefaultLayoutSpacing Use PM_LayoutHorizontalSpacing - and PM_LayoutVerticalSpacing - instead. - - \sa pixelMetric() */ @@ -1807,9 +1786,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, \value SH_TitleBar_NoBorder The title bar has no border. - \value SH_ScrollBar_StopMouseOverSlider Obsolete. Use - SH_Slider_StopMouseOverSlider instead. - \value SH_Slider_StopMouseOverSlider Stops auto-repeat when the slider reaches the mouse position. |