Changeset 386 for trunk/yao


Ignore:
Timestamp:
07/13/10 18:13:47 (14 years ago)
Author:
yerima
Message:

The boost librairie is enable seeing in the Order's directive and visual Yao.

Location:
trunk/yao/src/interface
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/yao/src/interface/src/MainWindow.cpp

    r383 r386  
    140140                actionOuvrirProjet->setStatusTip("Ouvrir un projet existant"); 
    141141 
    142                 //connect(actionOuvrirProjet, SIGNAL(triggered()), this, SLOT(ouvrirProjet())); 
     142                connect(actionOuvrirProjet, SIGNAL(triggered()), this, SLOT(openProject())); 
    143143                //connect(actionOuvrirProjet, SIGNAL(triggered()), this, SLOT(montrerActionCompilation())); 
    144144 
     
    498498} 
    499499 
     500/**************************************** Implementation of the method nouveauProjet (SLOT) *******************************************************/ 
     501void 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} 
    500508/**************************************** Implementation of the method hatUpdate() ****************************************************************/ 
    501509void MainWindow::hatUpdate() { 
  • trunk/yao/src/interface/src/include/MainWindow.hpp

    r384 r386  
    77 
    88//#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  
    1020//#include "MainWindowController.hpp" 
    1121#include "../help/Enforcer.hpp" 
     
    3646#include "ConnectionWindow.hpp" 
    3747#include "NewProjectWindow.hpp" 
     48/* 
     49using namespace antlr; 
     50using namespace std; 
     51using namespace yao; 
     52*/ 
    3853 
    3954/*! 
     
    96111                        void montrerActionGenererD(); 
    97112                        void createNewProjectWindow(); 
     113                        void openProject(); 
    98114                        //void helpMessage(); 
    99115                        void createDefvalWindow(); 
  • trunk/yao/src/interface/src/include/OrderWindow.hpp

    r364 r386  
    1313#include "../../ui_orderwindow.h" 
    1414#include "../../../YAOObjects/Table.hpp" 
    15 //#include "../../../YAOObjects/Order.hpp" 
     15#include "../../../YAOObjects/Order.hpp" 
    1616#include <QStandardItemModel> 
    1717 
  • trunk/yao/src/interface/ui_newprojectwindow.h

    r381 r386  
    22** Form generated from reading UI file 'newprojectwindow.ui' 
    33** 
    4 ** Created: Tue Jul 6 16:37:01 2010 
    5 **      by: Qt User Interface Compiler version 4.6.2 
     4** Created: Tue Jul 13 14:35:14 2010 
     5**      by: Qt User Interface Compiler version 4.6.3 
    66** 
    77** WARNING! All changes made in this file will be lost when recompiling UI file! 
Note: See TracChangeset for help on using the changeset viewer.