|
Krita Source Code Documentation
|
#include "kis_shortcut_matcher.h"#include <QEvent>#include <QMouseEvent>#include <QTabletEvent>#include "kis_assert.h"#include "kis_abstract_input_action.h"#include "kis_stroke_shortcut.h"#include "kis_touch_shortcut.h"#include "kis_native_gesture_shortcut.h"#include "KisTouchpadScrollShortcut.h"#include "kis_config.h"#include "kis_extended_modifiers_mapper.h"#include "KisTouchHoldEventsPostponer.h"#include <KoPointerEvent.h>Go to the source code of this file.
Classes | |
| struct | KisShortcutMatcher::IgnoreMultiFingerCancelWorkaround |
| class | KisShortcutMatcher |
| struct | KisShortcutMatcher::RecursionGuard |
| struct | KisShortcutMatcher::RecursionNotifier |
Macros | |
| #define | DEBUG_ACTION(text) dbgInputMatcher << __FUNCTION__ << "-" << text; |
| #define | DEBUG_BUTTON_ACTION(text, button) dbgInputMatcher << __FUNCTION__ << "-" << text << "button:" << button << "btns:" << m_d->buttons << "keys:" << m_d->keys; |
| #define | DEBUG_EVENT_ACTION(text, event) if (event) {dbgInputMatcher << __FUNCTION__ << "-" << text << "type:" << event->type();} |
| #define | DEBUG_KEY(text) dbgInputMatcher << __FUNCTION__ << "-" << text << "keys:" << m_d->keys; |
| #define | DEBUG_SHORTCUT(text, shortcut) dbgInputMatcher << __FUNCTION__ << "-" << text << "act:" << debugShortcutName(shortcut); |
| #define | DEBUG_TOUCH_ACTION(text, event) |
Functions | |
| QString | debugShortcutName (const KisAbstractShortcut *shortcut) |
| Qt::MouseButtons | listToFlags (const QList< Qt::MouseButton > &list) |
| #define DEBUG_ACTION | ( | text | ) | dbgInputMatcher << __FUNCTION__ << "-" << text; |
Definition at line 37 of file kis_shortcut_matcher.cpp.
| #define DEBUG_BUTTON_ACTION | ( | text, | |
| button ) dbgInputMatcher << __FUNCTION__ << "-" << text << "button:" << button << "btns:" << m_d->buttons << "keys:" << m_d->keys; |
Definition at line 40 of file kis_shortcut_matcher.cpp.
| #define DEBUG_EVENT_ACTION | ( | text, | |
| event ) if (event) {dbgInputMatcher << __FUNCTION__ << "-" << text << "type:" << event->type();} |
Definition at line 41 of file kis_shortcut_matcher.cpp.
| #define DEBUG_KEY | ( | text | ) | dbgInputMatcher << __FUNCTION__ << "-" << text << "keys:" << m_d->keys; |
Definition at line 39 of file kis_shortcut_matcher.cpp.
| #define DEBUG_SHORTCUT | ( | text, | |
| shortcut ) dbgInputMatcher << __FUNCTION__ << "-" << text << "act:" << debugShortcutName(shortcut); |
Definition at line 38 of file kis_shortcut_matcher.cpp.
| #define DEBUG_TOUCH_ACTION | ( | text, | |
| event ) |
Definition at line 42 of file kis_shortcut_matcher.cpp.
|
inline |
Definition at line 31 of file kis_shortcut_matcher.cpp.
References KisAbstractShortcut::action, and KisAbstractShortcut::shortcutIndex.
| Qt::MouseButtons listToFlags | ( | const QList< Qt::MouseButton > & | list | ) |
Definition at line 937 of file kis_shortcut_matcher.cpp.