diff options
author | David Shah <davey1576@gmail.com> | 2018-06-20 13:01:30 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-20 13:01:30 +0200 |
commit | c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3 (patch) | |
tree | 99d69744331bbfed7627c2bd792abe0a0251b7da /gui/pythontab.h | |
parent | 4648d3bc839f1c8458d3b96bc572774600eaa33f (diff) | |
parent | 37f7802c6cfb9d9612e595c9914704c5403db9df (diff) | |
download | nextpnr-c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3.tar.gz nextpnr-c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3.tar.bz2 nextpnr-c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/pythontab.h')
-rw-r--r-- | gui/pythontab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/pythontab.h b/gui/pythontab.h index 3876b3df..5aed8b0b 100644 --- a/gui/pythontab.h +++ b/gui/pythontab.h @@ -2,6 +2,7 @@ #define PYTHONTAB_H
#include <QLineEdit>
+#include <QMenu>
#include <QPlainTextEdit>
#include "emb.h"
#include "line_editor.h"
@@ -22,10 +23,13 @@ class PythonTab : public QWidget int executePython(std::string &command);
private Q_SLOTS:
void editLineReturnPressed(QString text);
+ void showContextMenu(const QPoint &pt);
+ void clearBuffer();
private:
QPlainTextEdit *plainTextEdit;
LineEditor *lineEdit;
+ QMenu *contextMenu;
emb::stdout_write_type write;
};
|