2022-08-07 17:12:12 +00:00
|
|
|
#include <mainwindow.h>
|
|
|
|
#include <ui_mainwindow.h>
|
2022-03-13 22:00:00 +00:00
|
|
|
|
|
|
|
MainWindow::MainWindow(QWidget *parent) :
|
|
|
|
QMainWindow(parent),
|
|
|
|
ui(new Ui::MainWindow)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
2022-08-07 17:12:12 +00:00
|
|
|
mScene = new ExampleScene();
|
|
|
|
ui->openGLWidget->setScene(mScene);
|
2022-03-13 22:00:00 +00:00
|
|
|
setWindowIcon(QIcon("../resources/icon.png"));
|
|
|
|
}
|
|
|
|
|
|
|
|
MainWindow::~MainWindow()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|