- 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 ConstantsEnum ConstantDescriptionRepresentingQStyle::
SH_BlinkCursorWhenTextSelected RepresentingQStyle::
SH_Button_FocusPolicy RepresentingQStyle::
SH_ComboBox_AllowWheelScrolling RepresentingQStyle::
SH_ComboBox_LayoutDirection RepresentingQStyle::
SH_ComboBox_ListMouseTracking RepresentingQStyle::
SH_ComboBox_Popup RepresentingQStyle::
SH_ComboBox_PopupFrameStyle RepresentingQStyle::
SH_ComboBox_UseNativePopup RepresentingQStyle::
SH_CustomBase RepresentingQStyle::
SH_Dial_BackgroundRole RepresentingQStyle::
SH_DialogButtonBox_ButtonsHaveIcons RepresentingQStyle::
SH_DialogButtonLayout RepresentingQStyle::
SH_DialogButtons_DefaultButton RepresentingQStyle::
SH_DitherDisabledText RepresentingQStyle::
SH_DockWidget_ButtonsHaveFrame RepresentingQStyle::
SH_DrawMenuBarSeparator RepresentingQStyle::
SH_EtchDisabledText RepresentingQStyle::
SH_FocusFrame_AboveWidget RepresentingQStyle::
SH_FocusFrame_Mask RepresentingQStyle::
SH_FontDialog_SelectAssociatedText RepresentingQStyle::
SH_FormLayoutFieldGrowthPolicy RepresentingQStyle::
SH_FormLayoutFormAlignment RepresentingQStyle::
SH_FormLayoutLabelAlignment RepresentingQStyle::
SH_FormLayoutWrapPolicy RepresentingQStyle::
SH_GroupBox_TextLabelColor RepresentingQStyle::
SH_GroupBox_TextLabelVerticalAlignment RepresentingQStyle::
SH_Header_ArrowAlignment RepresentingQStyle::
SH_ItemView_ActivateItemOnSingleClick RepresentingQStyle::
SH_ItemView_ArrowKeysNavigateIntoChildren RepresentingQStyle::
SH_ItemView_ChangeHighlightOnFocus RepresentingQStyle::
SH_ItemView_DrawDelegateFrame RepresentingQStyle::
SH_ItemView_EllipsisLocation RepresentingQStyle::
SH_ItemView_MovementWithoutUpdatingSelection RepresentingQStyle::
SH_ItemView_ScrollMode RepresentingQStyle::
SH_ItemView_ShowDecorationSelected RepresentingQStyle::
SH_LineEdit_PasswordCharacter RepresentingQStyle::
SH_LineEdit_PasswordMaskDelay RepresentingQStyle::
SH_ListViewExpand_SelectMouseType RepresentingQStyle::
SH_MainWindow_SpaceBelowMenuBar RepresentingQStyle::
SH_Menu_AllowActiveAndDisabled RepresentingQStyle::
SH_Menu_FadeOutOnHide RepresentingQStyle::
SH_Menu_FillScreenWithScroll RepresentingQStyle::
SH_Menu_FlashTriggeredItem RepresentingQStyle::
SH_Menu_KeyboardSearch RepresentingQStyle::
SH_Menu_Mask RepresentingQStyle::
SH_Menu_MouseTracking RepresentingQStyle::
SH_Menu_Scrollable RepresentingQStyle::
SH_Menu_SelectionWrap RepresentingQStyle::
SH_Menu_SloppySubMenus RepresentingQStyle::
SH_Menu_SpaceActivatesItem RepresentingQStyle::
SH_Menu_SubMenuDontStartSloppyOnLeave RepresentingQStyle::
SH_Menu_SubMenuPopupDelay RepresentingQStyle::
SH_Menu_SubMenuResetWhenReenteringParent RepresentingQStyle::
SH_Menu_SubMenuSloppyCloseTimeout RepresentingQStyle::
SH_Menu_SubMenuSloppySelectOtherActions RepresentingQStyle::
SH_Menu_SubMenuUniDirection RepresentingQStyle::
SH_Menu_SubMenuUniDirectionFailCount RepresentingQStyle::
SH_Menu_SupportsSections RepresentingQStyle::
SH_MenuBar_AltKeyNavigation RepresentingQStyle::
SH_MenuBar_MouseTracking RepresentingQStyle::
SH_MessageBox_CenterButtons RepresentingQStyle::
SH_MessageBox_TextInteractionFlags RepresentingQStyle::
SH_MessageBox_UseBorderForButtonSpacing RepresentingQStyle::
SH_PrintDialog_RightAlignButtons RepresentingQStyle::
SH_ProgressDialog_CenterCancelButton RepresentingQStyle::
SH_ProgressDialog_TextLabelAlignment RepresentingQStyle::
SH_RequestSoftwareInputPanel RepresentingQStyle::
SH_RichText_FullWidthSelection RepresentingQStyle::
SH_RubberBand_Mask RepresentingQStyle::
SH_ScrollBar_ContextMenu RepresentingQStyle::
SH_ScrollBar_LeftClickAbsolutePosition RepresentingQStyle::
SH_ScrollBar_MiddleClickAbsolutePosition RepresentingQStyle::
SH_ScrollBar_RollBetweenButtons RepresentingQStyle::
SH_ScrollBar_ScrollWhenPointerLeavesControl RepresentingQStyle::
SH_ScrollBar_Transient RepresentingQStyle::
SH_ScrollView_FrameOnlyAroundContents RepresentingQStyle::
SH_Slider_AbsoluteSetButtons RepresentingQStyle::
SH_Slider_PageSetButtons RepresentingQStyle::
SH_Slider_SloppyKeyEvents RepresentingQStyle::
SH_Slider_SnapToValue RepresentingQStyle::
SH_Slider_StopMouseOverSlider RepresentingQStyle::
SH_SpinBox_AnimateButton RepresentingQStyle::
SH_SpinBox_ButtonsInsideFrame RepresentingQStyle::
SH_SpinBox_ClickAutoRepeatRate RepresentingQStyle::
SH_SpinBox_ClickAutoRepeatThreshold RepresentingQStyle::
SH_SpinBox_KeyPressAutoRepeatRate RepresentingQStyle::
SH_SpinBox_SelectOnStep RepresentingQStyle::
SH_SpinBox_StepModifier RepresentingQStyle::
SH_SpinControls_DisableOnBounds RepresentingQStyle::
SH_Splitter_OpaqueResize RepresentingQStyle::
SH_TabBar_Alignment RepresentingQStyle::
SH_TabBar_AllowWheelScrolling RepresentingQStyle::
SH_TabBar_ChangeCurrentDelay RepresentingQStyle::
SH_TabBar_CloseButtonPosition RepresentingQStyle::
SH_TabBar_ElideMode RepresentingQStyle::
SH_TabBar_PreferNoArrows RepresentingQStyle::
SH_TabBar_SelectMouseType RepresentingQStyle::
SH_Table_AlwaysDrawLeftTopGridLines RepresentingQStyle::
SH_Table_GridLineColor RepresentingQStyle::
SH_TabWidget_DefaultTabPosition RepresentingQStyle::
SH_TextControl_FocusIndicatorTextCharFormat RepresentingQStyle::
SH_TitleBar_AutoRaise RepresentingQStyle::
SH_TitleBar_ModifyNotification RepresentingQStyle::
SH_TitleBar_NoBorder RepresentingQStyle::
SH_TitleBar_ShowToolTipsOnButtons RepresentingQStyle::
SH_ToolBar_Movable RepresentingQStyle::
SH_ToolBox_SelectedPageTitleBold RepresentingQStyle::
SH_ToolButton_PopupDelay RepresentingQStyle::
SH_ToolButtonStyle RepresentingQStyle::
SH_ToolTip_FallAsleepDelay RepresentingQStyle::
SH_ToolTip_Mask RepresentingQStyle::
SH_ToolTip_WakeUpDelay RepresentingQStyle::
SH_ToolTipLabel_Opacity RepresentingQStyle::
SH_UnderlineShortcut RepresentingQStyle::
SH_Widget_Animate RepresentingQStyle::
SH_Widget_Animation_Duration RepresentingQStyle::
SH_Widget_ShareActivation RepresentingQStyle::
SH_WindowFrame_Mask RepresentingQStyle::
SH_WizardStyle RepresentingQStyle::
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.
-