mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-11 22:02:21 +08:00
update:更新背景颜色
This commit is contained in:
parent
48257722fb
commit
a9c137110c
@ -5,7 +5,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
, ui(new Ui::MainWindow)
|
||||
{
|
||||
checkUpdates();
|
||||
// checkUpdates();
|
||||
ui->setupUi(this);
|
||||
initStyle();
|
||||
}
|
||||
@ -84,7 +84,16 @@ void MainWindow::initStyle()
|
||||
}
|
||||
)");
|
||||
|
||||
//设置背景填充颜色
|
||||
ui->backgroundWidget->setStyleSheet(R"(
|
||||
QWidget {
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 12px;
|
||||
}
|
||||
)");
|
||||
|
||||
//设置主背景颜色
|
||||
this->setStyleSheet("background-color: #F8FAFC;");
|
||||
|
||||
}
|
||||
void MainWindow::checkUpdates()
|
||||
|
@ -63,7 +63,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QWidget" name="widget_2" native="true">
|
||||
<widget class="QWidget" name="backgroundWidget" native="true">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>1376</width>
|
||||
|
Loading…
x
Reference in New Issue
Block a user