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 « QInputEvent »

Informations générales

Héritage

builtins.object
    Object
        QEvent
            QInputEvent

Définition

class QInputEvent(QEvent):

Description [extrait de QInputEvent.__doc__]

QInputEvent(self, type: PySide2.QtCore.QEvent.Type, modifiers: PySide2.QtCore.Qt.KeyboardModifiers = PySide2.QtCore.Qt.KeyboardModifier.NoModifier)

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
AcceptDropsChangePySide2.QtCore.QEvent.Type.AcceptDropsChange
ActionAddedPySide2.QtCore.QEvent.Type.ActionAdded
ActionChangedPySide2.QtCore.QEvent.Type.ActionChanged
ActionRemovedPySide2.QtCore.QEvent.Type.ActionRemoved
ActivateControlPySide2.QtCore.QEvent.Type.ActivateControl
ActivationChangePySide2.QtCore.QEvent.Type.ActivationChange
ApplicationActivatePySide2.QtCore.QEvent.Type.ApplicationActivate
ApplicationActivatedPySide2.QtCore.QEvent.Type.ApplicationActivated
ApplicationDeactivatePySide2.QtCore.QEvent.Type.ApplicationDeactivate
ApplicationDeactivatedPySide2.QtCore.QEvent.Type.ApplicationDeactivated
ApplicationFontChangePySide2.QtCore.QEvent.Type.ApplicationFontChange
ApplicationLayoutDirectionChangePySide2.QtCore.QEvent.Type.ApplicationLayoutDirectionChange
ApplicationPaletteChangePySide2.QtCore.QEvent.Type.ApplicationPaletteChange
ApplicationStateChangePySide2.QtCore.QEvent.Type.ApplicationStateChange
ApplicationWindowIconChangePySide2.QtCore.QEvent.Type.ApplicationWindowIconChange
ChildAddedPySide2.QtCore.QEvent.Type.ChildAdded
ChildPolishedPySide2.QtCore.QEvent.Type.ChildPolished
ChildRemovedPySide2.QtCore.QEvent.Type.ChildRemoved
ClipboardPySide2.QtCore.QEvent.Type.Clipboard
ClosePySide2.QtCore.QEvent.Type.Close
CloseSoftwareInputPanelPySide2.QtCore.QEvent.Type.CloseSoftwareInputPanel
ContentsRectChangePySide2.QtCore.QEvent.Type.ContentsRectChange
ContextMenuPySide2.QtCore.QEvent.Type.ContextMenu
CreatePySide2.QtCore.QEvent.Type.Create
CursorChangePySide2.QtCore.QEvent.Type.CursorChange
DeactivateControlPySide2.QtCore.QEvent.Type.DeactivateControl
DeferredDeletePySide2.QtCore.QEvent.Type.DeferredDelete
DestroyPySide2.QtCore.QEvent.Type.Destroy
DragEnterPySide2.QtCore.QEvent.Type.DragEnter
DragLeavePySide2.QtCore.QEvent.Type.DragLeave
DragMovePySide2.QtCore.QEvent.Type.DragMove
DragResponsePySide2.QtCore.QEvent.Type.DragResponse
DropPySide2.QtCore.QEvent.Type.Drop
DynamicPropertyChangePySide2.QtCore.QEvent.Type.DynamicPropertyChange
EmbeddingControlPySide2.QtCore.QEvent.Type.EmbeddingControl
EnabledChangePySide2.QtCore.QEvent.Type.EnabledChange
EnterPySide2.QtCore.QEvent.Type.Enter
EnterWhatsThisModePySide2.QtCore.QEvent.Type.EnterWhatsThisMode
ExposePySide2.QtCore.QEvent.Type.Expose
FileOpenPySide2.QtCore.QEvent.Type.FileOpen
FocusAboutToChangePySide2.QtCore.QEvent.Type.FocusAboutToChange
FocusInPySide2.QtCore.QEvent.Type.FocusIn
FocusOutPySide2.QtCore.QEvent.Type.FocusOut
FontChangePySide2.QtCore.QEvent.Type.FontChange
FutureCallOutPySide2.QtCore.QEvent.Type.FutureCallOut
GesturePySide2.QtCore.QEvent.Type.Gesture
GestureOverridePySide2.QtCore.QEvent.Type.GestureOverride
GrabKeyboardPySide2.QtCore.QEvent.Type.GrabKeyboard
GrabMousePySide2.QtCore.QEvent.Type.GrabMouse
GraphicsSceneContextMenuPySide2.QtCore.QEvent.Type.GraphicsSceneContextMenu
GraphicsSceneDragEnterPySide2.QtCore.QEvent.Type.GraphicsSceneDragEnter
GraphicsSceneDragLeavePySide2.QtCore.QEvent.Type.GraphicsSceneDragLeave
GraphicsSceneDragMovePySide2.QtCore.QEvent.Type.GraphicsSceneDragMove
GraphicsSceneDropPySide2.QtCore.QEvent.Type.GraphicsSceneDrop
GraphicsSceneHelpPySide2.QtCore.QEvent.Type.GraphicsSceneHelp
GraphicsSceneHoverEnterPySide2.QtCore.QEvent.Type.GraphicsSceneHoverEnter
GraphicsSceneHoverLeavePySide2.QtCore.QEvent.Type.GraphicsSceneHoverLeave
GraphicsSceneHoverMovePySide2.QtCore.QEvent.Type.GraphicsSceneHoverMove
GraphicsSceneMouseDoubleClickPySide2.QtCore.QEvent.Type.GraphicsSceneMouseDoubleClick
GraphicsSceneMouseMovePySide2.QtCore.QEvent.Type.GraphicsSceneMouseMove
GraphicsSceneMousePressPySide2.QtCore.QEvent.Type.GraphicsSceneMousePress
GraphicsSceneMouseReleasePySide2.QtCore.QEvent.Type.GraphicsSceneMouseRelease
GraphicsSceneMovePySide2.QtCore.QEvent.Type.GraphicsSceneMove
GraphicsSceneResizePySide2.QtCore.QEvent.Type.GraphicsSceneResize
GraphicsSceneWheelPySide2.QtCore.QEvent.Type.GraphicsSceneWheel
HelpRequestPySide2.QtCore.QEvent.Type.HelpRequest
HidePySide2.QtCore.QEvent.Type.Hide
HideToParentPySide2.QtCore.QEvent.Type.HideToParent
HoverEnterPySide2.QtCore.QEvent.Type.HoverEnter
HoverLeavePySide2.QtCore.QEvent.Type.HoverLeave
HoverMovePySide2.QtCore.QEvent.Type.HoverMove
IconDragPySide2.QtCore.QEvent.Type.IconDrag
IconTextChangePySide2.QtCore.QEvent.Type.IconTextChange
InputMethodPySide2.QtCore.QEvent.Type.InputMethod
InputMethodQueryPySide2.QtCore.QEvent.Type.InputMethodQuery
KeyboardLayoutChangePySide2.QtCore.QEvent.Type.KeyboardLayoutChange
KeyPressPySide2.QtCore.QEvent.Type.KeyPress
KeyReleasePySide2.QtCore.QEvent.Type.KeyRelease
LanguageChangePySide2.QtCore.QEvent.Type.LanguageChange
LayoutDirectionChangePySide2.QtCore.QEvent.Type.LayoutDirectionChange
LayoutRequestPySide2.QtCore.QEvent.Type.LayoutRequest
LeavePySide2.QtCore.QEvent.Type.Leave
LeaveWhatsThisModePySide2.QtCore.QEvent.Type.LeaveWhatsThisMode
LocaleChangePySide2.QtCore.QEvent.Type.LocaleChange
MacGLClearDrawablePySide2.QtCore.QEvent.Type.MacGLClearDrawable
MacGLWindowChangePySide2.QtCore.QEvent.Type.MacGLWindowChange
MacSizeChangePySide2.QtCore.QEvent.Type.MacSizeChange
MaxUserPySide2.QtCore.QEvent.Type.MaxUser
MetaCallPySide2.QtCore.QEvent.Type.MetaCall
ModifiedChangePySide2.QtCore.QEvent.Type.ModifiedChange
MouseButtonDblClickPySide2.QtCore.QEvent.Type.MouseButtonDblClick
MouseButtonPressPySide2.QtCore.QEvent.Type.MouseButtonPress
MouseButtonReleasePySide2.QtCore.QEvent.Type.MouseButtonRelease
MouseMovePySide2.QtCore.QEvent.Type.MouseMove
MouseTrackingChangePySide2.QtCore.QEvent.Type.MouseTrackingChange
MovePySide2.QtCore.QEvent.Type.Move
NativeGesturePySide2.QtCore.QEvent.Type.NativeGesture
NetworkReplyUpdatedPySide2.QtCore.QEvent.Type.NetworkReplyUpdated
NonClientAreaMouseButtonDblClickPySide2.QtCore.QEvent.Type.NonClientAreaMouseButtonDblClick
NonClientAreaMouseButtonPressPySide2.QtCore.QEvent.Type.NonClientAreaMouseButtonPress
NonClientAreaMouseButtonReleasePySide2.QtCore.QEvent.Type.NonClientAreaMouseButtonRelease
NonClientAreaMouseMovePySide2.QtCore.QEvent.Type.NonClientAreaMouseMove
None_PySide2.QtCore.QEvent.Type.None_
OkRequestPySide2.QtCore.QEvent.Type.OkRequest
OrientationChangePySide2.QtCore.QEvent.Type.OrientationChange
PaintPySide2.QtCore.QEvent.Type.Paint
PaletteChangePySide2.QtCore.QEvent.Type.PaletteChange
ParentAboutToChangePySide2.QtCore.QEvent.Type.ParentAboutToChange
ParentChangePySide2.QtCore.QEvent.Type.ParentChange
PlatformPanelPySide2.QtCore.QEvent.Type.PlatformPanel
PlatformSurfacePySide2.QtCore.QEvent.Type.PlatformSurface
PointerPySide2.QtCore.QEvent.Type.Pointer
PolishPySide2.QtCore.QEvent.Type.Polish
PolishRequestPySide2.QtCore.QEvent.Type.PolishRequest
QueryWhatsThisPySide2.QtCore.QEvent.Type.QueryWhatsThis
QuitPySide2.QtCore.QEvent.Type.Quit
ReadOnlyChangePySide2.QtCore.QEvent.Type.ReadOnlyChange
RequestSoftwareInputPanelPySide2.QtCore.QEvent.Type.RequestSoftwareInputPanel
ResizePySide2.QtCore.QEvent.Type.Resize
ScreenChangeInternalPySide2.QtCore.QEvent.Type.ScreenChangeInternal
ScrollPySide2.QtCore.QEvent.Type.Scroll
ScrollPreparePySide2.QtCore.QEvent.Type.ScrollPrepare
ShortcutPySide2.QtCore.QEvent.Type.Shortcut
ShortcutOverridePySide2.QtCore.QEvent.Type.ShortcutOverride
ShowPySide2.QtCore.QEvent.Type.Show
ShowToParentPySide2.QtCore.QEvent.Type.ShowToParent
ShowWindowRequestPySide2.QtCore.QEvent.Type.ShowWindowRequest
SockActPySide2.QtCore.QEvent.Type.SockAct
SockClosePySide2.QtCore.QEvent.Type.SockClose
SpeechPySide2.QtCore.QEvent.Type.Speech
StateMachineSignalPySide2.QtCore.QEvent.Type.StateMachineSignal
StateMachineWrappedPySide2.QtCore.QEvent.Type.StateMachineWrapped
StatusTipPySide2.QtCore.QEvent.Type.StatusTip
StylePySide2.QtCore.QEvent.Type.Style
StyleAnimationUpdatePySide2.QtCore.QEvent.Type.StyleAnimationUpdate
StyleChangePySide2.QtCore.QEvent.Type.StyleChange
TabletEnterProximityPySide2.QtCore.QEvent.Type.TabletEnterProximity
TabletLeaveProximityPySide2.QtCore.QEvent.Type.TabletLeaveProximity
TabletMovePySide2.QtCore.QEvent.Type.TabletMove
TabletPressPySide2.QtCore.QEvent.Type.TabletPress
TabletReleasePySide2.QtCore.QEvent.Type.TabletRelease
TabletTrackingChangePySide2.QtCore.QEvent.Type.TabletTrackingChange
ThemeChangePySide2.QtCore.QEvent.Type.ThemeChange
ThreadChangePySide2.QtCore.QEvent.Type.ThreadChange
TimerPySide2.QtCore.QEvent.Type.Timer
ToolBarChangePySide2.QtCore.QEvent.Type.ToolBarChange
ToolTipPySide2.QtCore.QEvent.Type.ToolTip
ToolTipChangePySide2.QtCore.QEvent.Type.ToolTipChange
TouchBeginPySide2.QtCore.QEvent.Type.TouchBegin
TouchCancelPySide2.QtCore.QEvent.Type.TouchCancel
TouchEndPySide2.QtCore.QEvent.Type.TouchEnd
TouchUpdatePySide2.QtCore.QEvent.Type.TouchUpdate
ts<attribute 'ts' of 'PySide2.QtGui.QInputEvent' objects>
UngrabKeyboardPySide2.QtCore.QEvent.Type.UngrabKeyboard
UngrabMousePySide2.QtCore.QEvent.Type.UngrabMouse
UpdateLaterPySide2.QtCore.QEvent.Type.UpdateLater
UpdateRequestPySide2.QtCore.QEvent.Type.UpdateRequest
UserPySide2.QtCore.QEvent.Type.User
WhatsThisPySide2.QtCore.QEvent.Type.WhatsThis
WhatsThisClickedPySide2.QtCore.QEvent.Type.WhatsThisClicked
WheelPySide2.QtCore.QEvent.Type.Wheel
WindowActivatePySide2.QtCore.QEvent.Type.WindowActivate
WindowBlockedPySide2.QtCore.QEvent.Type.WindowBlocked
WindowChangeInternalPySide2.QtCore.QEvent.Type.WindowChangeInternal
WindowDeactivatePySide2.QtCore.QEvent.Type.WindowDeactivate
WindowIconChangePySide2.QtCore.QEvent.Type.WindowIconChange
WindowStateChangePySide2.QtCore.QEvent.Type.WindowStateChange
WindowTitleChangePySide2.QtCore.QEvent.Type.WindowTitleChange
WindowUnblockedPySide2.QtCore.QEvent.Type.WindowUnblocked
WinEventActPySide2.QtCore.QEvent.Type.WinEventAct
WinIdChangePySide2.QtCore.QEvent.Type.WinIdChange
ZeroTimerEventPySide2.QtCore.QEvent.Type.ZeroTimerEvent
ZOrderChangePySide2.QtCore.QEvent.Type.ZOrderChange

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
modifiers(self) -> PySide2.QtCore.Qt.KeyboardModifiers modifiers(self) -> PySide2.QtCore.Qt.KeyboardModifiers [extrait de modifiers.__doc__]
setModifiers(self, amodifiers: PySide2.QtCore.Qt.KeyboardModifiers) setModifiers(self, amodifiers: PySide2.QtCore.Qt.KeyboardModifiers) [extrait de setModifiers.__doc__]
setTimestamp(self, atimestamp: int) setTimestamp(self, atimestamp: int) [extrait de setTimestamp.__doc__]
timestamp(self) -> int timestamp(self) -> int [extrait de timestamp.__doc__]

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

__init_subclass__, __subclasshook__, accept, ignore, isAccepted, registerEventType, setAccepted, spontaneous, Type, type

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

__init_subclass__, __subclasshook__

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

__dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__