API reference - Class Qt_WidgetAttribute

Notation used in Ruby API documentation

Module: QtCore

Description: This class represents the Qt::WidgetAttribute enum

This class is equivalent to the class Qt::WidgetAttribute

Public constructors

new Qt_WidgetAttribute ptrnew(int i)Creates an enum from an integer value
new Qt_WidgetAttribute ptrnew(string s)Creates an enum from a string value

Public methods

[const]bool!=(const Qt_WidgetAttribute other)Compares two enums for inequality
[const]bool!=(int other)Compares an enum with an integer for inequality
[const]bool<(const Qt_WidgetAttribute other)Returns true if the first enum is less (in the enum symbol order) than the second
[const]bool<(int other)Returns true if the enum is less (in the enum symbol order) than the integer value
[const]bool==(const Qt_WidgetAttribute other)Compares two enums
[const]bool==(int other)Compares an enum with an integer value
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidassign(const Qt_WidgetAttribute other)Assigns another object to self
[const]new Qt_WidgetAttribute ptrdupCreates a copy of self
[const]stringinspectConverts an enum to a visual string
[const]intto_iGets the integer value from the enum
[const]stringto_sGets the symbolic string from an enum
[const]Qt_QFlags_WidgetAttribute|(const Qt_WidgetAttribute other)Creates a flag set by combining the two flags
[const]Qt_QFlags_WidgetAttribute|(const Qt_QFlags_WidgetAttribute other)Combines the flag and the flag set

Public static methods and constants

