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

Public constructors

new QStyle_PrimitiveElementnew(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
[const]voidassign(const QStyle_PrimitiveElement other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QStyle_PrimitiveElementdupCreates a copy of self
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]unsigned intto_iConverts the enum class to an integer
[const]stringto_sConverts the enum class to a string

Public static methods and constants

new QStyle_PrimitiveElementPE_CustomBaseEnum constant QStyle::PE_CustomBase
new QStyle_PrimitiveElementPE_FrameEnum constant QStyle::PE_Frame
new QStyle_PrimitiveElementPE_FrameButtonBevelEnum constant QStyle::PE_FrameButtonBevel
new QStyle_PrimitiveElementPE_FrameButtonToolEnum constant QStyle::PE_FrameButtonTool
new QStyle_PrimitiveElementPE_FrameDefaultButtonEnum constant QStyle::PE_FrameDefaultButton
new QStyle_PrimitiveElementPE_FrameDockWidgetEnum constant QStyle::PE_FrameDockWidget
new QStyle_PrimitiveElementPE_FrameFocusRectEnum constant QStyle::PE_FrameFocusRect
new QStyle_PrimitiveElementPE_FrameGroupBoxEnum constant QStyle::PE_FrameGroupBox
new QStyle_PrimitiveElementPE_FrameLineEditEnum constant QStyle::PE_FrameLineEdit
new QStyle_PrimitiveElementPE_FrameMenuEnum constant QStyle::PE_FrameMenu
new QStyle_PrimitiveElementPE_FrameStatusBarEnum constant QStyle::PE_FrameStatusBar
new QStyle_PrimitiveElementPE_FrameStatusBarItemEnum constant QStyle::PE_FrameStatusBarItem
new QStyle_PrimitiveElementPE_FrameTabBarBaseEnum constant QStyle::PE_FrameTabBarBase
new QStyle_PrimitiveElementPE_FrameTabWidgetEnum constant QStyle::PE_FrameTabWidget
new QStyle_PrimitiveElementPE_FrameWindowEnum constant QStyle::PE_FrameWindow
new QStyle_PrimitiveElementPE_IndicatorArrowDownEnum constant QStyle::PE_IndicatorArrowDown
new QStyle_PrimitiveElementPE_IndicatorArrowLeftEnum constant QStyle::PE_IndicatorArrowLeft
new QStyle_PrimitiveElementPE_IndicatorArrowRightEnum constant QStyle::PE_IndicatorArrowRight
new QStyle_PrimitiveElementPE_IndicatorArrowUpEnum constant QStyle::PE_IndicatorArrowUp
new QStyle_PrimitiveElementPE_IndicatorBranchEnum constant QStyle::PE_IndicatorBranch
new QStyle_PrimitiveElementPE_IndicatorButtonDropDownEnum constant QStyle::PE_IndicatorButtonDropDown
new QStyle_PrimitiveElementPE_IndicatorCheckBoxEnum constant QStyle::PE_IndicatorCheckBox
new QStyle_PrimitiveElementPE_IndicatorColumnViewArrowEnum constant QStyle::PE_IndicatorColumnViewArrow
new QStyle_PrimitiveElementPE_IndicatorDockWidgetResizeHandleEnum constant QStyle::PE_IndicatorDockWidgetResizeHandle
new QStyle_PrimitiveElementPE_IndicatorHeaderArrowEnum constant QStyle::PE_IndicatorHeaderArrow
new QStyle_PrimitiveElementPE_IndicatorItemViewItemCheckEnum constant QStyle::PE_IndicatorItemViewItemCheck
new QStyle_PrimitiveElementPE_IndicatorItemViewItemDropEnum constant QStyle::PE_IndicatorItemViewItemDrop
new QStyle_PrimitiveElementPE_IndicatorMenuCheckMarkEnum constant QStyle::PE_IndicatorMenuCheckMark
new QStyle_PrimitiveElementPE_IndicatorProgressChunkEnum constant QStyle::PE_IndicatorProgressChunk
new QStyle_PrimitiveElementPE_IndicatorRadioButtonEnum constant QStyle::PE_IndicatorRadioButton
new QStyle_PrimitiveElementPE_IndicatorSpinDownEnum constant QStyle::PE_IndicatorSpinDown
new QStyle_PrimitiveElementPE_IndicatorSpinMinusEnum constant QStyle::PE_IndicatorSpinMinus
new QStyle_PrimitiveElementPE_IndicatorSpinPlusEnum constant QStyle::PE_IndicatorSpinPlus
new QStyle_PrimitiveElementPE_IndicatorSpinUpEnum constant QStyle::PE_IndicatorSpinUp
new QStyle_PrimitiveElementPE_IndicatorTabCloseEnum constant QStyle::PE_IndicatorTabClose
new QStyle_PrimitiveElementPE_IndicatorTabTearEnum constant QStyle::PE_IndicatorTabTear
new QStyle_PrimitiveElementPE_IndicatorToolBarHandleEnum constant QStyle::PE_IndicatorToolBarHandle
new QStyle_PrimitiveElementPE_IndicatorToolBarSeparatorEnum constant QStyle::PE_IndicatorToolBarSeparator
new QStyle_PrimitiveElementPE_IndicatorViewItemCheckEnum constant QStyle::PE_IndicatorViewItemCheck
new QStyle_PrimitiveElementPE_PanelButtonBevelEnum constant QStyle::PE_PanelButtonBevel
new QStyle_PrimitiveElementPE_PanelButtonCommandEnum constant QStyle::PE_PanelButtonCommand
new QStyle_PrimitiveElementPE_PanelButtonToolEnum constant QStyle::PE_PanelButtonTool
new QStyle_PrimitiveElementPE_PanelItemViewItemEnum constant QStyle::PE_PanelItemViewItem
new QStyle_PrimitiveElementPE_PanelItemViewRowEnum constant QStyle::PE_PanelItemViewRow
new QStyle_PrimitiveElementPE_PanelLineEditEnum constant QStyle::PE_PanelLineEdit
new QStyle_PrimitiveElementPE_PanelMenuEnum constant QStyle::PE_PanelMenu
new QStyle_PrimitiveElementPE_PanelMenuBarEnum constant QStyle::PE_PanelMenuBar
new QStyle_PrimitiveElementPE_PanelScrollAreaCornerEnum constant QStyle::PE_PanelScrollAreaCorner
new QStyle_PrimitiveElementPE_PanelStatusBarEnum constant QStyle::PE_PanelStatusBar
new QStyle_PrimitiveElementPE_PanelTipLabelEnum constant QStyle::PE_PanelTipLabel
new QStyle_PrimitiveElementPE_PanelToolBarEnum constant QStyle::PE_PanelToolBar
new QStyle_PrimitiveElementPE_Q3CheckListControllerEnum constant QStyle::PE_Q3CheckListController
new QStyle_PrimitiveElementPE_Q3CheckListExclusiveIndicatorEnum constant QStyle::PE_Q3CheckListExclusiveIndicator
new QStyle_PrimitiveElementPE_Q3CheckListIndicatorEnum constant QStyle::PE_Q3CheckListIndicator
new QStyle_PrimitiveElementPE_Q3DockWindowSeparatorEnum constant QStyle::PE_Q3DockWindowSeparator
new QStyle_PrimitiveElementPE_Q3SeparatorEnum constant QStyle::PE_Q3Separator
new QStyle_PrimitiveElementPE_WidgetEnum constant QStyle::PE_Widget

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] new QStyle_PrimitiveElement PE_CustomBase

