API reference - Class QStyle_PrimitiveElement

Notation used in Ruby API documentation

Description: This class represents the QStyle::PrimitiveElement enum

Class hierarchy: QStyle_PrimitiveElement » QStyle_QFlags_PrimitiveElement

This class is equivalent to the top-level class QStyle::PrimitiveElement

Public constructors

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

Public methods

[const]bool==(QStyle_PrimitiveElement 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_PrimitiveElement other)Assigns another object to self
[const]new QStyle_PrimitiveElement 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_PrimitiveElement ptrPE_CustomBaseEnum constant QStyle::PE_CustomBase
[static,const]new QStyle_PrimitiveElement ptrPE_FrameEnum constant QStyle::PE_Frame
[static,const]new QStyle_PrimitiveElement ptrPE_FrameButtonBevelEnum constant QStyle::PE_FrameButtonBevel
[static,const]new QStyle_PrimitiveElement ptrPE_FrameButtonToolEnum constant QStyle::PE_FrameButtonTool
[static,const]new QStyle_PrimitiveElement ptrPE_FrameDefaultButtonEnum constant QStyle::PE_FrameDefaultButton
[static,const]new QStyle_PrimitiveElement ptrPE_FrameDockWidgetEnum constant QStyle::PE_FrameDockWidget
[static,const]new QStyle_PrimitiveElement ptrPE_FrameFocusRectEnum constant QStyle::PE_FrameFocusRect
[static,const]new QStyle_PrimitiveElement ptrPE_FrameGroupBoxEnum constant QStyle::PE_FrameGroupBox
[static,const]new QStyle_PrimitiveElement ptrPE_FrameLineEditEnum constant QStyle::PE_FrameLineEdit
[static,const]new QStyle_PrimitiveElement ptrPE_FrameMenuEnum constant QStyle::PE_FrameMenu
[static,const]new QStyle_PrimitiveElement ptrPE_FrameStatusBarEnum constant QStyle::PE_FrameStatusBar
[static,const]new QStyle_PrimitiveElement ptrPE_FrameStatusBarItemEnum constant QStyle::PE_FrameStatusBarItem
[static,const]new QStyle_PrimitiveElement ptrPE_FrameTabBarBaseEnum constant QStyle::PE_FrameTabBarBase
[static,const]new QStyle_PrimitiveElement ptrPE_FrameTabWidgetEnum constant QStyle::PE_FrameTabWidget
[static,const]new QStyle_PrimitiveElement ptrPE_FrameWindowEnum constant QStyle::PE_FrameWindow
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorArrowDownEnum constant QStyle::PE_IndicatorArrowDown
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorArrowLeftEnum constant QStyle::PE_IndicatorArrowLeft
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorArrowRightEnum constant QStyle::PE_IndicatorArrowRight
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorArrowUpEnum constant QStyle::PE_IndicatorArrowUp
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorBranchEnum constant QStyle::PE_IndicatorBranch
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorButtonDropDownEnum constant QStyle::PE_IndicatorButtonDropDown
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorCheckBoxEnum constant QStyle::PE_IndicatorCheckBox
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorColumnViewArrowEnum constant QStyle::PE_IndicatorColumnViewArrow
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorDockWidgetResizeHandleEnum constant QStyle::PE_IndicatorDockWidgetResizeHandle
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorHeaderArrowEnum constant QStyle::PE_IndicatorHeaderArrow
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorItemViewItemCheckEnum constant QStyle::PE_IndicatorItemViewItemCheck
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorItemViewItemDropEnum constant QStyle::PE_IndicatorItemViewItemDrop
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorMenuCheckMarkEnum constant QStyle::PE_IndicatorMenuCheckMark
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorProgressChunkEnum constant QStyle::PE_IndicatorProgressChunk
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorRadioButtonEnum constant QStyle::PE_IndicatorRadioButton
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorSpinDownEnum constant QStyle::PE_IndicatorSpinDown
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorSpinMinusEnum constant QStyle::PE_IndicatorSpinMinus
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorSpinPlusEnum constant QStyle::PE_IndicatorSpinPlus
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorSpinUpEnum constant QStyle::PE_IndicatorSpinUp
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorTabCloseEnum constant QStyle::PE_IndicatorTabClose
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorTabTearEnum constant QStyle::PE_IndicatorTabTear
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorToolBarHandleEnum constant QStyle::PE_IndicatorToolBarHandle
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorToolBarSeparatorEnum constant QStyle::PE_IndicatorToolBarSeparator
[static,const]new QStyle_PrimitiveElement ptrPE_IndicatorViewItemCheckEnum constant QStyle::PE_IndicatorViewItemCheck
[static,const]new QStyle_PrimitiveElement ptrPE_PanelButtonBevelEnum constant QStyle::PE_PanelButtonBevel
[static,const]new QStyle_PrimitiveElement ptrPE_PanelButtonCommandEnum constant QStyle::PE_PanelButtonCommand
[static,const]new QStyle_PrimitiveElement ptrPE_PanelButtonToolEnum constant QStyle::PE_PanelButtonTool
[static,const]new QStyle_PrimitiveElement ptrPE_PanelItemViewItemEnum constant QStyle::PE_PanelItemViewItem
[static,const]new QStyle_PrimitiveElement ptrPE_PanelItemViewRowEnum constant QStyle::PE_PanelItemViewRow
[static,const]new QStyle_PrimitiveElement ptrPE_PanelLineEditEnum constant QStyle::PE_PanelLineEdit
[static,const]new QStyle_PrimitiveElement ptrPE_PanelMenuEnum constant QStyle::PE_PanelMenu
[static,const]new QStyle_PrimitiveElement ptrPE_PanelMenuBarEnum constant QStyle::PE_PanelMenuBar
[static,const]new QStyle_PrimitiveElement ptrPE_PanelScrollAreaCornerEnum constant QStyle::PE_PanelScrollAreaCorner
[static,const]new QStyle_PrimitiveElement ptrPE_PanelStatusBarEnum constant QStyle::PE_PanelStatusBar
[static,const]new QStyle_PrimitiveElement ptrPE_PanelTipLabelEnum constant QStyle::PE_PanelTipLabel
[static,const]new QStyle_PrimitiveElement ptrPE_PanelToolBarEnum constant QStyle::PE_PanelToolBar
[static,const]new QStyle_PrimitiveElement ptrPE_Q3CheckListControllerEnum constant QStyle::PE_Q3CheckListController
[static,const]new QStyle_PrimitiveElement ptrPE_Q3CheckListExclusiveIndicatorEnum constant QStyle::PE_Q3CheckListExclusiveIndicator
[static,const]new QStyle_PrimitiveElement ptrPE_Q3CheckListIndicatorEnum constant QStyle::PE_Q3CheckListIndicator
[static,const]new QStyle_PrimitiveElement ptrPE_Q3DockWindowSeparatorEnum constant QStyle::PE_Q3DockWindowSeparator
[static,const]new QStyle_PrimitiveElement ptrPE_Q3SeparatorEnum constant QStyle::PE_Q3Separator
[static,const]new QStyle_PrimitiveElement ptrPE_WidgetEnum constant QStyle::PE_Widget

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_PrimitiveElement 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_PrimitiveElement ptr PE_CustomBase

