第一阶段初稿+修复部分内容

This commit is contained in:
Mike Solar
2023-07-31 19:06:37 +08:00
parent e3c650dbfd
commit 57aea93735
38 changed files with 659 additions and 103 deletions

View File

@ -17,18 +17,13 @@ MainWindow::MainWindow(QWidget *parent) :
//delete desktopWidget;
mainWindowLayout=new MainWindowLayout(this);
setCentralWidget(mainWindowLayout);
if(deskRect.width()*scale>1920){
resize(1600,1080);
//this->setMaximumWidth(1600);
}else{
resize(800, 540);
//this->setMaximumWidth(800);
}
setWindowState(Qt::WindowMaximized);
}
MainWindow::~MainWindow() {
this->setCentralWidget(nullptr);
delete mainWindowLayout;
delete ui;
}