The StatusWidget class Status Bar information for atcore.
More...
#include <statuswidget.h>
The StatusWidget class Status Bar information for atcore.
◆ StatusWidget()
StatusWidget::StatusWidget |
( |
bool |
showStop = true , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
Make A new Status widget.
- Parameters
-
showStop | Set False if your client has the print job stop in another widget. |
parent | parent of this widget. |
◆ ~StatusWidget()
StatusWidget::~StatusWidget |
( |
| ) |
|
|
default |
◆ setSD()
void StatusWidget::setSD |
( |
bool |
hasSd | ) |
|
Set if the status area should show SD card inserted.
- Parameters
-
◆ setState()
void StatusWidget::setState |
( |
const QString & |
state | ) |
|
Set the State String.
- Parameters
-
◆ showPrintArea()
void StatusWidget::showPrintArea |
( |
bool |
visible | ) |
|
Show or hide the Print progress and time.
- Parameters
-
◆ stopPressed
void StatusWidget::stopPressed |
( |
| ) |
|
|
signal |
◆ updatePrintProgress()
void StatusWidget::updatePrintProgress |
( |
const int |
progress | ) |
|
Update the progres to the new progress.
- Parameters
-
◆ updatePrintTime
void StatusWidget::updatePrintTime |
( |
| ) |
|
|
privateslot |
◆ lblSd
QLabel* StatusWidget::lblSd = nullptr |
|
private |
◆ lblState
QLabel* StatusWidget::lblState = nullptr |
|
private |
◆ lblTime
QLabel* StatusWidget::lblTime = nullptr |
|
private |
◆ lblTimeLeft
QLabel* StatusWidget::lblTimeLeft = nullptr |
|
private |
◆ printingProgress
QProgressBar* StatusWidget::printingProgress = nullptr |
|
private |
◆ printProgressWidget
QWidget* StatusWidget::printProgressWidget = nullptr |
|
private |
◆ printTime
QElapsedTimer* StatusWidget::printTime = nullptr |
|
private |
◆ printTimer
QTimer* StatusWidget::printTimer = nullptr |
|
private |
◆ spacer
QSpacerItem* StatusWidget::spacer = nullptr |
|
private |
The documentation for this class was generated from the following files: