- 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 ConstantDescriptionRepresenting QStyle::PM_ButtonDefaultIndicatorRepresenting QStyle::PM_ButtonIconSizeRepresenting QStyle::PM_ButtonMarginRepresenting QStyle::PM_ButtonShiftHorizontalRepresenting QStyle::PM_ButtonShiftVerticalRepresenting QStyle::PM_CheckBoxLabelSpacingRepresenting QStyle::PM_ComboBoxFrameWidthRepresenting QStyle::PM_CustomBaseRepresenting QStyle::PM_DefaultFrameWidthRepresenting QStyle::PM_DialogButtonsButtonHeightRepresenting QStyle::PM_DialogButtonsButtonWidthRepresenting QStyle::PM_DialogButtonsSeparatorRepresenting QStyle::PM_DockWidgetFrameWidthRepresenting QStyle::PM_DockWidgetHandleExtentRepresenting QStyle::PM_DockWidgetSeparatorExtentRepresenting QStyle::PM_DockWidgetTitleBarButtonMarginRepresenting QStyle::PM_DockWidgetTitleMarginRepresenting QStyle::PM_ExclusiveIndicatorHeightRepresenting QStyle::PM_ExclusiveIndicatorWidthRepresenting QStyle::PM_FocusFrameHMarginRepresenting QStyle::PM_FocusFrameVMarginRepresenting QStyle::PM_HeaderDefaultSectionSizeHorizontalRepresenting QStyle::PM_HeaderDefaultSectionSizeVerticalRepresenting QStyle::PM_HeaderGripMarginRepresenting QStyle::PM_HeaderMarginRepresenting QStyle::PM_HeaderMarkSizeRepresenting QStyle::PM_IconViewIconSizeRepresenting QStyle::PM_IndicatorHeightRepresenting QStyle::PM_IndicatorWidthRepresenting QStyle::PM_LargeIconSizeRepresenting QStyle::PM_LayoutBottomMarginRepresenting QStyle::PM_LayoutHorizontalSpacingRepresenting QStyle::PM_LayoutLeftMarginRepresenting QStyle::PM_LayoutRightMarginRepresenting QStyle::PM_LayoutTopMarginRepresenting QStyle::PM_LayoutVerticalSpacingRepresenting QStyle::PM_LineEditIconMarginRepresenting QStyle::PM_LineEditIconSizeRepresenting QStyle::PM_ListViewIconSizeRepresenting QStyle::PM_MaximumDragDistanceRepresenting QStyle::PM_MdiSubWindowFrameWidthRepresenting QStyle::PM_MdiSubWindowMinimizedWidthRepresenting QStyle::PM_MenuBarHMarginRepresenting QStyle::PM_MenuBarItemSpacingRepresenting QStyle::PM_MenuBarPanelWidthRepresenting QStyle::PM_MenuBarVMarginRepresenting QStyle::PM_MenuButtonIndicatorRepresenting QStyle::PM_MenuDesktopFrameWidthRepresenting QStyle::PM_MenuHMarginRepresenting QStyle::PM_MenuPanelWidthRepresenting QStyle::PM_MenuScrollerHeightRepresenting QStyle::PM_MenuTearoffHeightRepresenting QStyle::PM_MenuVMarginRepresenting QStyle::PM_MessageBoxIconSizeRepresenting QStyle::PM_ProgressBarChunkWidthRepresenting QStyle::PM_RadioButtonLabelSpacingRepresenting QStyle::PM_ScrollBarExtentRepresenting QStyle::PM_ScrollBarSliderMinRepresenting QStyle::PM_ScrollView_ScrollBarOverlapRepresenting QStyle::PM_ScrollView_ScrollBarSpacingRepresenting QStyle::PM_SizeGripSizeRepresenting QStyle::PM_SliderControlThicknessRepresenting QStyle::PM_SliderLengthRepresenting QStyle::PM_SliderSpaceAvailableRepresenting QStyle::PM_SliderThicknessRepresenting QStyle::PM_SliderTickmarkOffsetRepresenting QStyle::PM_SmallIconSizeRepresenting QStyle::PM_SpinBoxFrameWidthRepresenting QStyle::PM_SpinBoxSliderHeightRepresenting QStyle::PM_SplitterWidthRepresenting QStyle::PM_SubMenuOverlapRepresenting QStyle::PM_TabBar_ScrollButtonOverlapRepresenting QStyle::PM_TabBarBaseHeightRepresenting QStyle::PM_TabBarBaseOverlapRepresenting QStyle::PM_TabBarIconSizeRepresenting QStyle::PM_TabBarScrollButtonWidthRepresenting QStyle::PM_TabBarTabHSpaceRepresenting QStyle::PM_TabBarTabOverlapRepresenting QStyle::PM_TabBarTabShiftHorizontalRepresenting QStyle::PM_TabBarTabShiftVerticalRepresenting QStyle::PM_TabBarTabVSpaceRepresenting QStyle::PM_TabCloseIndicatorHeightRepresenting QStyle::PM_TabCloseIndicatorWidthRepresenting QStyle::PM_TextCursorWidthRepresenting QStyle::PM_TitleBarButtonIconSizeRepresenting QStyle::PM_TitleBarButtonSizeRepresenting QStyle::PM_TitleBarHeightRepresenting QStyle::PM_ToolBarExtensionExtentRepresenting QStyle::PM_ToolBarFrameWidthRepresenting QStyle::PM_ToolBarHandleExtentRepresenting QStyle::PM_ToolBarIconSizeRepresenting QStyle::PM_ToolBarItemMarginRepresenting QStyle::PM_ToolBarItemSpacingRepresenting QStyle::PM_ToolBarSeparatorExtentRepresenting QStyle::PM_ToolTipLabelFrameWidthRepresenting QStyle::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.
-