API reference - Class QStyle_SubElement

Notation used in Ruby API documentation

Module: QtWidgets

Description: This class represents the QStyle::SubElement enum

This class is equivalent to the class QStyle::SubElement

Public constructors

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

Public methods

[const]bool!=(const QStyle_SubElement other)Compares two enums for inequality
[const]bool!=(int other)Compares an enum with an integer for inequality
[const]bool<(const QStyle_SubElement 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 QStyle_SubElement 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 QStyle_SubElement other)Assigns another object to self
[const]new QStyle_SubElement 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]QStyle_QFlags_SubElement|(const QStyle_SubElement other)Creates a flag set by combining the two flags
[const]QStyle_QFlags_SubElement|(const QStyle_QFlags_SubElement other)Combines the flag and the flag set

Public static methods and constants

[static,const]QStyle_SubElementSE_CheckBoxClickRectEnum constant QStyle::SE_CheckBoxClickRect
[static,const]QStyle_SubElementSE_CheckBoxContentsEnum constant QStyle::SE_CheckBoxContents
[static,const]QStyle_SubElementSE_CheckBoxFocusRectEnum constant QStyle::SE_CheckBoxFocusRect
[static,const]QStyle_SubElementSE_CheckBoxIndicatorEnum constant QStyle::SE_CheckBoxIndicator
[static,const]QStyle_SubElementSE_CheckBoxLayoutItemEnum constant QStyle::SE_CheckBoxLayoutItem
[static,const]QStyle_SubElementSE_ComboBoxFocusRectEnum constant QStyle::SE_ComboBoxFocusRect
[static,const]QStyle_SubElementSE_ComboBoxLayoutItemEnum constant QStyle::SE_ComboBoxLayoutItem
[static,const]QStyle_SubElementSE_CustomBaseEnum constant QStyle::SE_CustomBase
[static,const]QStyle_SubElementSE_DateTimeEditLayoutItemEnum constant QStyle::SE_DateTimeEditLayoutItem
[static,const]QStyle_SubElementSE_DialogButtonBoxLayoutItemEnum constant QStyle::SE_DialogButtonBoxLayoutItem
[static,const]QStyle_SubElementSE_DockWidgetCloseButtonEnum constant QStyle::SE_DockWidgetCloseButton
[static,const]QStyle_SubElementSE_DockWidgetFloatButtonEnum constant QStyle::SE_DockWidgetFloatButton
[static,const]QStyle_SubElementSE_DockWidgetIconEnum constant QStyle::SE_DockWidgetIcon
[static,const]QStyle_SubElementSE_DockWidgetTitleBarTextEnum constant QStyle::SE_DockWidgetTitleBarText
[static,const]QStyle_SubElementSE_FrameContentsEnum constant QStyle::SE_FrameContents
[static,const]QStyle_SubElementSE_FrameLayoutItemEnum constant QStyle::SE_FrameLayoutItem
[static,const]QStyle_SubElementSE_GroupBoxLayoutItemEnum constant QStyle::SE_GroupBoxLayoutItem
[static,const]QStyle_SubElementSE_HeaderArrowEnum constant QStyle::SE_HeaderArrow
[static,const]QStyle_SubElementSE_HeaderLabelEnum constant QStyle::SE_HeaderLabel
[static,const]QStyle_SubElementSE_ItemViewItemCheckIndicatorEnum constant QStyle::SE_ItemViewItemCheckIndicator
[static,const]QStyle_SubElementSE_ItemViewItemDecorationEnum constant QStyle::SE_ItemViewItemDecoration
[static,const]QStyle_SubElementSE_ItemViewItemFocusRectEnum constant QStyle::SE_ItemViewItemFocusRect
[static,const]QStyle_SubElementSE_ItemViewItemTextEnum constant QStyle::SE_ItemViewItemText
[static,const]QStyle_SubElementSE_LabelLayoutItemEnum constant QStyle::SE_LabelLayoutItem
[static,const]QStyle_SubElementSE_LineEditContentsEnum constant QStyle::SE_LineEditContents
[static,const]QStyle_SubElementSE_ProgressBarContentsEnum constant QStyle::SE_ProgressBarContents
[static,const]QStyle_SubElementSE_ProgressBarGrooveEnum constant QStyle::SE_ProgressBarGroove
[static,const]QStyle_SubElementSE_ProgressBarLabelEnum constant QStyle::SE_ProgressBarLabel
[static,const]QStyle_SubElementSE_ProgressBarLayoutItemEnum constant QStyle::SE_ProgressBarLayoutItem
[static,const]QStyle_SubElementSE_PushButtonContentsEnum constant QStyle::SE_PushButtonContents
[static,const]QStyle_SubElementSE_PushButtonFocusRectEnum constant QStyle::SE_PushButtonFocusRect
[static,const]QStyle_SubElementSE_PushButtonLayoutItemEnum constant QStyle::SE_PushButtonLayoutItem
[static,const]QStyle_SubElementSE_RadioButtonClickRectEnum constant QStyle::SE_RadioButtonClickRect
[static,const]QStyle_SubElementSE_RadioButtonContentsEnum constant QStyle::SE_RadioButtonContents
[static,const]QStyle_SubElementSE_RadioButtonFocusRectEnum constant QStyle::SE_RadioButtonFocusRect
[static,const]QStyle_SubElementSE_RadioButtonIndicatorEnum constant QStyle::SE_RadioButtonIndicator
[static,const]QStyle_SubElementSE_RadioButtonLayoutItemEnum constant QStyle::SE_RadioButtonLayoutItem
[static,const]QStyle_SubElementSE_ShapedFrameContentsEnum constant QStyle::SE_ShapedFrameContents
[static,const]QStyle_SubElementSE_SliderFocusRectEnum constant QStyle::SE_SliderFocusRect
[static,const]QStyle_SubElementSE_SliderLayoutItemEnum constant QStyle::SE_SliderLayoutItem
[static,const]QStyle_SubElementSE_SpinBoxLayoutItemEnum constant QStyle::SE_SpinBoxLayoutItem
[static,const]QStyle_SubElementSE_TabBarTabLeftButtonEnum constant QStyle::SE_TabBarTabLeftButton
[static,const]QStyle_SubElementSE_TabBarTabRightButtonEnum constant QStyle::SE_TabBarTabRightButton
[static,const]QStyle_SubElementSE_TabBarTabTextEnum constant QStyle::SE_TabBarTabText
[static,const]QStyle_SubElementSE_TabBarTearIndicatorEnum constant QStyle::SE_TabBarTearIndicator
[static,const]QStyle_SubElementSE_TabWidgetLayoutItemEnum constant QStyle::SE_TabWidgetLayoutItem
[static,const]QStyle_SubElementSE_TabWidgetLeftCornerEnum constant QStyle::SE_TabWidgetLeftCorner
[static,const]QStyle_SubElementSE_TabWidgetRightCornerEnum constant QStyle::SE_TabWidgetRightCorner
[static,const]QStyle_SubElementSE_TabWidgetTabBarEnum constant QStyle::SE_TabWidgetTabBar
[static,const]QStyle_SubElementSE_TabWidgetTabContentsEnum constant QStyle::SE_TabWidgetTabContents
[static,const]QStyle_SubElementSE_TabWidgetTabPaneEnum constant QStyle::SE_TabWidgetTabPane
[static,const]QStyle_SubElementSE_ToolBarHandleEnum constant QStyle::SE_ToolBarHandle
[static,const]QStyle_SubElementSE_ToolBoxTabContentsEnum constant QStyle::SE_ToolBoxTabContents
[static,const]QStyle_SubElementSE_ToolButtonLayoutItemEnum constant QStyle::SE_ToolButtonLayoutItem
[static,const]QStyle_SubElementSE_TreeViewDisclosureItemEnum constant QStyle::SE_TreeViewDisclosureItem
[static,const]QStyle_SubElementSE_ViewItemCheckIndicatorEnum constant QStyle::SE_ViewItemCheckIndicator

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 QStyle_SubElement 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 QStyle_SubElement 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 QStyle_SubElement other)

