-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindow.h
42 lines (34 loc) · 802 Bytes
/
window.h
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
35
36
37
38
39
40
41
42
#ifndef WINDOW_H
#define WINDOW_H
#include <QWidget>
#include "streamredirector.h"
class HiveWidget;
class ReplicodeHandler;
class QPushButton;
class QTextEdit;
class QListWidget;
class QListWidgetItem;
class Window : public QWidget
{
Q_OBJECT
public:
explicit Window(QWidget *parent = 0);
signals:
private slots:
void onLoadImage();
void onLoadSource();
void onRunClicked(bool checked);
void onReplicodeError(QString error);
private:
void loadNodes();
HiveWidget *m_hivePlot;
ReplicodeHandler *m_replicode;
QPushButton *m_loadImageButton;
QPushButton *m_loadSourceButton;
QPushButton *m_runButton;
QTextEdit *m_outputView;
StreamRedirector m_debugStream;
StreamRedirector m_errorStream;
QColor m_textColor;
};
#endif // WINDOW_H