ui 0.4 界面微小改动 添加QSS文件 仍需继续调整

This commit is contained in:
Norah
2020-02-07 15:25:20 +08:00
parent 856f11a296
commit 5511dd247d
13 changed files with 2858 additions and 144 deletions

View File

@@ -3,10 +3,23 @@
Loading::Loading(QWidget *parent)
: QWidget(parent)
{
ui.setupUi(this);
// qss
ui.setupUi(this);
QFile file("Resources/qss/aqua.qss");
file.open(QFile::ReadOnly);
QTextStream filetext(&file);
QString stylesheet = filetext.readAll();
this->setStyleSheet(stylesheet);
file.close();
ui.label_2->hide();
ui.progressBar->setValue(0);
// ±³¾°gif
// QMovie *pic = new QMovie("Resources/image/loading.gif");
// ui.label_4->setMovie(pic);
// pic->start();
// todo ¼ÓÔØ
ui.progressBar->setValue(100);