[static,const]Qt_WidgetAttributeWA_AcceptDropsEnum constant Qt::WA_AcceptDrops
[static,const]Qt_WidgetAttributeWA_AcceptTouchEventsEnum constant Qt::WA_AcceptTouchEvents
[static,const]Qt_WidgetAttributeWA_AlwaysShowToolTipsEnum constant Qt::WA_AlwaysShowToolTips
[static,const]Qt_WidgetAttributeWA_AlwaysStackOnTopEnum constant Qt::WA_AlwaysStackOnTop
[static,const]Qt_WidgetAttributeWA_AttributeCountEnum constant Qt::WA_AttributeCount
[static,const]Qt_WidgetAttributeWA_CanHostQMdiSubWindowTitleBarEnum constant Qt::WA_CanHostQMdiSubWindowTitleBar
[static,const]Qt_WidgetAttributeWA_ContentsPropagatedEnum constant Qt::WA_ContentsPropagated
[static,const]Qt_WidgetAttributeWA_CustomWhatsThisEnum constant Qt::WA_CustomWhatsThis
[static,const]Qt_WidgetAttributeWA_DeleteOnCloseEnum constant Qt::WA_DeleteOnClose
[static,const]Qt_WidgetAttributeWA_DisabledEnum constant Qt::WA_Disabled
[static,const]Qt_WidgetAttributeWA_DontCreateNativeAncestorsEnum constant Qt::WA_DontCreateNativeAncestors
[static,const]Qt_WidgetAttributeWA_DontShowOnScreenEnum constant Qt::WA_DontShowOnScreen
[static,const]Qt_WidgetAttributeWA_DropSiteRegisteredEnum constant Qt::WA_DropSiteRegistered
[static,const]Qt_WidgetAttributeWA_ForceAcceptDropsEnum constant Qt::WA_ForceAcceptDrops
[static,const]Qt_WidgetAttributeWA_ForceDisabledEnum constant Qt::WA_ForceDisabled
[static,const]Qt_WidgetAttributeWA_ForceUpdatesDisabledEnum constant Qt::WA_ForceUpdatesDisabled
[static,const]Qt_WidgetAttributeWA_GrabbedShortcutEnum constant Qt::WA_GrabbedShortcut
[static,const]Qt_WidgetAttributeWA_GroupLeaderEnum constant Qt::WA_GroupLeader
[static,const]Qt_WidgetAttributeWA_HoverEnum constant Qt::WA_Hover
[static,const]Qt_WidgetAttributeWA_InputMethodEnabledEnum constant Qt::WA_InputMethodEnabled
[static,const]Qt_WidgetAttributeWA_InputMethodTransparentEnum constant Qt::WA_InputMethodTransparent
[static,const]Qt_WidgetAttributeWA_InvalidSizeEnum constant Qt::WA_InvalidSize
[static,const]Qt_WidgetAttributeWA_KeyCompressionEnum constant Qt::WA_KeyCompression
[static,const]Qt_WidgetAttributeWA_KeyboardFocusChangeEnum constant Qt::WA_KeyboardFocusChange
[static,const]Qt_WidgetAttributeWA_LaidOutEnum constant Qt::WA_LaidOut
[static,const]Qt_WidgetAttributeWA_LayoutOnEntireRectEnum constant Qt::WA_LayoutOnEntireRect
[static,const]Qt_WidgetAttributeWA_LayoutUsesWidgetRectEnum constant Qt::WA_LayoutUsesWidgetRect
[static,const]Qt_WidgetAttributeWA_MSWindowsUseDirect3DEnum constant Qt::WA_MSWindowsUseDirect3D
[static,const]Qt_WidgetAttributeWA_MacAlwaysShowToolWindowEnum constant Qt::WA_MacAlwaysShowToolWindow
[static,const]Qt_WidgetAttributeWA_MacBrushedMetalEnum constant Qt::WA_MacBrushedMetal
[static,const]Qt_WidgetAttributeWA_MacFrameworkScaledEnum constant Qt::WA_MacFrameworkScaled
[static,const]Qt_WidgetAttributeWA_MacMetalStyleEnum constant Qt::WA_MacMetalStyle
[static,const]Qt_WidgetAttributeWA_MacMiniSizeEnum constant Qt::WA_MacMiniSize
[static,const]Qt_WidgetAttributeWA_MacNoClickThroughEnum constant Qt::WA_MacNoClickThrough
[static,const]Qt_WidgetAttributeWA_MacNoShadowEnum constant Qt::WA_MacNoShadow
[static,const]Qt_WidgetAttributeWA_MacNormalSizeEnum constant Qt::WA_MacNormalSize
[static,const]Qt_WidgetAttributeWA_MacOpaqueSizeGripEnum constant Qt::WA_MacOpaqueSizeGrip
[static,const]Qt_WidgetAttributeWA_MacShowFocusRectEnum constant Qt::WA_MacShowFocusRect
[static,const]Qt_WidgetAttributeWA_MacSmallSizeEnum constant Qt::WA_MacSmallSize
[static,const]Qt_WidgetAttributeWA_MacVariableSizeEnum constant Qt::WA_MacVariableSize
[static,const]Qt_WidgetAttributeWA_MappedEnum constant Qt::WA_Mapped
[static,const]Qt_WidgetAttributeWA_MouseNoMaskEnum constant Qt::WA_MouseNoMask
[static,const]Qt_WidgetAttributeWA_MouseTrackingEnum constant Qt::WA_MouseTracking
[static,const]Qt_WidgetAttributeWA_MovedEnum constant Qt::WA_Moved
[static,const]Qt_WidgetAttributeWA_NativeWindowEnum constant Qt::WA_NativeWindow
[static,const]Qt_WidgetAttributeWA_NoBackgroundEnum constant Qt::WA_NoBackground
[static,const]Qt_WidgetAttributeWA_NoChildEventsForParentEnum constant Qt::WA_NoChildEventsForParent
[static,const]Qt_WidgetAttributeWA_NoChildEventsFromChildrenEnum constant Qt::WA_NoChildEventsFromChildren
[static,const]Qt_WidgetAttributeWA_NoMousePropagationEnum constant Qt::WA_NoMousePropagation
[static,const]Qt_WidgetAttributeWA_NoMouseReplayEnum constant Qt::WA_NoMouseReplay
[static,const]Qt_WidgetAttributeWA_NoSystemBackgroundEnum constant Qt::WA_NoSystemBackground
[static,const]Qt_WidgetAttributeWA_NoX11EventCompressionEnum constant Qt::WA_NoX11EventCompression
[static,const]Qt_WidgetAttributeWA_OpaquePaintEventEnum constant Qt::WA_OpaquePaintEvent
[static,const]Qt_WidgetAttributeWA_OutsideWSRangeEnum constant Qt::WA_OutsideWSRange
[static,const]Qt_WidgetAttributeWA_PaintOnScreenEnum constant Qt::WA_PaintOnScreen
[static,const]Qt_WidgetAttributeWA_PaintUnclippedEnum constant Qt::WA_PaintUnclipped
[static,const]Qt_WidgetAttributeWA_PendingMoveEventEnum constant Qt::WA_PendingMoveEvent
[static,const]Qt_WidgetAttributeWA_PendingResizeEventEnum constant Qt::WA_PendingResizeEvent
[static,const]Qt_WidgetAttributeWA_PendingUpdateEnum constant Qt::WA_PendingUpdate
[static,const]Qt_WidgetAttributeWA_QuitOnCloseEnum constant Qt::WA_QuitOnClose
[static,const]Qt_WidgetAttributeWA_ResizedEnum constant Qt::WA_Resized
[static,const]Qt_WidgetAttributeWA_RightToLeftEnum constant Qt::WA_RightToLeft
[static,const]Qt_WidgetAttributeWA_SetCursorEnum constant Qt::WA_SetCursor
[static,const]Qt_WidgetAttributeWA_SetFontEnum constant Qt::WA_SetFont
[static,const]Qt_WidgetAttributeWA_SetLayoutDirectionEnum constant Qt::WA_SetLayoutDirection
[static,const]Qt_WidgetAttributeWA_SetLocaleEnum constant Qt::WA_SetLocale
[static,const]Qt_WidgetAttributeWA_SetPaletteEnum constant Qt::WA_SetPalette
[static,const]Qt_WidgetAttributeWA_SetStyleEnum constant Qt::WA_SetStyle
[static,const]Qt_WidgetAttributeWA_SetWindowIconEnum constant Qt::WA_SetWindowIcon
[static,const]Qt_WidgetAttributeWA_SetWindowModalityEnum constant Qt::WA_SetWindowModality
[static,const]Qt_WidgetAttributeWA_ShowModalEnum constant Qt::WA_ShowModal
[static,const]Qt_WidgetAttributeWA_ShowWithoutActivatingEnum constant Qt::WA_ShowWithoutActivating
[static,const]Qt_WidgetAttributeWA_StaticContentsEnum constant Qt::WA_StaticContents
[static,const]Qt_WidgetAttributeWA_StyleSheetEnum constant Qt::WA_StyleSheet
[static,const]Qt_WidgetAttributeWA_StyledBackgroundEnum constant Qt::WA_StyledBackground
[static,const]Qt_WidgetAttributeWA_TintedBackgroundEnum constant Qt::WA_TintedBackground
[static,const]Qt_WidgetAttributeWA_TouchPadAcceptSingleTouchEventsEnum constant Qt::WA_TouchPadAcceptSingleTouchEvents
[static,const]Qt_WidgetAttributeWA_TranslucentBackgroundEnum constant Qt::WA_TranslucentBackground
[static,const]Qt_WidgetAttributeWA_TransparentForMouseEventsEnum constant Qt::WA_TransparentForMouseEvents
[static,const]Qt_WidgetAttributeWA_UnderMouseEnum constant Qt::WA_UnderMouse
[static,const]Qt_WidgetAttributeWA_UpdatesDisabledEnum constant Qt::WA_UpdatesDisabled
[static,const]Qt_WidgetAttributeWA_WState_AcceptedTouchBeginEventEnum constant Qt::WA_WState_AcceptedTouchBeginEvent
[static,const]Qt_WidgetAttributeWA_WState_CompressKeysEnum constant Qt::WA_WState_CompressKeys
[static,const]Qt_WidgetAttributeWA_WState_ConfigPendingEnum constant Qt::WA_WState_ConfigPending
[static,const]Qt_WidgetAttributeWA_WState_CreatedEnum constant Qt::WA_WState_Created
[static,const]Qt_WidgetAttributeWA_WState_DNDEnum constant Qt::WA_WState_DND
[static,const]Qt_WidgetAttributeWA_WState_ExplicitShowHideEnum constant Qt::WA_WState_ExplicitShowHide
[static,const]Qt_WidgetAttributeWA_WState_HiddenEnum constant Qt::WA_WState_Hidden
[static,const]Qt_WidgetAttributeWA_WState_InPaintEventEnum constant Qt::WA_WState_InPaintEvent
[static,const]Qt_WidgetAttributeWA_WState_OwnSizePolicyEnum constant Qt::WA_WState_OwnSizePolicy
[static,const]Qt_WidgetAttributeWA_WState_PolishedEnum constant Qt::WA_WState_Polished
[static,const]Qt_WidgetAttributeWA_WState_ReparentedEnum constant Qt::WA_WState_Reparented
[static,const]Qt_WidgetAttributeWA_WState_VisibleEnum constant Qt::WA_WState_Visible
[static,const]Qt_WidgetAttributeWA_WState_WindowOpacitySetEnum constant Qt::WA_WState_WindowOpacitySet
[static,const]Qt_WidgetAttributeWA_WindowModifiedEnum constant Qt::WA_WindowModified
[static,const]Qt_WidgetAttributeWA_WindowPropagationEnum constant Qt::WA_WindowPropagation
[static,const]Qt_WidgetAttributeWA_X11BypassTransientForHintEnum constant Qt::WA_X11BypassTransientForHint
[static,const]Qt_WidgetAttributeWA_X11DoNotAcceptFocusEnum constant Qt::WA_X11DoNotAcceptFocus
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeComboEnum constant Qt::WA_X11NetWmWindowTypeCombo
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeDNDEnum constant Qt::WA_X11NetWmWindowTypeDND
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeDesktopEnum constant Qt::WA_X11NetWmWindowTypeDesktop
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeDialogEnum constant Qt::WA_X11NetWmWindowTypeDialog
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeDockEnum constant Qt::WA_X11NetWmWindowTypeDock
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeDropDownMenuEnum constant Qt::WA_X11NetWmWindowTypeDropDownMenu
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeMenuEnum constant Qt::WA_X11NetWmWindowTypeMenu
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeNotificationEnum constant Qt::WA_X11NetWmWindowTypeNotification
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypePopupMenuEnum constant Qt::WA_X11NetWmWindowTypePopupMenu
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeSplashEnum constant Qt::WA_X11NetWmWindowTypeSplash
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeToolBarEnum constant Qt::WA_X11NetWmWindowTypeToolBar
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeToolTipEnum constant Qt::WA_X11NetWmWindowTypeToolTip
[static,const]Qt_WidgetAttributeWA_X11NetWmWindowTypeUtilityEnum constant Qt::WA_X11NetWmWindowTypeUtility
[static,const]Qt_WidgetAttributeWA_X11OpenGLOverlayEnum constant Qt::WA_X11OpenGLOverlay

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

