18 #ifndef SDRGUI_GUI_COMMANDKEYRECEIVER_H_ 19 #define SDRGUI_GUI_COMMANDKEYRECEIVER_H_ 34 void setPass(
bool release) { m_release = release; }
37 bool eventFilter(QObject* obj, QEvent* event);
43 void keyEventHandler(QKeyEvent *e, Qt::Key& key, Qt::KeyboardModifiers& keyModifiers);
44 bool isComposeKey(Qt::Key key);
49 void capturedKey(Qt::Key key, Qt::KeyboardModifiers keyModifiers,
bool release);
bool m_release
check release events
void setPass(bool release)
bool m_pass
do not block events just tap them
void setRelease(bool release)
static const std::vector< Qt::Key > m_composeKeys