diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-08 21:15:54 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-08 21:15:54 +0200 |
commit | 5dd7a74b874cae0bb8b22ef8a385e2546d3bd531 (patch) | |
tree | 3c9425eccdf9696f94ed8b0690cfb0110978103a /gui/basewindow.h | |
parent | bc378fc3e4bbb16251f4076384eb6aaf25ef79e3 (diff) | |
download | nextpnr-5dd7a74b874cae0bb8b22ef8a385e2546d3bd531.tar.gz nextpnr-5dd7a74b874cae0bb8b22ef8a385e2546d3bd531.tar.bz2 nextpnr-5dd7a74b874cae0bb8b22ef8a385e2546d3bd531.zip |
Make loading works nice and use settings
Diffstat (limited to 'gui/basewindow.h')
-rw-r--r-- | gui/basewindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/basewindow.h b/gui/basewindow.h index 6e8f8587..eb32033a 100644 --- a/gui/basewindow.h +++ b/gui/basewindow.h @@ -48,7 +48,9 @@ class BaseMainWindow : public QMainWindow explicit BaseMainWindow(std::unique_ptr<Context> context, ArchArgs args, QWidget *parent = 0);
virtual ~BaseMainWindow();
Context *getContext() { return ctx.get(); }
- void updateJsonLoaded();
+ void updateLoaded();
+ void projectLoad(std::string filename);
+ void notifyChangeContext();
protected:
void createMenusAndBars();
@@ -95,7 +97,6 @@ class BaseMainWindow : public QMainWindow std::unique_ptr<Context> ctx;
TaskManager *task;
bool timing_driven;
- std::string currentJson;
std::string currentProj;
// main widgets
|