From 47cd8a592ecad52c1b01f27d23476c0a5afeb7f1 Mon Sep 17 00:00:00 2001 From: Sebastian Park Date: Wed, 10 Apr 2024 02:45:04 -0400 Subject: initial --- wave-sim/src/mainwindow.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 wave-sim/src/mainwindow.cpp (limited to 'wave-sim/src/mainwindow.cpp') 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 + +MainWindow::MainWindow() +{ + glWidget = new GLWidget(); + + QHBoxLayout *container = new QHBoxLayout; + container->addWidget(glWidget); + this->setLayout(container); +} + +MainWindow::~MainWindow() +{ + delete glWidget; +} -- cgit v1.2.3-70-g09d2