Description: Enum constant QStyle::PE_CustomBase

[static] new QStyle_PrimitiveElement PE_Frame

Description: Enum constant QStyle::PE_Frame

[static] new QStyle_PrimitiveElement PE_FrameButtonBevel

Description: Enum constant QStyle::PE_FrameButtonBevel

[static] new QStyle_PrimitiveElement PE_FrameButtonTool

Description: Enum constant QStyle::PE_FrameButtonTool

[static] new QStyle_PrimitiveElement PE_FrameDefaultButton

Description: Enum constant QStyle::PE_FrameDefaultButton

[static] new QStyle_PrimitiveElement PE_FrameDockWidget

Description: Enum constant QStyle::PE_FrameDockWidget

[static] new QStyle_PrimitiveElement PE_FrameFocusRect

Description: Enum constant QStyle::PE_FrameFocusRect

[static] new QStyle_PrimitiveElement PE_FrameGroupBox

Description: Enum constant QStyle::PE_FrameGroupBox

[static] new QStyle_PrimitiveElement PE_FrameLineEdit

Description: Enum constant QStyle::PE_FrameLineEdit

[static] new QStyle_PrimitiveElement PE_FrameMenu

Description: Enum constant QStyle::PE_FrameMenu

[static] new QStyle_PrimitiveElement PE_FrameStatusBar

