GestureMixin
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
Subclasses
Class | Module | Description |
---|---|---|
Gesture | prettyqt.widgets.gesture | |
TapGesture | prettyqt.widgets.tapgesture | |
TapAndHoldGesture | prettyqt.widgets.tapandholdgesture | |
PanGesture | prettyqt.widgets.pangesture | |
PinchGesture | prettyqt.widgets.pinchgesture | |
SwipeGestureMixin |
prettyqt.widgets.swipegesture |
⋔ Inheritance diagram
graph TD
1473296392528["widgets.GestureMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473299815024 --> 1473296392528
140713234304496 --> 1473299815024
🛈 DocStrings
Bases: ObjectMixin
Source code in prettyqt\widgets\gesture.py
get_gesture_cancel_policy() -> GestureCancelPolicyStr
Return current gesture cancel policy.
get_gesture_type() -> constants.GestureTypeStr
get_state() -> constants.GestureStateStr
set_gesture_cancel_policy(policy: GestureCancelPolicyStr | widgets.QGesture.GestureCancelPolicy)
Set gesture cancel policy.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
policy |
GestureCancelPolicyStr | GestureCancelPolicy
|
gesture cancel policy to use |
required |