clangformat
This commit is contained in:
parent
e40b61e87e
commit
23a7d96f4c
@ -25,13 +25,13 @@
|
||||
#include <QIcon>
|
||||
#include <QInputDialog>
|
||||
#include <QSplitter>
|
||||
#include <fstream>
|
||||
#include "designwidget.h"
|
||||
#include "fpgaviewwidget.h"
|
||||
#include "jsonparse.h"
|
||||
#include "log.h"
|
||||
#include "mainwindow.h"
|
||||
#include "pythontab.h"
|
||||
#include "jsonparse.h"
|
||||
#include <fstream>
|
||||
|
||||
static void initBasenameResource() { Q_INIT_RESOURCE(base); }
|
||||
|
||||
|
@ -50,6 +50,7 @@ class BaseMainWindow : public QMainWindow
|
||||
Context *getContext() { return ctx.get(); }
|
||||
|
||||
void load_json(std::string filename);
|
||||
|
||||
protected:
|
||||
void createMenusAndBars();
|
||||
void disableActions();
|
||||
|
@ -309,14 +309,7 @@ void MainWindow::onDisableActions()
|
||||
actionSaveAsc->setEnabled(false);
|
||||
}
|
||||
|
||||
void MainWindow::onJsonLoaded()
|
||||
{
|
||||
actionLoadPCF->setEnabled(true);
|
||||
}
|
||||
void MainWindow::onRouteFinished()
|
||||
{
|
||||
actionSaveAsc->setEnabled(true);
|
||||
}
|
||||
|
||||
void MainWindow::onJsonLoaded() { actionLoadPCF->setEnabled(true); }
|
||||
void MainWindow::onRouteFinished() { actionSaveAsc->setEnabled(true); }
|
||||
|
||||
NEXTPNR_NAMESPACE_END
|
||||
|
@ -35,6 +35,7 @@ class MainWindow : public BaseMainWindow
|
||||
public:
|
||||
void createMenu();
|
||||
void load_pcf(std::string filename);
|
||||
|
||||
protected:
|
||||
void onDisableActions() override;
|
||||
void onJsonLoaded() override;
|
||||
|
Loading…
Reference in New Issue
Block a user