KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QKeySequence

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QKeySequence

Sub-classes: SequenceFormat, QFlags_SequenceFormat, SequenceMatch, QFlags_SequenceMatch, StandardKey, QFlags_StandardKey

Public constructors

new QKeySequencenewConstructor QKeySequence::QKeySequence()
new QKeySequencenew(string key,
const QKeySequence_SequenceFormat format = QKeySequence::NativeText)
Constructor QKeySequence::QKeySequence(const QString &key, QKeySequence::SequenceFormat format)
new QKeySequencenew(int k1,
int k2 = 0,
int k3 = 0,
int k4 = 0)
Constructor QKeySequence::QKeySequence(int k1, int k2, int k3, int k4)
new QKeySequencenew(const QKeySequence ks)Constructor QKeySequence::QKeySequence(const QKeySequence &ks)

Public methods

[const]bool!=(const QKeySequence other)Method bool QKeySequence::operator!=(const QKeySequence &other)
[const]bool<(const QKeySequence ks)Method bool QKeySequence::operator<(const QKeySequence &ks)
[const]bool<=(const QKeySequence other)Method bool QKeySequence::operator<=(const QKeySequence &other)
[const]bool==(const QKeySequence other)Method bool QKeySequence::operator==(const QKeySequence &other)
[const]bool>(const QKeySequence other)Method bool QKeySequence::operator>(const QKeySequence &other)
[const]bool>=(const QKeySequence other)Method bool QKeySequence::operator>=(const QKeySequence &other)
[const]int[](unsigned int i)Method int QKeySequence::operator[](unsigned int i)
void_assign(const QKeySequence other)Assigns another object to self
[const]QKeySequence ptr_const_castReturns a non-const reference to self.
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.
QKeySequenceassign(const QKeySequence other)Method QKeySequence &QKeySequence::operator=(const QKeySequence &other)
[const]intcountMethod int QKeySequence::count()
[const]new QKeySequence ptrdupCreates a copy of self
[const]boolisDetached?Method bool QKeySequence::isDetached()
[const]boolisEmpty?Method bool QKeySequence::isEmpty()
[const]QKeySequence_SequenceMatchmatches(const QKeySequence seq)Method QKeySequence::SequenceMatch QKeySequence::matches(const QKeySequence &seq)
voidswap(QKeySequence other)Method void QKeySequence::swap(QKeySequence &other)
[const]stringtoString(const QKeySequence_SequenceFormat format = QKeySequence::PortableText)Method QString QKeySequence::toString(QKeySequence::SequenceFormat format)

Public static methods and constants

