aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
new file mode 100644
index 00000000..5b242356
--- /dev/null
+++ b/gui/mainwindow.h
@@ -0,0 +1,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