Description: Enum constant QStyle::PE_FrameStatusBar

[static] new QStyle_PrimitiveElement PE_FrameStatusBarItem

Description: Enum constant QStyle::PE_FrameStatusBarItem

[static] new QStyle_PrimitiveElement PE_FrameTabBarBase

Description: Enum constant QStyle::PE_FrameTabBarBase

[static] new QStyle_PrimitiveElement PE_FrameTabWidget

Description: Enum constant QStyle::PE_FrameTabWidget

[static] new QStyle_PrimitiveElement PE_FrameWindow

Description: Enum constant QStyle::PE_FrameWindow

[static] new QStyle_PrimitiveElement PE_IndicatorArrowDown

Description: Enum constant QStyle::PE_IndicatorArrowDown

[static] new QStyle_PrimitiveElement PE_IndicatorArrowLeft

Description: Enum constant QStyle::PE_IndicatorArrowLeft

[static] new QStyle_PrimitiveElement PE_IndicatorArrowRight

Description: Enum constant QStyle::PE_IndicatorArrowRight

[static] new QStyle_PrimitiveElement PE_IndicatorArrowUp

Description: Enum constant QStyle::PE_IndicatorArrowUp

[static] new QStyle_PrimitiveElement PE_IndicatorBranch

Description: Enum constant QStyle::PE_IndicatorBranch

[static] new QStyle_PrimitiveElement PE_IndicatorButtonDropDown

Description: Enum constant QStyle::PE_IndicatorButtonDropDown

[static] new QStyle_PrimitiveElement PE_IndicatorCheckBox

Description: Enum constant QStyle::PE_IndicatorCheckBox

[static] new QStyle_PrimitiveElement PE_IndicatorColumnViewArrow

Description: Enum constant QStyle::PE_IndicatorColumnViewArrow

[static] new QStyle_PrimitiveElement PE_IndicatorDockWidgetResizeHandle

Description: Enum constant QStyle::PE_IndicatorDockWidgetResizeHandle

[static] new QStyle_PrimitiveElement PE_IndicatorHeaderArrow

Description: Enum constant QStyle::PE_IndicatorHeaderArrow

[static] new QStyle_PrimitiveElement PE_IndicatorItemViewItemCheck

Description: Enum constant QStyle::PE_IndicatorItemViewItemCheck

[static] new QStyle_PrimitiveElement PE_IndicatorItemViewItemDrop

Description: Enum constant QStyle::PE_IndicatorItemViewItemDrop

[static] new QStyle_PrimitiveElement PE_IndicatorMenuCheckMark

Description: Enum constant QStyle::PE_IndicatorMenuCheckMark

[static] new QStyle_PrimitiveElement PE_IndicatorProgressChunk

Description: Enum constant QStyle::PE_IndicatorProgressChunk

[static] new QStyle_PrimitiveElement PE_IndicatorRadioButton

Description: Enum constant QStyle::PE_IndicatorRadioButton

[static] new QStyle_PrimitiveElement PE_IndicatorSpinDown

Description: Enum constant QStyle::PE_IndicatorSpinDown

