This commit is contained in:
parent
0ed16b3f5f
commit
8bb0569e90
|
@ -97,6 +97,7 @@ void SystemBackupProxy::cancelEx()
|
|||
void SystemBackupProxy::deleteFailedData()
|
||||
{
|
||||
// 1、删除备份目录
|
||||
QString destPath = Utils::getSysRootPath() + BACKUP_SNAPSHOTS_PATH + "/" + m_curUuid;
|
||||
QStringList args;
|
||||
args << "-rf";
|
||||
args << m_destPath;
|
||||
|
|
|
@ -718,6 +718,7 @@ void DataBackup::initThirdWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
@ -1491,6 +1492,7 @@ void DataBackup::initLastWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
|
|
@ -271,6 +271,7 @@ void DataRestore::initSecondWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
@ -823,6 +824,7 @@ void DataRestore::initLastWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
|
|
@ -310,6 +310,7 @@ void GhostImage::initThirdWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
@ -996,6 +997,7 @@ void GhostImage::initLastWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
|
|
@ -308,7 +308,8 @@ void SystemBackup::initThirdWidget()
|
|||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setMaximumWidth(550);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
@ -322,7 +323,7 @@ void SystemBackup::initThirdWidget()
|
|||
hlayoutCenterFont2->addSpacing(5);
|
||||
MyLabel *labelCheck1 = new MyLabel(centerFont);
|
||||
labelCheck1->setMinimumWidth(400);
|
||||
labelCheck1->setMaximumWidth(600);
|
||||
labelCheck1->setMaximumWidth(500);
|
||||
labelCheck1->setIsOriginal(true);
|
||||
labelCheck1->setWordWrap(true);
|
||||
labelCheck1->adjustSize();
|
||||
|
@ -339,7 +340,7 @@ void SystemBackup::initThirdWidget()
|
|||
hlayoutCenterFont3->addSpacing(5);
|
||||
MyLabel *labelCheck2 = new MyLabel(centerFont);
|
||||
labelCheck2->setMinimumWidth(400);
|
||||
labelCheck2->setMaximumWidth(600);
|
||||
labelCheck2->setMaximumWidth(500);
|
||||
labelCheck2->setIsOriginal(true);
|
||||
labelCheck2->setWordWrap(true);
|
||||
labelCheck2->adjustSize();
|
||||
|
@ -1107,7 +1108,8 @@ void SystemBackup::initLastWidget()
|
|||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setMaximumWidth(550);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
@ -1121,7 +1123,7 @@ void SystemBackup::initLastWidget()
|
|||
hlayoutCenterFont2->addSpacing(5);
|
||||
MyLabel *labelError1 = new MyLabel(centerFont);
|
||||
labelError1->setMinimumWidth(400);
|
||||
labelError1->setMaximumWidth(600);
|
||||
labelError1->setMaximumWidth(500);
|
||||
labelError1->setIsOriginal(true);
|
||||
labelError1->setWordWrap(true);
|
||||
labelError1->adjustSize();
|
||||
|
@ -1138,7 +1140,7 @@ void SystemBackup::initLastWidget()
|
|||
hlayoutCenterFont3->addSpacing(5);
|
||||
MyLabel *labelError2 = new MyLabel(centerFont);
|
||||
labelError2->setMinimumWidth(400);
|
||||
labelError2->setMaximumWidth(600);
|
||||
labelError2->setMaximumWidth(500);
|
||||
labelError2->setIsOriginal(true);
|
||||
labelError2->setWordWrap(true);
|
||||
labelError2->adjustSize();
|
||||
|
|
|
@ -289,6 +289,7 @@ void SystemRestore::initSecondWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
@ -851,6 +852,7 @@ void SystemRestore::initLastWidget()
|
|||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
bigTitle->setFontSize(24);
|
||||
bigTitle->setMaximumWidth(700);
|
||||
bigTitle->setIsOriginal(true);
|
||||
hlayoutCenterFont1->addWidget(bigTitle);
|
||||
hlayoutCenterFont1->addStretch();
|
||||
vlayoutCenterFont->addLayout(hlayoutCenterFont1);
|
||||
|
|
Loading…
Reference in New Issue