summaryrefslogtreecommitdiff
path: root/wave-sim/src/mainwindow.cpp
diff options
context:
space:
mode:
authorSebastian Park <SebPark03@gmail.com>2024-04-10 02:45:04 -0400
committerSebastian Park <SebPark03@gmail.com>2024-04-10 02:45:04 -0400
commit47cd8a592ecad52c1b01f27d23476c0a5afeb7f1 (patch)
tree36b9abaff4e92a4a6df0d5ecb0e43e05c3aefd48 /wave-sim/src/mainwindow.cpp
parentfd19124693bb32835ad97802ba1950cd5202dbd2 (diff)
initial
Diffstat (limited to 'wave-sim/src/mainwindow.cpp')
-rwxr-xr-xwave-sim/src/mainwindow.cpp16
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;
+}