blob: ffb4f086d552827de07cd0d9ade975e63ba15dcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef MAIN_H
#define MAIN_H
#include <QMainWindow>
#include <QLabel>
#include <QMenuBar>
#include <QStatusBar>
#include "config.hpp"
#include "draw.hpp"
#include "rendercoord.hpp"
#include <qmainwindow.h>
#include <render.hpp>
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(Renderer r, const Config &conf);
private slots:
void saveimage();
private:
DrawWidget m_drawer;
QLabel runstatus;
RenderCoordinator m_render;
QMenu *fileMenu;
QMenu *helpMenu;
const Config &m_conf;
};
#endif
|