API reference - Class QStyle::SubElement

Notation used in Ruby API documentation

Description: This class represents the QStyle::SubElement enum

Class hierarchy: QStyle::SubElement » QStyle_QFlags_SubElement

This class is equivalent to the top-level class QStyle_SubElement

Public constructors

new QStyle_SubElement ptrnew(unsigned int value)Creates the enum object from an integer

Public methods

[const]bool==(QStyle_SubElement other)Compares the enum class against an enum of it's own type
[const]bool==(unsigned int other)Compares the enum class against an integer
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 the enum class to a string
[const]unsigned intto_iConverts the enum class to an integer
[const]stringto_sConverts the enum class to a string

Public static methods and constants

[static,const]new QStyle_SubElement ptrSE_CheckBoxClickRectEnum constant QStyle::SE_CheckBoxClickRect
[static,const]new QStyle_SubElement ptrSE_CheckBoxContentsEnum constant QStyle::SE_CheckBoxContents
[static,const]new QStyle_SubElement ptrSE_CheckBoxFocusRectEnum constant QStyle::SE_CheckBoxFocusRect
[static,const]new QStyle_SubElement ptrSE_CheckBoxIndicatorEnum constant QStyle::SE_CheckBoxIndicator
[static,const]new QStyle_SubElement ptrSE_CheckBoxLayoutItemEnum constant QStyle::SE_CheckBoxLayoutItem
[static,const]new QStyle_SubElement ptrSE_ComboBoxFocusRectEnum constant QStyle::SE_ComboBoxFocusRect
[static,const]new QStyle_SubElement ptrSE_ComboBoxLayoutItemEnum constant QStyle::SE_ComboBoxLayoutItem
[static,const]new QStyle_SubElement ptrSE_CustomBaseEnum constant QStyle::SE_CustomBase
[static,const]new QStyle_SubElement ptrSE_DateTimeEditLayoutItemEnum constant QStyle::SE_DateTimeEditLayoutItem
[static,const]new QStyle_SubElement ptrSE_DialogButtonAbortEnum constant QStyle::SE_DialogButtonAbort
[static,const]new QStyle_SubElement ptrSE_DialogButtonAcceptEnum constant QStyle::SE_DialogButtonAccept
[static,const]new QStyle_SubElement ptrSE_DialogButtonAllEnum constant QStyle::SE_DialogButtonAll
[static,const]new QStyle_SubElement ptrSE_DialogButtonApplyEnum constant QStyle::SE_DialogButtonApply
[static,const]new QStyle_SubElement ptrSE_DialogButtonBoxLayoutItemEnum constant QStyle::SE_DialogButtonBoxLayoutItem
[static,const]new QStyle_SubElement ptrSE_DialogButtonCustomEnum constant QStyle::SE_DialogButtonCustom
[static,const]new QStyle_SubElement ptrSE_DialogButtonHelpEnum constant QStyle::SE_DialogButtonHelp
[static,const]new QStyle_SubElement ptrSE_DialogButtonIgnoreEnum constant QStyle::SE_DialogButtonIgnore
[static,const]new QStyle_SubElement ptrSE_DialogButtonRejectEnum constant QStyle::SE_DialogButtonReject
[static,const]new QStyle_SubElement ptrSE_DialogButtonRetryEnum constant QStyle::SE_DialogButtonRetry
[static,const]new QStyle_SubElement ptrSE_DockWidgetCloseButtonEnum constant QStyle::SE_DockWidgetCloseButton
[static,const]new QStyle_SubElement ptrSE_DockWidgetFloatButtonEnum constant QStyle::SE_DockWidgetFloatButton
[static,const]new QStyle_SubElement ptrSE_DockWidgetIconEnum constant QStyle::SE_DockWidgetIcon
[static,const]new QStyle_SubElement ptrSE_DockWidgetTitleBarTextEnum constant QStyle::SE_DockWidgetTitleBarText
[static,const]new QStyle_SubElement ptrSE_FrameContentsEnum constant QStyle::SE_FrameContents
[static,const]new QStyle_SubElement ptrSE_FrameLayoutItemEnum constant QStyle::SE_FrameLayoutItem
[static,const]new QStyle_SubElement ptrSE_GroupBoxLayoutItemEnum constant QStyle::SE_GroupBoxLayoutItem
[static,const]new QStyle_SubElement ptrSE_HeaderArrowEnum constant QStyle::SE_HeaderArrow
[static,const]new QStyle_SubElement ptrSE_HeaderLabelEnum constant QStyle::SE_HeaderLabel
[static,const]new QStyle_SubElement ptrSE_ItemViewItemCheckIndicatorEnum constant QStyle::SE_ItemViewItemCheckIndicator
[static,const]new QStyle_SubElement ptrSE_ItemViewItemDecorationEnum constant QStyle::SE_ItemViewItemDecoration
[static,const]new QStyle_SubElement ptrSE_ItemViewItemFocusRectEnum constant QStyle::SE_ItemViewItemFocusRect
[static,const]new QStyle_SubElement ptrSE_ItemViewItemTextEnum constant QStyle::SE_ItemViewItemText
[static,const]new QStyle_SubElement ptrSE_LabelLayoutItemEnum constant QStyle::SE_LabelLayoutItem
[static,const]new QStyle_SubElement ptrSE_LineEditContentsEnum constant QStyle::SE_LineEditContents
[static,const]new QStyle_SubElement ptrSE_ProgressBarContentsEnum constant QStyle::SE_ProgressBarContents
[static,const]new QStyle_SubElement ptrSE_ProgressBarGrooveEnum constant QStyle::SE_ProgressBarGroove
[static,const]new QStyle_SubElement ptrSE_ProgressBarLabelEnum constant QStyle::SE_ProgressBarLabel
[static,const]new QStyle_SubElement ptrSE_ProgressBarLayoutItemEnum constant QStyle::SE_ProgressBarLayoutItem
[static,const]new QStyle_SubElement ptrSE_PushButtonContentsEnum constant QStyle::SE_PushButtonContents
[static,const]new QStyle_SubElement ptrSE_PushButtonFocusRectEnum constant QStyle::SE_PushButtonFocusRect
[static,const]new QStyle_SubElement ptrSE_PushButtonLayoutItemEnum constant QStyle::SE_PushButtonLayoutItem
[static,const]new QStyle_SubElement ptrSE_Q3DockWindowHandleRectEnum constant QStyle::SE_Q3DockWindowHandleRect
[static,const]new QStyle_SubElement ptrSE_RadioButtonClickRectEnum constant QStyle::SE_RadioButtonClickRect
[static,const]new QStyle_SubElement ptrSE_RadioButtonContentsEnum constant QStyle::SE_RadioButtonContents
[static,const]new QStyle_SubElement ptrSE_RadioButtonFocusRectEnum constant QStyle::SE_RadioButtonFocusRect
[static,const]new QStyle_SubElement ptrSE_RadioButtonIndicatorEnum constant QStyle::SE_RadioButtonIndicator
[static,const]new QStyle_SubElement ptrSE_RadioButtonLayoutItemEnum constant QStyle::SE_RadioButtonLayoutItem
[static,const]new QStyle_SubElement ptrSE_ShapedFrameContentsEnum constant QStyle::SE_ShapedFrameContents
[static,const]new QStyle_SubElement ptrSE_SliderFocusRectEnum constant QStyle::SE_SliderFocusRect
[static,const]new QStyle_SubElement ptrSE_SliderLayoutItemEnum constant QStyle::SE_SliderLayoutItem
[static,const]new QStyle_SubElement ptrSE_SpinBoxLayoutItemEnum constant QStyle::SE_SpinBoxLayoutItem
[static,const]new QStyle_SubElement ptrSE_TabBarTabLeftButtonEnum constant QStyle::SE_TabBarTabLeftButton
[static,const]new QStyle_SubElement ptrSE_TabBarTabRightButtonEnum constant QStyle::SE_TabBarTabRightButton
[static,const]new QStyle_SubElement ptrSE_TabBarTabTextEnum constant QStyle::SE_TabBarTabText
[static,const]new QStyle_SubElement ptrSE_TabBarTearIndicatorEnum constant QStyle::SE_TabBarTearIndicator
[static,const]new QStyle_SubElement ptrSE_TabWidgetLayoutItemEnum constant QStyle::SE_TabWidgetLayoutItem
[static,const]new QStyle_SubElement ptrSE_TabWidgetLeftCornerEnum constant QStyle::SE_TabWidgetLeftCorner
[static,const]new QStyle_SubElement ptrSE_TabWidgetRightCornerEnum constant QStyle::SE_TabWidgetRightCorner
[static,const]new QStyle_SubElement ptrSE_TabWidgetTabBarEnum constant QStyle::SE_TabWidgetTabBar
[static,const]new QStyle_SubElement ptrSE_TabWidgetTabContentsEnum constant QStyle::SE_TabWidgetTabContents
[static,const]new QStyle_SubElement ptrSE_TabWidgetTabPaneEnum constant QStyle::SE_TabWidgetTabPane
[static,const]new QStyle_SubElement ptrSE_ToolBarHandleEnum constant QStyle::SE_ToolBarHandle
[static,const]new QStyle_SubElement ptrSE_ToolBoxTabContentsEnum constant QStyle::SE_ToolBoxTabContents
[static,const]new QStyle_SubElement ptrSE_ToolButtonLayoutItemEnum constant QStyle::SE_ToolButtonLayoutItem
[static,const]new QStyle_SubElement ptrSE_TreeViewDisclosureItemEnum constant QStyle::SE_TreeViewDisclosureItem
[static,const]new QStyle_SubElement ptrSE_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