[static] new QStyle_PrimitiveElement PE_IndicatorSpinMinus

Description: Enum constant QStyle::PE_IndicatorSpinMinus

[static] new QStyle_PrimitiveElement PE_IndicatorSpinPlus

Description: Enum constant QStyle::PE_IndicatorSpinPlus

[static] new QStyle_PrimitiveElement PE_IndicatorSpinUp

Description: Enum constant QStyle::PE_IndicatorSpinUp

[static] new QStyle_PrimitiveElement PE_IndicatorTabClose

Description: Enum constant QStyle::PE_IndicatorTabClose

[static] new QStyle_PrimitiveElement PE_IndicatorTabTear

Description: Enum constant QStyle::PE_IndicatorTabTear

[static] new QStyle_PrimitiveElement PE_IndicatorToolBarHandle

Description: Enum constant QStyle::PE_IndicatorToolBarHandle

[static] new QStyle_PrimitiveElement PE_IndicatorToolBarSeparator

Description: Enum constant QStyle::PE_IndicatorToolBarSeparator

[static] new QStyle_PrimitiveElement PE_IndicatorViewItemCheck

Description: Enum constant QStyle::PE_IndicatorViewItemCheck

[static] new QStyle_PrimitiveElement PE_PanelButtonBevel

Description: Enum constant QStyle::PE_PanelButtonBevel

[static] new QStyle_PrimitiveElement PE_PanelButtonCommand

Description: Enum constant QStyle::PE_PanelButtonCommand

[static] new QStyle_PrimitiveElement PE_PanelButtonTool

Description: Enum constant QStyle::PE_PanelButtonTool

[static] new QStyle_PrimitiveElement PE_PanelItemViewItem

Description: Enum constant QStyle::PE_PanelItemViewItem

[static] new QStyle_PrimitiveElement PE_PanelItemViewRow

Description: Enum constant QStyle::PE_PanelItemViewRow

[static] new QStyle_PrimitiveElement PE_PanelLineEdit

Description: Enum constant QStyle::PE_PanelLineEdit

[static] new QStyle_PrimitiveElement PE_PanelMenu

Description: Enum constant QStyle::PE_PanelMenu

[static] new QStyle_PrimitiveElement PE_PanelMenuBar

Description: Enum constant QStyle::PE_PanelMenuBar

[static] new QStyle_PrimitiveElement PE_PanelScrollAreaCorner

Description: Enum constant QStyle::PE_PanelScrollAreaCorner

[static] new QStyle_PrimitiveElement PE_PanelStatusBar

Description: Enum constant QStyle::PE_PanelStatusBar

[static] new QStyle_PrimitiveElement PE_PanelTipLabel

Description: Enum constant QStyle::PE_PanelTipLabel

[static] new QStyle_PrimitiveElement PE_PanelToolBar

Description: Enum constant QStyle::PE_PanelToolBar

[static] new QStyle_PrimitiveElement PE_Q3CheckListController

Description: Enum constant QStyle::PE_Q3CheckListController

[static] new QStyle_PrimitiveElement PE_Q3CheckListExclusiveIndicator

Description: Enum constant QStyle::PE_Q3CheckListExclusiveIndicator

[static] new QStyle_PrimitiveElement PE_Q3CheckListIndicator

Description: Enum constant QStyle::PE_Q3CheckListIndicator

[static] new QStyle_PrimitiveElement PE_Q3DockWindowSeparator

Description: Enum constant QStyle::PE_Q3DockWindowSeparator

[static] new QStyle_PrimitiveElement PE_Q3Separator

Description: Enum constant QStyle::PE_Q3Separator

[static] new QStyle_PrimitiveElement PE_Widget

Description: Enum constant QStyle::PE_Widget

[const] void assign(const QStyle_PrimitiveElement other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

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 destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, 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] QStyle_PrimitiveElement dup

Description: Creates a copy of self

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

[static] new QStyle_PrimitiveElement new(unsigned int value)

Description: Creates the enum object from an integer

[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