[static,const]QKeySequence_StandardKeyAddTabEnum constant QKeySequence::AddTab
[static,const]QKeySequence_StandardKeyBackEnum constant QKeySequence::Back
[static,const]QKeySequence_StandardKeyBackspaceEnum constant QKeySequence::Backspace
[static,const]QKeySequence_StandardKeyBoldEnum constant QKeySequence::Bold
[static,const]QKeySequence_StandardKeyCancelEnum constant QKeySequence::Cancel
[static,const]QKeySequence_StandardKeyCloseEnum constant QKeySequence::Close
[static,const]QKeySequence_StandardKeyCopyEnum constant QKeySequence::Copy
[static,const]QKeySequence_StandardKeyCutEnum constant QKeySequence::Cut
[static,const]QKeySequence_StandardKeyDeleteEnum constant QKeySequence::Delete
[static,const]QKeySequence_StandardKeyDeleteCompleteLineEnum constant QKeySequence::DeleteCompleteLine
[static,const]QKeySequence_StandardKeyDeleteEndOfLineEnum constant QKeySequence::DeleteEndOfLine
[static,const]QKeySequence_StandardKeyDeleteEndOfWordEnum constant QKeySequence::DeleteEndOfWord
[static,const]QKeySequence_StandardKeyDeleteStartOfWordEnum constant QKeySequence::DeleteStartOfWord
[static,const]QKeySequence_StandardKeyDeselectEnum constant QKeySequence::Deselect
[static,const]QKeySequence_SequenceMatchExactMatchEnum constant QKeySequence::ExactMatch
[static,const]QKeySequence_StandardKeyFindEnum constant QKeySequence::Find
[static,const]QKeySequence_StandardKeyFindNextEnum constant QKeySequence::FindNext
[static,const]QKeySequence_StandardKeyFindPreviousEnum constant QKeySequence::FindPrevious
[static,const]QKeySequence_StandardKeyForwardEnum constant QKeySequence::Forward
[static,const]QKeySequence_StandardKeyFullScreenEnum constant QKeySequence::FullScreen
[static,const]QKeySequence_StandardKeyHelpContentsEnum constant QKeySequence::HelpContents
[static,const]QKeySequence_StandardKeyInsertLineSeparatorEnum constant QKeySequence::InsertLineSeparator
[static,const]QKeySequence_StandardKeyInsertParagraphSeparatorEnum constant QKeySequence::InsertParagraphSeparator
[static,const]QKeySequence_StandardKeyItalicEnum constant QKeySequence::Italic
[static,const]QKeySequence_StandardKeyMoveToEndOfBlockEnum constant QKeySequence::MoveToEndOfBlock
[static,const]QKeySequence_StandardKeyMoveToEndOfDocumentEnum constant QKeySequence::MoveToEndOfDocument
[static,const]QKeySequence_StandardKeyMoveToEndOfLineEnum constant QKeySequence::MoveToEndOfLine
[static,const]QKeySequence_StandardKeyMoveToNextCharEnum constant QKeySequence::MoveToNextChar
[static,const]QKeySequence_StandardKeyMoveToNextLineEnum constant QKeySequence::MoveToNextLine
[static,const]QKeySequence_StandardKeyMoveToNextPageEnum constant QKeySequence::MoveToNextPage
[static,const]QKeySequence_StandardKeyMoveToNextWordEnum constant QKeySequence::MoveToNextWord
[static,const]QKeySequence_StandardKeyMoveToPreviousCharEnum constant QKeySequence::MoveToPreviousChar
[static,const]QKeySequence_StandardKeyMoveToPreviousLineEnum constant QKeySequence::MoveToPreviousLine
[static,const]QKeySequence_StandardKeyMoveToPreviousPageEnum constant QKeySequence::MoveToPreviousPage
[static,const]QKeySequence_StandardKeyMoveToPreviousWordEnum constant QKeySequence::MoveToPreviousWord
[static,const]QKeySequence_StandardKeyMoveToStartOfBlockEnum constant QKeySequence::MoveToStartOfBlock
[static,const]QKeySequence_StandardKeyMoveToStartOfDocumentEnum constant QKeySequence::MoveToStartOfDocument
[static,const]QKeySequence_StandardKeyMoveToStartOfLineEnum constant QKeySequence::MoveToStartOfLine
[static,const]QKeySequence_SequenceFormatNativeTextEnum constant QKeySequence::NativeText
[static,const]QKeySequence_StandardKeyNewEnum constant QKeySequence::New
[static,const]QKeySequence_StandardKeyNextChildEnum constant QKeySequence::NextChild
[static,const]QKeySequence_SequenceMatchNoMatchEnum constant QKeySequence::NoMatch
[static,const]QKeySequence_StandardKeyOpenEnum constant QKeySequence::Open
[static,const]QKeySequence_SequenceMatchPartialMatchEnum constant QKeySequence::PartialMatch
[static,const]QKeySequence_StandardKeyPasteEnum constant QKeySequence::Paste
[static,const]QKeySequence_SequenceFormatPortableTextEnum constant QKeySequence::PortableText
[static,const]QKeySequence_StandardKeyPreferencesEnum constant QKeySequence::Preferences
[static,const]QKeySequence_StandardKeyPreviousChildEnum constant QKeySequence::PreviousChild
[static,const]QKeySequence_StandardKeyPrintEnum constant QKeySequence::Print
[static,const]QKeySequence_StandardKeyQuitEnum constant QKeySequence::Quit
[static,const]QKeySequence_StandardKeyRedoEnum constant QKeySequence::Redo
[static,const]QKeySequence_StandardKeyRefreshEnum constant QKeySequence::Refresh
[static,const]QKeySequence_StandardKeyReplaceEnum constant QKeySequence::Replace
[static,const]QKeySequence_StandardKeySaveEnum constant QKeySequence::Save
[static,const]QKeySequence_StandardKeySaveAsEnum constant QKeySequence::SaveAs
[static,const]QKeySequence_StandardKeySelectAllEnum constant QKeySequence::SelectAll
[static,const]QKeySequence_StandardKeySelectEndOfBlockEnum constant QKeySequence::SelectEndOfBlock
[static,const]QKeySequence_StandardKeySelectEndOfDocumentEnum constant QKeySequence::SelectEndOfDocument
[static,const]QKeySequence_StandardKeySelectEndOfLineEnum constant QKeySequence::SelectEndOfLine
[static,const]QKeySequence_StandardKeySelectNextCharEnum constant QKeySequence::SelectNextChar
[static,const]QKeySequence_StandardKeySelectNextLineEnum constant QKeySequence::SelectNextLine
[static,const]QKeySequence_StandardKeySelectNextPageEnum constant QKeySequence::SelectNextPage
[static,const]QKeySequence_StandardKeySelectNextWordEnum constant QKeySequence::SelectNextWord
[static,const]QKeySequence_StandardKeySelectPreviousCharEnum constant QKeySequence::SelectPreviousChar
[static,const]QKeySequence_StandardKeySelectPreviousLineEnum constant QKeySequence::SelectPreviousLine
[static,const]QKeySequence_StandardKeySelectPreviousPageEnum constant QKeySequence::SelectPreviousPage
[static,const]QKeySequence_StandardKeySelectPreviousWordEnum constant QKeySequence::SelectPreviousWord
[static,const]QKeySequence_StandardKeySelectStartOfBlockEnum constant QKeySequence::SelectStartOfBlock
[static,const]QKeySequence_StandardKeySelectStartOfDocumentEnum constant QKeySequence::SelectStartOfDocument
[static,const]QKeySequence_StandardKeySelectStartOfLineEnum constant QKeySequence::SelectStartOfLine
[static,const]QKeySequence_StandardKeyUnderlineEnum constant QKeySequence::Underline
[static,const]QKeySequence_StandardKeyUndoEnum constant QKeySequence::Undo
[static,const]QKeySequence_StandardKeyUnknownKeyEnum constant QKeySequence::UnknownKey
[static,const]QKeySequence_StandardKeyWhatsThisEnum constant QKeySequence::WhatsThis
[static,const]QKeySequence_StandardKeyZoomInEnum constant QKeySequence::ZoomIn
[static,const]QKeySequence_StandardKeyZoomOutEnum constant QKeySequence::ZoomOut
QKeySequencefromString(string str,
const QKeySequence_SequenceFormat format = QKeySequence::PortableText)
Static method QKeySequence QKeySequence::fromString(const QString &str, QKeySequence::SequenceFormat format)
QKeySequence[]keyBindings(const QKeySequence_StandardKey key)Static method QList<QKeySequence> QKeySequence::keyBindings(QKeySequence::StandardKey key)
QKeySequence[]listFromString(string str,
const QKeySequence_SequenceFormat format = QKeySequence::PortableText)
Static method QList<QKeySequence> QKeySequence::listFromString(const QString &str, QKeySequence::SequenceFormat format)
stringlistToString(QKeySequence[] list,
const QKeySequence_SequenceFormat format = QKeySequence::PortableText)
Static method QString QKeySequence::listToString(const QList<QKeySequence> &list, QKeySequence::SequenceFormat format)
QKeySequencemnemonic(string text)Static method QKeySequence QKeySequence::mnemonic(const QString &text)
new QKeySequencenew_std(const QKeySequence_StandardKey key)Constructor QKeySequence::QKeySequence(QKeySequence::StandardKey key)

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

