feat: Add progress in system correction page while empty scan data transfering.
This commit is contained in:
@@ -167,6 +167,7 @@ void MainWindow::checkEmptyScanValidity()
|
||||
if(lastScanDate.isNull() || currentDate.daysTo(expirationScanDate) < 0)
|
||||
{
|
||||
mTabWidget->setCurrentIndex(3);
|
||||
EventCenter::Default()->triggerEvent(EmptyScanDataExpire, nullptr, nullptr);
|
||||
DialogManager::Default()->requestAlertMessage(tr("Please execute the empty scan, assist with system calibration, when empty scan is completed, the system should operate normally."), OkOnly, tr("Warning"));
|
||||
mTabWidget->setTabEnabled(2, false);
|
||||
mTabWidget->setTabEnabled(1, false);
|
||||
@@ -382,6 +383,6 @@ void MainWindow::handleEmptyScanDataCorrupted()
|
||||
mTabWidget->setTabEnabled(2, false);
|
||||
mTabWidget->setTabEnabled(1, false);
|
||||
mTabWidget->setTabEnabled(0, false);
|
||||
|
||||
EventCenter::Default()->triggerEvent(EmptyScanDataBroked, nullptr, nullptr);
|
||||
DialogManager::Default()->requestAlertMessage(tr("Due to empty scan data corruption on the server, needs to be execute the empty scan. No other operations can be conducted until the scan is complete."), OkOnly, tr("Warning"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user