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

API reference - Class QPalette_ColorRole

Notation used in Ruby API documentation

Description: This class represents the QPalette::ColorRole enum

Public constructors

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

Public methods

[const]bool==(QPalette_ColorRole 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 QPalette_ColorRole 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]QPalette_ColorRoledupCreates 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 QPalette_ColorRoleAlternateBaseEnum constant QPalette::AlternateBase
new QPalette_ColorRoleBackgroundEnum constant QPalette::Background
new QPalette_ColorRoleBaseEnum constant QPalette::Base
new QPalette_ColorRoleBrightTextEnum constant QPalette::BrightText
new QPalette_ColorRoleButtonEnum constant QPalette::Button
new QPalette_ColorRoleButtonTextEnum constant QPalette::ButtonText
new QPalette_ColorRoleDarkEnum constant QPalette::Dark
new QPalette_ColorRoleForegroundEnum constant QPalette::Foreground
new QPalette_ColorRoleHighlightEnum constant QPalette::Highlight
new QPalette_ColorRoleHighlightedTextEnum constant QPalette::HighlightedText
new QPalette_ColorRoleLightEnum constant QPalette::Light
new QPalette_ColorRoleLinkEnum constant QPalette::Link
new QPalette_ColorRoleLinkVisitedEnum constant QPalette::LinkVisited
new QPalette_ColorRoleMidEnum constant QPalette::Mid
new QPalette_ColorRoleMidlightEnum constant QPalette::Midlight
new QPalette_ColorRoleNColorRolesEnum constant QPalette::NColorRoles
new QPalette_ColorRoleNoRoleEnum constant QPalette::NoRole
new QPalette_ColorRoleShadowEnum constant QPalette::Shadow
new QPalette_ColorRoleTextEnum constant QPalette::Text
new QPalette_ColorRoleToolTipBaseEnum constant QPalette::ToolTipBase
new QPalette_ColorRoleToolTipTextEnum constant QPalette::ToolTipText
new QPalette_ColorRoleWindowEnum constant QPalette::Window
new QPalette_ColorRoleWindowTextEnum constant QPalette::WindowText

Detailed description

[const] bool ==(QPalette_ColorRole 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 QPalette_ColorRole AlternateBase

Description: Enum constant QPalette::AlternateBase

[static] new QPalette_ColorRole Background

Description: Enum constant QPalette::Background

[static] new QPalette_ColorRole Base

Description: Enum constant QPalette::Base

[static] new QPalette_ColorRole BrightText

Description: Enum constant QPalette::BrightText

[static] new QPalette_ColorRole Button

Description: Enum constant QPalette::Button

[static] new QPalette_ColorRole ButtonText

Description: Enum constant QPalette::ButtonText

[static] new QPalette_ColorRole Dark

Description: Enum constant QPalette::Dark

[static] new QPalette_ColorRole Foreground

Description: Enum constant QPalette::Foreground

[static] new QPalette_ColorRole Highlight

Description: Enum constant QPalette::Highlight

[static] new QPalette_ColorRole HighlightedText

Description: Enum constant QPalette::HighlightedText

[static] new QPalette_ColorRole Light

Description: Enum constant QPalette::Light

[static] new QPalette_ColorRole Link

Description: Enum constant QPalette::Link

[static] new QPalette_ColorRole LinkVisited

Description: Enum constant QPalette::LinkVisited

[static] new QPalette_ColorRole Mid

Description: Enum constant QPalette::Mid

[static] new QPalette_ColorRole Midlight

Description: Enum constant QPalette::Midlight

[static] new QPalette_ColorRole NColorRoles

Description: Enum constant QPalette::NColorRoles

[static] new QPalette_ColorRole NoRole

Description: Enum constant QPalette::NoRole

[static] new QPalette_ColorRole Shadow

Description: Enum constant QPalette::Shadow

[static] new QPalette_ColorRole Text

Description: Enum constant QPalette::Text

[static] new QPalette_ColorRole ToolTipBase

Description: Enum constant QPalette::ToolTipBase

[static] new QPalette_ColorRole ToolTipText

Description: Enum constant QPalette::ToolTipText

[static] new QPalette_ColorRole Window

Description: Enum constant QPalette::Window

[static] new QPalette_ColorRole WindowText

Description: Enum constant QPalette::WindowText

[const] void assign(const QPalette_ColorRole 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] QPalette_ColorRole 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 QPalette_ColorRole 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