!=

Signature: [const] bool != (const QKeySequence other)

Description: Method bool QKeySequence::operator!=(const QKeySequence &other)

<

Signature: [const] bool < (const QKeySequence ks)

Description: Method bool QKeySequence::operator<(const QKeySequence &ks)

<=

Signature: [const] bool <= (const QKeySequence other)

Description: Method bool QKeySequence::operator<=(const QKeySequence &other)

==

Signature: [const] bool == (const QKeySequence other)

Description: Method bool QKeySequence::operator==(const QKeySequence &other)

>

Signature: [const] bool > (const QKeySequence other)

Description: Method bool QKeySequence::operator>(const QKeySequence &other)

>=

Signature: [const] bool >= (const QKeySequence other)

Description: Method bool QKeySequence::operator>=(const QKeySequence &other)

AddTab

Signature: [static,const] QKeySequence_StandardKey AddTab

Description: Enum constant QKeySequence::AddTab

Python specific notes:
The object exposes a readable attribute 'AddTab'. This is the getter.

Back

Signature: [static,const] QKeySequence_StandardKey Back

Description: Enum constant QKeySequence::Back

Python specific notes:
The object exposes a readable attribute 'Back'. This is the getter.

Backspace

Signature: [static,const] QKeySequence_StandardKey Backspace

