|
Krita Source Code Documentation
|
#include <kis_native_gesture_shortcut.h>
Inheritance diagram for KisNativeGestureShortcut:Classes | |
| class | Private |
Public Member Functions | |
| KisNativeGestureShortcut (KisAbstractInputAction *action, int index, Qt::NativeGestureType type) | |
| bool | match (QNativeGestureEvent *event) |
| int | priority () const override |
| ~KisNativeGestureShortcut () override | |
Public Member Functions inherited from KisAbstractShortcut | |
| KisAbstractInputAction * | action () const |
| bool | isAvailable (KisInputActionGroupsMask mask) const |
| KisAbstractShortcut (KisAbstractInputAction *action, int index) | |
| void | setAction (KisAbstractInputAction *action) |
| int | shortcutIndex () const |
| virtual | ~KisAbstractShortcut () |
Private Attributes | |
| Private *const | d {nullptr} |
Additional Inherited Members | |
Public Attributes inherited from KisAbstractShortcut | |
| KisAbstractInputAction * | action |
| int | shortcutIndex |
Protected Member Functions inherited from KisAbstractShortcut | |
| bool | compareKeys (const QSet< Qt::Key > &keys1, const QSet< Qt::Key > &keys2) |
Definition at line 14 of file kis_native_gesture_shortcut.h.
| KisNativeGestureShortcut::KisNativeGestureShortcut | ( | KisAbstractInputAction * | action, |
| int | index, | ||
| Qt::NativeGestureType | type ) |
Definition at line 21 of file kis_native_gesture_shortcut.cpp.
References d, and KisNativeGestureShortcut::Private::type.
|
override |
| bool KisNativeGestureShortcut::match | ( | QNativeGestureEvent * | event | ) |
Definition at line 37 of file kis_native_gesture_shortcut.cpp.
References d, and KisNativeGestureShortcut::Private::type.
|
overridevirtual |
The priority of the shortcut. The shortcut with the greatest value will be chosen for execution
Implements KisAbstractShortcut.
Definition at line 32 of file kis_native_gesture_shortcut.cpp.
|
private |
Definition at line 26 of file kis_native_gesture_shortcut.h.