!=

(1) Signature: [const] bool != (const Qt_WidgetAttribute other)

Description: Compares two enums for inequality

(2) Signature: [const] bool != (int other)

Description: Compares an enum with an integer for inequality

<

(1) Signature: [const] bool < (const Qt_WidgetAttribute other)

Description: Returns true if the first enum is less (in the enum symbol order) than the second

(2) Signature: [const] bool < (int other)

Description: Returns true if the enum is less (in the enum symbol order) than the integer value

==

(1) Signature: [const] bool == (const Qt_WidgetAttribute other)

Description: Compares two enums

(2) Signature: [const] bool == (int other)

Description: Compares an enum with an integer value

WA_AcceptDrops

Signature: [static,const] Qt_WidgetAttribute WA_AcceptDrops

Description: Enum constant Qt::WA_AcceptDrops

Python specific notes:
The object exposes a readable attribute 'WA_AcceptDrops'. This is the getter.

WA_AcceptTouchEvents

Signature: [static,const] Qt_WidgetAttribute WA_AcceptTouchEvents

Description: Enum constant Qt::WA_AcceptTouchEvents

Python specific notes:
The object exposes a readable attribute 'WA_AcceptTouchEvents'. This is the getter.

WA_AlwaysShowToolTips

Signature: [static,const] Qt_WidgetAttribute WA_AlwaysShowToolTips

Description: Enum constant Qt::WA_AlwaysShowToolTips

Python specific notes:
The object exposes a readable attribute 'WA_AlwaysShowToolTips'. This is the getter.

WA_AlwaysStackOnTop

Signature: [static,const] Qt_WidgetAttribute WA_AlwaysStackOnTop

Description: Enum constant Qt::WA_AlwaysStackOnTop

Python specific notes:
The object exposes a readable attribute 'WA_AlwaysStackOnTop'. This is the getter.

WA_AttributeCount

Signature: [static,const] Qt_WidgetAttribute WA_AttributeCount

Description: Enum constant Qt::WA_AttributeCount

Python specific notes:
The object exposes a readable attribute 'WA_AttributeCount'. This is the getter.

WA_CanHostQMdiSubWindowTitleBar

Signature: [static,const] Qt_WidgetAttribute WA_CanHostQMdiSubWindowTitleBar

Description: Enum constant Qt::WA_CanHostQMdiSubWindowTitleBar

Python specific notes:
The object exposes a readable attribute 'WA_CanHostQMdiSubWindowTitleBar'. This is the getter.

WA_ContentsPropagated

Signature: [static,const] Qt_WidgetAttribute WA_ContentsPropagated

