diff options
author | Sebastian Park <SebPark03@gmail.com> | 2024-04-10 02:51:43 -0400 |
---|---|---|
committer | Sebastian Park <SebPark03@gmail.com> | 2024-04-10 02:51:43 -0400 |
commit | 0b0629450e2553b2f890094290528b565d607e38 (patch) | |
tree | 16d34a6123f3e50153b5fcd6466de5057cc960a0 /wave-sim/src/mainwindow.cpp | |
parent | ad313dcf57437ec0d40dddbce622a11c2bc2bc23 (diff) | |
parent | 47cd8a592ecad52c1b01f27d23476c0a5afeb7f1 (diff) |
Merge branch 'shaders'
Diffstat (limited to 'wave-sim/src/mainwindow.cpp')
-rwxr-xr-x | wave-sim/src/mainwindow.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wave-sim/src/mainwindow.cpp b/wave-sim/src/mainwindow.cpp new file mode 100755 index 0000000..72560dd --- /dev/null +++ b/wave-sim/src/mainwindow.cpp @@ -0,0 +1,16 @@ +#include "mainwindow.h" +#include <QHBoxLayout> + +MainWindow::MainWindow() +{ + glWidget = new GLWidget(); + + QHBoxLayout *container = new QHBoxLayout; + container->addWidget(glWidget); + this->setLayout(container); +} + +MainWindow::~MainWindow() +{ + delete glWidget; +} |