Description: Compares two enums

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

Description: Compares an enum with an integer value

SE_CheckBoxClickRect

Signature: [static,const] QStyle_SubElement SE_CheckBoxClickRect

Description: Enum constant QStyle::SE_CheckBoxClickRect

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

SE_CheckBoxContents

Signature: [static,const] QStyle_SubElement SE_CheckBoxContents

Description: Enum constant QStyle::SE_CheckBoxContents

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

SE_CheckBoxFocusRect

Signature: [static,const] QStyle_SubElement SE_CheckBoxFocusRect

Description: Enum constant QStyle::SE_CheckBoxFocusRect

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

SE_CheckBoxIndicator

Signature: [static,const] QStyle_SubElement SE_CheckBoxIndicator

Description: Enum constant QStyle::SE_CheckBoxIndicator

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

SE_CheckBoxLayoutItem

Signature: [static,const] QStyle_SubElement SE_CheckBoxLayoutItem

Description: Enum constant QStyle::SE_CheckBoxLayoutItem

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

SE_ComboBoxFocusRect

Signature: [static,const] QStyle_SubElement SE_ComboBoxFocusRect

Description: Enum constant QStyle::SE_ComboBoxFocusRect

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

SE_ComboBoxLayoutItem

Signature: [static,const] QStyle_SubElement SE_ComboBoxLayoutItem

Description: Enum constant QStyle::SE_ComboBoxLayoutItem

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

SE_CustomBase

