- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QStyle.PixelMetric>
,Constable
- Enclosing class:
- QStyle
public static enum QStyle.PixelMetric extends Enum<QStyle.PixelMetric> implements QtEnumerator
Java wrapper for Qt enum QStyle::PixelMetric
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static QStyle.PixelMetric
resolve(int value)
Returns the corresponding enum entry for the given value.static QStyle.PixelMetric
resolve(int value, String name)
Returns the corresponding enum entry for the given value and name.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QStyle.PixelMetric
valueOf(String name)
Returns the enum constant of this type with the specified name.static QStyle.PixelMetric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PM_ButtonMargin
-
PM_ButtonDefaultIndicator
-
PM_MenuButtonIndicator
-
PM_ButtonShiftHorizontal
-
PM_ButtonShiftVertical
-
PM_DefaultFrameWidth
-
PM_SpinBoxFrameWidth
-
PM_ComboBoxFrameWidth
-
PM_MaximumDragDistance
-
PM_ScrollBarExtent
-
PM_ScrollBarSliderMin
-
PM_SliderThickness
-
PM_SliderControlThickness
-
PM_SliderLength
-
PM_SliderTickmarkOffset
-
PM_SliderSpaceAvailable
-
PM_DockWidgetSeparatorExtent
-
PM_DockWidgetHandleExtent
-
PM_DockWidgetFrameWidth
-
PM_TabBarTabOverlap
-
PM_TabBarTabHSpace
-
PM_TabBarTabVSpace
-
PM_TabBarBaseHeight
-
PM_TabBarBaseOverlap
-
PM_ProgressBarChunkWidth
-
PM_SplitterWidth
-
PM_TitleBarHeight
-
PM_MenuScrollerHeight
-
PM_MenuHMargin
-
PM_MenuVMargin
-
PM_MenuPanelWidth
-
PM_MenuTearoffHeight
-
PM_MenuDesktopFrameWidth
-
PM_MenuBarPanelWidth
-
PM_MenuBarItemSpacing
-
PM_MenuBarVMargin
-
PM_MenuBarHMargin
-
PM_IndicatorWidth
-
PM_IndicatorHeight
-
PM_ExclusiveIndicatorWidth
-
PM_ExclusiveIndicatorHeight
-
PM_DialogButtonsSeparator
-
PM_DialogButtonsButtonWidth
-
PM_DialogButtonsButtonHeight
-
PM_MdiSubWindowFrameWidth
-
PM_MdiSubWindowMinimizedWidth
-
PM_HeaderMargin
-
PM_HeaderMarkSize
-
PM_HeaderGripMargin
-
PM_TabBarTabShiftHorizontal
-
PM_TabBarTabShiftVertical
-
PM_TabBarScrollButtonWidth
-
PM_ToolBarFrameWidth
-
PM_ToolBarHandleExtent
-
PM_ToolBarItemSpacing
-
PM_ToolBarItemMargin
-
PM_ToolBarSeparatorExtent
-
PM_ToolBarExtensionExtent
-
PM_SpinBoxSliderHeight
-
PM_ToolBarIconSize
-
PM_ListViewIconSize
-
PM_IconViewIconSize
-
PM_SmallIconSize
-
PM_LargeIconSize
-
PM_FocusFrameVMargin
-
PM_FocusFrameHMargin
-
PM_ToolTipLabelFrameWidth
-
PM_CheckBoxLabelSpacing
-
PM_TabBarIconSize
-
PM_SizeGripSize
-
PM_DockWidgetTitleMargin
-
PM_MessageBoxIconSize
-
PM_ButtonIconSize
-
PM_DockWidgetTitleBarButtonMargin
-
PM_RadioButtonLabelSpacing
-
PM_LayoutLeftMargin
-
PM_LayoutTopMargin
-
PM_LayoutRightMargin
-
PM_LayoutBottomMargin
-
PM_LayoutHorizontalSpacing
-
PM_LayoutVerticalSpacing
-
PM_TabBar_ScrollButtonOverlap
-
PM_TextCursorWidth
-
PM_TabCloseIndicatorWidth
-
PM_TabCloseIndicatorHeight
-
PM_ScrollView_ScrollBarSpacing
-
PM_ScrollView_ScrollBarOverlap
-
PM_SubMenuOverlap
-
PM_TreeViewIndentation
-
PM_HeaderDefaultSectionSizeHorizontal
-
PM_HeaderDefaultSectionSizeVertical
-
PM_TitleBarButtonIconSize
-
PM_TitleBarButtonSize
-
PM_CustomBase
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum
-
resolve
Returns the corresponding enum entry for the given value and name.- Parameters:
value
-name
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum or name does not match.
-