mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-04 10:22:21 +08:00
21 lines
293 B
C++
21 lines
293 B
C++
#include "mainwindow.h"
|
|
|
|
#include <DMainWindow>
|
|
|
|
DWIDGET_USE_NAMESPACE
|
|
|
|
MainWindow::MainWindow(QWidget *parent)
|
|
: DMainWindow(parent)
|
|
{
|
|
w = new Widget;
|
|
|
|
resize(w->size()); //设置窗口大小
|
|
setMinimumSize(900,700);
|
|
setCentralWidget(w);
|
|
}
|
|
|
|
MainWindow::~MainWindow()
|
|
{
|
|
|
|
}
|