src/mainwindow.h

changeset 354
91053052bb28
child 355
e81f4ad53efd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/mainwindow.h	Sat Apr 08 16:41:40 2023 +0300
@@ -0,0 +1,19 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+#include "ui_mainwindow.h"
+#include "src/gl/common.h"
+
+class MainWindow : public QMainWindow, public Ui_MainWindow
+{
+	Q_OBJECT
+public:
+	explicit MainWindow(QWidget *parent = nullptr);
+Q_SIGNALS:
+	void renderStyleSelected(gl::RenderStyle newStyle);
+public Q_SLOTS:
+	void setRenderStyle(gl::RenderStyle style);
+};
+
+#endif // MAINWINDOW_H

mercurial