API reference - Class QKeySequence_StandardKey

Notation used in Ruby API documentation

Description: This class represents the QKeySequence::StandardKey enum

Class hierarchy: QKeySequence_StandardKey » QKeySequence_QFlags_StandardKey

This class is equivalent to the top-level class QKeySequence::StandardKey

Public constructors

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

Public methods

[const]bool==(QKeySequence_StandardKey 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 QKeySequence_StandardKey other)Assigns another object to self
[const]new QKeySequence_StandardKey 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 QKeySequence_StandardKey ptrAddTabEnum constant QKeySequence::AddTab
[static,const]new QKeySequence_StandardKey ptrBackEnum constant QKeySequence::Back
[static,const]new QKeySequence_StandardKey ptrBoldEnum constant QKeySequence::Bold
[static,const]new QKeySequence_StandardKey ptrCloseEnum constant QKeySequence::Close
[static,const]new QKeySequence_StandardKey ptrCopyEnum constant QKeySequence::Copy
[static,const]new QKeySequence_StandardKey ptrCutEnum constant QKeySequence::Cut
[static,const]new QKeySequence_StandardKey ptrDeleteEnum constant QKeySequence::Delete
[static,const]new QKeySequence_StandardKey ptrDeleteEndOfLineEnum constant QKeySequence::DeleteEndOfLine
[static,const]new QKeySequence_StandardKey ptrDeleteEndOfWordEnum constant QKeySequence::DeleteEndOfWord
[static,const]new QKeySequence_StandardKey ptrDeleteStartOfWordEnum constant QKeySequence::DeleteStartOfWord
[static,const]new QKeySequence_StandardKey ptrFindEnum constant QKeySequence::Find
[static,const]new QKeySequence_StandardKey ptrFindNextEnum constant QKeySequence::FindNext
[static,const]new QKeySequence_StandardKey ptrFindPreviousEnum constant QKeySequence::FindPrevious
[static,const]new QKeySequence_StandardKey ptrForwardEnum constant QKeySequence::Forward
[static,const]new QKeySequence_StandardKey ptrHelpContentsEnum constant QKeySequence::HelpContents
[static,const]new QKeySequence_StandardKey ptrInsertLineSeparatorEnum constant QKeySequence::InsertLineSeparator
[static,const]new QKeySequence_StandardKey ptrInsertParagraphSeparatorEnum constant QKeySequence::InsertParagraphSeparator
[static,const]new QKeySequence_StandardKey ptrItalicEnum constant QKeySequence::Italic
[static,const]new QKeySequence_StandardKey ptrMoveToEndOfBlockEnum constant QKeySequence::MoveToEndOfBlock
[static,const]new QKeySequence_StandardKey ptrMoveToEndOfDocumentEnum constant QKeySequence::MoveToEndOfDocument
[static,const]new QKeySequence_StandardKey ptrMoveToEndOfLineEnum constant QKeySequence::MoveToEndOfLine
[static,const]new QKeySequence_StandardKey ptrMoveToNextCharEnum constant QKeySequence::MoveToNextChar
[static,const]new QKeySequence_StandardKey ptrMoveToNextLineEnum constant QKeySequence::MoveToNextLine
[static,const]new QKeySequence_StandardKey ptrMoveToNextPageEnum constant QKeySequence::MoveToNextPage
[static,const]new QKeySequence_StandardKey ptrMoveToNextWordEnum constant QKeySequence::MoveToNextWord
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousCharEnum constant QKeySequence::MoveToPreviousChar
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousLineEnum constant QKeySequence::MoveToPreviousLine
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousPageEnum constant QKeySequence::MoveToPreviousPage
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousWordEnum constant QKeySequence::MoveToPreviousWord
[static,const]new QKeySequence_StandardKey ptrMoveToStartOfBlockEnum constant QKeySequence::MoveToStartOfBlock
[static,const]new QKeySequence_StandardKey ptrMoveToStartOfDocumentEnum constant QKeySequence::MoveToStartOfDocument
[static,const]new QKeySequence_StandardKey ptrMoveToStartOfLineEnum constant QKeySequence::MoveToStartOfLine
[static,const]new QKeySequence_StandardKey ptrNewEnum constant QKeySequence::New
[static,const]new QKeySequence_StandardKey ptrNextChildEnum constant QKeySequence::NextChild
[static,const]new QKeySequence_StandardKey ptrOpenEnum constant QKeySequence::Open
[static,const]new QKeySequence_StandardKey ptrPasteEnum constant QKeySequence::Paste
[static,const]new QKeySequence_StandardKey ptrPreferencesEnum constant QKeySequence::Preferences
[static,const]new QKeySequence_StandardKey ptrPreviousChildEnum constant QKeySequence::PreviousChild
[static,const]new QKeySequence_StandardKey ptrPrintEnum constant QKeySequence::Print
[static,const]new QKeySequence_StandardKey ptrQuitEnum constant QKeySequence::Quit
[static,const]new QKeySequence_StandardKey ptrRedoEnum constant QKeySequence::Redo
[static,const]new QKeySequence_StandardKey ptrRefreshEnum constant QKeySequence::Refresh
[static,const]new QKeySequence_StandardKey ptrReplaceEnum constant QKeySequence::Replace
[static,const]new QKeySequence_StandardKey ptrSaveEnum constant QKeySequence::Save
[static,const]new QKeySequence_StandardKey ptrSaveAsEnum constant QKeySequence::SaveAs
[static,const]new QKeySequence_StandardKey ptrSelectAllEnum constant QKeySequence::SelectAll
[static,const]new QKeySequence_StandardKey ptrSelectEndOfBlockEnum constant QKeySequence::SelectEndOfBlock
[static,const]new QKeySequence_StandardKey ptrSelectEndOfDocumentEnum constant QKeySequence::SelectEndOfDocument
[static,const]new QKeySequence_StandardKey ptrSelectEndOfLineEnum constant QKeySequence::SelectEndOfLine
[static,const]new QKeySequence_StandardKey ptrSelectNextCharEnum constant QKeySequence::SelectNextChar
[static,const]new QKeySequence_StandardKey ptrSelectNextLineEnum constant QKeySequence::SelectNextLine
[static,const]new QKeySequence_StandardKey ptrSelectNextPageEnum constant QKeySequence::SelectNextPage
[static,const]new QKeySequence_StandardKey ptrSelectNextWordEnum constant QKeySequence::SelectNextWord
[static,const]new QKeySequence_StandardKey ptrSelectPreviousCharEnum constant QKeySequence::SelectPreviousChar
[static,const]new QKeySequence_StandardKey ptrSelectPreviousLineEnum constant QKeySequence::SelectPreviousLine
[static,const]new QKeySequence_StandardKey ptrSelectPreviousPageEnum constant QKeySequence::SelectPreviousPage
[static,const]new QKeySequence_StandardKey ptrSelectPreviousWordEnum constant QKeySequence::SelectPreviousWord
[static,const]new QKeySequence_StandardKey ptrSelectStartOfBlockEnum constant QKeySequence::SelectStartOfBlock
[static,const]new QKeySequence_StandardKey ptrSelectStartOfDocumentEnum constant QKeySequence::SelectStartOfDocument
[static,const]new QKeySequence_StandardKey ptrSelectStartOfLineEnum constant QKeySequence::SelectStartOfLine
[static,const]new QKeySequence_StandardKey ptrUnderlineEnum constant QKeySequence::Underline
[static,const]new QKeySequence_StandardKey ptrUndoEnum constant QKeySequence::Undo
[static,const]new QKeySequence_StandardKey ptrUnknownKeyEnum constant QKeySequence::UnknownKey
[static,const]new QKeySequence_StandardKey ptrWhatsThisEnum constant QKeySequence::WhatsThis
[static,const]new QKeySequence_StandardKey ptrZoomInEnum constant QKeySequence::ZoomIn
[static,const]new QKeySequence_StandardKey ptrZoomOutEnum constant QKeySequence::ZoomOut

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 ==(QKeySequence_StandardKey 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 QKeySequence_StandardKey ptr AddTab

Description: Enum constant QKeySequence::AddTab

[static,const] new QKeySequence_StandardKey ptr Back

Description: Enum constant QKeySequence::Back

[static,const] new QKeySequence_StandardKey ptr Bold

Description: Enum constant QKeySequence::Bold

[static,const] new QKeySequence_StandardKey ptr Close

Description: Enum constant QKeySequence::Close

[static,const] new QKeySequence_StandardKey ptr Copy

Description: Enum constant QKeySequence::Copy

[static,const] new QKeySequence_StandardKey ptr Cut

Description: Enum constant QKeySequence::Cut

[static,const] new QKeySequence_StandardKey ptr Delete

Description: Enum constant QKeySequence::Delete

[static,const] new QKeySequence_StandardKey ptr DeleteEndOfLine

Description: Enum constant QKeySequence::DeleteEndOfLine

[static,const] new QKeySequence_StandardKey ptr DeleteEndOfWord

Description: Enum constant QKeySequence::DeleteEndOfWord

[static,const] new QKeySequence_StandardKey ptr DeleteStartOfWord

Description: Enum constant QKeySequence::DeleteStartOfWord

[static,const] new QKeySequence_StandardKey ptr Find

Description: Enum constant QKeySequence::Find

[static,const] new QKeySequence_StandardKey ptr FindNext

Description: Enum constant QKeySequence::FindNext

[static,const] new QKeySequence_StandardKey ptr FindPrevious

Description: Enum constant QKeySequence::FindPrevious

[static,const] new QKeySequence_StandardKey ptr Forward

Description: Enum constant QKeySequence::Forward

[static,const] new QKeySequence_StandardKey ptr HelpContents

Description: Enum constant QKeySequence::HelpContents

[static,const] new QKeySequence_StandardKey ptr InsertLineSeparator

Description: Enum constant QKeySequence::InsertLineSeparator

[static,const] new QKeySequence_StandardKey ptr InsertParagraphSeparator

Description: Enum constant QKeySequence::InsertParagraphSeparator

[static,const] new QKeySequence_StandardKey ptr Italic

Description: Enum constant QKeySequence::Italic

[static,const] new QKeySequence_StandardKey ptr MoveToEndOfBlock

Description: Enum constant QKeySequence::MoveToEndOfBlock

[static,const] new QKeySequence_StandardKey ptr MoveToEndOfDocument

Description: Enum constant QKeySequence::MoveToEndOfDocument

[static,const] new QKeySequence_StandardKey ptr MoveToEndOfLine

Description: Enum constant QKeySequence::MoveToEndOfLine

[static,const] new QKeySequence_StandardKey ptr MoveToNextChar

Description: Enum constant QKeySequence::MoveToNextChar

[static,const] new QKeySequence_StandardKey ptr MoveToNextLine

Description: Enum constant QKeySequence::MoveToNextLine

[static,const] new QKeySequence_StandardKey ptr MoveToNextPage

Description: Enum constant QKeySequence::MoveToNextPage

[static,const] new QKeySequence_StandardKey ptr MoveToNextWord

Description: Enum constant QKeySequence::MoveToNextWord

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousChar

Description: Enum constant QKeySequence::MoveToPreviousChar

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousLine

Description: Enum constant QKeySequence::MoveToPreviousLine

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousPage

Description: Enum constant QKeySequence::MoveToPreviousPage

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousWord

Description: Enum constant QKeySequence::MoveToPreviousWord

[static,const] new QKeySequence_StandardKey ptr MoveToStartOfBlock

Description: Enum constant QKeySequence::MoveToStartOfBlock

[static,const] new QKeySequence_StandardKey ptr MoveToStartOfDocument

Description: Enum constant QKeySequence::MoveToStartOfDocument

[static,const] new QKeySequence_StandardKey ptr MoveToStartOfLine

Description: Enum constant QKeySequence::MoveToStartOfLine

[static,const] new QKeySequence_StandardKey ptr New

Description: Enum constant QKeySequence::New

[static,const] new QKeySequence_StandardKey ptr NextChild

Description: Enum constant QKeySequence::NextChild

[static,const] new QKeySequence_StandardKey ptr Open

Description: Enum constant QKeySequence::Open

[static,const] new QKeySequence_StandardKey ptr Paste

Description: Enum constant QKeySequence::Paste

[static,const] new QKeySequence_StandardKey ptr Preferences

Description: Enum constant QKeySequence::Preferences

[static,const] new QKeySequence_StandardKey ptr PreviousChild

Description: Enum constant QKeySequence::PreviousChild

[static,const] new QKeySequence_StandardKey ptr Print

Description: Enum constant QKeySequence::Print

[static,const] new QKeySequence_StandardKey ptr Quit

Description: Enum constant QKeySequence::Quit

[static,const] new QKeySequence_StandardKey ptr Redo

Description: Enum constant QKeySequence::Redo

[static,const] new QKeySequence_StandardKey ptr Refresh

Description: Enum constant QKeySequence::Refresh

[static,const] new QKeySequence_StandardKey ptr Replace

Description: Enum constant QKeySequence::Replace

[static,const] new QKeySequence_StandardKey ptr Save

Description: Enum constant QKeySequence::Save

[static,const] new QKeySequence_StandardKey ptr SaveAs

Description: Enum constant QKeySequence::SaveAs

[static,const] new QKeySequence_StandardKey ptr SelectAll

Description: Enum constant QKeySequence::SelectAll

[static,const] new QKeySequence_StandardKey ptr SelectEndOfBlock

Description: Enum constant QKeySequence::SelectEndOfBlock

[static,const] new QKeySequence_StandardKey ptr SelectEndOfDocument

Description: Enum constant QKeySequence::SelectEndOfDocument

[static,const] new QKeySequence_StandardKey ptr SelectEndOfLine

Description: Enum constant QKeySequence::SelectEndOfLine

[static,const] new QKeySequence_StandardKey ptr SelectNextChar

Description: Enum constant QKeySequence::SelectNextChar

[static,const] new QKeySequence_StandardKey ptr SelectNextLine

Description: Enum constant QKeySequence::SelectNextLine

[static,const] new QKeySequence_StandardKey ptr SelectNextPage

Description: Enum constant QKeySequence::SelectNextPage

[static,const] new QKeySequence_StandardKey ptr SelectNextWord

Description: Enum constant QKeySequence::SelectNextWord

[static,const] new QKeySequence_StandardKey ptr SelectPreviousChar

Description: Enum constant QKeySequence::SelectPreviousChar

[static,const] new QKeySequence_StandardKey ptr SelectPreviousLine

Description: Enum constant QKeySequence::SelectPreviousLine

[static,const] new QKeySequence_StandardKey ptr SelectPreviousPage

Description: Enum constant QKeySequence::SelectPreviousPage

[static,const] new QKeySequence_StandardKey ptr SelectPreviousWord

Description: Enum constant QKeySequence::SelectPreviousWord

[static,const] new QKeySequence_StandardKey ptr SelectStartOfBlock

Description: Enum constant QKeySequence::SelectStartOfBlock

[static,const] new QKeySequence_StandardKey ptr SelectStartOfDocument

Description: Enum constant QKeySequence::SelectStartOfDocument

[static,const] new QKeySequence_StandardKey ptr SelectStartOfLine

Description: Enum constant QKeySequence::SelectStartOfLine

[static,const] new QKeySequence_StandardKey ptr Underline

Description: Enum constant QKeySequence::Underline

[static,const] new QKeySequence_StandardKey ptr Undo

Description: Enum constant QKeySequence::Undo

[static,const] new QKeySequence_StandardKey ptr UnknownKey

Description: Enum constant QKeySequence::UnknownKey

[static,const] new QKeySequence_StandardKey ptr WhatsThis

Description: Enum constant QKeySequence::WhatsThis

[static,const] new QKeySequence_StandardKey ptr ZoomIn

Description: Enum constant QKeySequence::ZoomIn

[static,const] new QKeySequence_StandardKey ptr ZoomOut

Description: Enum constant QKeySequence::ZoomOut

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