src/mainwindow.h

Sat, 08 Apr 2023 16:41:40 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sat, 08 Apr 2023 16:41:40 +0300
changeset 354
91053052bb28
child 355
e81f4ad53efd
permissions
-rw-r--r--

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

mercurial