Files
GUI/src/forms/settings/SystemCorrectionForm.h

37 lines
737 B
C++

#ifndef SYSTEMCORRECTIONFORM_H
#define SYSTEMCORRECTIONFORM_H
#include <QWidget>
class QLabel;
class QTimer;
class SystemCorrectionForm : public QWidget
{
Q_OBJECT
public:
explicit SystemCorrectionForm(QWidget* aParent = nullptr);
~SystemCorrectionForm();
private:
void init();
QString getStateString(int aState);
private slots:
void updateEmptyScanDate();
void updateEmptyScanState();
void updateEmptyScanTransferProgress();
void updateEmptyScanDateExpire();
void updateEmptyScanBroked();
private:
QLabel* mCurrentEmptyScanDate;
QLabel* mExpirationEmptyScanDate;
QLabel* mCurrentEmptyScanState;
QTimer* mTimer;
int mEmptyScanState;
};
#endif // SYSTEMCORRECTIONFORM_H