diff options
author | David Shah <davey1576@gmail.com> | 2018-06-27 12:00:37 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-27 12:00:37 +0200 |
commit | 87a5b7212667daa55a72f62c35cc248bdce2c744 (patch) | |
tree | cd541aeba55bbc67e1a935bb00b7669a9eed0d32 /gui/pythontab.h | |
parent | 2cc7ade05b52b89186f5210c97ebbc61aa5c166d (diff) | |
parent | bafb4702c7176a08e4a9b2088297071a7bed6656 (diff) | |
download | nextpnr-87a5b7212667daa55a72f62c35cc248bdce2c744.tar.gz nextpnr-87a5b7212667daa55a72f62c35cc248bdce2c744.tar.bz2 nextpnr-87a5b7212667daa55a72f62c35cc248bdce2c744.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/pythontab.h')
-rw-r--r-- | gui/pythontab.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/pythontab.h b/gui/pythontab.h index 40de0ebe..871d2450 100644 --- a/gui/pythontab.h +++ b/gui/pythontab.h @@ -37,6 +37,7 @@ class PythonTab : public QWidget public:
explicit PythonTab(QWidget *parent = 0);
+ ~PythonTab();
private:
void print(std::string line);
@@ -45,12 +46,14 @@ class PythonTab : public QWidget void editLineReturnPressed(QString text);
void showContextMenu(const QPoint &pt);
void clearBuffer();
-
+ public Q_SLOTS:
+ void newContext(Context *ctx);
private:
QPlainTextEdit *plainTextEdit;
LineEditor *lineEdit;
QMenu *contextMenu;
emb::stdout_write_type write;
+ bool initialized;
};
NEXTPNR_NAMESPACE_END
|