- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QStyle.StyleHint>
,Constable
- Enclosing class:
QStyle
Java wrapper for Qt enum QStyle::StyleHint
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresenting QStyle::SH_BlinkCursorWhenTextSelectedRepresenting QStyle::SH_Button_FocusPolicyRepresenting QStyle::SH_ComboBox_AllowWheelScrollingRepresenting QStyle::SH_ComboBox_LayoutDirectionRepresenting QStyle::SH_ComboBox_ListMouseTrackingRepresenting QStyle::SH_ComboBox_PopupRepresenting QStyle::SH_ComboBox_PopupFrameStyleRepresenting QStyle::SH_ComboBox_UseNativePopupRepresenting QStyle::SH_CustomBaseRepresenting QStyle::SH_Dial_BackgroundRoleRepresenting QStyle::SH_DialogButtonBox_ButtonsHaveIconsRepresenting QStyle::SH_DialogButtonLayoutRepresenting QStyle::SH_DialogButtons_DefaultButtonRepresenting QStyle::SH_DitherDisabledTextRepresenting QStyle::SH_DockWidget_ButtonsHaveFrameRepresenting QStyle::SH_DrawMenuBarSeparatorRepresenting QStyle::SH_EtchDisabledTextRepresenting QStyle::SH_FocusFrame_AboveWidgetRepresenting QStyle::SH_FocusFrame_MaskRepresenting QStyle::SH_FontDialog_SelectAssociatedTextRepresenting QStyle::SH_FormLayoutFieldGrowthPolicyRepresenting QStyle::SH_FormLayoutFormAlignmentRepresenting QStyle::SH_FormLayoutLabelAlignmentRepresenting QStyle::SH_FormLayoutWrapPolicyRepresenting QStyle::SH_GroupBox_TextLabelColorRepresenting QStyle::SH_GroupBox_TextLabelVerticalAlignmentRepresenting QStyle::SH_Header_ArrowAlignmentRepresenting QStyle::SH_ItemView_ActivateItemOnSingleClickRepresenting QStyle::SH_ItemView_ArrowKeysNavigateIntoChildrenRepresenting QStyle::SH_ItemView_ChangeHighlightOnFocusRepresenting QStyle::SH_ItemView_DrawDelegateFrameRepresenting QStyle::SH_ItemView_EllipsisLocationRepresenting QStyle::SH_ItemView_MovementWithoutUpdatingSelectionRepresenting QStyle::SH_ItemView_ScrollModeRepresenting QStyle::SH_ItemView_ShowDecorationSelectedRepresenting QStyle::SH_LineEdit_PasswordCharacterRepresenting QStyle::SH_LineEdit_PasswordMaskDelayRepresenting QStyle::SH_ListViewExpand_SelectMouseTypeRepresenting QStyle::SH_MainWindow_SpaceBelowMenuBarRepresenting QStyle::SH_Menu_AllowActiveAndDisabledRepresenting QStyle::SH_Menu_FadeOutOnHideRepresenting QStyle::SH_Menu_FillScreenWithScrollRepresenting QStyle::SH_Menu_FlashTriggeredItemRepresenting QStyle::SH_Menu_KeyboardSearchRepresenting QStyle::SH_Menu_MaskRepresenting QStyle::SH_Menu_MouseTrackingRepresenting QStyle::SH_Menu_ScrollableRepresenting QStyle::SH_Menu_SelectionWrapRepresenting QStyle::SH_Menu_SloppySubMenusRepresenting QStyle::SH_Menu_SpaceActivatesItemRepresenting QStyle::SH_Menu_SubMenuDontStartSloppyOnLeaveRepresenting QStyle::SH_Menu_SubMenuPopupDelayRepresenting QStyle::SH_Menu_SubMenuResetWhenReenteringParentRepresenting QStyle::SH_Menu_SubMenuSloppyCloseTimeoutRepresenting QStyle::SH_Menu_SubMenuSloppySelectOtherActionsRepresenting QStyle::SH_Menu_SubMenuUniDirectionRepresenting QStyle::SH_Menu_SubMenuUniDirectionFailCountRepresenting QStyle::SH_Menu_SupportsSectionsRepresenting QStyle::SH_MenuBar_AltKeyNavigationRepresenting QStyle::SH_MenuBar_MouseTrackingRepresenting QStyle::SH_MessageBox_CenterButtonsRepresenting QStyle::SH_MessageBox_TextInteractionFlagsRepresenting QStyle::SH_MessageBox_UseBorderForButtonSpacingRepresenting QStyle::SH_PrintDialog_RightAlignButtonsRepresenting QStyle::SH_ProgressDialog_CenterCancelButtonRepresenting QStyle::SH_ProgressDialog_TextLabelAlignmentRepresenting QStyle::SH_RequestSoftwareInputPanelRepresenting QStyle::SH_RichText_FullWidthSelectionRepresenting QStyle::SH_RubberBand_MaskRepresenting QStyle::SH_ScrollBar_ContextMenuRepresenting QStyle::SH_ScrollBar_LeftClickAbsolutePositionRepresenting QStyle::SH_ScrollBar_MiddleClickAbsolutePositionRepresenting QStyle::SH_ScrollBar_RollBetweenButtonsRepresenting QStyle::SH_ScrollBar_ScrollWhenPointerLeavesControlRepresenting QStyle::SH_ScrollBar_TransientRepresenting QStyle::SH_ScrollView_FrameOnlyAroundContentsRepresenting QStyle::SH_Slider_AbsoluteSetButtonsRepresenting QStyle::SH_Slider_PageSetButtonsRepresenting QStyle::SH_Slider_SloppyKeyEventsRepresenting QStyle::SH_Slider_SnapToValueRepresenting QStyle::SH_Slider_StopMouseOverSliderRepresenting QStyle::SH_SpinBox_AnimateButtonRepresenting QStyle::SH_SpinBox_ButtonsInsideFrameRepresenting QStyle::SH_SpinBox_ClickAutoRepeatRateRepresenting QStyle::SH_SpinBox_ClickAutoRepeatThresholdRepresenting QStyle::SH_SpinBox_KeyPressAutoRepeatRateRepresenting QStyle::SH_SpinBox_SelectOnStepRepresenting QStyle::SH_SpinBox_StepModifierRepresenting QStyle::SH_SpinControls_DisableOnBoundsRepresenting QStyle::SH_Splitter_OpaqueResizeRepresenting QStyle::SH_TabBar_AlignmentRepresenting QStyle::SH_TabBar_AllowWheelScrollingRepresenting QStyle::SH_TabBar_ChangeCurrentDelayRepresenting QStyle::SH_TabBar_CloseButtonPositionRepresenting QStyle::SH_TabBar_ElideModeRepresenting QStyle::SH_TabBar_PreferNoArrowsRepresenting QStyle::SH_TabBar_SelectMouseTypeRepresenting QStyle::SH_Table_AlwaysDrawLeftTopGridLinesRepresenting QStyle::SH_Table_GridLineColorRepresenting QStyle::SH_TabWidget_DefaultTabPositionRepresenting QStyle::SH_TextControl_FocusIndicatorTextCharFormatRepresenting QStyle::SH_TitleBar_AutoRaiseRepresenting QStyle::SH_TitleBar_ModifyNotificationRepresenting QStyle::SH_TitleBar_NoBorderRepresenting QStyle::SH_TitleBar_ShowToolTipsOnButtonsRepresenting QStyle::SH_ToolBar_MovableRepresenting QStyle::SH_ToolBox_SelectedPageTitleBoldRepresenting QStyle::SH_ToolButton_PopupDelayRepresenting QStyle::SH_ToolButtonStyleRepresenting QStyle::SH_ToolTip_FallAsleepDelayRepresenting QStyle::SH_ToolTip_MaskRepresenting QStyle::SH_ToolTip_WakeUpDelayRepresenting QStyle::SH_ToolTipLabel_OpacityRepresenting QStyle::SH_UnderlineShortcutRepresenting QStyle::SH_Widget_AnimateRepresenting QStyle::SH_Widget_Animation_DurationRepresenting QStyle::SH_Widget_ShareActivationRepresenting QStyle::SH_WindowFrame_MaskRepresenting QStyle::SH_WizardStyleRepresenting QStyle::SH_Workspace_FillSpaceOnMaximize -
Method Summary
Modifier and TypeMethodDescriptionstatic QStyle.StyleHint
resolve
(int value) Returns the corresponding enum entry for the given value.static QStyle.StyleHint
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.StyleHint
Returns the enum constant of this type with the specified name.static QStyle.StyleHint[]
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
-
SH_EtchDisabledText
Representing QStyle::SH_EtchDisabledText
-
SH_DitherDisabledText
Representing QStyle::SH_DitherDisabledText
-
SH_ScrollBar_MiddleClickAbsolutePosition
Representing QStyle::SH_ScrollBar_MiddleClickAbsolutePosition
-
SH_ScrollBar_ScrollWhenPointerLeavesControl
Representing QStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl
-
SH_TabBar_SelectMouseType
Representing QStyle::SH_TabBar_SelectMouseType
-
SH_TabBar_Alignment
Representing QStyle::SH_TabBar_Alignment
-
SH_Header_ArrowAlignment
Representing QStyle::SH_Header_ArrowAlignment
-
SH_Slider_SnapToValue
Representing QStyle::SH_Slider_SnapToValue
-
SH_Slider_SloppyKeyEvents
Representing QStyle::SH_Slider_SloppyKeyEvents
-
SH_ProgressDialog_CenterCancelButton
Representing QStyle::SH_ProgressDialog_CenterCancelButton
-
SH_ProgressDialog_TextLabelAlignment
Representing QStyle::SH_ProgressDialog_TextLabelAlignment
-
SH_PrintDialog_RightAlignButtons
Representing QStyle::SH_PrintDialog_RightAlignButtons
-
SH_MainWindow_SpaceBelowMenuBar
Representing QStyle::SH_MainWindow_SpaceBelowMenuBar
-
SH_FontDialog_SelectAssociatedText
Representing QStyle::SH_FontDialog_SelectAssociatedText
-
SH_Menu_AllowActiveAndDisabled
Representing QStyle::SH_Menu_AllowActiveAndDisabled
-
SH_Menu_SpaceActivatesItem
Representing QStyle::SH_Menu_SpaceActivatesItem
-
SH_Menu_SubMenuPopupDelay
Representing QStyle::SH_Menu_SubMenuPopupDelay
-
SH_ScrollView_FrameOnlyAroundContents
Representing QStyle::SH_ScrollView_FrameOnlyAroundContents
-
SH_ComboBox_ListMouseTracking
Representing QStyle::SH_ComboBox_ListMouseTracking
-
SH_Menu_MouseTracking
Representing QStyle::SH_Menu_MouseTracking
-
SH_MenuBar_MouseTracking
Representing QStyle::SH_MenuBar_MouseTracking
-
SH_ItemView_ChangeHighlightOnFocus
Representing QStyle::SH_ItemView_ChangeHighlightOnFocus
-
SH_Workspace_FillSpaceOnMaximize
Representing QStyle::SH_Workspace_FillSpaceOnMaximize
-
SH_ComboBox_Popup
Representing QStyle::SH_ComboBox_Popup
-
SH_TitleBar_NoBorder
Representing QStyle::SH_TitleBar_NoBorder
-
SH_Slider_StopMouseOverSlider
Representing QStyle::SH_Slider_StopMouseOverSlider
-
SH_BlinkCursorWhenTextSelected
Representing QStyle::SH_BlinkCursorWhenTextSelected
-
SH_RichText_FullWidthSelection
Representing QStyle::SH_RichText_FullWidthSelection
-
SH_Menu_Scrollable
Representing QStyle::SH_Menu_Scrollable
-
SH_GroupBox_TextLabelVerticalAlignment
Representing QStyle::SH_GroupBox_TextLabelVerticalAlignment
-
SH_GroupBox_TextLabelColor
Representing QStyle::SH_GroupBox_TextLabelColor
-
SH_Menu_SloppySubMenus
Representing QStyle::SH_Menu_SloppySubMenus
-
SH_Table_GridLineColor
Representing QStyle::SH_Table_GridLineColor
-
SH_LineEdit_PasswordCharacter
Representing QStyle::SH_LineEdit_PasswordCharacter
-
SH_DialogButtons_DefaultButton
Representing QStyle::SH_DialogButtons_DefaultButton
-
SH_ToolBox_SelectedPageTitleBold
Representing QStyle::SH_ToolBox_SelectedPageTitleBold
-
SH_TabBar_PreferNoArrows
Representing QStyle::SH_TabBar_PreferNoArrows
-
SH_ScrollBar_LeftClickAbsolutePosition
Representing QStyle::SH_ScrollBar_LeftClickAbsolutePosition
-
SH_ListViewExpand_SelectMouseType
Representing QStyle::SH_ListViewExpand_SelectMouseType
-
SH_UnderlineShortcut
Representing QStyle::SH_UnderlineShortcut
-
SH_SpinBox_AnimateButton
Representing QStyle::SH_SpinBox_AnimateButton
-
SH_SpinBox_KeyPressAutoRepeatRate
Representing QStyle::SH_SpinBox_KeyPressAutoRepeatRate
-
SH_SpinBox_ClickAutoRepeatRate
Representing QStyle::SH_SpinBox_ClickAutoRepeatRate
-
SH_Menu_FillScreenWithScroll
Representing QStyle::SH_Menu_FillScreenWithScroll
-
SH_ToolTipLabel_Opacity
Representing QStyle::SH_ToolTipLabel_Opacity
-
SH_DrawMenuBarSeparator
Representing QStyle::SH_DrawMenuBarSeparator
-
SH_TitleBar_ModifyNotification
Representing QStyle::SH_TitleBar_ModifyNotification
-
SH_Button_FocusPolicy
Representing QStyle::SH_Button_FocusPolicy
-
SH_MessageBox_UseBorderForButtonSpacing
Representing QStyle::SH_MessageBox_UseBorderForButtonSpacing
-
SH_TitleBar_AutoRaise
Representing QStyle::SH_TitleBar_AutoRaise
-
SH_ToolButton_PopupDelay
Representing QStyle::SH_ToolButton_PopupDelay
-
SH_FocusFrame_Mask
Representing QStyle::SH_FocusFrame_Mask
-
SH_RubberBand_Mask
Representing QStyle::SH_RubberBand_Mask
-
SH_WindowFrame_Mask
Representing QStyle::SH_WindowFrame_Mask
-
SH_SpinControls_DisableOnBounds
Representing QStyle::SH_SpinControls_DisableOnBounds
-
SH_Dial_BackgroundRole
Representing QStyle::SH_Dial_BackgroundRole
-
SH_ComboBox_LayoutDirection
Representing QStyle::SH_ComboBox_LayoutDirection
-
SH_ItemView_EllipsisLocation
Representing QStyle::SH_ItemView_EllipsisLocation
-
SH_ItemView_ShowDecorationSelected
Representing QStyle::SH_ItemView_ShowDecorationSelected
-
SH_ItemView_ActivateItemOnSingleClick
Representing QStyle::SH_ItemView_ActivateItemOnSingleClick
-
SH_ScrollBar_ContextMenu
Representing QStyle::SH_ScrollBar_ContextMenu
-
SH_ScrollBar_RollBetweenButtons
Representing QStyle::SH_ScrollBar_RollBetweenButtons
-
SH_Slider_AbsoluteSetButtons
Representing QStyle::SH_Slider_AbsoluteSetButtons
-
SH_Slider_PageSetButtons
Representing QStyle::SH_Slider_PageSetButtons
-
SH_Menu_KeyboardSearch
Representing QStyle::SH_Menu_KeyboardSearch
-
SH_TabBar_ElideMode
Representing QStyle::SH_TabBar_ElideMode
-
SH_DialogButtonLayout
Representing QStyle::SH_DialogButtonLayout
-
SH_ComboBox_PopupFrameStyle
Representing QStyle::SH_ComboBox_PopupFrameStyle
-
SH_MessageBox_TextInteractionFlags
Representing QStyle::SH_MessageBox_TextInteractionFlags
-
SH_DialogButtonBox_ButtonsHaveIcons
Representing QStyle::SH_DialogButtonBox_ButtonsHaveIcons
-
SH_MessageBox_CenterButtons
Representing QStyle::SH_MessageBox_CenterButtons
-
SH_Menu_SelectionWrap
Representing QStyle::SH_Menu_SelectionWrap
-
SH_ItemView_MovementWithoutUpdatingSelection
Representing QStyle::SH_ItemView_MovementWithoutUpdatingSelection
-
SH_ToolTip_Mask
Representing QStyle::SH_ToolTip_Mask
-
SH_FocusFrame_AboveWidget
Representing QStyle::SH_FocusFrame_AboveWidget
-
SH_TextControl_FocusIndicatorTextCharFormat
Representing QStyle::SH_TextControl_FocusIndicatorTextCharFormat
-
SH_WizardStyle
Representing QStyle::SH_WizardStyle
-
SH_Menu_Mask
Representing QStyle::SH_Menu_Mask
-
SH_Menu_FlashTriggeredItem
Representing QStyle::SH_Menu_FlashTriggeredItem
-
SH_Menu_FadeOutOnHide
Representing QStyle::SH_Menu_FadeOutOnHide
-
SH_SpinBox_ClickAutoRepeatThreshold
Representing QStyle::SH_SpinBox_ClickAutoRepeatThreshold
-
SH_ItemView_PaintAlternatingRowColorsForEmptyArea
-
SH_FormLayoutWrapPolicy
Representing QStyle::SH_FormLayoutWrapPolicy
-
SH_TabWidget_DefaultTabPosition
Representing QStyle::SH_TabWidget_DefaultTabPosition
-
SH_ToolBar_Movable
Representing QStyle::SH_ToolBar_Movable
-
SH_FormLayoutFieldGrowthPolicy
Representing QStyle::SH_FormLayoutFieldGrowthPolicy
-
SH_FormLayoutFormAlignment
Representing QStyle::SH_FormLayoutFormAlignment
-
SH_FormLayoutLabelAlignment
Representing QStyle::SH_FormLayoutLabelAlignment
-
SH_ItemView_DrawDelegateFrame
Representing QStyle::SH_ItemView_DrawDelegateFrame
-
SH_TabBar_CloseButtonPosition
Representing QStyle::SH_TabBar_CloseButtonPosition
-
SH_DockWidget_ButtonsHaveFrame
Representing QStyle::SH_DockWidget_ButtonsHaveFrame
-
SH_ToolButtonStyle
Representing QStyle::SH_ToolButtonStyle
-
SH_RequestSoftwareInputPanel
Representing QStyle::SH_RequestSoftwareInputPanel
-
SH_ScrollBar_Transient
Representing QStyle::SH_ScrollBar_Transient
-
SH_Menu_SupportsSections
Representing QStyle::SH_Menu_SupportsSections
-
SH_ToolTip_WakeUpDelay
Representing QStyle::SH_ToolTip_WakeUpDelay
-
SH_ToolTip_FallAsleepDelay
Representing QStyle::SH_ToolTip_FallAsleepDelay
-
SH_Widget_Animate
Representing QStyle::SH_Widget_Animate
-
SH_Splitter_OpaqueResize
Representing QStyle::SH_Splitter_OpaqueResize
-
SH_ComboBox_UseNativePopup
Representing QStyle::SH_ComboBox_UseNativePopup
-
SH_LineEdit_PasswordMaskDelay
Representing QStyle::SH_LineEdit_PasswordMaskDelay
-
SH_TabBar_ChangeCurrentDelay
Representing QStyle::SH_TabBar_ChangeCurrentDelay
-
SH_Menu_SubMenuUniDirection
Representing QStyle::SH_Menu_SubMenuUniDirection
-
SH_Menu_SubMenuUniDirectionFailCount
Representing QStyle::SH_Menu_SubMenuUniDirectionFailCount
-
SH_Menu_SubMenuSloppySelectOtherActions
Representing QStyle::SH_Menu_SubMenuSloppySelectOtherActions
-
SH_Menu_SubMenuSloppyCloseTimeout
Representing QStyle::SH_Menu_SubMenuSloppyCloseTimeout
-
SH_Menu_SubMenuResetWhenReenteringParent
Representing QStyle::SH_Menu_SubMenuResetWhenReenteringParent
-
SH_Menu_SubMenuDontStartSloppyOnLeave
Representing QStyle::SH_Menu_SubMenuDontStartSloppyOnLeave
-
SH_ItemView_ScrollMode
Representing QStyle::SH_ItemView_ScrollMode
-
SH_TitleBar_ShowToolTipsOnButtons
Representing QStyle::SH_TitleBar_ShowToolTipsOnButtons
-
SH_Widget_Animation_Duration
Representing QStyle::SH_Widget_Animation_Duration
-
SH_ComboBox_AllowWheelScrolling
Representing QStyle::SH_ComboBox_AllowWheelScrolling
-
SH_SpinBox_ButtonsInsideFrame
Representing QStyle::SH_SpinBox_ButtonsInsideFrame
-
SH_SpinBox_StepModifier
Representing QStyle::SH_SpinBox_StepModifier
-
SH_TabBar_AllowWheelScrolling
Representing QStyle::SH_TabBar_AllowWheelScrolling
-
SH_Table_AlwaysDrawLeftTopGridLines
Representing QStyle::SH_Table_AlwaysDrawLeftTopGridLines
-
SH_SpinBox_SelectOnStep
Representing QStyle::SH_SpinBox_SelectOnStep
-
SH_CustomBase
Representing QStyle::SH_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.
-