Description: Enum constant Qt::WA_ContentsPropagated

Python specific notes:
The object exposes a readable attribute 'WA_ContentsPropagated'. This is the getter.

WA_CustomWhatsThis

Signature: [static,const] Qt_WidgetAttribute WA_CustomWhatsThis

Description: Enum constant Qt::WA_CustomWhatsThis

Python specific notes:
The object exposes a readable attribute 'WA_CustomWhatsThis'. This is the getter.

WA_DeleteOnClose

Signature: [static,const] Qt_WidgetAttribute WA_DeleteOnClose

Description: Enum constant Qt::WA_DeleteOnClose

Python specific notes:
The object exposes a readable attribute 'WA_DeleteOnClose'. This is the getter.

WA_Disabled

Signature: [static,const] Qt_WidgetAttribute WA_Disabled

Description: Enum constant Qt::WA_Disabled

Python specific notes:
The object exposes a readable attribute 'WA_Disabled'. This is the getter.

WA_DontCreateNativeAncestors

Signature: [static,const] Qt_WidgetAttribute WA_DontCreateNativeAncestors

Description: Enum constant Qt::WA_DontCreateNativeAncestors

Python specific notes:
The object exposes a readable attribute 'WA_DontCreateNativeAncestors'. This is the getter.

WA_DontShowOnScreen

Signature: [static,const] Qt_WidgetAttribute WA_DontShowOnScreen

Description: Enum constant Qt::WA_DontShowOnScreen

Python specific notes:
The object exposes a readable attribute 'WA_DontShowOnScreen'. This is the getter.

WA_DropSiteRegistered

Signature: [static,const] Qt_WidgetAttribute WA_DropSiteRegistered

Description: Enum constant Qt::WA_DropSiteRegistered

Python specific notes:
The object exposes a readable attribute 'WA_DropSiteRegistered'. This is the getter.

WA_ForceAcceptDrops

Signature: [static,const] Qt_WidgetAttribute WA_ForceAcceptDrops

Description: Enum constant Qt::WA_ForceAcceptDrops

Python specific notes:
The object exposes a readable attribute 'WA_ForceAcceptDrops'. This is the getter.

WA_ForceDisabled

Signature: [static,const] Qt_WidgetAttribute WA_ForceDisabled

Description: Enum constant Qt::WA_ForceDisabled

Python specific notes:
The object exposes a readable attribute 'WA_ForceDisabled'. This is the getter.

WA_ForceUpdatesDisabled

Signature: [static,const] Qt_WidgetAttribute WA_ForceUpdatesDisabled

Description: Enum constant Qt::WA_ForceUpdatesDisabled

Python specific notes:
The object exposes a readable attribute 'WA_ForceUpdatesDisabled'. This is the getter.

WA_GrabbedShortcut

Signature: [static,const] Qt_WidgetAttribute WA_GrabbedShortcut

Description: Enum constant Qt::WA_GrabbedShortcut

Python specific notes:
The object exposes a readable attribute 'WA_GrabbedShortcut'. This is the getter.

WA_GroupLeader

Signature: [static,const] Qt_WidgetAttribute WA_GroupLeader

Description: Enum constant Qt::WA_GroupLeader

Python specific notes:
The object exposes a readable attribute 'WA_GroupLeader'. This is the getter.

WA_Hover

Signature: [static,const] Qt_WidgetAttribute WA_Hover

Description: Enum constant Qt::WA_Hover

Python specific notes:
The object exposes a readable attribute 'WA_Hover'. This is the getter.

WA_InputMethodEnabled

Signature: [static,const] Qt_WidgetAttribute WA_InputMethodEnabled

Description: Enum constant Qt::WA_InputMethodEnabled

Python specific notes:
The object exposes a readable attribute 'WA_InputMethodEnabled'. This is the getter.

WA_InputMethodTransparent

Signature: [static,const] Qt_WidgetAttribute WA_InputMethodTransparent

Description: Enum constant Qt::WA_InputMethodTransparent

Python specific notes:
The object exposes a readable attribute 'WA_InputMethodTransparent'. This is the getter.

WA_InvalidSize

Signature: [static,const] Qt_WidgetAttribute WA_InvalidSize

Description: Enum constant Qt::WA_InvalidSize

Python specific notes:
The object exposes a readable attribute 'WA_InvalidSize'. This is the getter.

WA_KeyCompression

Signature: [static,const] Qt_WidgetAttribute WA_KeyCompression

Description: Enum constant Qt::WA_KeyCompression

Python specific notes:
The object exposes a readable attribute 'WA_KeyCompression'. This is the getter.

WA_KeyboardFocusChange

Signature: [static,const] Qt_WidgetAttribute WA_KeyboardFocusChange

Description: Enum constant Qt::WA_KeyboardFocusChange

Python specific notes:
The object exposes a readable attribute 'WA_KeyboardFocusChange'. This is the getter.

WA_LaidOut

Signature: [static,const] Qt_WidgetAttribute WA_LaidOut

Description: Enum constant Qt::WA_LaidOut

Python specific notes:
The object exposes a readable attribute 'WA_LaidOut'. This is the getter.

WA_LayoutOnEntireRect

Signature: [static,const] Qt_WidgetAttribute WA_LayoutOnEntireRect

Description: Enum constant Qt::WA_LayoutOnEntireRect

Python specific notes:
The object exposes a readable attribute 'WA_LayoutOnEntireRect'. This is the getter.

WA_LayoutUsesWidgetRect

Signature: [static,const] Qt_WidgetAttribute WA_LayoutUsesWidgetRect

Description: Enum constant Qt::WA_LayoutUsesWidgetRect

Python specific notes:
The object exposes a readable attribute 'WA_LayoutUsesWidgetRect'. This is the getter.

WA_MSWindowsUseDirect3D

Signature: [static,const] Qt_WidgetAttribute WA_MSWindowsUseDirect3D

