Tue, 11 Apr 2023 22:39:18 +0300
Split GL preferences that affect GL build to a new build preferences structure, modifying that requires rebuild, modifying render preferences does not
#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); void recentFileSelected(const QString& path); public Q_SLOTS: void setRenderStyle(gl::RenderStyle style); void rebuildRecentFilesMenu(const QStringList& strings); void updateTitle(); private Q_SLOTS: void showAboutDialog(); }; #endif // MAINWINDOW_H