Sat, 08 Apr 2023 16:41:40 +0300
Readd the MainWindow class and renderstyle button handling to it
#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