Skip to content

Gesture

Base classes

Name Children Inherits
GestureMixin
prettyqt.widgets.gesture
QGesture
PySide6.QtWidgets
QGesture(self, /, parent: PySide6.QtCore.QObject | None \= None, *, state: PySide6.QtCore.Qt.GestureState | None \= None, gestureType: PySide6.QtCore.Qt.GestureType | None \= None, gestureCancelPolicy: PySide6.QtWidgets.QGesture.GestureCancelPolicy | None \= None, hotSpot: PySide6.QtCore.QPointF | None \= None, hasHotSpot: bool | None \= None) -> None

⋔ Inheritance diagram

graph TD
  1591975292["widgets.Gesture"]
  2553044129["widgets.GestureMixin"]
  3227531497["core.ObjectMixin"]
  2751680898["builtins.object"]
  4032894933["QtWidgets.QGesture"]
  3984060476["QtCore.QObject"]
  37984305["Shiboken.Object"]
  2553044129 --> 1591975292
  3227531497 --> 2553044129
  2751680898 --> 3227531497
  2751680898 --> 2553044129
  4032894933 --> 1591975292
  3984060476 --> 4032894933
  37984305 --> 3984060476
  2751680898 --> 37984305

🛈 DocStrings

Bases: GestureMixin, QGesture

A gesture, containing properties that describe the corresponding user input.

Source code in prettyqt/widgets/gesture.py
class Gesture(GestureMixin, widgets.QGesture):
    """A gesture, containing properties that describe the corresponding user input."""

:fa-brands-github: Show source on GitHub