This commit is contained in:
2020-05-13 16:54:54 +08:00
parent ba61d13a1f
commit a326bcb266
12 changed files with 192 additions and 80 deletions
+7 -2
View File
@@ -39,8 +39,13 @@ MenuBarUI::MenuBarUI(QWidget *parent) :
{
ui->setupUi(this);
this->setStyleSheet("QPushButton {background-color: palegoldenrod;border-width: 2px;border-color: darkkhaki;border-style: solid;border-radius: 5;padding: 3px;}");
//load qss
QFile file(":/qss/MenuBarUI.qss");
file.open(QFile::ReadOnly);
QTextStream filetext(&file);
QString stylesheet = filetext.readAll();
this->setStyleSheet(stylesheet);
file.close();
ui->textBrowser->setText( tr("Starting...\n"));
log_te = ui->textBrowser;