aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorZipCPU <dgisselq@ieee.org>2018-06-06 07:55:18 -0400
committerZipCPU <dgisselq@ieee.org>2018-06-06 07:55:18 -0400
commitd0ee08aeb12a8fb7237b31083666d9b165f13f69 (patch)
treee09d84b0389462f2c1959ce59438d88a7b5f9ed2 /gui/mainwindow.h
parent2e6d0b752ab2d269f822bfd3ea029b100ecf4233 (diff)
parentd3f19cc27ea4634a64821688e9adec6046f4d7de (diff)
downloadnextpnr-d0ee08aeb12a8fb7237b31083666d9b165f13f69.tar.gz
nextpnr-d0ee08aeb12a8fb7237b31083666d9b165f13f69.tar.bz2
nextpnr-d0ee08aeb12a8fb7237b31083666d9b165f13f69.zip
Merge branch 'master' into gqtech
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