- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QStyle.PixelMetric>
,Constable
- Enclosing class:
QStyle
Java wrapper for Qt enum QStyle::PixelMetric
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQStyle::
PM_ButtonDefaultIndicator RepresentingQStyle::
PM_ButtonIconSize RepresentingQStyle::
PM_ButtonMargin RepresentingQStyle::
PM_ButtonShiftHorizontal RepresentingQStyle::
PM_ButtonShiftVertical RepresentingQStyle::
PM_CheckBoxLabelSpacing RepresentingQStyle::
PM_ComboBoxFrameWidth RepresentingQStyle::
PM_CustomBase RepresentingQStyle::
PM_DefaultFrameWidth RepresentingQStyle::
PM_DialogButtonsButtonHeight RepresentingQStyle::
PM_DialogButtonsButtonWidth RepresentingQStyle::
PM_DialogButtonsSeparator RepresentingQStyle::
PM_DockWidgetFrameWidth RepresentingQStyle::
PM_DockWidgetHandleExtent RepresentingQStyle::
PM_DockWidgetSeparatorExtent RepresentingQStyle::
PM_DockWidgetTitleBarButtonMargin RepresentingQStyle::
PM_DockWidgetTitleMargin RepresentingQStyle::
PM_ExclusiveIndicatorHeight RepresentingQStyle::
PM_ExclusiveIndicatorWidth RepresentingQStyle::
PM_FocusFrameHMargin RepresentingQStyle::
PM_FocusFrameVMargin RepresentingQStyle::
PM_HeaderDefaultSectionSizeHorizontal RepresentingQStyle::
PM_HeaderDefaultSectionSizeVertical RepresentingQStyle::
PM_HeaderGripMargin RepresentingQStyle::
PM_HeaderMargin RepresentingQStyle::
PM_HeaderMarkSize RepresentingQStyle::
PM_IconViewIconSize RepresentingQStyle::
PM_IndicatorHeight RepresentingQStyle::
PM_IndicatorWidth RepresentingQStyle::
PM_LargeIconSize RepresentingQStyle::
PM_LayoutBottomMargin RepresentingQStyle::
PM_LayoutHorizontalSpacing RepresentingQStyle::
PM_LayoutLeftMargin RepresentingQStyle::
PM_LayoutRightMargin RepresentingQStyle::
PM_LayoutTopMargin RepresentingQStyle::
PM_LayoutVerticalSpacing RepresentingQStyle::
PM_LineEditIconMargin RepresentingQStyle::
PM_LineEditIconSize RepresentingQStyle::
PM_ListViewIconSize RepresentingQStyle::
PM_MaximumDragDistance RepresentingQStyle::
PM_MdiSubWindowFrameWidth RepresentingQStyle::
PM_MdiSubWindowMinimizedWidth RepresentingQStyle::
PM_MenuBarHMargin RepresentingQStyle::
PM_MenuBarItemSpacing RepresentingQStyle::
PM_MenuBarPanelWidth RepresentingQStyle::
PM_MenuBarVMargin RepresentingQStyle::
PM_MenuButtonIndicator RepresentingQStyle::
PM_MenuDesktopFrameWidth RepresentingQStyle::
PM_MenuHMargin RepresentingQStyle::
PM_MenuPanelWidth RepresentingQStyle::
PM_MenuScrollerHeight RepresentingQStyle::
PM_MenuTearoffHeight RepresentingQStyle::
PM_MenuVMargin RepresentingQStyle::
PM_MessageBoxIconSize RepresentingQStyle::
PM_ProgressBarChunkWidth RepresentingQStyle::
PM_RadioButtonLabelSpacing RepresentingQStyle::
PM_ScrollBarExtent RepresentingQStyle::
PM_ScrollBarSliderMin RepresentingQStyle::
PM_ScrollView_ScrollBarOverlap RepresentingQStyle::
PM_ScrollView_ScrollBarSpacing RepresentingQStyle::
PM_SizeGripSize RepresentingQStyle::
PM_SliderControlThickness RepresentingQStyle::
PM_SliderLength RepresentingQStyle::
PM_SliderSpaceAvailable RepresentingQStyle::
PM_SliderThickness RepresentingQStyle::
PM_SliderTickmarkOffset RepresentingQStyle::
PM_SmallIconSize RepresentingQStyle::
PM_SpinBoxFrameWidth RepresentingQStyle::
PM_SpinBoxSliderHeight RepresentingQStyle::
PM_SplitterWidth RepresentingQStyle::
PM_SubMenuOverlap RepresentingQStyle::
PM_TabBar_ScrollButtonOverlap RepresentingQStyle::
PM_TabBarBaseHeight RepresentingQStyle::
PM_TabBarBaseOverlap RepresentingQStyle::
PM_TabBarIconSize RepresentingQStyle::
PM_TabBarScrollButtonWidth RepresentingQStyle::
PM_TabBarTabHSpace RepresentingQStyle::
PM_TabBarTabOverlap RepresentingQStyle::
PM_TabBarTabShiftHorizontal RepresentingQStyle::
PM_TabBarTabShiftVertical RepresentingQStyle::
PM_TabBarTabVSpace RepresentingQStyle::
PM_TabCloseIndicatorHeight RepresentingQStyle::
PM_TabCloseIndicatorWidth RepresentingQStyle::
PM_TextCursorWidth RepresentingQStyle::
PM_TitleBarButtonIconSize RepresentingQStyle::
PM_TitleBarButtonSize RepresentingQStyle::
PM_TitleBarHeight RepresentingQStyle::
PM_ToolBarExtensionExtent RepresentingQStyle::
PM_ToolBarFrameWidth RepresentingQStyle::
PM_ToolBarHandleExtent RepresentingQStyle::
PM_ToolBarIconSize RepresentingQStyle::
PM_ToolBarItemMargin RepresentingQStyle::
PM_ToolBarItemSpacing RepresentingQStyle::
PM_ToolBarSeparatorExtent RepresentingQStyle::
PM_ToolTipLabelFrameWidth RepresentingQStyle::
PM_TreeViewIndentation -
Method Summary
Modifier and TypeMethodDescriptionstatic QStyle.PixelMetric
resolve
(int value) Returns the corresponding enum entry for the given value.static QStyle.PixelMetric
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
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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
PM_ButtonMargin
Representing
QStyle::
PM_ButtonMargin -
PM_ButtonDefaultIndicator
Representing
QStyle::
PM_ButtonDefaultIndicator -
PM_MenuButtonIndicator
Representing
QStyle::
PM_MenuButtonIndicator -
PM_ButtonShiftHorizontal
Representing
QStyle::
PM_ButtonShiftHorizontal -
PM_ButtonShiftVertical
Representing
QStyle::
PM_ButtonShiftVertical -
PM_DefaultFrameWidth
Representing
QStyle::
PM_DefaultFrameWidth -
PM_SpinBoxFrameWidth
Representing
QStyle::
PM_SpinBoxFrameWidth -
PM_ComboBoxFrameWidth
Representing
QStyle::
PM_ComboBoxFrameWidth -
PM_MaximumDragDistance
Representing
QStyle::
PM_MaximumDragDistance -
PM_ScrollBarExtent
Representing
QStyle::
PM_ScrollBarExtent -
PM_ScrollBarSliderMin
Representing
QStyle::
PM_ScrollBarSliderMin -
PM_SliderThickness
Representing
QStyle::
PM_SliderThickness -
PM_SliderControlThickness
Representing
QStyle::
PM_SliderControlThickness -
PM_SliderLength
Representing
QStyle::
PM_SliderLength -
PM_SliderTickmarkOffset
Representing
QStyle::
PM_SliderTickmarkOffset -
PM_SliderSpaceAvailable
Representing
QStyle::
PM_SliderSpaceAvailable -
PM_DockWidgetSeparatorExtent
Representing
QStyle::
PM_DockWidgetSeparatorExtent -
PM_DockWidgetHandleExtent
Representing
QStyle::
PM_DockWidgetHandleExtent -
PM_DockWidgetFrameWidth
Representing
QStyle::
PM_DockWidgetFrameWidth -
PM_TabBarTabOverlap
Representing
QStyle::
PM_TabBarTabOverlap -
PM_TabBarTabHSpace
Representing
QStyle::
PM_TabBarTabHSpace -
PM_TabBarTabVSpace
Representing
QStyle::
PM_TabBarTabVSpace -
PM_TabBarBaseHeight
Representing
QStyle::
PM_TabBarBaseHeight -
PM_TabBarBaseOverlap
Representing
QStyle::
PM_TabBarBaseOverlap -
PM_ProgressBarChunkWidth
Representing
QStyle::
PM_ProgressBarChunkWidth -
PM_SplitterWidth
Representing
QStyle::
PM_SplitterWidth -
PM_TitleBarHeight
Representing
QStyle::
PM_TitleBarHeight -
PM_MenuScrollerHeight
Representing
QStyle::
PM_MenuScrollerHeight -
PM_MenuHMargin
Representing
QStyle::
PM_MenuHMargin -
PM_MenuVMargin
Representing
QStyle::
PM_MenuVMargin -
PM_MenuPanelWidth
Representing
QStyle::
PM_MenuPanelWidth -
PM_MenuTearoffHeight
Representing
QStyle::
PM_MenuTearoffHeight -
PM_MenuDesktopFrameWidth
Representing
QStyle::
PM_MenuDesktopFrameWidth -
PM_MenuBarPanelWidth
Representing
QStyle::
PM_MenuBarPanelWidth -
PM_MenuBarItemSpacing
Representing
QStyle::
PM_MenuBarItemSpacing -
PM_MenuBarVMargin
Representing
QStyle::
PM_MenuBarVMargin -
PM_MenuBarHMargin
Representing
QStyle::
PM_MenuBarHMargin -
PM_IndicatorWidth
Representing
QStyle::
PM_IndicatorWidth -
PM_IndicatorHeight
Representing
QStyle::
PM_IndicatorHeight -
PM_ExclusiveIndicatorWidth
Representing
QStyle::
PM_ExclusiveIndicatorWidth -
PM_ExclusiveIndicatorHeight
Representing
QStyle::
PM_ExclusiveIndicatorHeight -
PM_DialogButtonsSeparator
Representing
QStyle::
PM_DialogButtonsSeparator -
PM_DialogButtonsButtonWidth
Representing
QStyle::
PM_DialogButtonsButtonWidth -
PM_DialogButtonsButtonHeight
Representing
QStyle::
PM_DialogButtonsButtonHeight -
PM_MdiSubWindowFrameWidth
Representing
QStyle::
PM_MdiSubWindowFrameWidth -
PM_MdiSubWindowMinimizedWidth
Representing
QStyle::
PM_MdiSubWindowMinimizedWidth -
PM_HeaderMargin
Representing
QStyle::
PM_HeaderMargin -
PM_HeaderMarkSize
Representing
QStyle::
PM_HeaderMarkSize -
PM_HeaderGripMargin
Representing
QStyle::
PM_HeaderGripMargin -
PM_TabBarTabShiftHorizontal
Representing
QStyle::
PM_TabBarTabShiftHorizontal -
PM_TabBarTabShiftVertical
Representing
QStyle::
PM_TabBarTabShiftVertical -
PM_TabBarScrollButtonWidth
Representing
QStyle::
PM_TabBarScrollButtonWidth -
PM_ToolBarFrameWidth
Representing
QStyle::
PM_ToolBarFrameWidth -
PM_ToolBarHandleExtent
Representing
QStyle::
PM_ToolBarHandleExtent -
PM_ToolBarItemSpacing
Representing
QStyle::
PM_ToolBarItemSpacing -
PM_ToolBarItemMargin
Representing
QStyle::
PM_ToolBarItemMargin -
PM_ToolBarSeparatorExtent
Representing
QStyle::
PM_ToolBarSeparatorExtent -
PM_ToolBarExtensionExtent
Representing
QStyle::
PM_ToolBarExtensionExtent -
PM_SpinBoxSliderHeight
Representing
QStyle::
PM_SpinBoxSliderHeight -
PM_ToolBarIconSize
Representing
QStyle::
PM_ToolBarIconSize -
PM_ListViewIconSize
Representing
QStyle::
PM_ListViewIconSize -
PM_IconViewIconSize
Representing
QStyle::
PM_IconViewIconSize -
PM_SmallIconSize
Representing
QStyle::
PM_SmallIconSize -
PM_LargeIconSize
Representing
QStyle::
PM_LargeIconSize -
PM_FocusFrameVMargin
Representing
QStyle::
PM_FocusFrameVMargin -
PM_FocusFrameHMargin
Representing
QStyle::
PM_FocusFrameHMargin -
PM_ToolTipLabelFrameWidth
Representing
QStyle::
PM_ToolTipLabelFrameWidth -
PM_CheckBoxLabelSpacing
Representing
QStyle::
PM_CheckBoxLabelSpacing -
PM_TabBarIconSize
Representing
QStyle::
PM_TabBarIconSize -
PM_SizeGripSize
Representing
QStyle::
PM_SizeGripSize -
PM_DockWidgetTitleMargin
Representing
QStyle::
PM_DockWidgetTitleMargin -
PM_MessageBoxIconSize
Representing
QStyle::
PM_MessageBoxIconSize -
PM_ButtonIconSize
Representing
QStyle::
PM_ButtonIconSize -
PM_DockWidgetTitleBarButtonMargin
Representing
QStyle::
PM_DockWidgetTitleBarButtonMargin -
PM_RadioButtonLabelSpacing
Representing
QStyle::
PM_RadioButtonLabelSpacing -
PM_LayoutLeftMargin
Representing
QStyle::
PM_LayoutLeftMargin -
PM_LayoutTopMargin
Representing
QStyle::
PM_LayoutTopMargin -
PM_LayoutRightMargin
Representing
QStyle::
PM_LayoutRightMargin -
PM_LayoutBottomMargin
Representing
QStyle::
PM_LayoutBottomMargin -
PM_LayoutHorizontalSpacing
Representing
QStyle::
PM_LayoutHorizontalSpacing -
PM_LayoutVerticalSpacing
Representing
QStyle::
PM_LayoutVerticalSpacing -
PM_TabBar_ScrollButtonOverlap
Representing
QStyle::
PM_TabBar_ScrollButtonOverlap -
PM_TextCursorWidth
Representing
QStyle::
PM_TextCursorWidth -
PM_TabCloseIndicatorWidth
Representing
QStyle::
PM_TabCloseIndicatorWidth -
PM_TabCloseIndicatorHeight
Representing
QStyle::
PM_TabCloseIndicatorHeight -
PM_ScrollView_ScrollBarSpacing
Representing
QStyle::
PM_ScrollView_ScrollBarSpacing -
PM_ScrollView_ScrollBarOverlap
Representing
QStyle::
PM_ScrollView_ScrollBarOverlap -
PM_SubMenuOverlap
Representing
QStyle::
PM_SubMenuOverlap -
PM_TreeViewIndentation
Representing
QStyle::
PM_TreeViewIndentation -
PM_HeaderDefaultSectionSizeHorizontal
Representing
QStyle::
PM_HeaderDefaultSectionSizeHorizontal -
PM_HeaderDefaultSectionSizeVertical
Representing
QStyle::
PM_HeaderDefaultSectionSizeVertical -
PM_TitleBarButtonIconSize
Representing
QStyle::
PM_TitleBarButtonIconSize -
PM_TitleBarButtonSize
Representing
QStyle::
PM_TitleBarButtonSize -
PM_LineEditIconSize
Representing
QStyle::
PM_LineEditIconSize -
PM_LineEditIconMargin
Representing
QStyle::
PM_LineEditIconMargin -
PM_CustomBase
Representing
QStyle::
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. Default isEnum.ordinal()
.- 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.
-