API reference - Class QMessageBox_StandardButton

Notation used in Ruby API documentation

Description: This class represents the QMessageBox::StandardButton enum

Class hierarchy: QMessageBox_StandardButton » QMessageBox_QFlags_StandardButton

Public constructors

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

Public methods

[const]bool==(QMessageBox_StandardButton 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 QMessageBox_StandardButton 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]QMessageBox_StandardButtondupCreates 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 QMessageBox_StandardButtonAbortEnum constant QMessageBox::Abort
new QMessageBox_StandardButtonApplyEnum constant QMessageBox::Apply
new QMessageBox_StandardButtonButtonMaskEnum constant QMessageBox::ButtonMask
new QMessageBox_StandardButtonCancelEnum constant QMessageBox::Cancel
new QMessageBox_StandardButtonCloseEnum constant QMessageBox::Close
new QMessageBox_StandardButtonDefaultEnum constant QMessageBox::Default
new QMessageBox_StandardButtonDiscardEnum constant QMessageBox::Discard
new QMessageBox_StandardButtonEscapeEnum constant QMessageBox::Escape
new QMessageBox_StandardButtonFirstButtonEnum constant QMessageBox::FirstButton
new QMessageBox_StandardButtonFlagMaskEnum constant QMessageBox::FlagMask
new QMessageBox_StandardButtonHelpEnum constant QMessageBox::Help
new QMessageBox_StandardButtonIgnoreEnum constant QMessageBox::Ignore
new QMessageBox_StandardButtonLastButtonEnum constant QMessageBox::LastButton
new QMessageBox_StandardButtonNoEnum constant QMessageBox::No
new QMessageBox_StandardButtonNoAllEnum constant QMessageBox::NoAll
new QMessageBox_StandardButtonNoButtonEnum constant QMessageBox::NoButton
new QMessageBox_StandardButtonNoToAllEnum constant QMessageBox::NoToAll
new QMessageBox_StandardButtonOkEnum constant QMessageBox::Ok
new QMessageBox_StandardButtonOpenEnum constant QMessageBox::Open
new QMessageBox_StandardButtonResetEnum constant QMessageBox::Reset
new QMessageBox_StandardButtonRestoreDefaultsEnum constant QMessageBox::RestoreDefaults
new QMessageBox_StandardButtonRetryEnum constant QMessageBox::Retry
new QMessageBox_StandardButtonSaveEnum constant QMessageBox::Save
new QMessageBox_StandardButtonSaveAllEnum constant QMessageBox::SaveAll
new QMessageBox_StandardButtonYesEnum constant QMessageBox::Yes
new QMessageBox_StandardButtonYesAllEnum constant QMessageBox::YesAll
new QMessageBox_StandardButtonYesToAllEnum constant QMessageBox::YesToAll

Detailed description

[const] bool ==(QMessageBox_StandardButton 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 QMessageBox_StandardButton Abort

Description: Enum constant QMessageBox::Abort

[static] new QMessageBox_StandardButton Apply

Description: Enum constant QMessageBox::Apply

[static] new QMessageBox_StandardButton ButtonMask

Description: Enum constant QMessageBox::ButtonMask

[static] new QMessageBox_StandardButton Cancel

Description: Enum constant QMessageBox::Cancel

[static] new QMessageBox_StandardButton Close

Description: Enum constant QMessageBox::Close

[static] new QMessageBox_StandardButton Default

Description: Enum constant QMessageBox::Default

[static] new QMessageBox_StandardButton Discard

Description: Enum constant QMessageBox::Discard

[static] new QMessageBox_StandardButton Escape

Description: Enum constant QMessageBox::Escape

[static] new QMessageBox_StandardButton FirstButton

Description: Enum constant QMessageBox::FirstButton

[static] new QMessageBox_StandardButton FlagMask

Description: Enum constant QMessageBox::FlagMask

[static] new QMessageBox_StandardButton Help

Description: Enum constant QMessageBox::Help

[static] new QMessageBox_StandardButton Ignore

Description: Enum constant QMessageBox::Ignore

[static] new QMessageBox_StandardButton LastButton

Description: Enum constant QMessageBox::LastButton

[static] new QMessageBox_StandardButton No

Description: Enum constant QMessageBox::No

[static] new QMessageBox_StandardButton NoAll

Description: Enum constant QMessageBox::NoAll

[static] new QMessageBox_StandardButton NoButton

Description: Enum constant QMessageBox::NoButton

[static] new QMessageBox_StandardButton NoToAll

Description: Enum constant QMessageBox::NoToAll

[static] new QMessageBox_StandardButton Ok

Description: Enum constant QMessageBox::Ok

[static] new QMessageBox_StandardButton Open

Description: Enum constant QMessageBox::Open

[static] new QMessageBox_StandardButton Reset

Description: Enum constant QMessageBox::Reset

[static] new QMessageBox_StandardButton RestoreDefaults

Description: Enum constant QMessageBox::RestoreDefaults

[static] new QMessageBox_StandardButton Retry

Description: Enum constant QMessageBox::Retry

[static] new QMessageBox_StandardButton Save

Description: Enum constant QMessageBox::Save

[static] new QMessageBox_StandardButton SaveAll

Description: Enum constant QMessageBox::SaveAll

[static] new QMessageBox_StandardButton Yes

Description: Enum constant QMessageBox::Yes

[static] new QMessageBox_StandardButton YesAll

Description: Enum constant QMessageBox::YesAll

[static] new QMessageBox_StandardButton YesToAll

Description: Enum constant QMessageBox::YesToAll

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