aboutsummaryrefslogtreecommitdiffstats
path: root/gui/pyconsole.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-12-14 17:20:25 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2018-12-14 17:20:25 +0100
commite0b4a2eeab91696e54d9ff3acc319d99ab9b96f9 (patch)
tree79b6bc1d50c75b6b7bb78b5d842d9c75178c4a09 /gui/pyconsole.h
parent19cffde375fe63e36bfd880727bdc0a04a2ccf32 (diff)
downloadnextpnr-e0b4a2eeab91696e54d9ff3acc319d99ab9b96f9.tar.gz
nextpnr-e0b4a2eeab91696e54d9ff3acc319d99ab9b96f9.tar.bz2
nextpnr-e0b4a2eeab91696e54d9ff3acc319d99ab9b96f9.zip
Add GUI for executing python file
Diffstat (limited to 'gui/pyconsole.h')
-rw-r--r--gui/pyconsole.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/pyconsole.h b/gui/pyconsole.h
index 9dbd3b95..977242f3 100644
--- a/gui/pyconsole.h
+++ b/gui/pyconsole.h
@@ -43,6 +43,7 @@ class PythonConsole : public QTextEdit, public ParseListener
void displayString(QString text);
void moveCursorToEnd();
virtual void parseEvent(const ParseMessage &message);
+ void execute_python(std::string filename);
protected:
static const QColor NORMAL_COLOR;