[const] bool ==(QStyle_SubElement other)

Description: Compares the enum class against an enum of it's own type

[const] bool ==(unsigned int other)

Description: Compares the enum class against an integer

[static,const] new QStyle_SubElement ptr SE_CheckBoxClickRect

Description: Enum constant QStyle::SE_CheckBoxClickRect

[static,const] new QStyle_SubElement ptr SE_CheckBoxContents

Description: Enum constant QStyle::SE_CheckBoxContents

[static,const] new QStyle_SubElement ptr SE_CheckBoxFocusRect

Description: Enum constant QStyle::SE_CheckBoxFocusRect

[static,const] new QStyle_SubElement ptr SE_CheckBoxIndicator

Description: Enum constant QStyle::SE_CheckBoxIndicator

[static,const] new QStyle_SubElement ptr SE_CheckBoxLayoutItem

Description: Enum constant QStyle::SE_CheckBoxLayoutItem

[static,const] new QStyle_SubElement ptr SE_ComboBoxFocusRect

Description: Enum constant QStyle::SE_ComboBoxFocusRect

[static,const] new QStyle_SubElement ptr SE_ComboBoxLayoutItem

Description: Enum constant QStyle::SE_ComboBoxLayoutItem

[static,const] new QStyle_SubElement ptr SE_CustomBase

