Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/commandwidget.h
Show All 26 Lines | |||||
27 | * Usage: | 27 | * Usage: | ||
28 | * Connect to commandPressed or messagePressed to capture the events. | 28 | * Connect to commandPressed or messagePressed to capture the events. | ||
29 | */ | 29 | */ | ||
30 | class ATCOREWIDGETS_EXPORT CommandWidget : public QWidget | 30 | class ATCOREWIDGETS_EXPORT CommandWidget : public QWidget | ||
31 | { | 31 | { | ||
32 | Q_OBJECT | 32 | Q_OBJECT | ||
33 | public: | 33 | public: | ||
34 | CommandWidget(QWidget *parent = nullptr); | 34 | CommandWidget(QWidget *parent = nullptr); | ||
35 | ~CommandWidget() = default; | ||||
35 | 36 | | |||
36 | signals: | 37 | signals: | ||
37 | /** | 38 | /** | ||
38 | * @brief User has requested to send a command. | 39 | * @brief User has requested to send a command. | ||
39 | * @param command: The command to send. | 40 | * @param command: The command to send. | ||
40 | */ | 41 | */ | ||
41 | void commandPressed(const QString &command); | 42 | void commandPressed(const QString &command); | ||
42 | 43 | | |||
Show All 10 Lines |