Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/statuswidget.h
Show All 30 Lines | 30 | { | |||
---|---|---|---|---|---|
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | public: | 32 | public: | ||
33 | /** | 33 | /** | ||
34 | * @brief Make A new Status widget | 34 | * @brief Make A new Status widget | ||
35 | * @param showStop: Set False if your client has the print job stop in another widget. | 35 | * @param showStop: Set False if your client has the print job stop in another widget. | ||
36 | * @param parent: parent of this widget. | 36 | * @param parent: parent of this widget. | ||
37 | */ | 37 | */ | ||
38 | StatusWidget(bool showStop = true, QWidget *parent = nullptr); | 38 | StatusWidget(bool showStop = true, QWidget *parent = nullptr); | ||
39 | ~StatusWidget() = default; | ||||
39 | /** | 40 | /** | ||
40 | * @brief Set if the status area should show SD card inserted. | 41 | * @brief Set if the status area should show SD card inserted. | ||
41 | * @param hasSd | 42 | * @param hasSd | ||
42 | */ | 43 | */ | ||
43 | void setSD(bool hasSd); | 44 | void setSD(bool hasSd); | ||
44 | /** | 45 | /** | ||
45 | * @brief Set the State String | 46 | * @brief Set the State String | ||
46 | * @param state: String to be shown | 47 | * @param state: String to be shown | ||
Show All 30 Lines |