Description: Enum constant QStyle::SE_CustomBase

[static,const] new QStyle_SubElement ptr SE_DateTimeEditLayoutItem

Description: Enum constant QStyle::SE_DateTimeEditLayoutItem

[static,const] new QStyle_SubElement ptr SE_DialogButtonAbort

Description: Enum constant QStyle::SE_DialogButtonAbort

[static,const] new QStyle_SubElement ptr SE_DialogButtonAccept

Description: Enum constant QStyle::SE_DialogButtonAccept

[static,const] new QStyle_SubElement ptr SE_DialogButtonAll

Description: Enum constant QStyle::SE_DialogButtonAll

[static,const] new QStyle_SubElement ptr SE_DialogButtonApply

Description: Enum constant QStyle::SE_DialogButtonApply

[static,const] new QStyle_SubElement ptr SE_DialogButtonBoxLayoutItem

Description: Enum constant QStyle::SE_DialogButtonBoxLayoutItem

[static,const] new QStyle_SubElement ptr SE_DialogButtonCustom

Description: Enum constant QStyle::SE_DialogButtonCustom

[static,const] new QStyle_SubElement ptr SE_DialogButtonHelp

Description: Enum constant QStyle::SE_DialogButtonHelp

[static,const] new QStyle_SubElement ptr SE_DialogButtonIgnore

