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

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

  public:
    explicit MainWindow(Design *design, 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;
    Design *design;
};

#endif // MAINWINDOW_H