diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 19:12:29 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 19:12:29 +0100 |
commit | 1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c (patch) | |
tree | 56765c8830654b50e0e7f302527a34fbeb38b371 /gui/pythontab.h | |
parent | eafb9b4281db82b7f5b2cfcab4dfcfd1dcb038aa (diff) | |
parent | 8d1996cae99ff80a2d9390b94db54217ed1d8726 (diff) | |
download | nextpnr-1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c.tar.gz nextpnr-1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c.tar.bz2 nextpnr-1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/pythontab.h')
-rw-r--r-- | gui/pythontab.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/pythontab.h b/gui/pythontab.h index 3fd12981..134874b6 100644 --- a/gui/pythontab.h +++ b/gui/pythontab.h @@ -20,8 +20,6 @@ #ifndef PYTHONTAB_H
#define PYTHONTAB_H
-#ifndef NO_PYTHON
-
#include <QLineEdit>
#include <QMenu>
#include <QPlainTextEdit>
@@ -42,10 +40,11 @@ class PythonTab : public QWidget private Q_SLOTS:
void showContextMenu(const QPoint &pt);
- void clearBuffer();
void editLineReturnPressed(QString text);
public Q_SLOTS:
void newContext(Context *ctx);
+ void info(std::string str);
+ void clearBuffer();
private:
PythonConsole *console;
@@ -60,6 +59,5 @@ class PythonTab : public QWidget };
NEXTPNR_NAMESPACE_END
-#endif // NO_PYTHON
#endif // PYTHONTAB_H
|