Signature: [static,const] QStyle_SubElement SE_CustomBase

Description: Enum constant QStyle::SE_CustomBase

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

SE_DateTimeEditLayoutItem

Signature: [static,const] QStyle_SubElement SE_DateTimeEditLayoutItem

Description: Enum constant QStyle::SE_DateTimeEditLayoutItem

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

SE_DialogButtonBoxLayoutItem

Signature: [static,const] QStyle_SubElement SE_DialogButtonBoxLayoutItem

Description: Enum constant QStyle::SE_DialogButtonBoxLayoutItem

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

SE_DockWidgetCloseButton

Signature: [static,const] QStyle_SubElement SE_DockWidgetCloseButton

Description: Enum constant QStyle::SE_DockWidgetCloseButton

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

SE_DockWidgetFloatButton

Signature: [static,const] QStyle_SubElement SE_DockWidgetFloatButton

Description: Enum constant QStyle::SE_DockWidgetFloatButton

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

SE_DockWidgetIcon

Signature: [static,const] QStyle_SubElement SE_DockWidgetIcon

Description: Enum constant QStyle::SE_DockWidgetIcon

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

SE_DockWidgetTitleBarText

Signature: [static,const] QStyle_SubElement SE_DockWidgetTitleBarText

Description: Enum constant QStyle::SE_DockWidgetTitleBarText

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

SE_FrameContents

Signature: [static,const] QStyle_SubElement SE_FrameContents

Description: Enum constant QStyle::SE_FrameContents

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

SE_FrameLayoutItem

Signature: [static,const] QStyle_SubElement SE_FrameLayoutItem

Description: Enum constant QStyle::SE_FrameLayoutItem

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

SE_GroupBoxLayoutItem

Signature: [static,const] QStyle_SubElement SE_GroupBoxLayoutItem

Description: Enum constant QStyle::SE_GroupBoxLayoutItem

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

SE_HeaderArrow

Signature: [static,const] QStyle_SubElement SE_HeaderArrow

Description: Enum constant QStyle::SE_HeaderArrow

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

SE_HeaderLabel

Signature: [static,const] QStyle_SubElement SE_HeaderLabel

Description: Enum constant QStyle::SE_HeaderLabel

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

SE_ItemViewItemCheckIndicator

Signature: [static,const] QStyle_SubElement SE_ItemViewItemCheckIndicator

Description: Enum constant QStyle::SE_ItemViewItemCheckIndicator

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

SE_ItemViewItemDecoration

Signature: [static,const] QStyle_SubElement SE_ItemViewItemDecoration

Description: Enum constant QStyle::SE_ItemViewItemDecoration

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

SE_ItemViewItemFocusRect

Signature: [static,const] QStyle_SubElement SE_ItemViewItemFocusRect

Description: Enum constant QStyle::SE_ItemViewItemFocusRect

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

SE_ItemViewItemText

Signature: [static,const] QStyle_SubElement SE_ItemViewItemText

Description: Enum constant QStyle::SE_ItemViewItemText

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

SE_LabelLayoutItem

Signature: [static,const] QStyle_SubElement SE_LabelLayoutItem

Description: Enum constant QStyle::SE_LabelLayoutItem

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

SE_LineEditContents

Signature: [static,const] QStyle_SubElement SE_LineEditContents

Description: Enum constant QStyle::SE_LineEditContents

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

SE_ProgressBarContents

Signature: [static,const] QStyle_SubElement SE_ProgressBarContents

Description: Enum constant QStyle::SE_ProgressBarContents

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

SE_ProgressBarGroove

Signature: [static,const] QStyle_SubElement SE_ProgressBarGroove

Description: Enum constant QStyle::SE_ProgressBarGroove

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

SE_ProgressBarLabel

Signature: [static,const] QStyle_SubElement SE_ProgressBarLabel

Description: Enum constant QStyle::SE_ProgressBarLabel

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

SE_ProgressBarLayoutItem

Signature: [static,const] QStyle_SubElement SE_ProgressBarLayoutItem

Description: Enum constant QStyle::SE_ProgressBarLayoutItem

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

SE_PushButtonContents

Signature: [static,const] QStyle_SubElement SE_PushButtonContents

Description: Enum constant QStyle::SE_PushButtonContents

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

SE_PushButtonFocusRect

Signature: [static,const] QStyle_SubElement SE_PushButtonFocusRect

Description: Enum constant QStyle::SE_PushButtonFocusRect

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

SE_PushButtonLayoutItem

Signature: [static,const] QStyle_SubElement SE_PushButtonLayoutItem

Description: Enum constant QStyle::SE_PushButtonLayoutItem

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

SE_RadioButtonClickRect

Signature: [static,const] QStyle_SubElement SE_RadioButtonClickRect

Description: Enum constant QStyle::SE_RadioButtonClickRect

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

