Skip to content

SwipeGesture

Qt Base Class: QSwipeGesture

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

Base classes

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

⋔ Inheritance diagram

graph TD
  1473296381792["widgets.SwipeGesture"]
  1473296380816["widgets.SwipeGestureMixin"]
  1473296392528["widgets.GestureMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473293748752["QtWidgets.QSwipeGesture"]
  1473293749728["QtWidgets.QGesture"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473296380816 --> 1473296381792
  1473296392528 --> 1473296380816
  1473299815024 --> 1473296392528
  140713234304496 --> 1473299815024
  1473293748752 --> 1473296381792
  1473293749728 --> 1473293748752
  1473288842240 --> 1473293749728
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: SwipeGestureMixin, QSwipeGesture

Source code in prettyqt\widgets\swipegesture.py
class SwipeGesture(SwipeGestureMixin, widgets.QSwipeGesture):
    pass

⌗ Property table

Qt Property Type Doc
objectName QString
state Qt::GestureState
gestureType Qt::GestureType
gestureCancelPolicy QGesture::GestureCancelPolicy
hotSpot QPointF
hasHotSpot bool
horizontalDirection QSwipeGesture::SwipeDirection
verticalDirection QSwipeGesture::SwipeDirection
swipeAngle double
velocity double