40 #ifndef __OPENFLUID_UICOMMON_SHORTCUTCOMPLETER_HPP__
41 #define __OPENFLUID_UICOMMON_SHORTCUTCOMPLETER_HPP__
48 #include <QKeySequence>
56 namespace openfluid {
namespace ui {
namespace common {
65 std::unique_ptr<QAction> mp_ShortcutAction;
83 #if (QT_VERSION_MAJOR < 6)
84 void setShortcut(
const QKeySequence& Shortcut = QKeySequence(Qt::CTRL+Qt::Key_Space));
86 void setShortcut(
const QKeySequence& Shortcut = QKeySequence(Qt::CTRL | Qt::Key_Space));
Definition: ShortcutCompleter.hpp:60
ShortcutCompleter(QAbstractItemModel *Model, QObject *Parent=nullptr)
void setShortcut(const QKeySequence &Shortcut=QKeySequence(Qt::CTRL+Qt::Key_Space))
ShortcutCompleter(const QStringList &List, QObject *Parent=nullptr)
void linkToLineEdit(QLineEdit *Widget=nullptr)
ShortcutCompleter(QObject *Parent=nullptr)
virtual ~ShortcutCompleter()
Definition: ShortcutCompleter.hpp:76
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47