aboutsummaryrefslogtreecommitdiffstats
path: root/gui/infotab.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-14 18:53:32 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-14 20:04:22 +0200
commit4e82ed46d209d05508c7af24cfe135c78ee353db (patch)
tree8af990b5b75b5cb1f443a3ef1fc4be67f28e9556 /gui/infotab.h
parent9c0640240fdb2df2b1a39602e0750fdfd4fb541e (diff)
downloadnextpnr-4e82ed46d209d05508c7af24cfe135c78ee353db.tar.gz
nextpnr-4e82ed46d209d05508c7af24cfe135c78ee353db.tar.bz2
nextpnr-4e82ed46d209d05508c7af24cfe135c78ee353db.zip
Split to classes
Diffstat (limited to 'gui/infotab.h')
-rw-r--r--gui/infotab.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/gui/infotab.h b/gui/infotab.h
new file mode 100644
index 00000000..bf673ee6
--- /dev/null
+++ b/gui/infotab.h
@@ -0,0 +1,22 @@
+#ifndef INFOTAB_H
+#define INFOTAB_H
+
+#include "nextpnr.h"
+#include <QPlainTextEdit>
+
+// FIXME
+USING_NEXTPNR_NAMESPACE
+
+class InfoTab : public QWidget
+{
+ Q_OBJECT
+
+ public:
+ explicit InfoTab(QWidget *parent = 0);
+ void info(std::string str);
+
+ private:
+ QPlainTextEdit *plainTextEdit;
+};
+
+#endif // INFOTAB_H