- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QStyle.StyleHint>
,Constable
- Enclosing class:
- QStyle
public static enum QStyle.StyleHint extends Enum<QStyle.StyleHint> implements QtEnumerator
Java wrapper for Qt enum QStyle::StyleHint
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static QStyle.StyleHint
resolve(int value)
Returns the corresponding enum entry for the given value.static QStyle.StyleHint
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.StyleHint
valueOf(String name)
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.
-
Enum Constant Details
-
SH_EtchDisabledText
-
SH_DitherDisabledText
-
SH_ScrollBar_MiddleClickAbsolutePosition
-
SH_ScrollBar_ScrollWhenPointerLeavesControl
-
SH_TabBar_SelectMouseType
-
SH_TabBar_Alignment
-
SH_Header_ArrowAlignment
-
SH_Slider_SnapToValue
-
SH_Slider_SloppyKeyEvents
-
SH_ProgressDialog_CenterCancelButton
-
SH_ProgressDialog_TextLabelAlignment
-
SH_PrintDialog_RightAlignButtons
-
SH_MainWindow_SpaceBelowMenuBar
-
SH_FontDialog_SelectAssociatedText
-
SH_Menu_AllowActiveAndDisabled
-
SH_Menu_SpaceActivatesItem
-
SH_Menu_SubMenuPopupDelay
-
SH_ScrollView_FrameOnlyAroundContents
-
SH_MenuBar_AltKeyNavigation
-
SH_ComboBox_ListMouseTracking
-
SH_Menu_MouseTracking
-
SH_MenuBar_MouseTracking
-
SH_ItemView_ChangeHighlightOnFocus
-
SH_Widget_ShareActivation
-
SH_Workspace_FillSpaceOnMaximize
-
SH_ComboBox_Popup
-
SH_TitleBar_NoBorder
-
SH_Slider_StopMouseOverSlider
-
SH_ScrollBar_StopMouseOverSlider
Deprecated. -
SH_BlinkCursorWhenTextSelected
-
SH_RichText_FullWidthSelection
-
SH_Menu_Scrollable
-
SH_GroupBox_TextLabelVerticalAlignment
-
SH_GroupBox_TextLabelColor
-
SH_Menu_SloppySubMenus
-
SH_Table_GridLineColor
-
SH_LineEdit_PasswordCharacter
-
SH_DialogButtons_DefaultButton
-
SH_ToolBox_SelectedPageTitleBold
-
SH_TabBar_PreferNoArrows
-
SH_ScrollBar_LeftClickAbsolutePosition
-
SH_ListViewExpand_SelectMouseType
-
SH_UnderlineShortcut
-
SH_SpinBox_AnimateButton
-
SH_SpinBox_KeyPressAutoRepeatRate
-
SH_SpinBox_ClickAutoRepeatRate
-
SH_Menu_FillScreenWithScroll
-
SH_ToolTipLabel_Opacity
-
SH_DrawMenuBarSeparator
-
SH_TitleBar_ModifyNotification
-
SH_Button_FocusPolicy
-
SH_MessageBox_UseBorderForButtonSpacing
-
SH_TitleBar_AutoRaise
-
SH_ToolButton_PopupDelay
-
SH_FocusFrame_Mask
-
SH_RubberBand_Mask
-
SH_WindowFrame_Mask
-
SH_SpinControls_DisableOnBounds
-
SH_Dial_BackgroundRole
-
SH_ComboBox_LayoutDirection
-
SH_ItemView_EllipsisLocation
-
SH_ItemView_ShowDecorationSelected
-
SH_ItemView_ActivateItemOnSingleClick
-
SH_ScrollBar_ContextMenu
-
SH_ScrollBar_RollBetweenButtons
-
SH_Slider_AbsoluteSetButtons
-
SH_Slider_PageSetButtons
-
SH_Menu_KeyboardSearch
-
SH_TabBar_ElideMode
-
SH_DialogButtonLayout
-
SH_ComboBox_PopupFrameStyle
-
SH_MessageBox_TextInteractionFlags
-
SH_DialogButtonBox_ButtonsHaveIcons
-
SH_SpellCheckUnderlineStyle
-
SH_MessageBox_CenterButtons
-
SH_Menu_SelectionWrap
-
SH_ItemView_MovementWithoutUpdatingSelection
-
SH_ToolTip_Mask
-
SH_FocusFrame_AboveWidget
-
SH_TextControl_FocusIndicatorTextCharFormat
-
SH_WizardStyle
-
SH_ItemView_ArrowKeysNavigateIntoChildren
-
SH_Menu_Mask
-
SH_Menu_FlashTriggeredItem
-
SH_Menu_FadeOutOnHide
-
SH_SpinBox_ClickAutoRepeatThreshold
-
SH_ItemView_PaintAlternatingRowColorsForEmptyArea
-
SH_FormLayoutWrapPolicy
-
SH_TabWidget_DefaultTabPosition
-
SH_ToolBar_Movable
-
SH_FormLayoutFieldGrowthPolicy
-
SH_FormLayoutFormAlignment
-
SH_FormLayoutLabelAlignment
-
SH_ItemView_DrawDelegateFrame
-
SH_TabBar_CloseButtonPosition
-
SH_DockWidget_ButtonsHaveFrame
-
SH_ToolButtonStyle
-
SH_RequestSoftwareInputPanel
-
SH_ScrollBar_Transient
-
SH_Menu_SupportsSections
-
SH_ToolTip_WakeUpDelay
-
SH_ToolTip_FallAsleepDelay
-
SH_Widget_Animate
-
SH_Splitter_OpaqueResize
-
SH_ComboBox_UseNativePopup
-
SH_LineEdit_PasswordMaskDelay
-
SH_TabBar_ChangeCurrentDelay
-
SH_Menu_SubMenuUniDirection
-
SH_Menu_SubMenuUniDirectionFailCount
-
SH_Menu_SubMenuSloppySelectOtherActions
-
SH_Menu_SubMenuSloppyCloseTimeout
-
SH_Menu_SubMenuResetWhenReenteringParent
-
SH_Menu_SubMenuDontStartSloppyOnLeave
-
SH_ItemView_ScrollMode
-
SH_TitleBar_ShowToolTipsOnButtons
-
SH_Widget_Animation_Duration
-
SH_ComboBox_AllowWheelScrolling
-
SH_SpinBox_ButtonsInsideFrame
-
SH_SpinBox_StepModifier
-
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.- 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.
-