Description: Enum constant QKeySequence::Backspace

Python specific notes:
The object exposes a readable attribute 'Backspace'. This is the getter.

Bold

Signature: [static,const] QKeySequence_StandardKey Bold

Description: Enum constant QKeySequence::Bold

Python specific notes:
The object exposes a readable attribute 'Bold'. This is the getter.

Cancel

Signature: [static,const] QKeySequence_StandardKey Cancel

Description: Enum constant QKeySequence::Cancel

Python specific notes:
The object exposes a readable attribute 'Cancel'. This is the getter.

Close

Signature: [static,const] QKeySequence_StandardKey Close

Description: Enum constant QKeySequence::Close

Python specific notes:
The object exposes a readable attribute 'Close'. This is the getter.

Copy

Signature: [static,const] QKeySequence_StandardKey Copy

Description: Enum constant QKeySequence::Copy

Python specific notes:
The object exposes a readable attribute 'Copy'. This is the getter.

Cut

Signature: [static,const] QKeySequence_StandardKey Cut

Description: Enum constant QKeySequence::Cut

Python specific notes:
The object exposes a readable attribute 'Cut'. This is the getter.

Delete

Signature: [static,const] QKeySequence_StandardKey Delete

Description: Enum constant QKeySequence::Delete

Python specific notes:
The object exposes a readable attribute 'Delete'. This is the getter.

DeleteCompleteLine

Signature: [static,const] QKeySequence_StandardKey DeleteCompleteLine

Description: Enum constant QKeySequence::DeleteCompleteLine

Python specific notes:
The object exposes a readable attribute 'DeleteCompleteLine'. This is the getter.

DeleteEndOfLine

Signature: [static,const] QKeySequence_StandardKey DeleteEndOfLine

Description: Enum constant QKeySequence::DeleteEndOfLine

Python specific notes:
The object exposes a readable attribute 'DeleteEndOfLine'. This is the getter.

DeleteEndOfWord

Signature: [static,const] QKeySequence_StandardKey DeleteEndOfWord

Description: Enum constant QKeySequence::DeleteEndOfWord

Python specific notes:
The object exposes a readable attribute 'DeleteEndOfWord'. This is the getter.

DeleteStartOfWord

Signature: [static,const] QKeySequence_StandardKey DeleteStartOfWord

Description: Enum constant QKeySequence::DeleteStartOfWord

Python specific notes:
The object exposes a readable attribute 'DeleteStartOfWord'. This is the getter.

Deselect

Signature: [static,const] QKeySequence_StandardKey Deselect

Description: Enum constant QKeySequence::Deselect

Python specific notes:
The object exposes a readable attribute 'Deselect'. This is the getter.

ExactMatch

Signature: [static,const] QKeySequence_SequenceMatch ExactMatch

Description: Enum constant QKeySequence::ExactMatch

Python specific notes:
The object exposes a readable attribute 'ExactMatch'. This is the getter.

Find

Signature: [static,const] QKeySequence_StandardKey Find

Description: Enum constant QKeySequence::Find

Python specific notes:
The object exposes a readable attribute 'Find'. This is the getter.

FindNext

Signature: [static,const] QKeySequence_StandardKey FindNext

Description: Enum constant QKeySequence::FindNext

Python specific notes:
The object exposes a readable attribute 'FindNext'. This is the getter.

FindPrevious

Signature: [static,const] QKeySequence_StandardKey FindPrevious

Description: Enum constant QKeySequence::FindPrevious

Python specific notes:
The object exposes a readable attribute 'FindPrevious'. This is the getter.

Forward

Signature: [static,const] QKeySequence_StandardKey Forward

Description: Enum constant QKeySequence::Forward

Python specific notes:
The object exposes a readable attribute 'Forward'. This is the getter.

FullScreen

Signature: [static,const] QKeySequence_StandardKey FullScreen

Description: Enum constant QKeySequence::FullScreen

Python specific notes:
The object exposes a readable attribute 'FullScreen'. This is the getter.

HelpContents

Signature: [static,const] QKeySequence_StandardKey HelpContents

Description: Enum constant QKeySequence::HelpContents

Python specific notes:
The object exposes a readable attribute 'HelpContents'. This is the getter.

