Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtGui »

Classe « QKeySequence »

Informations générales

Héritage

builtins.object
    Object
        QKeySequence

Définition

class QKeySequence(Object):

Description [extrait de QKeySequence.__doc__]

QKeySequence(self)
QKeySequence(self, k1: int, k2: int = 0, k3: int = 0, k4: int = 0)
QKeySequence(self, key: PySide2.QtGui.QKeySequence.StandardKey)
QKeySequence(self, key: str, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.NativeText)
QKeySequence(self, ks: PySide2.QtGui.QKeySequence)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AddTabPySide2.QtGui.QKeySequence.StandardKey.AddTab
BackPySide2.QtGui.QKeySequence.StandardKey.Back
BackspacePySide2.QtGui.QKeySequence.StandardKey.Backspace
BoldPySide2.QtGui.QKeySequence.StandardKey.Bold
CancelPySide2.QtGui.QKeySequence.StandardKey.Cancel
ClosePySide2.QtGui.QKeySequence.StandardKey.Close
CopyPySide2.QtGui.QKeySequence.StandardKey.Copy
CutPySide2.QtGui.QKeySequence.StandardKey.Cut
DeletePySide2.QtGui.QKeySequence.StandardKey.Delete
DeleteCompleteLinePySide2.QtGui.QKeySequence.StandardKey.DeleteCompleteLine
DeleteEndOfLinePySide2.QtGui.QKeySequence.StandardKey.DeleteEndOfLine
DeleteEndOfWordPySide2.QtGui.QKeySequence.StandardKey.DeleteEndOfWord
DeleteStartOfWordPySide2.QtGui.QKeySequence.StandardKey.DeleteStartOfWord
DeselectPySide2.QtGui.QKeySequence.StandardKey.Deselect
ExactMatchPySide2.QtGui.QKeySequence.SequenceMatch.ExactMatch
FindPySide2.QtGui.QKeySequence.StandardKey.Find
FindNextPySide2.QtGui.QKeySequence.StandardKey.FindNext
FindPreviousPySide2.QtGui.QKeySequence.StandardKey.FindPrevious
ForwardPySide2.QtGui.QKeySequence.StandardKey.Forward
FullScreenPySide2.QtGui.QKeySequence.StandardKey.FullScreen
HelpContentsPySide2.QtGui.QKeySequence.StandardKey.HelpContents
InsertLineSeparatorPySide2.QtGui.QKeySequence.StandardKey.InsertLineSeparator
InsertParagraphSeparatorPySide2.QtGui.QKeySequence.StandardKey.InsertParagraphSeparator
ItalicPySide2.QtGui.QKeySequence.StandardKey.Italic
MoveToEndOfBlockPySide2.QtGui.QKeySequence.StandardKey.MoveToEndOfBlock
MoveToEndOfDocumentPySide2.QtGui.QKeySequence.StandardKey.MoveToEndOfDocument
MoveToEndOfLinePySide2.QtGui.QKeySequence.StandardKey.MoveToEndOfLine
MoveToNextCharPySide2.QtGui.QKeySequence.StandardKey.MoveToNextChar
MoveToNextLinePySide2.QtGui.QKeySequence.StandardKey.MoveToNextLine
MoveToNextPagePySide2.QtGui.QKeySequence.StandardKey.MoveToNextPage
MoveToNextWordPySide2.QtGui.QKeySequence.StandardKey.MoveToNextWord
MoveToPreviousCharPySide2.QtGui.QKeySequence.StandardKey.MoveToPreviousChar
MoveToPreviousLinePySide2.QtGui.QKeySequence.StandardKey.MoveToPreviousLine
MoveToPreviousPagePySide2.QtGui.QKeySequence.StandardKey.MoveToPreviousPage
MoveToPreviousWordPySide2.QtGui.QKeySequence.StandardKey.MoveToPreviousWord
MoveToStartOfBlockPySide2.QtGui.QKeySequence.StandardKey.MoveToStartOfBlock
MoveToStartOfDocumentPySide2.QtGui.QKeySequence.StandardKey.MoveToStartOfDocument
MoveToStartOfLinePySide2.QtGui.QKeySequence.StandardKey.MoveToStartOfLine
NativeTextPySide2.QtGui.QKeySequence.SequenceFormat.NativeText
NewPySide2.QtGui.QKeySequence.StandardKey.New
NextChildPySide2.QtGui.QKeySequence.StandardKey.NextChild
NoMatchPySide2.QtGui.QKeySequence.SequenceMatch.NoMatch
OpenPySide2.QtGui.QKeySequence.StandardKey.Open
PartialMatchPySide2.QtGui.QKeySequence.SequenceMatch.PartialMatch
PastePySide2.QtGui.QKeySequence.StandardKey.Paste
PortableTextPySide2.QtGui.QKeySequence.SequenceFormat.PortableText
PreferencesPySide2.QtGui.QKeySequence.StandardKey.Preferences
PreviousChildPySide2.QtGui.QKeySequence.StandardKey.PreviousChild
PrintPySide2.QtGui.QKeySequence.StandardKey.Print
QuitPySide2.QtGui.QKeySequence.StandardKey.Quit
RedoPySide2.QtGui.QKeySequence.StandardKey.Redo
RefreshPySide2.QtGui.QKeySequence.StandardKey.Refresh
ReplacePySide2.QtGui.QKeySequence.StandardKey.Replace
SavePySide2.QtGui.QKeySequence.StandardKey.Save
SaveAsPySide2.QtGui.QKeySequence.StandardKey.SaveAs
SelectAllPySide2.QtGui.QKeySequence.StandardKey.SelectAll
SelectEndOfBlockPySide2.QtGui.QKeySequence.StandardKey.SelectEndOfBlock
SelectEndOfDocumentPySide2.QtGui.QKeySequence.StandardKey.SelectEndOfDocument
SelectEndOfLinePySide2.QtGui.QKeySequence.StandardKey.SelectEndOfLine
SelectNextCharPySide2.QtGui.QKeySequence.StandardKey.SelectNextChar
SelectNextLinePySide2.QtGui.QKeySequence.StandardKey.SelectNextLine
SelectNextPagePySide2.QtGui.QKeySequence.StandardKey.SelectNextPage
SelectNextWordPySide2.QtGui.QKeySequence.StandardKey.SelectNextWord
SelectPreviousCharPySide2.QtGui.QKeySequence.StandardKey.SelectPreviousChar
SelectPreviousLinePySide2.QtGui.QKeySequence.StandardKey.SelectPreviousLine
SelectPreviousPagePySide2.QtGui.QKeySequence.StandardKey.SelectPreviousPage
SelectPreviousWordPySide2.QtGui.QKeySequence.StandardKey.SelectPreviousWord
SelectStartOfBlockPySide2.QtGui.QKeySequence.StandardKey.SelectStartOfBlock
SelectStartOfDocumentPySide2.QtGui.QKeySequence.StandardKey.SelectStartOfDocument
SelectStartOfLinePySide2.QtGui.QKeySequence.StandardKey.SelectStartOfLine
UnderlinePySide2.QtGui.QKeySequence.StandardKey.Underline
UndoPySide2.QtGui.QKeySequence.StandardKey.Undo
UnknownKeyPySide2.QtGui.QKeySequence.StandardKey.UnknownKey
WhatsThisPySide2.QtGui.QKeySequence.StandardKey.WhatsThis
ZoomInPySide2.QtGui.QKeySequence.StandardKey.ZoomIn
ZoomOutPySide2.QtGui.QKeySequence.StandardKey.ZoomOut

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__getitem__(self, key) Return self[key]. [extrait de __getitem__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__(self, in_: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __lshift__(self, in_: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, out: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __rshift__(self, out: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __rshift__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
__reduce__(self) -> object __reduce__(self) -> object [extrait de __reduce__.__doc__]
__repr__(self) -> object __repr__(self) -> object [extrait de __repr__.__doc__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
fromString(str: str, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> PySide2.QtGui.QKeySequence fromString(str: str, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> PySide2.QtGui.QKeySequence [extrait de fromString.__doc__]
isEmpty(self) -> bool isEmpty(self) -> bool [extrait de isEmpty.__doc__]
keyBindings(key: PySide2.QtGui.QKeySequence.StandardKey) -> typing.List[PySide2.QtGui.QKeySequence] keyBindings(key: PySide2.QtGui.QKeySequence.StandardKey) -> typing.List[PySide2.QtGui.QKeySequence] [extrait de keyBindings.__doc__]
listFromString(str: str, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> typing.List[PySide2.QtGui.QKeySequence] listFromString(str: str, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> typing.List[PySide2.QtGui.QKeySequence] [extrait de listFromString.__doc__]
listToString(list: typing.Sequence[PySide2.QtGui.QKeySequence], format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> str listToString(list: typing.Sequence[PySide2.QtGui.QKeySequence], format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> str [extrait de listToString.__doc__]
matches(self, seq: PySide2.QtGui.QKeySequence) -> PySide2.QtGui.QKeySequence.SequenceMatch matches(self, seq: PySide2.QtGui.QKeySequence) -> PySide2.QtGui.QKeySequence.SequenceMatch [extrait de matches.__doc__]
mnemonic(text: str) -> PySide2.QtGui.QKeySequence mnemonic(text: str) -> PySide2.QtGui.QKeySequence [extrait de mnemonic.__doc__]
SequenceFormat
SequenceMatch
StandardKey
swap(self, other: PySide2.QtGui.QKeySequence) swap(self, other: PySide2.QtGui.QKeySequence) [extrait de swap.__doc__]
toString(self, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> str toString(self, format: PySide2.QtGui.QKeySequence.SequenceFormat = PySide2.QtGui.QKeySequence.SequenceFormat.PortableText) -> str [extrait de toString.__doc__]

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __str__