From 6d2f058f678761e90fc451af48f4e0ed0f504603 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 20 Jun 2018 12:34:06 +0200 Subject: Added context menus for python and info tab --- gui/pythontab.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui/pythontab.h') 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 +#include #include #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; }; -- cgit v1.2.3