123177 【UKUI 3.1.4 走查】【设计】【备份还原】页面细节调整
This commit is contained in:
parent
8b5b694176
commit
da2538bada
|
@ -876,14 +876,14 @@ void DataBackup::initThirdWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 检测等待图标
|
||||
QLabel *loadingGif = new QLabel(centerFont);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), centerFont);
|
||||
loadingGif->setMovie(movie);
|
||||
hlayoutCenterFont1->addWidget(loadingGif);
|
||||
// 检测结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -1018,7 +1018,7 @@ void DataBackup::initThirdWidget()
|
|||
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 检测成功
|
||||
bigTitle->setDeplayText(tr("Check success"));
|
||||
|
@ -1037,7 +1037,7 @@ void DataBackup::initThirdWidget()
|
|||
recheck->setVisible(false);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 环境校验失败
|
||||
bigTitle->setDeplayText(tr("Check failure"));
|
||||
|
@ -1476,7 +1476,7 @@ void DataBackup::initFifthWidget()
|
|||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), fifth);
|
||||
loadingGif->setMovie(movie);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
loadingGif->setVisible(false);
|
||||
// 进度条
|
||||
RingsProgressbar *progressBar = new RingsProgressbar(fifth);
|
||||
|
@ -1758,7 +1758,7 @@ void DataBackup::initLastWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 备份结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -1840,7 +1840,7 @@ void DataBackup::initLastWidget()
|
|||
connect(this, &DataBackup::checkBackupResult, this, [=](bool result, const QString &errMsg, const QString &errTip) {
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 备份成功
|
||||
bigTitle->setDeplayText(tr("The backup is successful"));
|
||||
|
@ -1855,7 +1855,7 @@ void DataBackup::initLastWidget()
|
|||
homePage->setVisible(true);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 备份失败
|
||||
bigTitle->setDeplayText(tr("The backup is failed"));
|
||||
|
|
|
@ -270,14 +270,14 @@ void DataRestore::initSecondWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 检测等待图标
|
||||
QLabel *loadingGif = new QLabel(centerFont);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), centerFont);
|
||||
loadingGif->setMovie(movie);
|
||||
hlayoutCenterFont1->addWidget(loadingGif);
|
||||
// 检测结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -408,7 +408,7 @@ void DataRestore::initSecondWidget()
|
|||
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 检测成功
|
||||
bigTitle->setDeplayText(tr("Check success"));
|
||||
|
@ -427,7 +427,7 @@ void DataRestore::initSecondWidget()
|
|||
recheck->setVisible(false);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 环境校验失败
|
||||
bigTitle->setDeplayText(tr("Check failure"));
|
||||
|
@ -832,7 +832,7 @@ void DataRestore::initLastWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 备份结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -929,7 +929,7 @@ void DataRestore::initLastWidget()
|
|||
connect(this, &DataRestore::checkRestoreResult, this, [=](bool result, const QString &errMsg, const QString &errTip) {
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 数据还原成功
|
||||
bigTitle->setDeplayText(tr("Successfully restoring the data"));
|
||||
|
@ -950,7 +950,7 @@ void DataRestore::initLastWidget()
|
|||
}
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 数据还原失败
|
||||
bigTitle->setDeplayText(tr("Restoring the data failed"));
|
||||
|
|
|
@ -333,14 +333,14 @@ void GhostImage::initThirdWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 检测等待图标
|
||||
QLabel *loadingGif = new QLabel(centerFont);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), centerFont);
|
||||
loadingGif->setMovie(movie);
|
||||
hlayoutCenterFont1->addWidget(loadingGif);
|
||||
// 检测结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -471,7 +471,7 @@ void GhostImage::initThirdWidget()
|
|||
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 检测成功
|
||||
bigTitle->setDeplayText(tr("Check success"));
|
||||
|
@ -490,7 +490,7 @@ void GhostImage::initThirdWidget()
|
|||
recheck->setVisible(false);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 环境校验失败
|
||||
bigTitle->setDeplayText(tr("Check failure"));
|
||||
|
@ -713,7 +713,7 @@ void GhostImage::initForthWidget()
|
|||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), forth);
|
||||
loadingGif->setMovie(movie);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
loadingGif->setVisible(false);
|
||||
// 进度条
|
||||
RingsProgressbar *progressBar = new RingsProgressbar(forth);
|
||||
|
@ -1028,7 +1028,7 @@ void GhostImage::initLastWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 备份结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -1119,7 +1119,7 @@ void GhostImage::initLastWidget()
|
|||
connect(this, &GhostImage::checkGhostResult, this, [=](bool result, const QString &errMsg, const QString &errTip) {
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 镜像制作成功
|
||||
bigTitle->setDeplayText(tr("Ghost image creation is successful"));
|
||||
|
@ -1136,7 +1136,7 @@ void GhostImage::initLastWidget()
|
|||
homePage->setVisible(true);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 镜像制作失败
|
||||
bigTitle->setDeplayText(tr("Ghost image creation is failed"));
|
||||
|
|
|
@ -428,14 +428,14 @@ void SystemBackup::initThirdWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 检测等待图标
|
||||
QLabel *loadingGif = new QLabel(centerFont);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), centerFont);
|
||||
loadingGif->setMovie(movie);
|
||||
hlayoutCenterFont1->addWidget(loadingGif);
|
||||
// 检测结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -565,7 +565,7 @@ void SystemBackup::initThirdWidget()
|
|||
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 检测成功
|
||||
bigTitle->setDeplayText(tr("Check success"));
|
||||
|
@ -584,7 +584,7 @@ void SystemBackup::initThirdWidget()
|
|||
recheck->setVisible(false);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 环境校验失败
|
||||
bigTitle->setDeplayText(tr("Check failure"));
|
||||
|
@ -1017,7 +1017,7 @@ void SystemBackup::initFifthWidget()
|
|||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), fifth);
|
||||
loadingGif->setMovie(movie);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
loadingGif->setVisible(false);
|
||||
// 进度条
|
||||
RingsProgressbar *progressBar = new RingsProgressbar(fifth);
|
||||
|
@ -1353,7 +1353,7 @@ void SystemBackup::initLastWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 备份结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -1435,7 +1435,7 @@ void SystemBackup::initLastWidget()
|
|||
connect(this, &SystemBackup::checkBackupResult, this, [=](bool result, const QString &errMsg, const QString &errTip) {
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 备份成功
|
||||
bigTitle->setDeplayText(tr("The backup is successful"));
|
||||
|
@ -1450,7 +1450,7 @@ void SystemBackup::initLastWidget()
|
|||
homePage->setVisible(true);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 备份失败
|
||||
bigTitle->setDeplayText(tr("The backup is failed"));
|
||||
|
|
|
@ -291,14 +291,14 @@ void SystemRestore::initSecondWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 检测等待图标
|
||||
QLabel *loadingGif = new QLabel(centerFont);
|
||||
loadingGif->setFixedSize(20,20);
|
||||
loadingGif->setFixedSize(24,24);
|
||||
// 环境检测等待动画
|
||||
QMovie *movie = new QMovie(":/images/loading.gif", QByteArray(), centerFont);
|
||||
loadingGif->setMovie(movie);
|
||||
hlayoutCenterFont1->addWidget(loadingGif);
|
||||
// 检测结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -429,7 +429,7 @@ void SystemRestore::initSecondWidget()
|
|||
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 检测成功
|
||||
bigTitle->setDeplayText(tr("Check success"));
|
||||
|
@ -448,7 +448,7 @@ void SystemRestore::initSecondWidget()
|
|||
recheck->setVisible(false);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 环境校验失败
|
||||
bigTitle->setDeplayText(tr("Check failure"));
|
||||
|
@ -862,7 +862,7 @@ void SystemRestore::initLastWidget()
|
|||
QHBoxLayout *hlayoutCenterFont1 = new QHBoxLayout;
|
||||
// 备份结果对错图标
|
||||
QLabel *resultLogo = new QLabel(centerFont);
|
||||
resultLogo->setFixedSize(20,20);
|
||||
resultLogo->setFixedSize(24,24);
|
||||
hlayoutCenterFont1->addWidget(resultLogo);
|
||||
// 检测中大标题
|
||||
MyLabel *bigTitle = new MyLabel(centerFont);
|
||||
|
@ -953,7 +953,7 @@ void SystemRestore::initLastWidget()
|
|||
connect(this, &SystemRestore::checkRestoreResult, this, [=](bool result, const QString &errMsg, const QString &errTip) {
|
||||
if (result) {
|
||||
QIcon icon = QIcon::fromTheme("ukui-dialog-success", QIcon(":/symbos/ukui-dialog-success.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 系统还原成功
|
||||
bigTitle->setDeplayText(tr("Successfully restoring the system"));
|
||||
|
@ -967,7 +967,7 @@ void SystemRestore::initLastWidget()
|
|||
homePage->setVisible(false);
|
||||
} else {
|
||||
QIcon icon = QIcon::fromTheme("dialog-error.png", QIcon(":/symbos/dialog-error.png"));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(20,20)));
|
||||
resultLogo->setPixmap(icon.pixmap(QSize(24,24)));
|
||||
resultLogo->setVisible(true);
|
||||
// 系统还原失败
|
||||
bigTitle->setDeplayText(tr("Restoring the system failed"));
|
||||
|
|
Loading…
Reference in New Issue