InsertLineSeparator

Signature: [static,const] QKeySequence_StandardKey InsertLineSeparator

Description: Enum constant QKeySequence::InsertLineSeparator

Python specific notes:
The object exposes a readable attribute 'InsertLineSeparator'. This is the getter.

InsertParagraphSeparator

Signature: [static,const] QKeySequence_StandardKey InsertParagraphSeparator

Description: Enum constant QKeySequence::InsertParagraphSeparator

Python specific notes:
The object exposes a readable attribute 'InsertParagraphSeparator'. This is the getter.

Italic

Signature: [static,const] QKeySequence_StandardKey Italic

Description: Enum constant QKeySequence::Italic

Python specific notes:
The object exposes a readable attribute 'Italic'. This is the getter.

MoveToEndOfBlock

Signature: [static,const] QKeySequence_StandardKey MoveToEndOfBlock

Description: Enum constant QKeySequence::MoveToEndOfBlock

Python specific notes:
The object exposes a readable attribute 'MoveToEndOfBlock'. This is the getter.

MoveToEndOfDocument

Signature: [static,const] QKeySequence_StandardKey MoveToEndOfDocument

Description: Enum constant QKeySequence::MoveToEndOfDocument

Python specific notes:
The object exposes a readable attribute 'MoveToEndOfDocument'. This is the getter.

MoveToEndOfLine

Signature: [static,const] QKeySequence_StandardKey MoveToEndOfLine

Description: Enum constant QKeySequence::MoveToEndOfLine

Python specific notes:
The object exposes a readable attribute 'MoveToEndOfLine'. This is the getter.

MoveToNextChar

Signature: [static,const] QKeySequence_StandardKey MoveToNextChar

Description: Enum constant QKeySequence::MoveToNextChar

Python specific notes:
The object exposes a readable attribute 'MoveToNextChar'. This is the getter.

MoveToNextLine

Signature: [static,const] QKeySequence_StandardKey MoveToNextLine

Description: Enum constant QKeySequence::MoveToNextLine

Python specific notes:
The object exposes a readable attribute 'MoveToNextLine'. This is the getter.

MoveToNextPage

Signature: [static,const] QKeySequence_StandardKey MoveToNextPage

Description: Enum constant QKeySequence::MoveToNextPage

Python specific notes:
The object exposes a readable attribute 'MoveToNextPage'. This is the getter.

MoveToNextWord

Signature: [static,const] QKeySequence_StandardKey MoveToNextWord

Description: Enum constant QKeySequence::MoveToNextWord

Python specific notes:
The object exposes a readable attribute 'MoveToNextWord'. This is the getter.

MoveToPreviousChar

Signature: [static,const] QKeySequence_StandardKey MoveToPreviousChar

Description: Enum constant QKeySequence::MoveToPreviousChar

Python specific notes:
The object exposes a readable attribute 'MoveToPreviousChar'. This is the getter.

MoveToPreviousLine

Signature: [static,const] QKeySequence_StandardKey MoveToPreviousLine

Description: Enum constant QKeySequence::MoveToPreviousLine

Python specific notes:
The object exposes a readable attribute 'MoveToPreviousLine'. This is the getter.

MoveToPreviousPage

Signature: [static,const] QKeySequence_StandardKey MoveToPreviousPage

Description: Enum constant QKeySequence::MoveToPreviousPage

Python specific notes:
The object exposes a readable attribute 'MoveToPreviousPage'. This is the getter.

MoveToPreviousWord

Signature: [static,const] QKeySequence_StandardKey MoveToPreviousWord

Description: Enum constant QKeySequence::MoveToPreviousWord

Python specific notes:
The object exposes a readable attribute 'MoveToPreviousWord'. This is the getter.

MoveToStartOfBlock

Signature: [static,const] QKeySequence_StandardKey MoveToStartOfBlock

Description: Enum constant QKeySequence::MoveToStartOfBlock

Python specific notes:
The object exposes a readable attribute 'MoveToStartOfBlock'. This is the getter.

MoveToStartOfDocument

Signature: [static,const] QKeySequence_StandardKey MoveToStartOfDocument

Description: Enum constant QKeySequence::MoveToStartOfDocument

Python specific notes:
The object exposes a readable attribute 'MoveToStartOfDocument'. This is the getter.

MoveToStartOfLine

Signature: [static,const] QKeySequence_StandardKey MoveToStartOfLine

