21 #ifndef ACTIONSEARCH_H
22 #define ACTIONSEARCH_H
26 #include <QListWidget>
75 void search_update(
const QString& s,
const QString &p =
nullptr, QMenu *parent =
nullptr);
170 #endif // ACTIONSEARCH_H
void move_selection_down()
Move selection down.
Definition: actionsearch.cpp:202
ActionSearchList * list_widget
Main widget that shows the list of commands.
Definition: actionsearch.h:105
void moveSelectionDown()
Emitted when the user presses the down arrow key.
void move_selection_up()
Move selection up.
Definition: actionsearch.cpp:186
The ActionSearchEntry class.
Definition: actionsearch.h:142
void search_update(const QString &s, const QString &p=nullptr, QMenu *parent=nullptr)
Update the list of actions according to a search query.
Definition: actionsearch.cpp:86
void dbl_click()
Signal emitted when a QListWidget item is double clicked.
The ActionSearchList class.
Definition: actionsearch.h:114
ActionSearch(QWidget *parent)
ActionSearch Constructor.
Definition: actionsearch.cpp:30
void mouseDoubleClickEvent(QMouseEvent *)
Override of QListWidget's double click event that emits a signal.
Definition: actionsearch.cpp:239
void keyPressEvent(QKeyEvent *event)
Override of QLineEdit's key press event that listens for up/down key presses.
Definition: actionsearch.cpp:220
void perform_action()
Perform the currently selected action.
Definition: actionsearch.cpp:166
The ActionSearch class.
Definition: actionsearch.h:37
ActionSearchList(QWidget *parent)
ActionSearchList Constructor.
Definition: actionsearch.cpp:237
void moveSelectionUp()
Emitted when the user presses the up arrow key.
ActionSearchEntry(QWidget *parent)
ActionSearchEntry.
Definition: actionsearch.cpp:218