A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
blast.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished VHDL gen
[blast.git]
/
MainWindow.h
diff --git
a/MainWindow.h
b/MainWindow.h
index 99858c8d0137e26151c2a2b380456410d7eb666a..96fab67769428f4a8e14a11698c19dfb620d9830 100644
(file)
--- a/
MainWindow.h
+++ b/
MainWindow.h
@@
-23,7
+23,9
@@
class Graph;
// defines for menus
// defines for menus
-#define TRACE_MENU (quint8)1
+#define PROJECT_MENU (quint8)1
+#define ANALYSIS_MENU (quint8)2
+#define TOOLS_MENU (quint8)3
// defines for actions
#define NONE_ACT (quint16)0
// defines for actions
#define NONE_ACT (quint16)0
@@
-35,6
+37,9
@@
class Graph;
#define PROJECT_CLOSE (quint16)16
#define PROJECT_LIB (quint16)32
#define PROJECT_CLOSE (quint16)16
#define PROJECT_LIB (quint16)32
+#define ANALYSIS_ANALYZE (quint16)1
+#define ANALYSIS_GENERATE (quint16)2
+
#define OP_ADD (quint8)0
#define OP_REM (quint8)1
#define OP_RAZ (quint8)2
#define OP_ADD (quint8)0
#define OP_REM (quint8)1
#define OP_RAZ (quint8)2
@@
-89,8
+94,11
@@
private:
QMenu* projectMenu;
quint16 projectMenuEnb;
QMenu* projectMenu;
quint16 projectMenuEnb;
+ QMenu* analysisMenu;
+ quint16 analysisMenuEnb;
QMenu* toolsMenu;
QMenu* toolsMenu;
+ // actions for project
QAction* newProject;
QAction* openProject;
QAction* saveProject;
QAction* newProject;
QAction* openProject;
QAction* saveProject;
@@
-98,9
+106,12
@@
private:
QAction* closeProject;
QAction* openLibrary;
QAction* closeProject;
QAction* openLibrary;
- QAction *newBlockWidgetAct;
- QAction *graphValidation;
+ // actions for graph analysis
+ QAction *graphAnalysis;
+ QAction *generateVHDL;
+ // actions for tools
+ QAction *vhdlToXmlAct;
// versioning related
quint8 versionMaj;
// versioning related
quint8 versionMaj;
@@
-109,6
+120,7
@@
private:
public slots:
void enableProjectActions(bool enbMenu, quint16 mask = 0, quint8 op = 0); // default : add nothing
public slots:
void enableProjectActions(bool enbMenu, quint16 mask = 0, quint8 op = 0); // default : add nothing
+ void enableAnalysisActions(bool enbMenu, quint16 mask = 0, quint8 op = 0); // default : add nothing
private slots:
void slotNewProject();
private slots:
void slotNewProject();
@@
-118,8
+130,10
@@
private slots:
bool slotCloseProject();
void slotOpenBlockLibrary();
bool slotCloseProject();
void slotOpenBlockLibrary();
- void slotNewBlockWidget();
- void slotGraphValidation();
+ void slotGraphAnalysis();
+ void slotGenerateVHDL();
+
+ void slotVHDLToXml();
void slotCheckNewVersion(QNetworkReply *reply);
};
void slotCheckNewVersion(QNetworkReply *reply);
};