diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-26 15:47:22 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-26 15:47:43 +0200 |
commit | 0bd73c19778c9bdbc8e6d85c120715e239a9bc0d (patch) | |
tree | c269c560c2dc284a4721bea2722a73bb522e5e3e /gui/basewindow.h | |
parent | 6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f (diff) | |
download | nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.tar.gz nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.tar.bz2 nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.zip |
Make GUI use recreated context
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;
|