Description: Enum constant Qt::WA_MSWindowsUseDirect3D

Python specific notes:
The object exposes a readable attribute 'WA_MSWindowsUseDirect3D'. This is the getter.

WA_MacAlwaysShowToolWindow

Signature: [static,const] Qt_WidgetAttribute WA_MacAlwaysShowToolWindow

Description: Enum constant Qt::WA_MacAlwaysShowToolWindow

Python specific notes:
The object exposes a readable attribute 'WA_MacAlwaysShowToolWindow'. This is the getter.

WA_MacBrushedMetal

Signature: [static,const] Qt_WidgetAttribute WA_MacBrushedMetal

Description: Enum constant Qt::WA_MacBrushedMetal

Python specific notes:
The object exposes a readable attribute 'WA_MacBrushedMetal'. This is the getter.

WA_MacFrameworkScaled

Signature: [static,const] Qt_WidgetAttribute WA_MacFrameworkScaled

Description: Enum constant Qt::WA_MacFrameworkScaled

Python specific notes:
The object exposes a readable attribute 'WA_MacFrameworkScaled'. This is the getter.

WA_MacMetalStyle

Signature: [static,const] Qt_WidgetAttribute WA_MacMetalStyle

Description: Enum constant Qt::WA_MacMetalStyle

Python specific notes:
The object exposes a readable attribute 'WA_MacMetalStyle'. This is the getter.

WA_MacMiniSize

Signature: [static,const] Qt_WidgetAttribute WA_MacMiniSize

Description: Enum constant Qt::WA_MacMiniSize

Python specific notes:
The object exposes a readable attribute 'WA_MacMiniSize'. This is the getter.

WA_MacNoClickThrough

Signature: [static,const] Qt_WidgetAttribute WA_MacNoClickThrough

Description: Enum constant Qt::WA_MacNoClickThrough

Python specific notes:
The object exposes a readable attribute 'WA_MacNoClickThrough'. This is the getter.

WA_MacNoShadow

Signature: [static,const] Qt_WidgetAttribute WA_MacNoShadow

Description: Enum constant Qt::WA_MacNoShadow

Python specific notes:
The object exposes a readable attribute 'WA_MacNoShadow'. This is the getter.

WA_MacNormalSize

Signature: [static,const] Qt_WidgetAttribute WA_MacNormalSize

Description: Enum constant Qt::WA_MacNormalSize

Python specific notes:
The object exposes a readable attribute 'WA_MacNormalSize'. This is the getter.

WA_MacOpaqueSizeGrip

Signature: [static,const] Qt_WidgetAttribute WA_MacOpaqueSizeGrip

Description: Enum constant Qt::WA_MacOpaqueSizeGrip

Python specific notes:
The object exposes a readable attribute 'WA_MacOpaqueSizeGrip'. This is the getter.

WA_MacShowFocusRect

Signature: [static,const] Qt_WidgetAttribute WA_MacShowFocusRect

Description: Enum constant Qt::WA_MacShowFocusRect

Python specific notes:
The object exposes a readable attribute 'WA_MacShowFocusRect'. This is the getter.

WA_MacSmallSize

Signature: [static,const] Qt_WidgetAttribute WA_MacSmallSize

Description: Enum constant Qt::WA_MacSmallSize

Python specific notes:
The object exposes a readable attribute 'WA_MacSmallSize'. This is the getter.

WA_MacVariableSize

Signature: [static,const] Qt_WidgetAttribute WA_MacVariableSize

Description: Enum constant Qt::WA_MacVariableSize

Python specific notes:
The object exposes a readable attribute 'WA_MacVariableSize'. This is the getter.

WA_Mapped

Signature: [static,const] Qt_WidgetAttribute WA_Mapped

Description: Enum constant Qt::WA_Mapped

Python specific notes:
The object exposes a readable attribute 'WA_Mapped'. This is the getter.

WA_MouseNoMask

Signature: [static,const] Qt_WidgetAttribute WA_MouseNoMask

Description: Enum constant Qt::WA_MouseNoMask

Python specific notes:
The object exposes a readable attribute 'WA_MouseNoMask'. This is the getter.

WA_MouseTracking

Signature: [static,const] Qt_WidgetAttribute WA_MouseTracking

Description: Enum constant Qt::WA_MouseTracking

Python specific notes:
The object exposes a readable attribute 'WA_MouseTracking'. This is the getter.

WA_Moved

Signature: [static,const] Qt_WidgetAttribute WA_Moved

Description: Enum constant Qt::WA_Moved

Python specific notes:
The object exposes a readable attribute 'WA_Moved'. This is the getter.

WA_NativeWindow

Signature: [static,const] Qt_WidgetAttribute WA_NativeWindow

Description: Enum constant Qt::WA_NativeWindow

Python specific notes:
The object exposes a readable attribute 'WA_NativeWindow'. This is the getter.

WA_NoBackground

Signature: [static,const] Qt_WidgetAttribute WA_NoBackground

Description: Enum constant Qt::WA_NoBackground

Python specific notes:
The object exposes a readable attribute 'WA_NoBackground'. This is the getter.

WA_NoChildEventsForParent

Signature: [static,const] Qt_WidgetAttribute WA_NoChildEventsForParent

Description: Enum constant Qt::WA_NoChildEventsForParent

Python specific notes:
The object exposes a readable attribute 'WA_NoChildEventsForParent'. This is the getter.

WA_NoChildEventsFromChildren

Signature: [static,const] Qt_WidgetAttribute WA_NoChildEventsFromChildren

Description: Enum constant Qt::WA_NoChildEventsFromChildren

Python specific notes:
The object exposes a readable attribute 'WA_NoChildEventsFromChildren'. This is the getter.

WA_NoMousePropagation

Signature: [static,const] Qt_WidgetAttribute WA_NoMousePropagation

Description: Enum constant Qt::WA_NoMousePropagation

