qfedu-qt-level/homework-day2/mainwindow.cpp

16 lines
219 B
C++
Raw Permalink Normal View History

2023-08-08 22:36:21 +08:00
#include "mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
setFixedSize(800,600);
widget1 = new Widget1(this);
setCentralWidget(widget1);
}
MainWindow::~MainWindow()
{
}