mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-20 03:01:36 +08:00
update:创建初始化样式函数
This commit is contained in:
@@ -7,6 +7,11 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
{
|
{
|
||||||
checkUpdates();
|
checkUpdates();
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
}
|
||||||
|
//初始化控件样式
|
||||||
|
void MainWindow::initStyle()
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
void MainWindow::checkUpdates()
|
void MainWindow::checkUpdates()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -20,5 +20,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
void checkUpdates();
|
void checkUpdates();
|
||||||
|
void initStyle();
|
||||||
};
|
};
|
||||||
#endif // MAINWINDOW_H
|
#endif // MAINWINDOW_H
|
||||||
|
|||||||
Reference in New Issue
Block a user