Add the Qt windows

This commit is contained in:
2023-06-13 09:34:29 +02:00
parent a248d1e956
commit d9bb801d6b
10 changed files with 1860 additions and 0 deletions

19
mainwindow.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include "mainwindow.hpp"
#include "./ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
, playwindow(new playWindow)
{
ui->setupUi(this);
connect(ui->playButton, &QPushButton::clicked, this, [=]{
playwindow->show();
this->hide();});
}
MainWindow::~MainWindow()
{
delete ui;
}