Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/input/kis_stroke_shortcut.h
Context not available. | |||||
39 | * user the cursor of the upcoming action and the Running state shows | 39 | * user the cursor of the upcoming action and the Running state shows | ||
---|---|---|---|---|---|
40 | * that the action linked to the shortcut should be activated. | 40 | * that the action linked to the shortcut should be activated. | ||
41 | */ | 41 | */ | ||
42 | | ||||
43 | class KRITAUI_EXPORT KisStrokeShortcut : public KisAbstractShortcut | 42 | class KRITAUI_EXPORT KisStrokeShortcut : public KisAbstractShortcut | ||
44 | { | 43 | { | ||
45 | public: | 44 | public: | ||
Context not available. | |||||
65 | * can show the user that pressing the mouse button will start some | 64 | * can show the user that pressing the mouse button will start some | ||
66 | * action. This can be done with, e.g. changing the cursor. | 65 | * action. This can be done with, e.g. changing the cursor. | ||
67 | */ | 66 | */ | ||
68 | | ||||
69 | bool matchReady(const QSet<Qt::Key> &modifiers, | 67 | bool matchReady(const QSet<Qt::Key> &modifiers, | ||
70 | const QSet<Qt::MouseButton> &buttons); | 68 | const QSet<Qt::MouseButton> &buttons); | ||
69 | | ||||
71 | /** | 70 | /** | ||
72 | * Reports whether the shortcut can transit form the "Ready" | 71 | * Reports whether the shortcut can transit form the "Ready" | ||
73 | * to "Running" state. It means that the last button of the shortcut | 72 | * to "Running" state. It means that the last button of the shortcut | ||
Context not available. |