aboutsummaryrefslogtreecommitdiffstats
path: root/gui/infotab.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-20 13:01:30 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-20 13:01:30 +0200
commitc667f640d50b8b6ac7c3c3a25f0990c1ba522ae3 (patch)
tree99d69744331bbfed7627c2bd792abe0a0251b7da /gui/infotab.h
parent4648d3bc839f1c8458d3b96bc572774600eaa33f (diff)
parent37f7802c6cfb9d9612e595c9914704c5403db9df (diff)
downloadnextpnr-c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3.tar.gz
nextpnr-c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3.tar.bz2
nextpnr-c667f640d50b8b6ac7c3c3a25f0990c1ba522ae3.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/infotab.h')
-rw-r--r--gui/infotab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/infotab.h b/gui/infotab.h
index e3c58ba5..d7f1408c 100644
--- a/gui/infotab.h
+++ b/gui/infotab.h
@@ -1,6 +1,7 @@
#ifndef INFOTAB_H
#define INFOTAB_H
+#include <QMenu>
#include <QPlainTextEdit>
#include "nextpnr.h"
@@ -14,9 +15,13 @@ class InfoTab : public QWidget
public:
explicit InfoTab(QWidget *parent = 0);
void info(std::string str);
+ private Q_SLOTS:
+ void showContextMenu(const QPoint &pt);
+ void clearBuffer();
private:
QPlainTextEdit *plainTextEdit;
+ QMenu *contextMenu;
};
#endif // INFOTAB_H