添加仪表上方信息显示,修改指令增加翻页

This commit is contained in:
hm
2020-11-15 09:11:18 +08:00
parent 32e83c5fe5
commit 0c1919ae7b
11 changed files with 2073 additions and 1864 deletions
+7
View File
@@ -8,6 +8,13 @@ Diagram::Diagram(QWidget *parent) :
ui->setupUi(this);
m_parent = parent;
QFile file(":/qss/PowerSystem.qss");
file.open(QFile::ReadOnly);
QTextStream filetext(&file);
QString stylesheet = filetext.readAll();
this->setStyleSheet(stylesheet);
file.close();
int w = 60;
int h = 25;