Python specific notes:
The object exposes a readable attribute 'WA_NoMousePropagation'. This is the getter.

WA_NoMouseReplay

Signature: [static,const] Qt_WidgetAttribute WA_NoMouseReplay

Description: Enum constant Qt::WA_NoMouseReplay

Python specific notes:
The object exposes a readable attribute 'WA_NoMouseReplay'. This is the getter.

WA_NoSystemBackground

Signature: [static,const] Qt_WidgetAttribute WA_NoSystemBackground

Description: Enum constant Qt::WA_NoSystemBackground

Python specific notes:
The object exposes a readable attribute 'WA_NoSystemBackground'. This is the getter.

WA_NoX11EventCompression

Signature: [static,const] Qt_WidgetAttribute WA_NoX11EventCompression

Description: Enum constant Qt::WA_NoX11EventCompression

Python specific notes:
The object exposes a readable attribute 'WA_NoX11EventCompression'. This is the getter.

WA_OpaquePaintEvent

Signature: [static,const] Qt_WidgetAttribute WA_OpaquePaintEvent

Description: Enum constant Qt::WA_OpaquePaintEvent

Python specific notes:
The object exposes a readable attribute 'WA_OpaquePaintEvent'. This is the getter.

WA_OutsideWSRange

Signature: [static,const] Qt_WidgetAttribute WA_OutsideWSRange

Description: Enum constant Qt::WA_OutsideWSRange

Python specific notes:
The object exposes a readable attribute 'WA_OutsideWSRange'. This is the getter.

WA_PaintOnScreen

Signature: [static,const] Qt_WidgetAttribute WA_PaintOnScreen

Description: Enum constant Qt::WA_PaintOnScreen

Python specific notes:
The object exposes a readable attribute 'WA_PaintOnScreen'. This is the getter.

WA_PaintUnclipped

Signature: [static,const] Qt_WidgetAttribute WA_PaintUnclipped

Description: Enum constant Qt::WA_PaintUnclipped

Python specific notes:
The object exposes a readable attribute 'WA_PaintUnclipped'. This is the getter.

WA_PendingMoveEvent

Signature: [static,const] Qt_WidgetAttribute WA_PendingMoveEvent

Description: Enum constant Qt::WA_PendingMoveEvent

Python specific notes:
The object exposes a readable attribute 'WA_PendingMoveEvent'. This is the getter.

WA_PendingResizeEvent

Signature: [static,const] Qt_WidgetAttribute WA_PendingResizeEvent

Description: Enum constant Qt::WA_PendingResizeEvent

Python specific notes:
The object exposes a readable attribute 'WA_PendingResizeEvent'. This is the getter.

WA_PendingUpdate

Signature: [static,const] Qt_WidgetAttribute WA_PendingUpdate

Description: Enum constant Qt::WA_PendingUpdate

Python specific notes:
The object exposes a readable attribute 'WA_PendingUpdate'. This is the getter.

WA_QuitOnClose

Signature: [static,const] Qt_WidgetAttribute WA_QuitOnClose

Description: Enum constant Qt::WA_QuitOnClose

Python specific notes:
The object exposes a readable attribute 'WA_QuitOnClose'. This is the getter.

WA_Resized

Signature: [static,const] Qt_WidgetAttribute WA_Resized

Description: Enum constant Qt::WA_Resized

Python specific notes:
The object exposes a readable attribute 'WA_Resized'. This is the getter.

WA_RightToLeft

Signature: [static,const] Qt_WidgetAttribute WA_RightToLeft

Description: Enum constant Qt::WA_RightToLeft

Python specific notes:
The object exposes a readable attribute 'WA_RightToLeft'. This is the getter.

WA_SetCursor

Signature: [static,const] Qt_WidgetAttribute WA_SetCursor

Description: Enum constant Qt::WA_SetCursor

Python specific notes:
The object exposes a readable attribute 'WA_SetCursor'. This is the getter.

WA_SetFont

Signature: [static,const] Qt_WidgetAttribute WA_SetFont

Description: Enum constant Qt::WA_SetFont

Python specific notes:
The object exposes a readable attribute 'WA_SetFont'. This is the getter.

WA_SetLayoutDirection

Signature: [static,const] Qt_WidgetAttribute WA_SetLayoutDirection

Description: Enum constant Qt::WA_SetLayoutDirection

Python specific notes:
The object exposes a readable attribute 'WA_SetLayoutDirection'. This is the getter.

WA_SetLocale

Signature: [static,const] Qt_WidgetAttribute WA_SetLocale

Description: Enum constant Qt::WA_SetLocale

Python specific notes:
The object exposes a readable attribute 'WA_SetLocale'. This is the getter.

WA_SetPalette

Signature: [static,const] Qt_WidgetAttribute WA_SetPalette

Description: Enum constant Qt::WA_SetPalette

Python specific notes:
The object exposes a readable attribute 'WA_SetPalette'. This is the getter.

WA_SetStyle

Signature: [static,const] Qt_WidgetAttribute WA_SetStyle

Description: Enum constant Qt::WA_SetStyle

Python specific notes:
The object exposes a readable attribute 'WA_SetStyle'. This is the getter.

WA_SetWindowIcon

Signature: [static,const] Qt_WidgetAttribute WA_SetWindowIcon

Description: Enum constant Qt::WA_SetWindowIcon

Python specific notes:
The object exposes a readable attribute 'WA_SetWindowIcon'. This is the getter.

WA_SetWindowModality

Signature: [static,const] Qt_WidgetAttribute WA_SetWindowModality

Description: Enum constant Qt::WA_SetWindowModality

Python specific notes:
The object exposes a readable attribute 'WA_SetWindowModality'. This is the getter.

WA_ShowModal

Signature: [static,const] Qt_WidgetAttribute WA_ShowModal

Description: Enum constant Qt::WA_ShowModal

Python specific notes:
The object exposes a readable attribute 'WA_ShowModal'. This is the getter.

