#include "BlockLibraryWidget.h"
#include "GroupWidget.h"
#include "GroupScene.h"
-#include "BlockWidget.h"
+#include "VHDLConverter.h"
#include "AbstractBoxItem.h"
#include "Graph.h"
#include "GroupItem.h"
msgBox.setStandardButtons(QMessageBox::Cancel);
msgBox.setDefaultButton(QMessageBox::Cancel);
- int ret = msgBox.exec();
+ msgBox.exec();
}
}
}
void MainWindow::slotNewBlockWidget() {
- new BlockWidget();
+ new VHDLConverter();
}
void MainWindow::slotSaveProject(){
void MainWindow::slotGraphValidation() {
- params->getGraph()->computeOutputPatterns(5);
- //params->parametersValidation();
+ try {
+ params->getGraph()->computeOutputPatterns(5);
+ }
+ catch(Exception e) {
+ cerr << qPrintable(e.getMessage()) << endl;
+ }
}
void MainWindow::addTopGroup(GroupWidget *_topGroup) {