Description: Enum constant QStyle::SE_DialogButtonIgnore

[static,const] new QStyle_SubElement ptr SE_DialogButtonReject

Description: Enum constant QStyle::SE_DialogButtonReject

[static,const] new QStyle_SubElement ptr SE_DialogButtonRetry

Description: Enum constant QStyle::SE_DialogButtonRetry

[static,const] new QStyle_SubElement ptr SE_DockWidgetCloseButton

Description: Enum constant QStyle::SE_DockWidgetCloseButton

[static,const] new QStyle_SubElement ptr SE_DockWidgetFloatButton

Description: Enum constant QStyle::SE_DockWidgetFloatButton

[static,const] new QStyle_SubElement ptr SE_DockWidgetIcon

Description: Enum constant QStyle::SE_DockWidgetIcon

[static,const] new QStyle_SubElement ptr SE_DockWidgetTitleBarText

Description: Enum constant QStyle::SE_DockWidgetTitleBarText

[static,const] new QStyle_SubElement ptr SE_FrameContents

Description: Enum constant QStyle::SE_FrameContents

[static,const] new QStyle_SubElement ptr SE_FrameLayoutItem

Description: Enum constant QStyle::SE_FrameLayoutItem

[static,const] new QStyle_SubElement ptr SE_GroupBoxLayoutItem

Description: Enum constant QStyle::SE_GroupBoxLayoutItem

[static,const] new QStyle_SubElement ptr SE_HeaderArrow

Description: Enum constant QStyle::SE_HeaderArrow

[static,const] new QStyle_SubElement ptr SE_HeaderLabel

Description: Enum constant QStyle::SE_HeaderLabel

[static,const] new QStyle_SubElement ptr SE_ItemViewItemCheckIndicator

Description: Enum constant QStyle::SE_ItemViewItemCheckIndicator

[static,const] new QStyle_SubElement ptr SE_ItemViewItemDecoration

Description: Enum constant QStyle::SE_ItemViewItemDecoration

[static,const] new QStyle_SubElement ptr SE_ItemViewItemFocusRect

Description: Enum constant QStyle::SE_ItemViewItemFocusRect

[static,const] new QStyle_SubElement ptr SE_ItemViewItemText

Description: Enum constant QStyle::SE_ItemViewItemText

[static,const] new QStyle_SubElement ptr SE_LabelLayoutItem

Description: Enum constant QStyle::SE_LabelLayoutItem

[static,const] new QStyle_SubElement ptr SE_LineEditContents

Description: Enum constant QStyle::SE_LineEditContents

[static,const] new QStyle_SubElement ptr SE_ProgressBarContents

Description: Enum constant QStyle::SE_ProgressBarContents

[static,const] new QStyle_SubElement ptr SE_ProgressBarGroove

Description: Enum constant QStyle::SE_ProgressBarGroove

[static,const] new QStyle_SubElement ptr SE_ProgressBarLabel

Description: Enum constant QStyle::SE_ProgressBarLabel

[static,const] new QStyle_SubElement ptr SE_ProgressBarLayoutItem

Description: Enum constant QStyle::SE_ProgressBarLayoutItem

[static,const] new QStyle_SubElement ptr SE_PushButtonContents

Description: Enum constant QStyle::SE_PushButtonContents

[static,const] new QStyle_SubElement ptr SE_PushButtonFocusRect

Description: Enum constant QStyle::SE_PushButtonFocusRect

[static,const] new QStyle_SubElement ptr SE_PushButtonLayoutItem

Description: Enum constant QStyle::SE_PushButtonLayoutItem

[static,const] new QStyle_SubElement ptr SE_Q3DockWindowHandleRect

Description: Enum constant QStyle::SE_Q3DockWindowHandleRect

[static,const] new QStyle_SubElement ptr SE_RadioButtonClickRect

Description: Enum constant QStyle::SE_RadioButtonClickRect

[static,const] new QStyle_SubElement ptr SE_RadioButtonContents

Description: Enum constant QStyle::SE_RadioButtonContents

