diff options
author | David Shah <davey1576@gmail.com> | 2018-06-26 15:58:35 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-26 15:58:35 +0200 |
commit | 95de0a36b43776ffd07993ff7d2be994981aa8fb (patch) | |
tree | f40c72cd0a4aaa0df13a9ef7401d7dc73a235ce7 /gui/basewindow.h | |
parent | 21d5a04501e411b8c1391606c1eafba5d4789c41 (diff) | |
parent | 0bd73c19778c9bdbc8e6d85c120715e239a9bc0d (diff) | |
download | nextpnr-95de0a36b43776ffd07993ff7d2be994981aa8fb.tar.gz nextpnr-95de0a36b43776ffd07993ff7d2be994981aa8fb.tar.bz2 nextpnr-95de0a36b43776ffd07993ff7d2be994981aa8fb.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/basewindow.h')
-rw-r--r-- | gui/basewindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/basewindow.h b/gui/basewindow.h index 038b82c5..601f6acb 100644 --- a/gui/basewindow.h +++ b/gui/basewindow.h @@ -39,7 +39,7 @@ class BaseMainWindow : public QMainWindow Q_OBJECT
public:
- explicit BaseMainWindow(Context *ctx, QWidget *parent = 0);
+ explicit BaseMainWindow(QWidget *parent = 0);
virtual ~BaseMainWindow();
Context *getContext() { return ctx; }
@@ -53,6 +53,9 @@ class BaseMainWindow : public QMainWindow virtual void open_proj() = 0;
virtual bool save_proj() = 0;
+ Q_SIGNALS:
+ void contextChanged(Context *ctx);
+
protected:
Context *ctx;
QTabWidget *tabWidget;
|