src/mainwindow.h

changeset 361
c5e8b68e34f8
parent 355
e81f4ad53efd
child 362
e1d646a4cbd8
equal deleted inserted replaced
360:41b38b9e05a2 361:c5e8b68e34f8
10 Q_OBJECT 10 Q_OBJECT
11 public: 11 public:
12 explicit MainWindow(QWidget *parent = nullptr); 12 explicit MainWindow(QWidget *parent = nullptr);
13 Q_SIGNALS: 13 Q_SIGNALS:
14 void renderStyleSelected(gl::RenderStyle newStyle); 14 void renderStyleSelected(gl::RenderStyle newStyle);
15 void recentFileSelected(const QString& path);
15 public Q_SLOTS: 16 public Q_SLOTS:
16 void setRenderStyle(gl::RenderStyle style); 17 void setRenderStyle(gl::RenderStyle style);
18 void rebuildRecentFilesMenu(const QStringList& strings);
17 private Q_SLOTS: 19 private Q_SLOTS:
18 void showAboutDialog(); 20 void showAboutDialog();
19 }; 21 };
20 22
21 #endif // MAINWINDOW_H 23 #endif // MAINWINDOW_H

mercurial