- Timestamp:
- 10/03/10 16:21:45 (14 years ago)
- Location:
- trunk/yao/src/interface
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/src/MainWindow.cpp
r435 r436 36 36 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), m_constantWindow(NULL), m_hatnameWindow(NULL), m_contextWindow(NULL), m_trajectoryWindow(NULL), m_spaceWindow(NULL), m_operaWindow(NULL), m_netwardWindow(NULL), m_modulWindow(NULL), m_ctinWindow(NULL), m_orderWindow(NULL), m_insertFCTWindow(NULL), m_newProjectWindow(NULL), m_newProjectName(""), theConstantTablePt(theConstantTable), contextTest(false) 37 37 { 38 InstructionWindow *in = new InstructionWindow ;39 in->show();40 38 setWindowTitle(" Visual YAO "); //Gives a title to the mainwindow. 41 39 pt_espace = new QWorkspace; //Crée un espace de travail. Ici, ça serait notre zone centrale … … 105 103 menuFichier->addAction(actionSortieProjet); 106 104 menuEdition = menuBar()->addMenu("&Edition"); 107 menuEdition->addAction(actionFichierDescription);108 menuEdition->addAction(actionFichierHat);105 //menuEdition->addAction(actionFichierDescription); 106 //menuEdition->addAction(actionFichierHat); 109 107 //nouveau->addAction(actionModule); 110 108 menuEdition->addAction(actionFichierInstruction); 111 109 menuEdition->addAction(actionGrapheModulaire); 112 menuEdition->addAction(actionInfosProjet);110 //menuEdition->addAction(actionInfosProjet); 113 111 114 112 menuAffichage = menuBar()->addMenu("&Affichage"); … … 183 181 184 182 // Les actions du menu Edition 185 actionFichierDescription = new QAction(tr("Fichier de description (.d)"), this);186 187 connect(actionFichierDescription, SIGNAL(triggered()), this, SLOT(generateDFile()));188 189 actionFichierHat = new QAction(tr("Fichier (.h)"), this);190 //actionModule = new QAction(tr("Modul"), this);183 //actionFichierDescription = new QAction(tr("Fichier de description (.d)"), this); 184 185 //connect(actionFichierDescription, SIGNAL(triggered()), this, SLOT(generateDFile())); 186 187 //actionFichierHat = new QAction(tr("Fichier (.h)"), this); 188 //actionModule = new QAction(tr("Modul"), this); 191 189 actionFichierInstruction = new QAction(tr("Fichier instruction (.i)"), this); 190 connect(actionFichierInstruction, SIGNAL(triggered()), this, SLOT(instructionFileManager())); 192 191 actionGrapheModulaire = new QAction(tr("Graphe modulaire"), this); 193 actionInfosProjet = new QAction(tr("Edition infos projet"), this);192 //actionInfosProjet = new QAction(tr("Edition infos projet"), this); 194 193 195 194 // Les actions du menu Affichage … … 904 903 } 905 904 905 /********************************************* Implementation of the method instructionFileManager() *********************************************/ 906 void MainWindow::instructionFileManager() { 907 908 909 InstructionWindow *iw = new InstructionWindow ; 910 espace.addWindow(iw)->move(0, 0); 911 iw->show(); 912 913 } 906 914 /********************************************* Implementation of the method initializeWindow(int anInt) *********************************************/ 907 915 void MainWindow::initializeWindow(int anInt) { -
trunk/yao/src/interface/src/include/MainWindow.hpp
r435 r436 107 107 void desactivateToolBarButtons(); 108 108 void generateDFile(std::string destination = "projects/"); 109 void instructionFileManager(); 109 110 void montrerActionCompilation(); 110 111 void montrerActionGenererD(); -
trunk/yao/src/interface/src/ui_/instructionwindow.ui
r435 r436 90 90 <widget class="QLabel" name="m_fonctionParameterLabel"> 91 91 <property name="text"> 92 <string>ParamÚtre :</string>92 <string>ParamÚtre(s):</string> 93 93 </property> 94 94 </widget> -
trunk/yao/src/interface/ui_newprojectwindow.h
r397 r436 2 2 ** Form generated from reading UI file 'newprojectwindow.ui' 3 3 ** 4 ** Created: Tue Aug 3 14:31:2520105 ** by: Qt User Interface Compiler version 4.6. 34 ** Created: Sun Oct 3 13:46:54 2010 5 ** by: Qt User Interface Compiler version 4.6.2 6 6 ** 7 7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
Note: See TracChangeset
for help on using the changeset viewer.