Description: Enum constant QStyle::PE_CustomBase

[static,const] new QStyle_PrimitiveElement ptr PE_Frame

Description: Enum constant QStyle::PE_Frame

[static,const] new QStyle_PrimitiveElement ptr PE_FrameButtonBevel

Description: Enum constant QStyle::PE_FrameButtonBevel

[static,const] new QStyle_PrimitiveElement ptr PE_FrameButtonTool

Description: Enum constant QStyle::PE_FrameButtonTool

[static,const] new QStyle_PrimitiveElement ptr PE_FrameDefaultButton

Description: Enum constant QStyle::PE_FrameDefaultButton

[static,const] new QStyle_PrimitiveElement ptr PE_FrameDockWidget

Description: Enum constant QStyle::PE_FrameDockWidget

[static,const] new QStyle_PrimitiveElement ptr PE_FrameFocusRect

Description: Enum constant QStyle::PE_FrameFocusRect

[static,const] new QStyle_PrimitiveElement ptr PE_FrameGroupBox

Description: Enum constant QStyle::PE_FrameGroupBox

[static,const] new QStyle_PrimitiveElement ptr PE_FrameLineEdit

Description: Enum constant QStyle::PE_FrameLineEdit

[static,const] new QStyle_PrimitiveElement ptr PE_FrameMenu

Description: Enum constant QStyle::PE_FrameMenu

[static,const] new QStyle_PrimitiveElement ptr PE_FrameStatusBar

Description: Enum constant QStyle::PE_FrameStatusBar

[static,const] new QStyle_PrimitiveElement ptr PE_FrameStatusBarItem

Description: Enum constant QStyle::PE_FrameStatusBarItem

[static,const] new QStyle_PrimitiveElement ptr PE_FrameTabBarBase

Description: Enum constant QStyle::PE_FrameTabBarBase

[static,const] new QStyle_PrimitiveElement ptr PE_FrameTabWidget

Description: Enum constant QStyle::PE_FrameTabWidget

[static,const] new QStyle_PrimitiveElement ptr PE_FrameWindow

Description: Enum constant QStyle::PE_FrameWindow

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorArrowDown

Description: Enum constant QStyle::PE_IndicatorArrowDown

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorArrowLeft

Description: Enum constant QStyle::PE_IndicatorArrowLeft

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorArrowRight

Description: Enum constant QStyle::PE_IndicatorArrowRight

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorArrowUp

