KLayout Manual: Main Index » Class Index » API reference - Class QStyle_ContentsType

API reference - Class QStyle_ContentsType

Notation used in Ruby API documentation

Description: This class represents the QStyle::ContentsType enum

Public constructors

new QStyle_ContentsTypenew(unsigned int arg1)Creates the enum object from an integer

Public methods

[const]bool==(QStyle_ContentsType 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_ContentsType 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_ContentsTypedupCreates 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_ContentsTypeCT_CheckBoxEnum constant QStyle::CT_CheckBox
new QStyle_ContentsTypeCT_ComboBoxEnum constant QStyle::CT_ComboBox
new QStyle_ContentsTypeCT_CustomBaseEnum constant QStyle::CT_CustomBase
new QStyle_ContentsTypeCT_DialogButtonsEnum constant QStyle::CT_DialogButtons
new QStyle_ContentsTypeCT_GroupBoxEnum constant QStyle::CT_GroupBox
new QStyle_ContentsTypeCT_HeaderSectionEnum constant QStyle::CT_HeaderSection
new QStyle_ContentsTypeCT_ItemViewItemEnum constant QStyle::CT_ItemViewItem
new QStyle_ContentsTypeCT_LineEditEnum constant QStyle::CT_LineEdit
new QStyle_ContentsTypeCT_MdiControlsEnum constant QStyle::CT_MdiControls
new QStyle_ContentsTypeCT_MenuEnum constant QStyle::CT_Menu
new QStyle_ContentsTypeCT_MenuBarEnum constant QStyle::CT_MenuBar
new QStyle_ContentsTypeCT_MenuBarItemEnum constant QStyle::CT_MenuBarItem
new QStyle_ContentsTypeCT_MenuItemEnum constant QStyle::CT_MenuItem
new QStyle_ContentsTypeCT_ProgressBarEnum constant QStyle::CT_ProgressBar
new QStyle_ContentsTypeCT_PushButtonEnum constant QStyle::CT_PushButton
new QStyle_ContentsTypeCT_Q3DockWindowEnum constant QStyle::CT_Q3DockWindow
new QStyle_ContentsTypeCT_Q3HeaderEnum constant QStyle::CT_Q3Header
new QStyle_ContentsTypeCT_RadioButtonEnum constant QStyle::CT_RadioButton
new QStyle_ContentsTypeCT_ScrollBarEnum constant QStyle::CT_ScrollBar
new QStyle_ContentsTypeCT_SizeGripEnum constant QStyle::CT_SizeGrip
new QStyle_ContentsTypeCT_SliderEnum constant QStyle::CT_Slider
new QStyle_ContentsTypeCT_SpinBoxEnum constant QStyle::CT_SpinBox
new QStyle_ContentsTypeCT_SplitterEnum constant QStyle::CT_Splitter
new QStyle_ContentsTypeCT_TabBarTabEnum constant QStyle::CT_TabBarTab
new QStyle_ContentsTypeCT_TabWidgetEnum constant QStyle::CT_TabWidget
new QStyle_ContentsTypeCT_ToolButtonEnum constant QStyle::CT_ToolButton

Detailed description

[const] bool ==(QStyle_ContentsType 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_ContentsType CT_CheckBox

Description: Enum constant QStyle::CT_CheckBox

[static] new QStyle_ContentsType CT_ComboBox

Description: Enum constant QStyle::CT_ComboBox

[static] new QStyle_ContentsType CT_CustomBase

Description: Enum constant QStyle::CT_CustomBase

[static] new QStyle_ContentsType CT_DialogButtons

Description: Enum constant QStyle::CT_DialogButtons

[static] new QStyle_ContentsType CT_GroupBox

Description: Enum constant QStyle::CT_GroupBox

[static] new QStyle_ContentsType CT_HeaderSection

Description: Enum constant QStyle::CT_HeaderSection

[static] new QStyle_ContentsType CT_ItemViewItem

Description: Enum constant QStyle::CT_ItemViewItem

[static] new QStyle_ContentsType CT_LineEdit

Description: Enum constant QStyle::CT_LineEdit

[static] new QStyle_ContentsType CT_MdiControls

Description: Enum constant QStyle::CT_MdiControls

[static] new QStyle_ContentsType CT_Menu

Description: Enum constant QStyle::CT_Menu

[static] new QStyle_ContentsType CT_MenuBar

Description: Enum constant QStyle::CT_MenuBar

[static] new QStyle_ContentsType CT_MenuBarItem

Description: Enum constant QStyle::CT_MenuBarItem

[static] new QStyle_ContentsType CT_MenuItem

Description: Enum constant QStyle::CT_MenuItem

[static] new QStyle_ContentsType CT_ProgressBar

Description: Enum constant QStyle::CT_ProgressBar

[static] new QStyle_ContentsType CT_PushButton

Description: Enum constant QStyle::CT_PushButton

[static] new QStyle_ContentsType CT_Q3DockWindow

Description: Enum constant QStyle::CT_Q3DockWindow

[static] new QStyle_ContentsType CT_Q3Header

Description: Enum constant QStyle::CT_Q3Header

[static] new QStyle_ContentsType CT_RadioButton

Description: Enum constant QStyle::CT_RadioButton

[static] new QStyle_ContentsType CT_ScrollBar

Description: Enum constant QStyle::CT_ScrollBar

[static] new QStyle_ContentsType CT_SizeGrip

Description: Enum constant QStyle::CT_SizeGrip

[static] new QStyle_ContentsType CT_Slider

Description: Enum constant QStyle::CT_Slider

[static] new QStyle_ContentsType CT_SpinBox

Description: Enum constant QStyle::CT_SpinBox

[static] new QStyle_ContentsType CT_Splitter

Description: Enum constant QStyle::CT_Splitter

[static] new QStyle_ContentsType CT_TabBarTab

Description: Enum constant QStyle::CT_TabBarTab

[static] new QStyle_ContentsType CT_TabWidget

Description: Enum constant QStyle::CT_TabWidget

[static] new QStyle_ContentsType CT_ToolButton

Description: Enum constant QStyle::CT_ToolButton

[const] void assign(const QStyle_ContentsType 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_ContentsType 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_ContentsType new(unsigned int arg1)

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