- Timestamp:
- 07/13/10 18:13:47 (14 years ago)
- Location:
- trunk/yao/src/interface
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/src/MainWindow.cpp
r383 r386 140 140 actionOuvrirProjet->setStatusTip("Ouvrir un projet existant"); 141 141 142 //connect(actionOuvrirProjet, SIGNAL(triggered()), this, SLOT(ouvrirProjet()));142 connect(actionOuvrirProjet, SIGNAL(triggered()), this, SLOT(openProject())); 143 143 //connect(actionOuvrirProjet, SIGNAL(triggered()), this, SLOT(montrerActionCompilation())); 144 144 … … 498 498 } 499 499 500 /**************************************** Implementation of the method nouveauProjet (SLOT) *******************************************************/ 501 void MainWindow::openProject() { // Affiche la fenetre nouveau projet lorsqu'elle est appelée. 502 503 QFileDialog *dialogue = new QFileDialog(this); //Crée une boite de dialogue 504 505 QString cheminFichier = dialogue->getOpenFileName(this, tr("Ouverture d'un project existant."), QDir::homePath(), tr("*.d *.i *.txt")); //Retourne le chemin du fichier. 506 //QMessageBox::about(this, "test", "Ouverture un projet existant."); 507 } 500 508 /**************************************** Implementation of the method hatUpdate() ****************************************************************/ 501 509 void MainWindow::hatUpdate() { -
trunk/yao/src/interface/src/include/MainWindow.hpp
r384 r386 7 7 8 8 //#include "../Translator.hpp" 9 9 /* 10 #include <iostream> 11 #include "../../../help/FilePath.hpp" 12 #include "../../../Translator.hpp" 13 #include "../../../help/Display.hpp" 14 //#include "interface/src/include/ConstantWindow.hpp" 15 //#include "interface/src/include/HatNameWindow.hpp" 16 //#include <QMessageBox> 17 #include <antlr/TokenStreamRecognitionException.hpp> 18 */ 19 10 20 //#include "MainWindowController.hpp" 11 21 #include "../help/Enforcer.hpp" … … 36 46 #include "ConnectionWindow.hpp" 37 47 #include "NewProjectWindow.hpp" 48 /* 49 using namespace antlr; 50 using namespace std; 51 using namespace yao; 52 */ 38 53 39 54 /*! … … 96 111 void montrerActionGenererD(); 97 112 void createNewProjectWindow(); 113 void openProject(); 98 114 //void helpMessage(); 99 115 void createDefvalWindow(); -
trunk/yao/src/interface/src/include/OrderWindow.hpp
r364 r386 13 13 #include "../../ui_orderwindow.h" 14 14 #include "../../../YAOObjects/Table.hpp" 15 //#include "../../../YAOObjects/Order.hpp"15 #include "../../../YAOObjects/Order.hpp" 16 16 #include <QStandardItemModel> 17 17 -
trunk/yao/src/interface/ui_newprojectwindow.h
r381 r386 2 2 ** Form generated from reading UI file 'newprojectwindow.ui' 3 3 ** 4 ** Created: Tue Jul 6 16:37:0120105 ** by: Qt User Interface Compiler version 4.6. 24 ** Created: Tue Jul 13 14:35:14 2010 5 ** by: Qt User Interface Compiler version 4.6.3 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.