Description: Enum constant QKeySequence::MoveToStartOfLine

Python specific notes:
The object exposes a readable attribute 'MoveToStartOfLine'. This is the getter.

NativeText

Signature: [static,const] QKeySequence_SequenceFormat NativeText

Description: Enum constant QKeySequence::NativeText

Python specific notes:
The object exposes a readable attribute 'NativeText'. This is the getter.

New

Signature: [static,const] QKeySequence_StandardKey New

Description: Enum constant QKeySequence::New

Python specific notes:
The object exposes a readable attribute 'New'. This is the getter.

NextChild

Signature: [static,const] QKeySequence_StandardKey NextChild

Description: Enum constant QKeySequence::NextChild

Python specific notes:
The object exposes a readable attribute 'NextChild'. This is the getter.

NoMatch

Signature: [static,const] QKeySequence_SequenceMatch NoMatch

Description: Enum constant QKeySequence::NoMatch

Python specific notes:
The object exposes a readable attribute 'NoMatch'. This is the getter.

Open

Signature: [static,const] QKeySequence_StandardKey Open

Description: Enum constant QKeySequence::Open

Python specific notes:
The object exposes a readable attribute 'Open'. This is the getter.

PartialMatch

Signature: [static,const] QKeySequence_SequenceMatch PartialMatch

Description: Enum constant QKeySequence::PartialMatch

Python specific notes:
The object exposes a readable attribute 'PartialMatch'. This is the getter.

Paste

Signature: [static,const] QKeySequence_StandardKey Paste

Description: Enum constant QKeySequence::Paste

Python specific notes:
The object exposes a readable attribute 'Paste'. This is the getter.

PortableText

Signature: [static,const] QKeySequence_SequenceFormat PortableText

Description: Enum constant QKeySequence::PortableText

Python specific notes:
The object exposes a readable attribute 'PortableText'. This is the getter.

Preferences

Signature: [static,const] QKeySequence_StandardKey Preferences

Description: Enum constant QKeySequence::Preferences

Python specific notes:
The object exposes a readable attribute 'Preferences'. This is the getter.

PreviousChild

Signature: [static,const] QKeySequence_StandardKey PreviousChild

Description: Enum constant QKeySequence::PreviousChild

Python specific notes:
The object exposes a readable attribute 'PreviousChild'. This is the getter.

Print

Signature: [static,const] QKeySequence_StandardKey Print

Description: Enum constant QKeySequence::Print

Python specific notes:
The object exposes a readable attribute 'Print'. This is the getter.

Quit

Signature: [static,const] QKeySequence_StandardKey Quit

Description: Enum constant QKeySequence::Quit

Python specific notes:
The object exposes a readable attribute 'Quit'. This is the getter.

Redo

Signature: [static,const] QKeySequence_StandardKey Redo

Description: Enum constant QKeySequence::Redo

Python specific notes:
The object exposes a readable attribute 'Redo'. This is the getter.

Refresh

Signature: [static,const] QKeySequence_StandardKey Refresh

Description: Enum constant QKeySequence::Refresh

Python specific notes:
The object exposes a readable attribute 'Refresh'. This is the getter.

Replace

Signature: [static,const] QKeySequence_StandardKey Replace

Description: Enum constant QKeySequence::Replace

Python specific notes:
The object exposes a readable attribute 'Replace'. This is the getter.

Save

Signature: [static,const] QKeySequence_StandardKey Save

Description: Enum constant QKeySequence::Save

Python specific notes:
The object exposes a readable attribute 'Save'. This is the getter.

SaveAs

Signature: [static,const] QKeySequence_StandardKey SaveAs

Description: Enum constant QKeySequence::SaveAs

Python specific notes:
The object exposes a readable attribute 'SaveAs'. This is the getter.

SelectAll

Signature: [static,const] QKeySequence_StandardKey SelectAll

Description: Enum constant QKeySequence::SelectAll

Python specific notes:
The object exposes a readable attribute 'SelectAll'. This is the getter.

SelectEndOfBlock

Signature: [static,const] QKeySequence_StandardKey SelectEndOfBlock

Description: Enum constant QKeySequence::SelectEndOfBlock

Python specific notes:
The object exposes a readable attribute 'SelectEndOfBlock'. This is the getter.

SelectEndOfDocument

Signature: [static,const] QKeySequence_StandardKey SelectEndOfDocument

