Skip to content

Gesture

Qt Base Class: QGesture

Signature: QGesture(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
GestureMixin
prettyqt.widgets.gesture
QGesture
PySide6.QtWidgets
QGesture(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473296389600["widgets.Gesture"]
  1473296392528["widgets.GestureMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473293749728["QtWidgets.QGesture"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473296392528 --> 1473296389600
  1473299815024 --> 1473296392528
  140713234304496 --> 1473299815024
  1473293749728 --> 1473296389600
  1473288842240 --> 1473293749728
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 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."""

⌗ Property table

Qt Property Type Doc
objectName QString
state Qt::GestureState
gestureType Qt::GestureType
gestureCancelPolicy QGesture::GestureCancelPolicy
hotSpot QPointF
hasHotSpot bool