src/mainwindow.h

Thu, 15 Jun 2023 16:18:03 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Thu, 15 Jun 2023 16:18:03 +0300
changeset 383
530d23cd4e97
parent 362
e1d646a4cbd8
permissions
-rw-r--r--

Refactor, make selecting elements from the model select the corresponding line from the editor as well

#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

mercurial