 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
8 #ifndef ecvModalShortcut_h
9 #define ecvModalShortcut_h
15 #include <QKeySequence>
58 void setContextWidget(QWidget* contextWidget,
59 Qt::ShortcutContext contextArea = Qt::WindowShortcut);
64 bool isEnabled()
const;
72 void setEnabled(
bool shouldEnable,
bool changeFocus =
true);
77 QKeySequence keySequence()
const;
118 QAction* action =
nullptr,
119 QWidget* parent =
nullptr);
126 #endif // ecvModalShortcut_h
QKeySequence m_key
Definition: ecvModalShortcut.h:121
Manage an action and/or widget's responsivity to a shortcut.
Definition: ecvModalShortcut.h:43
Manage key sequences used for shortcuts.
Definition: ecvKeySequences.h:39
QPointer< QAction > m_action
Definition: ecvModalShortcut.h:123
#define CV_DB_LIB_API
Definition: CV_db.h:15
QPointer< QShortcut > m_shortcut
Definition: ecvModalShortcut.h:122
QObject Superclass
Definition: ecvModalShortcut.h:47