[static,const] new QStyle_SubElement ptr SE_RadioButtonFocusRect

Description: Enum constant QStyle::SE_RadioButtonFocusRect

[static,const] new QStyle_SubElement ptr SE_RadioButtonIndicator

Description: Enum constant QStyle::SE_RadioButtonIndicator

[static,const] new QStyle_SubElement ptr SE_RadioButtonLayoutItem

Description: Enum constant QStyle::SE_RadioButtonLayoutItem

[static,const] new QStyle_SubElement ptr SE_ShapedFrameContents

Description: Enum constant QStyle::SE_ShapedFrameContents

[static,const] new QStyle_SubElement ptr SE_SliderFocusRect

Description: Enum constant QStyle::SE_SliderFocusRect

[static,const] new QStyle_SubElement ptr SE_SliderLayoutItem

Description: Enum constant QStyle::SE_SliderLayoutItem

[static,const] new QStyle_SubElement ptr SE_SpinBoxLayoutItem

Description: Enum constant QStyle::SE_SpinBoxLayoutItem

[static,const] new QStyle_SubElement ptr SE_TabBarTabLeftButton

Description: Enum constant QStyle::SE_TabBarTabLeftButton

[static,const] new QStyle_SubElement ptr SE_TabBarTabRightButton

Description: Enum constant QStyle::SE_TabBarTabRightButton

[static,const] new QStyle_SubElement ptr SE_TabBarTabText

Description: Enum constant QStyle::SE_TabBarTabText

[static,const] new QStyle_SubElement ptr SE_TabBarTearIndicator

Description: Enum constant QStyle::SE_TabBarTearIndicator

[static,const] new QStyle_SubElement ptr SE_TabWidgetLayoutItem

Description: Enum constant QStyle::SE_TabWidgetLayoutItem

[static,const] new QStyle_SubElement ptr SE_TabWidgetLeftCorner

Description: Enum constant QStyle::SE_TabWidgetLeftCorner

[static,const] new QStyle_SubElement ptr SE_TabWidgetRightCorner

Description: Enum constant QStyle::SE_TabWidgetRightCorner

[static,const] new QStyle_SubElement ptr SE_TabWidgetTabBar

Description: Enum constant QStyle::SE_TabWidgetTabBar

[static,const] new QStyle_SubElement ptr SE_TabWidgetTabContents

Description: Enum constant QStyle::SE_TabWidgetTabContents

[static,const] new QStyle_SubElement ptr SE_TabWidgetTabPane

Description: Enum constant QStyle::SE_TabWidgetTabPane

[static,const] new QStyle_SubElement ptr SE_ToolBarHandle

Description: Enum constant QStyle::SE_ToolBarHandle

[static,const] new QStyle_SubElement ptr SE_ToolBoxTabContents

Description: Enum constant QStyle::SE_ToolBoxTabContents

[static,const] new QStyle_SubElement ptr SE_ToolButtonLayoutItem

Description: Enum constant QStyle::SE_ToolButtonLayoutItem

[static,const] new QStyle_SubElement ptr SE_TreeViewDisclosureItem

Description: Enum constant QStyle::SE_TreeViewDisclosureItem

[static,const] new QStyle_SubElement ptr SE_ViewItemCheckIndicator

Description: Enum constant QStyle::SE_ViewItemCheckIndicator

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.

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.

[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.

[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.

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.

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.

void assign(const QStyle_SubElement other)

Description: Assigns another object to self

void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

[const] bool destroyed?

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

Use of this method is deprecated. Use _destroyed? instead

[const] new QStyle_SubElement ptr dup

Description: Creates a copy of self

[const] string inspect

Description: Converts the enum class to a string

Python specific notes:

This method is also available as 'str(object)'

This method is also available as 'repr(object)'

[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

[static] new QStyle_SubElement ptr new(unsigned int value)

Description: Creates the enum object from an integer

Python specific notes:

This method is the default initializer of the object

[const] unsigned int to_i

Description: Converts the enum class to an integer

[const] string to_s

Description: Converts the enum class to a string

Python specific notes:

This method is also available as 'str(object)'

This method is also available as 'repr(object)'