aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ecp5/mainwindow.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-04 20:17:46 +0200
committerClifford Wolf <clifford@clifford.at>2018-08-04 20:17:46 +0200
commitd31036825b02f6a08a3dc7e791bbb188e9629781 (patch)
tree20e4bb9c32201852de2802e524f0fc684f9f956d /gui/ecp5/mainwindow.h
parent175da732ac18acaf16eff97a2b7711b25a2cb157 (diff)
parent7d5dba3ad378563869657b4330c178ecd8c24931 (diff)
downloadnextpnr-d31036825b02f6a08a3dc7e791bbb188e9629781.tar.gz
nextpnr-d31036825b02f6a08a3dc7e791bbb188e9629781.tar.bz2
nextpnr-d31036825b02f6a08a3dc7e791bbb188e9629781.zip
Merge branch 'master' of github.com:YosysHQ/nextpnr into lutperm
Diffstat (limited to 'gui/ecp5/mainwindow.h')
-rw-r--r--gui/ecp5/mainwindow.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/gui/ecp5/mainwindow.h b/gui/ecp5/mainwindow.h
index e97bb4e7..d1d5a5a2 100644
--- a/gui/ecp5/mainwindow.h
+++ b/gui/ecp5/mainwindow.h
@@ -29,16 +29,32 @@ class MainWindow : public BaseMainWindow
Q_OBJECT
public:
- explicit MainWindow(std::unique_ptr<Context> context, QWidget *parent = 0);
+ explicit MainWindow(std::unique_ptr<Context> context, ArchArgs args, QWidget *parent = 0);
virtual ~MainWindow();
public:
void createMenu();
+ void load_base_config(std::string filename);
+
+ protected:
+ void onDisableActions() override;
+ void onRouteFinished() override;
protected Q_SLOTS:
virtual void new_proj();
virtual void open_proj();
virtual bool save_proj();
+ void newContext(Context *ctx);
+ void open_base();
+ void save_config();
+ private:
+ QAction *actionLoadBase;
+ QAction *actionSaveConfig;
+
+ ArchArgs chipArgs;
+
+ std::string currentProj;
+ std::string currentBaseConfig;
};
NEXTPNR_NAMESPACE_END