Description: Enum constant QKeySequence::SelectEndOfDocument

Python specific notes:
The object exposes a readable attribute 'SelectEndOfDocument'. This is the getter.

SelectEndOfLine

Signature: [static,const] QKeySequence_StandardKey SelectEndOfLine

Description: Enum constant QKeySequence::SelectEndOfLine

Python specific notes:
The object exposes a readable attribute 'SelectEndOfLine'. This is the getter.

SelectNextChar

Signature: [static,const] QKeySequence_StandardKey SelectNextChar

Description: Enum constant QKeySequence::SelectNextChar

Python specific notes:
The object exposes a readable attribute 'SelectNextChar'. This is the getter.

SelectNextLine

Signature: [static,const] QKeySequence_StandardKey SelectNextLine

Description: Enum constant QKeySequence::SelectNextLine

Python specific notes:
The object exposes a readable attribute 'SelectNextLine'. This is the getter.

SelectNextPage

Signature: [static,const] QKeySequence_StandardKey SelectNextPage

Description: Enum constant QKeySequence::SelectNextPage

Python specific notes:
The object exposes a readable attribute 'SelectNextPage'. This is the getter.

SelectNextWord

Signature: [static,const] QKeySequence_StandardKey SelectNextWord

Description: Enum constant QKeySequence::SelectNextWord

Python specific notes:
The object exposes a readable attribute 'SelectNextWord'. This is the getter.

SelectPreviousChar

Signature: [static,const] QKeySequence_StandardKey SelectPreviousChar

Description: Enum constant QKeySequence::SelectPreviousChar

Python specific notes:
The object exposes a readable attribute 'SelectPreviousChar'. This is the getter.

SelectPreviousLine

Signature: [static,const] QKeySequence_StandardKey SelectPreviousLine

Description: Enum constant QKeySequence::SelectPreviousLine

Python specific notes:
The object exposes a readable attribute 'SelectPreviousLine'. This is the getter.

SelectPreviousPage

Signature: [static,const] QKeySequence_StandardKey SelectPreviousPage

Description: Enum constant QKeySequence::SelectPreviousPage

Python specific notes:
The object exposes a readable attribute 'SelectPreviousPage'. This is the getter.

SelectPreviousWord

Signature: [static,const] QKeySequence_StandardKey SelectPreviousWord

Description: Enum constant QKeySequence::SelectPreviousWord

Python specific notes:
The object exposes a readable attribute 'SelectPreviousWord'. This is the getter.

SelectStartOfBlock

Signature: [static,const] QKeySequence_StandardKey SelectStartOfBlock

Description: Enum constant QKeySequence::SelectStartOfBlock

Python specific notes:
The object exposes a readable attribute 'SelectStartOfBlock'. This is the getter.

SelectStartOfDocument

Signature: [static,const] QKeySequence_StandardKey SelectStartOfDocument

Description: Enum constant QKeySequence::SelectStartOfDocument

Python specific notes:
The object exposes a readable attribute 'SelectStartOfDocument'. This is the getter.

SelectStartOfLine

Signature: [static,const] QKeySequence_StandardKey SelectStartOfLine

Description: Enum constant QKeySequence::SelectStartOfLine

Python specific notes:
The object exposes a readable attribute 'SelectStartOfLine'. This is the getter.

Underline

Signature: [static,const] QKeySequence_StandardKey Underline

Description: Enum constant QKeySequence::Underline

Python specific notes:
The object exposes a readable attribute 'Underline'. This is the getter.

Undo

Signature: [static,const] QKeySequence_StandardKey Undo

Description: Enum constant QKeySequence::Undo

Python specific notes:
The object exposes a readable attribute 'Undo'. This is the getter.

UnknownKey

Signature: [static,const] QKeySequence_StandardKey UnknownKey

Description: Enum constant QKeySequence::UnknownKey

Python specific notes:
The object exposes a readable attribute 'UnknownKey'. This is the getter.

WhatsThis

Signature: [static,const] QKeySequence_StandardKey WhatsThis

Description: Enum constant QKeySequence::WhatsThis

Python specific notes:
The object exposes a readable attribute 'WhatsThis'. This is the getter.

ZoomIn

Signature: [static,const] QKeySequence_StandardKey ZoomIn

Description: Enum constant QKeySequence::ZoomIn

Python specific notes:
The object exposes a readable attribute 'ZoomIn'. This is the getter.

ZoomOut