SE_RadioButtonContents

Signature: [static,const] QStyle_SubElement SE_RadioButtonContents

Description: Enum constant QStyle::SE_RadioButtonContents

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

SE_RadioButtonFocusRect

Signature: [static,const] QStyle_SubElement SE_RadioButtonFocusRect

Description: Enum constant QStyle::SE_RadioButtonFocusRect

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

SE_RadioButtonIndicator

Signature: [static,const] QStyle_SubElement SE_RadioButtonIndicator

Description: Enum constant QStyle::SE_RadioButtonIndicator

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

SE_RadioButtonLayoutItem

Signature: [static,const] QStyle_SubElement SE_RadioButtonLayoutItem

Description: Enum constant QStyle::SE_RadioButtonLayoutItem

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

SE_ShapedFrameContents

Signature: [static,const] QStyle_SubElement SE_ShapedFrameContents

Description: Enum constant QStyle::SE_ShapedFrameContents

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

SE_SliderFocusRect

Signature: [static,const] QStyle_SubElement SE_SliderFocusRect

Description: Enum constant QStyle::SE_SliderFocusRect

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

SE_SliderLayoutItem

Signature: [static,const] QStyle_SubElement SE_SliderLayoutItem

Description: Enum constant QStyle::SE_SliderLayoutItem

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

SE_SpinBoxLayoutItem

Signature: [static,const] QStyle_SubElement SE_SpinBoxLayoutItem

Description: Enum constant QStyle::SE_SpinBoxLayoutItem

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

SE_TabBarTabLeftButton

Signature: [static,const] QStyle_SubElement SE_TabBarTabLeftButton

Description: Enum constant QStyle::SE_TabBarTabLeftButton

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

SE_TabBarTabRightButton

Signature: [static,const] QStyle_SubElement SE_TabBarTabRightButton

Description: Enum constant QStyle::SE_TabBarTabRightButton

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

SE_TabBarTabText

Signature: [static,const] QStyle_SubElement SE_TabBarTabText

Description: Enum constant QStyle::SE_TabBarTabText

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

SE_TabBarTearIndicator

Signature: [static,const] QStyle_SubElement SE_TabBarTearIndicator

Description: Enum constant QStyle::SE_TabBarTearIndicator

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

SE_TabWidgetLayoutItem

Signature: [static,const] QStyle_SubElement SE_TabWidgetLayoutItem

Description: Enum constant QStyle::SE_TabWidgetLayoutItem

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

SE_TabWidgetLeftCorner

Signature: [static,const] QStyle_SubElement SE_TabWidgetLeftCorner

Description: Enum constant QStyle::SE_TabWidgetLeftCorner

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

SE_TabWidgetRightCorner

Signature: [static,const] QStyle_SubElement SE_TabWidgetRightCorner

Description: Enum constant QStyle::SE_TabWidgetRightCorner

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

SE_TabWidgetTabBar

Signature: [static,const] QStyle_SubElement SE_TabWidgetTabBar

Description: Enum constant QStyle::SE_TabWidgetTabBar

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

SE_TabWidgetTabContents

Signature: [static,const] QStyle_SubElement SE_TabWidgetTabContents

Description: Enum constant QStyle::SE_TabWidgetTabContents

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

SE_TabWidgetTabPane

Signature: [static,const] QStyle_SubElement SE_TabWidgetTabPane

Description: Enum constant QStyle::SE_TabWidgetTabPane

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

SE_ToolBarHandle

Signature: [static,const] QStyle_SubElement SE_ToolBarHandle

Description: Enum constant QStyle::SE_ToolBarHandle

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

SE_ToolBoxTabContents

Signature: [static,const] QStyle_SubElement SE_ToolBoxTabContents

Description: Enum constant QStyle::SE_ToolBoxTabContents

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

SE_ToolButtonLayoutItem

Signature: [static,const] QStyle_SubElement SE_ToolButtonLayoutItem

Description: Enum constant QStyle::SE_ToolButtonLayoutItem

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

SE_TreeViewDisclosureItem

Signature: [static,const] QStyle_SubElement SE_TreeViewDisclosureItem

Description: Enum constant QStyle::SE_TreeViewDisclosureItem

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

SE_ViewItemCheckIndicator

Signature: [static,const] QStyle_SubElement SE_ViewItemCheckIndicator

Description: Enum constant QStyle::SE_ViewItemCheckIndicator

Python specific notes:
The object exposes a readable attribute 'SE_ViewItemCheckIndicator'. 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 QStyle_SubElement 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 QStyle_SubElement 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 QStyle_SubElement 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 QStyle_SubElement 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] QStyle_QFlags_SubElement | (const QStyle_SubElement other)

Description: Creates a flag set by combining the two flags

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

Description: Combines the flag and the flag set