Description: Enum constant QStyle::PE_IndicatorArrowUp

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorBranch

Description: Enum constant QStyle::PE_IndicatorBranch

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorButtonDropDown

Description: Enum constant QStyle::PE_IndicatorButtonDropDown

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorCheckBox

Description: Enum constant QStyle::PE_IndicatorCheckBox

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorColumnViewArrow

Description: Enum constant QStyle::PE_IndicatorColumnViewArrow

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorDockWidgetResizeHandle

Description: Enum constant QStyle::PE_IndicatorDockWidgetResizeHandle

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorHeaderArrow

Description: Enum constant QStyle::PE_IndicatorHeaderArrow

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorItemViewItemCheck

Description: Enum constant QStyle::PE_IndicatorItemViewItemCheck

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorItemViewItemDrop

Description: Enum constant QStyle::PE_IndicatorItemViewItemDrop

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorMenuCheckMark

Description: Enum constant QStyle::PE_IndicatorMenuCheckMark

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorProgressChunk

Description: Enum constant QStyle::PE_IndicatorProgressChunk

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorRadioButton

Description: Enum constant QStyle::PE_IndicatorRadioButton

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorSpinDown

Description: Enum constant QStyle::PE_IndicatorSpinDown

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorSpinMinus

Description: Enum constant QStyle::PE_IndicatorSpinMinus

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorSpinPlus

Description: Enum constant QStyle::PE_IndicatorSpinPlus

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorSpinUp

Description: Enum constant QStyle::PE_IndicatorSpinUp

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorTabClose

Description: Enum constant QStyle::PE_IndicatorTabClose

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorTabTear

Description: Enum constant QStyle::PE_IndicatorTabTear

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorToolBarHandle

Description: Enum constant QStyle::PE_IndicatorToolBarHandle

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorToolBarSeparator

Description: Enum constant QStyle::PE_IndicatorToolBarSeparator

[static,const] new QStyle_PrimitiveElement ptr PE_IndicatorViewItemCheck

Description: Enum constant QStyle::PE_IndicatorViewItemCheck

[static,const] new QStyle_PrimitiveElement ptr PE_PanelButtonBevel

Description: Enum constant QStyle::PE_PanelButtonBevel

[static,const] new QStyle_PrimitiveElement ptr PE_PanelButtonCommand

Description: Enum constant QStyle::PE_PanelButtonCommand

[static,const] new QStyle_PrimitiveElement ptr PE_PanelButtonTool

Description: Enum constant QStyle::PE_PanelButtonTool

[static,const] new QStyle_PrimitiveElement ptr PE_PanelItemViewItem

Description: Enum constant QStyle::PE_PanelItemViewItem

[static,const] new QStyle_PrimitiveElement ptr PE_PanelItemViewRow

Description: Enum constant QStyle::PE_PanelItemViewRow

[static,const] new QStyle_PrimitiveElement ptr PE_PanelLineEdit

Description: Enum constant QStyle::PE_PanelLineEdit

[static,const] new QStyle_PrimitiveElement ptr PE_PanelMenu

Description: Enum constant QStyle::PE_PanelMenu

[static,const] new QStyle_PrimitiveElement ptr PE_PanelMenuBar

Description: Enum constant QStyle::PE_PanelMenuBar

[static,const] new QStyle_PrimitiveElement ptr PE_PanelScrollAreaCorner

Description: Enum constant QStyle::PE_PanelScrollAreaCorner

[static,const] new QStyle_PrimitiveElement ptr PE_PanelStatusBar

Description: Enum constant QStyle::PE_PanelStatusBar

[static,const] new QStyle_PrimitiveElement ptr PE_PanelTipLabel

Description: Enum constant QStyle::PE_PanelTipLabel

[static,const] new QStyle_PrimitiveElement ptr PE_PanelToolBar

Description: Enum constant QStyle::PE_PanelToolBar

[static,const] new QStyle_PrimitiveElement ptr PE_Q3CheckListController

Description: Enum constant QStyle::PE_Q3CheckListController

[static,const] new QStyle_PrimitiveElement ptr PE_Q3CheckListExclusiveIndicator

Description: Enum constant QStyle::PE_Q3CheckListExclusiveIndicator

[static,const] new QStyle_PrimitiveElement ptr PE_Q3CheckListIndicator

Description: Enum constant QStyle::PE_Q3CheckListIndicator

[static,const] new QStyle_PrimitiveElement ptr PE_Q3DockWindowSeparator

Description: Enum constant QStyle::PE_Q3DockWindowSeparator

[static,const] new QStyle_PrimitiveElement ptr PE_Q3Separator

Description: Enum constant QStyle::PE_Q3Separator

[static,const] new QStyle_PrimitiveElement ptr PE_Widget

Description: Enum constant QStyle::PE_Widget

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_PrimitiveElement 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_PrimitiveElement 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_PrimitiveElement 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)'