WA_ShowWithoutActivating

Signature: [static,const] Qt_WidgetAttribute WA_ShowWithoutActivating

Description: Enum constant Qt::WA_ShowWithoutActivating

Python specific notes:
The object exposes a readable attribute 'WA_ShowWithoutActivating'. This is the getter.

WA_StaticContents

Signature: [static,const] Qt_WidgetAttribute WA_StaticContents

Description: Enum constant Qt::WA_StaticContents

Python specific notes:
The object exposes a readable attribute 'WA_StaticContents'. This is the getter.

WA_StyleSheet

Signature: [static,const] Qt_WidgetAttribute WA_StyleSheet

Description: Enum constant Qt::WA_StyleSheet

Python specific notes:
The object exposes a readable attribute 'WA_StyleSheet'. This is the getter.

WA_StyledBackground

Signature: [static,const] Qt_WidgetAttribute WA_StyledBackground

Description: Enum constant Qt::WA_StyledBackground

Python specific notes:
The object exposes a readable attribute 'WA_StyledBackground'. This is the getter.

WA_TintedBackground

Signature: [static,const] Qt_WidgetAttribute WA_TintedBackground

Description: Enum constant Qt::WA_TintedBackground

Python specific notes:
The object exposes a readable attribute 'WA_TintedBackground'. This is the getter.

WA_TouchPadAcceptSingleTouchEvents

Signature: [static,const] Qt_WidgetAttribute WA_TouchPadAcceptSingleTouchEvents

Description: Enum constant Qt::WA_TouchPadAcceptSingleTouchEvents

Python specific notes:
The object exposes a readable attribute 'WA_TouchPadAcceptSingleTouchEvents'. This is the getter.

WA_TranslucentBackground

Signature: [static,const] Qt_WidgetAttribute WA_TranslucentBackground

Description: Enum constant Qt::WA_TranslucentBackground

Python specific notes:
The object exposes a readable attribute 'WA_TranslucentBackground'. This is the getter.

WA_TransparentForMouseEvents

Signature: [static,const] Qt_WidgetAttribute WA_TransparentForMouseEvents

Description: Enum constant Qt::WA_TransparentForMouseEvents

Python specific notes:
The object exposes a readable attribute 'WA_TransparentForMouseEvents'. This is the getter.

WA_UnderMouse

Signature: [static,const] Qt_WidgetAttribute WA_UnderMouse

Description: Enum constant Qt::WA_UnderMouse

Python specific notes:
The object exposes a readable attribute 'WA_UnderMouse'. This is the getter.

WA_UpdatesDisabled

Signature: [static,const] Qt_WidgetAttribute WA_UpdatesDisabled

Description: Enum constant Qt::WA_UpdatesDisabled

Python specific notes:
The object exposes a readable attribute 'WA_UpdatesDisabled'. This is the getter.

WA_WState_AcceptedTouchBeginEvent

Signature: [static,const] Qt_WidgetAttribute WA_WState_AcceptedTouchBeginEvent

Description: Enum constant Qt::WA_WState_AcceptedTouchBeginEvent

Python specific notes:
The object exposes a readable attribute 'WA_WState_AcceptedTouchBeginEvent'. This is the getter.

WA_WState_CompressKeys

Signature: [static,const] Qt_WidgetAttribute WA_WState_CompressKeys

Description: Enum constant Qt::WA_WState_CompressKeys

Python specific notes:
The object exposes a readable attribute 'WA_WState_CompressKeys'. This is the getter.

WA_WState_ConfigPending

Signature: [static,const] Qt_WidgetAttribute WA_WState_ConfigPending

Description: Enum constant Qt::WA_WState_ConfigPending

Python specific notes:
The object exposes a readable attribute 'WA_WState_ConfigPending'. This is the getter.

WA_WState_Created

Signature: [static,const] Qt_WidgetAttribute WA_WState_Created

Description: Enum constant Qt::WA_WState_Created

Python specific notes:
The object exposes a readable attribute 'WA_WState_Created'. This is the getter.

WA_WState_DND

Signature: [static,const] Qt_WidgetAttribute WA_WState_DND

Description: Enum constant Qt::WA_WState_DND

Python specific notes:
The object exposes a readable attribute 'WA_WState_DND'. This is the getter.

WA_WState_ExplicitShowHide

Signature: [static,const] Qt_WidgetAttribute WA_WState_ExplicitShowHide

Description: Enum constant Qt::WA_WState_ExplicitShowHide

Python specific notes:
The object exposes a readable attribute 'WA_WState_ExplicitShowHide'. This is the getter.

WA_WState_Hidden

Signature: [static,const] Qt_WidgetAttribute WA_WState_Hidden

Description: Enum constant Qt::WA_WState_Hidden

Python specific notes:
The object exposes a readable attribute 'WA_WState_Hidden'. This is the getter.

WA_WState_InPaintEvent

Signature: [static,const] Qt_WidgetAttribute WA_WState_InPaintEvent

Description: Enum constant Qt::WA_WState_InPaintEvent

Python specific notes:
The object exposes a readable attribute 'WA_WState_InPaintEvent'. This is the getter.

WA_WState_OwnSizePolicy

Signature: [static,const] Qt_WidgetAttribute WA_WState_OwnSizePolicy

Description: Enum constant Qt::WA_WState_OwnSizePolicy

Python specific notes:
The object exposes a readable attribute 'WA_WState_OwnSizePolicy'. This is the getter.

WA_WState_Polished

Signature: [static,const] Qt_WidgetAttribute WA_WState_Polished

Description: Enum constant Qt::WA_WState_Polished

Python specific notes:
The object exposes a readable attribute 'WA_WState_Polished'. This is the getter.

WA_WState_Reparented

Signature: [static,const] Qt_WidgetAttribute WA_WState_Reparented

Description: Enum constant Qt::WA_WState_Reparented

