#include <ui/common/ShortcutCompleter.hpp>
◆ ShortcutCompleter() [1/3]
openfluid::ui::common::ShortcutCompleter::ShortcutCompleter |
( |
QObject * |
Parent = nullptr | ) |
|
◆ ShortcutCompleter() [2/3]
openfluid::ui::common::ShortcutCompleter::ShortcutCompleter |
( |
QAbstractItemModel * |
Model, |
|
|
QObject * |
Parent = nullptr |
|
) |
| |
◆ ShortcutCompleter() [3/3]
openfluid::ui::common::ShortcutCompleter::ShortcutCompleter |
( |
const QStringList & |
List, |
|
|
QObject * |
Parent = nullptr |
|
) |
| |
◆ linkToLineEdit()
void openfluid::ui::common::ShortcutCompleter::linkToLineEdit |
( |
QLineEdit * |
Widget = nullptr | ) |
|
Links the completer to a line edit
- Parameters
-
[in] | Widget | the line edit to link to |
◆ setShortcut()
void openfluid::ui::common::ShortcutCompleter::setShortcut |
( |
const QKeySequence & |
Shortcut = QKeySequence(Qt::CTRL+Qt::Key_Space) | ) |
|
Sets the shortcut sequence to open the completer popup
- Parameters
-
[in] | Shortcut | the shortcut sequence |
◆ shortcutAction()
QAction* openfluid::ui::common::ShortcutCompleter::shortcutAction |
( |
| ) |
const |
|
inline |
Returns the QAction for the popup shortcut
- Returns
- the QAction for the popup shortcut
The documentation for this class was generated from the following file: