- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<Qt.WidgetAttribute>
,Constable
- Enclosing class:
Qt
Java wrapper for Qt enum Qt::WidgetAttribute
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQt::
WA_AcceptDrops RepresentingQt::
WA_AcceptTouchEvents RepresentingQt::
WA_AlwaysShowToolTips RepresentingQt::
WA_AlwaysStackOnTop RepresentingQt::
WA_AttributeCount RepresentingQt::
WA_CanHostQMdiSubWindowTitleBar RepresentingQt::
WA_ContentsMarginsRespectsSafeArea Deprecated.RepresentingQt::
WA_CustomWhatsThis RepresentingQt::
WA_DeleteOnClose RepresentingQt::
WA_Disabled RepresentingQt::
WA_DontCreateNativeAncestors RepresentingQt::
WA_DontShowOnScreen RepresentingQt::
WA_DropSiteRegistered Deprecated.WA_ForceAcceptDrops is deprecated.RepresentingQt::
WA_ForceDisabled RepresentingQt::
WA_ForceUpdatesDisabled RepresentingQt::
WA_GrabbedShortcut RepresentingQt::
WA_GroupLeader RepresentingQt::
WA_Hover RepresentingQt::
WA_InputMethodEnabled RepresentingQt::
WA_InputMethodTransparent RepresentingQt::
WA_InvalidSize RepresentingQt::
WA_KeyboardFocusChange RepresentingQt::
WA_KeyCompression RepresentingQt::
WA_LaidOut RepresentingQt::
WA_LayoutOnEntireRect RepresentingQt::
WA_LayoutUsesWidgetRect RepresentingQt::
WA_MacAlwaysShowToolWindow Deprecated.Deprecated.Deprecated.RepresentingQt::
WA_MacMiniSize Deprecated.RepresentingQt::
WA_MacNormalSize RepresentingQt::
WA_MacNoShadow RepresentingQt::
WA_MacOpaqueSizeGrip RepresentingQt::
WA_MacShowFocusRect RepresentingQt::
WA_MacSmallSize RepresentingQt::
WA_MacVariableSize RepresentingQt::
WA_Mapped RepresentingQt::
WA_MouseNoMask RepresentingQt::
WA_MouseTracking RepresentingQt::
WA_Moved Deprecated.RepresentingQt::
WA_NativeWindow Deprecated.RepresentingQt::
WA_NoChildEventsForParent RepresentingQt::
WA_NoChildEventsFromChildren RepresentingQt::
WA_NoMousePropagation RepresentingQt::
WA_NoMouseReplay RepresentingQt::
WA_NoSystemBackground RepresentingQt::
WA_NoX11EventCompression RepresentingQt::
WA_OpaquePaintEvent RepresentingQt::
WA_OutsideWSRange RepresentingQt::
WA_PaintOnScreen RepresentingQt::
WA_PaintUnclipped RepresentingQt::
WA_PendingMoveEvent RepresentingQt::
WA_PendingResizeEvent RepresentingQt::
WA_PendingUpdate RepresentingQt::
WA_QuitOnClose RepresentingQt::
WA_Resized RepresentingQt::
WA_RightToLeft RepresentingQt::
WA_SetCursor RepresentingQt::
WA_SetFont RepresentingQt::
WA_SetLayoutDirection RepresentingQt::
WA_SetLocale RepresentingQt::
WA_SetPalette RepresentingQt::
WA_SetStyle RepresentingQt::
WA_SetWindowIcon RepresentingQt::
WA_SetWindowModality RepresentingQt::
WA_ShowModal RepresentingQt::
WA_ShowWithoutActivating RepresentingQt::
WA_StaticContents RepresentingQt::
WA_StyledBackground RepresentingQt::
WA_StyleSheet RepresentingQt::
WA_StyleSheetTarget RepresentingQt::
WA_TabletTracking RepresentingQt::
WA_TintedBackground RepresentingQt::
WA_TouchPadAcceptSingleTouchEvents RepresentingQt::
WA_TranslucentBackground RepresentingQt::
WA_TransparentForMouseEvents RepresentingQt::
WA_UnderMouse RepresentingQt::
WA_UpdatesDisabled RepresentingQt::
WA_WindowModified RepresentingQt::
WA_WindowPropagation RepresentingQt::
WA_WState_AcceptedTouchBeginEvent RepresentingQt::
WA_WState_CompressKeys RepresentingQt::
WA_WState_ConfigPending RepresentingQt::
WA_WState_Created Deprecated.RepresentingQt::
WA_WState_ExplicitShowHide RepresentingQt::
WA_WState_Hidden RepresentingQt::
WA_WState_InPaintEvent RepresentingQt::
WA_WState_OwnSizePolicy RepresentingQt::
WA_WState_Polished RepresentingQt::
WA_WState_Reparented RepresentingQt::
WA_WState_Visible RepresentingQt::
WA_WState_WindowOpacitySet RepresentingQt::
WA_X11BypassTransientForHint RepresentingQt::
WA_X11DoNotAcceptFocus RepresentingQt::
WA_X11NetWmWindowTypeCombo RepresentingQt::
WA_X11NetWmWindowTypeDesktop RepresentingQt::
WA_X11NetWmWindowTypeDialog RepresentingQt::
WA_X11NetWmWindowTypeDND RepresentingQt::
WA_X11NetWmWindowTypeDock RepresentingQt::
WA_X11NetWmWindowTypeDropDownMenu RepresentingQt::
WA_X11NetWmWindowTypeMenu RepresentingQt::
WA_X11NetWmWindowTypeNotification RepresentingQt::
WA_X11NetWmWindowTypePopupMenu RepresentingQt::
WA_X11NetWmWindowTypeSplash RepresentingQt::
WA_X11NetWmWindowTypeToolBar RepresentingQt::
WA_X11NetWmWindowTypeToolTip RepresentingQt::
WA_X11NetWmWindowTypeUtility RepresentingQt::
WA_X11OpenGLOverlay -
Method Summary
Modifier and TypeMethodDescriptionstatic Qt.WidgetAttribute
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static Qt.WidgetAttribute
Returns the enum constant of this type with the specified name.static Qt.WidgetAttribute[]
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
-
WA_Disabled
Representing
Qt::
WA_Disabled -
WA_UnderMouse
Representing
Qt::
WA_UnderMouse -
WA_MouseTracking
Representing
Qt::
WA_MouseTracking -
WA_ContentsPropagated
Deprecated. -
WA_OpaquePaintEvent
Representing
Qt::
WA_OpaquePaintEvent -
WA_NoBackground
Deprecated. -
WA_StaticContents
Representing
Qt::
WA_StaticContents -
WA_LaidOut
Representing
Qt::
WA_LaidOut -
WA_PaintOnScreen
Representing
Qt::
WA_PaintOnScreen -
WA_NoSystemBackground
Representing
Qt::
WA_NoSystemBackground -
WA_UpdatesDisabled
Representing
Qt::
WA_UpdatesDisabled -
WA_Mapped
Representing
Qt::
WA_Mapped -
WA_MacNoClickThrough
Deprecated. -
WA_InputMethodEnabled
Representing
Qt::
WA_InputMethodEnabled -
WA_WState_Visible
Representing
Qt::
WA_WState_Visible -
WA_WState_Hidden
Representing
Qt::
WA_WState_Hidden -
WA_ForceDisabled
Representing
Qt::
WA_ForceDisabled -
WA_KeyCompression
Representing
Qt::
WA_KeyCompression -
WA_PendingMoveEvent
Representing
Qt::
WA_PendingMoveEvent -
WA_PendingResizeEvent
Representing
Qt::
WA_PendingResizeEvent -
WA_SetPalette
Representing
Qt::
WA_SetPalette -
WA_SetFont
Representing
Qt::
WA_SetFont -
WA_SetCursor
Representing
Qt::
WA_SetCursor -
WA_NoChildEventsFromChildren
Representing
Qt::
WA_NoChildEventsFromChildren -
WA_WindowModified
Representing
Qt::
WA_WindowModified -
WA_Resized
Representing
Qt::
WA_Resized -
WA_Moved
Representing
Qt::
WA_Moved -
WA_PendingUpdate
Representing
Qt::
WA_PendingUpdate -
WA_InvalidSize
Representing
Qt::
WA_InvalidSize -
WA_MacBrushedMetal
Deprecated. -
WA_MacMetalStyle
Deprecated. -
WA_CustomWhatsThis
Representing
Qt::
WA_CustomWhatsThis -
WA_LayoutOnEntireRect
Representing
Qt::
WA_LayoutOnEntireRect -
WA_OutsideWSRange
Representing
Qt::
WA_OutsideWSRange -
WA_GrabbedShortcut
Representing
Qt::
WA_GrabbedShortcut -
WA_TransparentForMouseEvents
Representing
Qt::
WA_TransparentForMouseEvents -
WA_PaintUnclipped
Representing
Qt::
WA_PaintUnclipped -
WA_SetWindowIcon
Representing
Qt::
WA_SetWindowIcon -
WA_NoMouseReplay
Representing
Qt::
WA_NoMouseReplay -
WA_DeleteOnClose
Representing
Qt::
WA_DeleteOnClose -
WA_RightToLeft
Representing
Qt::
WA_RightToLeft -
WA_SetLayoutDirection
Representing
Qt::
WA_SetLayoutDirection -
WA_NoChildEventsForParent
Representing
Qt::
WA_NoChildEventsForParent -
WA_ForceUpdatesDisabled
Representing
Qt::
WA_ForceUpdatesDisabled -
WA_WState_Created
Representing
Qt::
WA_WState_Created -
WA_WState_CompressKeys
Representing
Qt::
WA_WState_CompressKeys -
WA_WState_InPaintEvent
Representing
Qt::
WA_WState_InPaintEvent -
WA_WState_Reparented
Representing
Qt::
WA_WState_Reparented -
WA_WState_ConfigPending
Representing
Qt::
WA_WState_ConfigPending -
WA_WState_Polished
Representing
Qt::
WA_WState_Polished -
WA_WState_DND
Deprecated. -
WA_WState_OwnSizePolicy
Representing
Qt::
WA_WState_OwnSizePolicy -
WA_WState_ExplicitShowHide
Representing
Qt::
WA_WState_ExplicitShowHide -
WA_ShowModal
Representing
Qt::
WA_ShowModal -
WA_MouseNoMask
Representing
Qt::
WA_MouseNoMask -
WA_GroupLeader
Representing
Qt::
WA_GroupLeader -
WA_NoMousePropagation
Representing
Qt::
WA_NoMousePropagation -
WA_Hover
Representing
Qt::
WA_Hover -
WA_InputMethodTransparent
Representing
Qt::
WA_InputMethodTransparent -
WA_QuitOnClose
Representing
Qt::
WA_QuitOnClose -
WA_KeyboardFocusChange
Representing
Qt::
WA_KeyboardFocusChange -
WA_AcceptDrops
Representing
Qt::
WA_AcceptDrops -
WA_DropSiteRegistered
Representing
Qt::
WA_DropSiteRegistered -
WA_ForceAcceptDrops
Deprecated.WA_ForceAcceptDrops is deprecated. Use WA_DropSiteRegistered insteadRepresenting
Qt::
WA_ForceAcceptDrops -
WA_WindowPropagation
Representing
Qt::
WA_WindowPropagation -
WA_NoX11EventCompression
Representing
Qt::
WA_NoX11EventCompression -
WA_TintedBackground
Representing
Qt::
WA_TintedBackground -
WA_X11OpenGLOverlay
Representing
Qt::
WA_X11OpenGLOverlay -
WA_AlwaysShowToolTips
Representing
Qt::
WA_AlwaysShowToolTips -
WA_MacOpaqueSizeGrip
Representing
Qt::
WA_MacOpaqueSizeGrip -
WA_SetStyle
Representing
Qt::
WA_SetStyle -
WA_SetLocale
Representing
Qt::
WA_SetLocale -
WA_MacShowFocusRect
Representing
Qt::
WA_MacShowFocusRect -
WA_MacNormalSize
Representing
Qt::
WA_MacNormalSize -
WA_MacSmallSize
Representing
Qt::
WA_MacSmallSize -
WA_MacMiniSize
Representing
Qt::
WA_MacMiniSize -
WA_LayoutUsesWidgetRect
Representing
Qt::
WA_LayoutUsesWidgetRect -
WA_StyledBackground
Representing
Qt::
WA_StyledBackground -
WA_MSWindowsUseDirect3D
Deprecated. -
WA_CanHostQMdiSubWindowTitleBar
Representing
Qt::
WA_CanHostQMdiSubWindowTitleBar -
WA_MacAlwaysShowToolWindow
Representing
Qt::
WA_MacAlwaysShowToolWindow -
WA_StyleSheet
Representing
Qt::
WA_StyleSheet -
WA_ShowWithoutActivating
Representing
Qt::
WA_ShowWithoutActivating -
WA_X11BypassTransientForHint
Representing
Qt::
WA_X11BypassTransientForHint -
WA_NativeWindow
Representing
Qt::
WA_NativeWindow -
WA_DontCreateNativeAncestors
Representing
Qt::
WA_DontCreateNativeAncestors -
WA_MacVariableSize
Representing
Qt::
WA_MacVariableSize -
WA_DontShowOnScreen
Representing
Qt::
WA_DontShowOnScreen -
WA_X11NetWmWindowTypeDesktop
Representing
Qt::
WA_X11NetWmWindowTypeDesktop -
WA_X11NetWmWindowTypeDock
Representing
Qt::
WA_X11NetWmWindowTypeDock -
WA_X11NetWmWindowTypeToolBar
Representing
Qt::
WA_X11NetWmWindowTypeToolBar -
WA_X11NetWmWindowTypeMenu
Representing
Qt::
WA_X11NetWmWindowTypeMenu -
WA_X11NetWmWindowTypeUtility
Representing
Qt::
WA_X11NetWmWindowTypeUtility -
WA_X11NetWmWindowTypeSplash
Representing
Qt::
WA_X11NetWmWindowTypeSplash -
WA_X11NetWmWindowTypeDialog
Representing
Qt::
WA_X11NetWmWindowTypeDialog -
WA_X11NetWmWindowTypeDropDownMenu
Representing
Qt::
WA_X11NetWmWindowTypeDropDownMenu -
WA_X11NetWmWindowTypePopupMenu
Representing
Qt::
WA_X11NetWmWindowTypePopupMenu -
WA_X11NetWmWindowTypeToolTip
Representing
Qt::
WA_X11NetWmWindowTypeToolTip -
WA_X11NetWmWindowTypeNotification
Representing
Qt::
WA_X11NetWmWindowTypeNotification -
WA_X11NetWmWindowTypeCombo
Representing
Qt::
WA_X11NetWmWindowTypeCombo -
WA_X11NetWmWindowTypeDND
Representing
Qt::
WA_X11NetWmWindowTypeDND -
WA_MacFrameworkScaled
Deprecated. -
WA_SetWindowModality
Representing
Qt::
WA_SetWindowModality -
WA_WState_WindowOpacitySet
Representing
Qt::
WA_WState_WindowOpacitySet -
WA_TranslucentBackground
Representing
Qt::
WA_TranslucentBackground -
WA_AcceptTouchEvents
Representing
Qt::
WA_AcceptTouchEvents -
WA_WState_AcceptedTouchBeginEvent
Representing
Qt::
WA_WState_AcceptedTouchBeginEvent -
WA_TouchPadAcceptSingleTouchEvents
Representing
Qt::
WA_TouchPadAcceptSingleTouchEvents -
WA_X11DoNotAcceptFocus
Representing
Qt::
WA_X11DoNotAcceptFocus -
WA_MacNoShadow
Representing
Qt::
WA_MacNoShadow -
WA_AlwaysStackOnTop
Representing
Qt::
WA_AlwaysStackOnTop -
WA_TabletTracking
Representing
Qt::
WA_TabletTracking -
WA_ContentsMarginsRespectsSafeArea
Representing
Qt::
WA_ContentsMarginsRespectsSafeArea -
WA_StyleSheetTarget
Representing
Qt::
WA_StyleSheetTarget -
WA_AttributeCount
Representing
Qt::
WA_AttributeCount
-
-
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
-