Python specific notes:
The object exposes a readable attribute 'WA_WState_Reparented'. This is the getter.

WA_WState_Visible

Signature: [static,const] Qt_WidgetAttribute WA_WState_Visible

Description: Enum constant Qt::WA_WState_Visible

Python specific notes:
The object exposes a readable attribute 'WA_WState_Visible'. This is the getter.

WA_WState_WindowOpacitySet

Signature: [static,const] Qt_WidgetAttribute WA_WState_WindowOpacitySet

Description: Enum constant Qt::WA_WState_WindowOpacitySet

Python specific notes:
The object exposes a readable attribute 'WA_WState_WindowOpacitySet'. This is the getter.

WA_WindowModified

Signature: [static,const] Qt_WidgetAttribute WA_WindowModified

Description: Enum constant Qt::WA_WindowModified

Python specific notes:
The object exposes a readable attribute 'WA_WindowModified'. This is the getter.

WA_WindowPropagation

Signature: [static,const] Qt_WidgetAttribute WA_WindowPropagation

Description: Enum constant Qt::WA_WindowPropagation

Python specific notes:
The object exposes a readable attribute 'WA_WindowPropagation'. This is the getter.

WA_X11BypassTransientForHint

Signature: [static,const] Qt_WidgetAttribute WA_X11BypassTransientForHint

Description: Enum constant Qt::WA_X11BypassTransientForHint

Python specific notes:
The object exposes a readable attribute 'WA_X11BypassTransientForHint'. This is the getter.

WA_X11DoNotAcceptFocus

Signature: [static,const] Qt_WidgetAttribute WA_X11DoNotAcceptFocus

Description: Enum constant Qt::WA_X11DoNotAcceptFocus

Python specific notes:
The object exposes a readable attribute 'WA_X11DoNotAcceptFocus'. This is the getter.

WA_X11NetWmWindowTypeCombo

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeCombo

Description: Enum constant Qt::WA_X11NetWmWindowTypeCombo

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeCombo'. This is the getter.

WA_X11NetWmWindowTypeDND

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeDND

Description: Enum constant Qt::WA_X11NetWmWindowTypeDND

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeDND'. This is the getter.

WA_X11NetWmWindowTypeDesktop

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeDesktop

Description: Enum constant Qt::WA_X11NetWmWindowTypeDesktop

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeDesktop'. This is the getter.

WA_X11NetWmWindowTypeDialog

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeDialog

Description: Enum constant Qt::WA_X11NetWmWindowTypeDialog

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeDialog'. This is the getter.

WA_X11NetWmWindowTypeDock

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeDock

Description: Enum constant Qt::WA_X11NetWmWindowTypeDock

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeDock'. This is the getter.

WA_X11NetWmWindowTypeDropDownMenu

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeDropDownMenu

Description: Enum constant Qt::WA_X11NetWmWindowTypeDropDownMenu

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeDropDownMenu'. This is the getter.

WA_X11NetWmWindowTypeMenu

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeMenu

Description: Enum constant Qt::WA_X11NetWmWindowTypeMenu

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeMenu'. This is the getter.

WA_X11NetWmWindowTypeNotification

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeNotification

Description: Enum constant Qt::WA_X11NetWmWindowTypeNotification

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeNotification'. This is the getter.

WA_X11NetWmWindowTypePopupMenu

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypePopupMenu

Description: Enum constant Qt::WA_X11NetWmWindowTypePopupMenu

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypePopupMenu'. This is the getter.

WA_X11NetWmWindowTypeSplash

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeSplash

Description: Enum constant Qt::WA_X11NetWmWindowTypeSplash

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeSplash'. This is the getter.

WA_X11NetWmWindowTypeToolBar

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeToolBar

Description: Enum constant Qt::WA_X11NetWmWindowTypeToolBar

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeToolBar'. This is the getter.

WA_X11NetWmWindowTypeToolTip

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeToolTip

Description: Enum constant Qt::WA_X11NetWmWindowTypeToolTip

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeToolTip'. This is the getter.

WA_X11NetWmWindowTypeUtility

Signature: [static,const] Qt_WidgetAttribute WA_X11NetWmWindowTypeUtility

Description: Enum constant Qt::WA_X11NetWmWindowTypeUtility

Python specific notes:
The object exposes a readable attribute 'WA_X11NetWmWindowTypeUtility'. This is the getter.

WA_X11OpenGLOverlay

Signature: [static,const] Qt_WidgetAttribute WA_X11OpenGLOverlay

Description: Enum constant Qt::WA_X11OpenGLOverlay

Python specific notes:
The object exposes a readable attribute 'WA_X11OpenGLOverlay'. This is the getter.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

assign

Signature: void assign (const Qt_WidgetAttribute other)

Description: Assigns another object to self

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

dup

Signature: [const] new Qt_WidgetAttribute ptr dup

Description: Creates a copy of self

Python specific notes:
This method also implements '__copy__' and '__deepcopy__'.

inspect

Signature: [const] string inspect

Description: Converts an enum to a visual string

Python specific notes:
This method is also available as 'repr(object)'.

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

new

(1) Signature: [static] new Qt_WidgetAttribute ptr new (int i)

Description: Creates an enum from an integer value

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new Qt_WidgetAttribute ptr new (string s)

Description: Creates an enum from a string value

Python specific notes:
This method is the default initializer of the object.

to_i

Signature: [const] int to_i

Description: Gets the integer value from the enum

to_s

Signature: [const] string to_s

Description: Gets the symbolic string from an enum

Python specific notes:
This method is also available as 'str(object)'.

|

(1) Signature: [const] Qt_QFlags_WidgetAttribute | (const Qt_WidgetAttribute other)

Description: Creates a flag set by combining the two flags

(2) Signature: [const] Qt_QFlags_WidgetAttribute | (const Qt_QFlags_WidgetAttribute other)

Description: Combines the flag and the flag set