Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/statuswidget.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 32 | public: | |||
---|---|---|---|---|---|
50 | * @brief Show or hide the Print progress and time | 50 | * @brief Show or hide the Print progress and time | ||
51 | * @param visible : true for show | 51 | * @param visible : true for show | ||
52 | */ | 52 | */ | ||
53 | void showPrintArea(bool visible); | 53 | void showPrintArea(bool visible); | ||
54 | /** | 54 | /** | ||
55 | * @brief Update the progres to the new progress | 55 | * @brief Update the progres to the new progress | ||
56 | * @param progress: new progress. | 56 | * @param progress: new progress. | ||
57 | */ | 57 | */ | ||
58 | void updatePrintProgress(const float &progress); | 58 | void updatePrintProgress(const int progress); | ||
59 | 59 | | |||
60 | signals: | 60 | signals: | ||
61 | void stopPressed(); | 61 | void stopPressed(); | ||
62 | 62 | | |||
63 | private slots: | 63 | private slots: | ||
64 | void updatePrintTime(); | 64 | void updatePrintTime(); | ||
65 | 65 | | |||
66 | private: | 66 | private: | ||
Show All 10 Lines |