Signature: [static,const] QKeySequence_StandardKey ZoomOut

Description: Enum constant QKeySequence::ZoomOut

Python specific notes:
The object exposes a readable attribute 'ZoomOut'. This is the getter.

[]

Signature: [const] int [] (unsigned int i)

Description: Method int QKeySequence::operator[](unsigned int i)

_assign

Signature: void _assign (const QKeySequence other)

Description: Assigns another object to self

_const_cast

Signature: [const] QKeySequence ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: 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.

_destroy

Signature: 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.

_destroyed?

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

_is_const_object?

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

_manage

Signature: 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.

_unmanage

Signature: 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.

assign

Signature: QKeySequence assign (const QKeySequence other)

Description: Method QKeySequence &QKeySequence::operator=(const QKeySequence &other)

count

Signature: [const] int count

Description: Method int QKeySequence::count()

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

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.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

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.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

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.

dup

Signature: [const] new QKeySequence ptr dup

Description: Creates a copy of self

Python specific notes:
This method also implements '__copy__' and '__deepcopy__'.

fromString

Signature: [static] QKeySequence fromString (string str, const QKeySequence_SequenceFormat format = QKeySequence::PortableText)

Description: Static method QKeySequence QKeySequence::fromString(const QString &str, QKeySequence::SequenceFormat format)

This method is static and can be called without an instance.

isDetached?

Signature: [const] bool isDetached?

Description: Method bool QKeySequence::isDetached()

isEmpty?

Signature: [const] bool isEmpty?

Description: Method bool QKeySequence::isEmpty()

is_const_object?

Signature: [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

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

keyBindings

Signature: [static] QKeySequence[] keyBindings (const QKeySequence_StandardKey key)

Description: Static method QList<QKeySequence> QKeySequence::keyBindings(QKeySequence::StandardKey key)

This method is static and can be called without an instance.

listFromString

Signature: [static] QKeySequence[] listFromString (string str, const QKeySequence_SequenceFormat format = QKeySequence::PortableText)

Description: Static method QList<QKeySequence> QKeySequence::listFromString(const QString &str, QKeySequence::SequenceFormat format)

This method is static and can be called without an instance.

listToString

Signature: [static] string listToString (QKeySequence[] list, const QKeySequence_SequenceFormat format = QKeySequence::PortableText)

Description: Static method QString QKeySequence::listToString(const QList<QKeySequence> &list, QKeySequence::SequenceFormat format)

This method is static and can be called without an instance.

matches

Signature: [const] QKeySequence_SequenceMatch matches (const QKeySequence seq)

Description: Method QKeySequence::SequenceMatch QKeySequence::matches(const QKeySequence &seq)

mnemonic

Signature: [static] QKeySequence mnemonic (string text)

Description: Static method QKeySequence QKeySequence::mnemonic(const QString &text)

This method is static and can be called without an instance.

new

(1) Signature: [static] new QKeySequence new

Description: Constructor QKeySequence::QKeySequence()

This method creates an object of class QKeySequence.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QKeySequence new (string key, const QKeySequence_SequenceFormat format = QKeySequence::NativeText)

Description: Constructor QKeySequence::QKeySequence(const QString &key, QKeySequence::SequenceFormat format)

This method creates an object of class QKeySequence.

Python specific notes:
This method is the default initializer of the object.

(3) Signature: [static] new QKeySequence new (int k1, int k2 = 0, int k3 = 0, int k4 = 0)

Description: Constructor QKeySequence::QKeySequence(int k1, int k2, int k3, int k4)

This method creates an object of class QKeySequence.

Python specific notes:
This method is the default initializer of the object.

(4) Signature: [static] new QKeySequence new (const QKeySequence ks)

Description: Constructor QKeySequence::QKeySequence(const QKeySequence &ks)

This method creates an object of class QKeySequence.

Python specific notes:
This method is the default initializer of the object.

new_std

Signature: [static] new QKeySequence new_std (const QKeySequence_StandardKey key)

Description: Constructor QKeySequence::QKeySequence(QKeySequence::StandardKey key)

This method creates an object of class QKeySequence.

swap

Signature: void swap (QKeySequence other)

Description: Method void QKeySequence::swap(QKeySequence &other)

toString

Signature: [const] string toString (const QKeySequence_SequenceFormat format = QKeySequence::PortableText)

Description: Method QString QKeySequence::toString(QKeySequence::SequenceFormat format)