refactor: move to interface class

This commit is contained in:
parker
2025-06-19 01:27:19 +01:00
parent 9830bf21ae
commit 4a56bca765
5 changed files with 28 additions and 6 deletions

0
src/gui/Interface.cpp Normal file
View File

11
src/gui/Interface.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include <QWidget>
class EnzoUI
: public QWidget
{
public:
private:
};

View File

@@ -1,12 +1,14 @@
#include <QApplication>
#include <QPushButton>
#include "Interface.h"
int main(int argc, char **argv)
{
QApplication app (argc, argv);
QApplication app (argc, argv);
QPushButton button ("Hello world !");
button.show();
EnzoUI interface;
interface.show();
return app.exec();
return app.exec();
}