feat: Add progress in system correction page while empty scan data transfering.

This commit is contained in:
sunwen
2024-09-19 15:45:23 +08:00
parent 2d7c359a64
commit f679b81fb4
9 changed files with 259 additions and 67 deletions

View File

@@ -4,6 +4,7 @@
#include <QWidget>
class QLabel;
class QTimer;
class SystemCorrectionForm : public QWidget
{
@@ -15,13 +16,21 @@ public:
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