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 « PySide6.QtGui »

Classe « QTouchEvent »

Informations générales

Héritage

builtins.object
    Object
        QEvent
            QInputEvent
                QPointerEvent
                    QTouchEvent

Définition

class QTouchEvent(QPointerEvent):

Description [extrait de QTouchEvent.__doc__]

QTouchEvent(self, arg__1: PySide6.QtGui.QTouchEvent) -> None
QTouchEvent(self, eventType: PySide6.QtCore.QEvent.Type, device: Optional[PySide6.QtGui.QPointingDevice] = None, modifiers: PySide6.QtCore.Qt.KeyboardModifiers = PySide6.QtCore.Qt.KeyboardModifier.NoModifier, touchPoints: Sequence[PySide6.QtGui.QEventPoint] = {}) -> None

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__]

Liste des attributs statiques

Nom de l'attribut Valeur
AcceptDropsChangePySide6.QtCore.QEvent.Type.AcceptDropsChange
ActionAddedPySide6.QtCore.QEvent.Type.ActionAdded
ActionChangedPySide6.QtCore.QEvent.Type.ActionChanged
ActionRemovedPySide6.QtCore.QEvent.Type.ActionRemoved
ActivateControlPySide6.QtCore.QEvent.Type.ActivateControl
ActivationChangePySide6.QtCore.QEvent.Type.ActivationChange
ApplicationActivatePySide6.QtCore.QEvent.Type.ApplicationActivate
ApplicationActivatedPySide6.QtCore.QEvent.Type.ApplicationActivated
ApplicationDeactivatePySide6.QtCore.QEvent.Type.ApplicationDeactivate
ApplicationDeactivatedPySide6.QtCore.QEvent.Type.ApplicationDeactivated
ApplicationFontChangePySide6.QtCore.QEvent.Type.ApplicationFontChange
ApplicationLayoutDirectionChangePySide6.QtCore.QEvent.Type.ApplicationLayoutDirectionChange
ApplicationPaletteChangePySide6.QtCore.QEvent.Type.ApplicationPaletteChange
ApplicationStateChangePySide6.QtCore.QEvent.Type.ApplicationStateChange
ApplicationWindowIconChangePySide6.QtCore.QEvent.Type.ApplicationWindowIconChange
ChildAddedPySide6.QtCore.QEvent.Type.ChildAdded
ChildPolishedPySide6.QtCore.QEvent.Type.ChildPolished
ChildRemovedPySide6.QtCore.QEvent.Type.ChildRemoved
ClipboardPySide6.QtCore.QEvent.Type.Clipboard
ClosePySide6.QtCore.QEvent.Type.Close
CloseSoftwareInputPanelPySide6.QtCore.QEvent.Type.CloseSoftwareInputPanel
ContentsRectChangePySide6.QtCore.QEvent.Type.ContentsRectChange
ContextMenuPySide6.QtCore.QEvent.Type.ContextMenu
CreatePySide6.QtCore.QEvent.Type.Create
CursorChangePySide6.QtCore.QEvent.Type.CursorChange
DeactivateControlPySide6.QtCore.QEvent.Type.DeactivateControl
DeferredDeletePySide6.QtCore.QEvent.Type.DeferredDelete
DestroyPySide6.QtCore.QEvent.Type.Destroy
DragEnterPySide6.QtCore.QEvent.Type.DragEnter
DragLeavePySide6.QtCore.QEvent.Type.DragLeave
DragMovePySide6.QtCore.QEvent.Type.DragMove
DragResponsePySide6.QtCore.QEvent.Type.DragResponse
DropPySide6.QtCore.QEvent.Type.Drop
DynamicPropertyChangePySide6.QtCore.QEvent.Type.DynamicPropertyChange
EmbeddingControlPySide6.QtCore.QEvent.Type.EmbeddingControl
EnabledChangePySide6.QtCore.QEvent.Type.EnabledChange
EnterPySide6.QtCore.QEvent.Type.Enter
EnterWhatsThisModePySide6.QtCore.QEvent.Type.EnterWhatsThisMode
ExposePySide6.QtCore.QEvent.Type.Expose
FileOpenPySide6.QtCore.QEvent.Type.FileOpen
FocusAboutToChangePySide6.QtCore.QEvent.Type.FocusAboutToChange
FocusInPySide6.QtCore.QEvent.Type.FocusIn
FocusOutPySide6.QtCore.QEvent.Type.FocusOut
FontChangePySide6.QtCore.QEvent.Type.FontChange
FutureCallOutPySide6.QtCore.QEvent.Type.FutureCallOut
GesturePySide6.QtCore.QEvent.Type.Gesture
GestureOverridePySide6.QtCore.QEvent.Type.GestureOverride
GrabKeyboardPySide6.QtCore.QEvent.Type.GrabKeyboard
GrabMousePySide6.QtCore.QEvent.Type.GrabMouse
GraphicsSceneContextMenuPySide6.QtCore.QEvent.Type.GraphicsSceneContextMenu
GraphicsSceneDragEnterPySide6.QtCore.QEvent.Type.GraphicsSceneDragEnter
GraphicsSceneDragLeavePySide6.QtCore.QEvent.Type.GraphicsSceneDragLeave
GraphicsSceneDragMovePySide6.QtCore.QEvent.Type.GraphicsSceneDragMove
GraphicsSceneDropPySide6.QtCore.QEvent.Type.GraphicsSceneDrop
GraphicsSceneHelpPySide6.QtCore.QEvent.Type.GraphicsSceneHelp
GraphicsSceneHoverEnterPySide6.QtCore.QEvent.Type.GraphicsSceneHoverEnter
GraphicsSceneHoverLeavePySide6.QtCore.QEvent.Type.GraphicsSceneHoverLeave
GraphicsSceneHoverMovePySide6.QtCore.QEvent.Type.GraphicsSceneHoverMove
GraphicsSceneLeavePySide6.QtCore.QEvent.Type.GraphicsSceneLeave
GraphicsSceneMouseDoubleClickPySide6.QtCore.QEvent.Type.GraphicsSceneMouseDoubleClick
GraphicsSceneMouseMovePySide6.QtCore.QEvent.Type.GraphicsSceneMouseMove
GraphicsSceneMousePressPySide6.QtCore.QEvent.Type.GraphicsSceneMousePress
GraphicsSceneMouseReleasePySide6.QtCore.QEvent.Type.GraphicsSceneMouseRelease
GraphicsSceneMovePySide6.QtCore.QEvent.Type.GraphicsSceneMove
GraphicsSceneResizePySide6.QtCore.QEvent.Type.GraphicsSceneResize
GraphicsSceneWheelPySide6.QtCore.QEvent.Type.GraphicsSceneWheel
HelpRequestPySide6.QtCore.QEvent.Type.HelpRequest
HidePySide6.QtCore.QEvent.Type.Hide
HideToParentPySide6.QtCore.QEvent.Type.HideToParent
HoverEnterPySide6.QtCore.QEvent.Type.HoverEnter
HoverLeavePySide6.QtCore.QEvent.Type.HoverLeave
HoverMovePySide6.QtCore.QEvent.Type.HoverMove
IconDragPySide6.QtCore.QEvent.Type.IconDrag
IconTextChangePySide6.QtCore.QEvent.Type.IconTextChange
InputMethodPySide6.QtCore.QEvent.Type.InputMethod
InputMethodQueryPySide6.QtCore.QEvent.Type.InputMethodQuery
KeyboardLayoutChangePySide6.QtCore.QEvent.Type.KeyboardLayoutChange
KeyPressPySide6.QtCore.QEvent.Type.KeyPress
KeyReleasePySide6.QtCore.QEvent.Type.KeyRelease
LanguageChangePySide6.QtCore.QEvent.Type.LanguageChange
LayoutDirectionChangePySide6.QtCore.QEvent.Type.LayoutDirectionChange
LayoutRequestPySide6.QtCore.QEvent.Type.LayoutRequest
LeavePySide6.QtCore.QEvent.Type.Leave
LeaveWhatsThisModePySide6.QtCore.QEvent.Type.LeaveWhatsThisMode
LocaleChangePySide6.QtCore.QEvent.Type.LocaleChange
MacGLWindowChangePySide6.QtCore.QEvent.Type.MacGLWindowChange
MacSizeChangePySide6.QtCore.QEvent.Type.MacSizeChange
MaxUserPySide6.QtCore.QEvent.Type.MaxUser
MetaCallPySide6.QtCore.QEvent.Type.MetaCall
ModifiedChangePySide6.QtCore.QEvent.Type.ModifiedChange
MouseButtonDblClickPySide6.QtCore.QEvent.Type.MouseButtonDblClick
MouseButtonPressPySide6.QtCore.QEvent.Type.MouseButtonPress
MouseButtonReleasePySide6.QtCore.QEvent.Type.MouseButtonRelease
MouseMovePySide6.QtCore.QEvent.Type.MouseMove
MouseTrackingChangePySide6.QtCore.QEvent.Type.MouseTrackingChange
MovePySide6.QtCore.QEvent.Type.Move
NativeGesturePySide6.QtCore.QEvent.Type.NativeGesture
NetworkReplyUpdatedPySide6.QtCore.QEvent.Type.NetworkReplyUpdated
NonClientAreaMouseButtonDblClickPySide6.QtCore.QEvent.Type.NonClientAreaMouseButtonDblClick
NonClientAreaMouseButtonPressPySide6.QtCore.QEvent.Type.NonClientAreaMouseButtonPress
NonClientAreaMouseButtonReleasePySide6.QtCore.QEvent.Type.NonClientAreaMouseButtonRelease
NonClientAreaMouseMovePySide6.QtCore.QEvent.Type.NonClientAreaMouseMove
None_PySide6.QtCore.QEvent.Type.None_
OkRequestPySide6.QtCore.QEvent.Type.OkRequest
OrientationChangePySide6.QtCore.QEvent.Type.OrientationChange
PaintPySide6.QtCore.QEvent.Type.Paint
PaletteChangePySide6.QtCore.QEvent.Type.PaletteChange
ParentAboutToChangePySide6.QtCore.QEvent.Type.ParentAboutToChange
ParentChangePySide6.QtCore.QEvent.Type.ParentChange
PlatformPanelPySide6.QtCore.QEvent.Type.PlatformPanel
PlatformSurfacePySide6.QtCore.QEvent.Type.PlatformSurface
PointerPySide6.QtCore.QEvent.Type.Pointer
PolishPySide6.QtCore.QEvent.Type.Polish
PolishRequestPySide6.QtCore.QEvent.Type.PolishRequest
QueryWhatsThisPySide6.QtCore.QEvent.Type.QueryWhatsThis
QuitPySide6.QtCore.QEvent.Type.Quit
ReadOnlyChangePySide6.QtCore.QEvent.Type.ReadOnlyChange
RequestSoftwareInputPanelPySide6.QtCore.QEvent.Type.RequestSoftwareInputPanel
ResizePySide6.QtCore.QEvent.Type.Resize
ScreenChangeInternalPySide6.QtCore.QEvent.Type.ScreenChangeInternal
ScrollPySide6.QtCore.QEvent.Type.Scroll
ScrollPreparePySide6.QtCore.QEvent.Type.ScrollPrepare
ShortcutPySide6.QtCore.QEvent.Type.Shortcut
ShortcutOverridePySide6.QtCore.QEvent.Type.ShortcutOverride
ShowPySide6.QtCore.QEvent.Type.Show
ShowToParentPySide6.QtCore.QEvent.Type.ShowToParent
ShowWindowRequestPySide6.QtCore.QEvent.Type.ShowWindowRequest
SockActPySide6.QtCore.QEvent.Type.SockAct
SockClosePySide6.QtCore.QEvent.Type.SockClose
SpeechPySide6.QtCore.QEvent.Type.Speech
StateMachineSignalPySide6.QtCore.QEvent.Type.StateMachineSignal
StateMachineWrappedPySide6.QtCore.QEvent.Type.StateMachineWrapped
StatusTipPySide6.QtCore.QEvent.Type.StatusTip
StylePySide6.QtCore.QEvent.Type.Style
StyleAnimationUpdatePySide6.QtCore.QEvent.Type.StyleAnimationUpdate
StyleChangePySide6.QtCore.QEvent.Type.StyleChange
TabletEnterProximityPySide6.QtCore.QEvent.Type.TabletEnterProximity
TabletLeaveProximityPySide6.QtCore.QEvent.Type.TabletLeaveProximity
TabletMovePySide6.QtCore.QEvent.Type.TabletMove
TabletPressPySide6.QtCore.QEvent.Type.TabletPress
TabletReleasePySide6.QtCore.QEvent.Type.TabletRelease
TabletTrackingChangePySide6.QtCore.QEvent.Type.TabletTrackingChange
ThemeChangePySide6.QtCore.QEvent.Type.ThemeChange
ThreadChangePySide6.QtCore.QEvent.Type.ThreadChange
TimerPySide6.QtCore.QEvent.Type.Timer
ToolBarChangePySide6.QtCore.QEvent.Type.ToolBarChange
ToolTipPySide6.QtCore.QEvent.Type.ToolTip
ToolTipChangePySide6.QtCore.QEvent.Type.ToolTipChange
TouchBeginPySide6.QtCore.QEvent.Type.TouchBegin
TouchCancelPySide6.QtCore.QEvent.Type.TouchCancel
TouchEndPySide6.QtCore.QEvent.Type.TouchEnd
TouchUpdatePySide6.QtCore.QEvent.Type.TouchUpdate
UngrabKeyboardPySide6.QtCore.QEvent.Type.UngrabKeyboard
UngrabMousePySide6.QtCore.QEvent.Type.UngrabMouse
UpdateLaterPySide6.QtCore.QEvent.Type.UpdateLater
UpdateRequestPySide6.QtCore.QEvent.Type.UpdateRequest
UserPySide6.QtCore.QEvent.Type.User
WhatsThisPySide6.QtCore.QEvent.Type.WhatsThis
WhatsThisClickedPySide6.QtCore.QEvent.Type.WhatsThisClicked
WheelPySide6.QtCore.QEvent.Type.Wheel
WindowActivatePySide6.QtCore.QEvent.Type.WindowActivate
WindowBlockedPySide6.QtCore.QEvent.Type.WindowBlocked
WindowChangeInternalPySide6.QtCore.QEvent.Type.WindowChangeInternal
WindowDeactivatePySide6.QtCore.QEvent.Type.WindowDeactivate
WindowIconChangePySide6.QtCore.QEvent.Type.WindowIconChange
WindowStateChangePySide6.QtCore.QEvent.Type.WindowStateChange
WindowTitleChangePySide6.QtCore.QEvent.Type.WindowTitleChange
WindowUnblockedPySide6.QtCore.QEvent.Type.WindowUnblocked
WinEventActPySide6.QtCore.QEvent.Type.WinEventAct
WinIdChangePySide6.QtCore.QEvent.Type.WinIdChange
ZeroTimerEventPySide6.QtCore.QEvent.Type.ZeroTimerEvent
ZOrderChangePySide6.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__]
clone(self) -> PySide6.QtGui.QTouchEvent clone(self) -> PySide6.QtGui.QTouchEvent [extrait de clone.__doc__]
isBeginEvent(self) -> bool isBeginEvent(self) -> bool [extrait de isBeginEvent.__doc__]
isEndEvent(self) -> bool isEndEvent(self) -> bool [extrait de isEndEvent.__doc__]
isUpdateEvent(self) -> bool isUpdateEvent(self) -> bool [extrait de isUpdateEvent.__doc__]
target(self) -> PySide6.QtCore.QObject target(self) -> PySide6.QtCore.QObject [extrait de target.__doc__]
touchPoints(self) -> List[PySide6.QtGui.QEventPoint] touchPoints(self) -> List[PySide6.QtGui.QEventPoint] [extrait de touchPoints.__doc__]

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

__init_subclass__, __subclasshook__, addPassiveGrabber, allPointsAccepted, allPointsGrabbed, clearPassiveGrabbers, exclusiveGrabber, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, setAccepted, setExclusiveGrabber, setTimestamp

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

__init_subclass__, __subclasshook__, device, deviceType, modifiers, setModifiers, setTimestamp, timestamp

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

__init_subclass__, __subclasshook__, accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, setAccepted, spontaneous, Type, type

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

__getattribute__, __init_subclass__, __subclasshook__

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

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