aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
blob: 5b242356bbb528ca7d2725bf0bbe3539936fd1b5 (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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "emb.h"

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    int executePython(std::string command);

private Q_SLOTS:
    void on_lineEdit_returnPressed();

private:
    Ui::MainWindow *ui;
    emb::stdout_write_type write;
};

#endif // MAINWINDOW_H