Changeset 362 for trunk/yao


Ignore:
Timestamp:
06/25/10 19:19:00 (14 years ago)
Author:
yerima
Message:

New project have it's class in two files: NewProjectWindow?.cpp and NewProject?.hpp. In all directives, a default or autodefault button is defined. Visual Yao.

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

Legend:

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

    r359 r362  
    3737 
    3838        setWindowTitle(" Visual YAO ");         //Gives a title to the mainwindow. 
    39         espace = new QWorkspace;                                //Crée un espace de travail. Ici, ça serait notre zone centrale 
     39        pt_espace = new QWorkspace;                             //Crée un espace de travail. Ici, ça serait notre zone centrale 
     40                pt_espace = &espace; 
    4041        fv  = new FilesViewer();                        //Création d'un espace montrant l'arborescence des fichiers sur le disque dûr. 
    4142         
     
    4748        addDockWidget(Qt::LeftDockWidgetArea, dock2); 
    4849         
    49         setCentralWidget(espace);       //Ici, se précise la zone centrale de la QMainWindow. 
     50        setCentralWidget(pt_espace);    //Ici, se précise la zone centrale de la QMainWindow. 
    5051         
    5152        // Appel des differentes méthodes crées. 
     
    123124 
    124125 // Les actions du menu fichier 
    125     actionNouveauProjet = new QAction(tr("Nouveau projet"), this); 
     126    actionNouveauProjet = new QAction(tr("&Nouveau projet"), this); 
    126127        actionNouveauProjet->setIcon(QIcon("Images/icons/newfile.png")); 
    127128        actionNouveauProjet->setStatusTip("Créer un nouveau projet"); 
     129        actionNouveauProjet->setShortcut(tr("Ctrl+N")); 
    128130        //connect(actionNouveauProjet, SIGNAL(triggered()), this, SLOT(activateToolBarButtons())); 
    129131        connect(actionNouveauProjet, SIGNAL(triggered()), this, SLOT(createNewProjectWindow())); 
     
    240242} 
    241243/********************************** Implementation of the method Implementation de la methode toolBarActions() ****************************************/ 
    242 void MainWindow::toolBarActions(QWorkspace *espace) { 
     244void MainWindow::toolBarActions(QWorkspace &espace) { 
    243245 
    244246     m_constantButton    = new QPushButton(tr("Defval"), this); 
     
    291293 
    292294        m_constantWindow = new ConstantWindow(&theConstantTable, &theHeaderList, &the_mwc); //Then create the object and initialize it. 
    293         espace->addWindow(m_constantWindow)->move(0, 0); //Put the object in the workspace (here, espace is the QWorkspace's object.) 
     295        espace.addWindow(m_constantWindow)->move(0, 0); //Put the object in the workspace (here, espace is the QWorkspace's object.) 
    294296        m_constantWindow->show();// shows the object.  
    295297        } 
     
    306308 
    307309        m_hatnameWindow = new HatNameWindow(&theHeaderList, &theConstantTable); //Then create the object and initialize it. 
    308         espace->addWindow(m_hatnameWindow)->move(350, 0); //Put the object in the workspace (here, espace is the QWorkspace's object.) 
     310        espace.addWindow(m_hatnameWindow)->move(350, 0); //Put the object in the workspace (here, espace is the QWorkspace's object.) 
    309311        m_hatnameWindow->show();// shows the object.  
    310312        } 
     
    318320 
    319321        m_contextWindow = new ContextWindow(&theContext, &theConstantTable, &the_mwc); //mwc.getContext(); 
    320         espace->addWindow(m_contextWindow)->move(5, 0); 
     322        espace.addWindow(m_contextWindow)->move(5, 0); 
    321323        m_contextWindow->show(); 
    322324        } 
     
    330332 
    331333        m_trajectoryWindow = new TrajectoryWindow(&theTrajectoryTable, &theConstantTable); //mwc.getTraj(); 
    332         espace->addWindow(m_trajectoryWindow)->move(30, 10); 
     334        espace.addWindow(m_trajectoryWindow)->move(30, 10); 
    333335        m_trajectoryWindow->show();  
    334336 
     
    345347         
    346348        m_spaceWindow = new SpaceWindow(&theSpaceTable, &theTrajectoryTable, &theConstantTable); //mwc.getSpace(); 
    347         espace->addWindow(m_spaceWindow)->move(30, 20); 
     349        espace.addWindow(m_spaceWindow)->move(30, 20); 
    348350        m_spaceWindow->show();  
    349351        } 
     
    357359        if (m_operaWindow == NULL) { //to test if the object is already created. 
    358360                m_operaWindow =  new OperaWindow(&theSpaceTable, &theTrajectoryTable, &theConstantTable); //mwc.getOpera(); 
    359                 espace->addWindow(m_operaWindow)->move(5, 8); 
     361                espace.addWindow(m_operaWindow)->move(5, 8); 
    360362                m_operaWindow->show();  
    361363        } 
     
    369371        if (m_netwardWindow == NULL) { //to test if the object is already created. 
    370372                m_netwardWindow = new NetwardWindow; //mwc.getNetward(); 
    371                 espace->addWindow(m_netwardWindow)->move(5, 15); 
     373                espace.addWindow(m_netwardWindow)->move(5, 15); 
    372374                m_netwardWindow->show(); 
    373375        } 
     
    381383        if (m_modulWindow == NULL) { //to test if the object is already created. 
    382384                m_modulWindow = new ModulWindow(&theModulTable, &theSpaceTable, &theOperaTable, &theConstantTable, &the_mwc); //mwc.getModul(); 
    383                 espace->addWindow(m_modulWindow); 
    384                 espace->addWindow(m_modulWindow)->move(30, 15); 
     385                espace.addWindow(m_modulWindow); 
     386                espace.addWindow(m_modulWindow)->move(30, 15); 
    385387                m_modulWindow->show();  
    386388        } 
     
    395397        if (m_ctinWindow == NULL) { //to test if the object is already created. 
    396398                m_ctinWindow = new ConnectionWindow; //mwc.getCtin(); 
    397                 espace->addWindow(m_ctinWindow)->move(0, 0); 
     399                espace.addWindow(m_ctinWindow)->move(0, 0); 
    398400                m_ctinWindow->show(); 
    399401        } 
     
    408410        if (m_orderWindow == NULL) { //to test if the object is already created. 
    409411                m_orderWindow = new OrderWindow; //mwc.getOrder(); 
    410                 espace->addWindow(m_orderWindow)->move(2, 0); 
     412                espace.addWindow(m_orderWindow)->move(2, 0); 
    411413                m_orderWindow->show(); 
    412414        } 
     
    420422        if (m_insertFCTWindow == NULL) { //to test if the object is already created. 
    421423                m_insertFCTWindow = new InsertFCTWindow; //mwc.getInsertFCT(); 
    422                 espace->addWindow(m_insertFCTWindow)->move(30, 20); 
     424                espace.addWindow(m_insertFCTWindow)->move(30, 20); 
    423425                m_insertFCTWindow->show(); 
    424426        } 
     
    472474/**************************************** Implementation of the method nouveauProjet (SLOT) *******************************************************/ 
    473475void MainWindow::createNewProjectWindow()       { // Affiche la fenetre nouveau projet lorsqu'elle est appelée. 
    474  
    475         newProjectWindow = new QDialog(espace); // L'objet sera affiché dans "espace". 
    476         newProjectWindow->setWindowTitle("Création d'un nouveau projet."); 
     476        //QWorkspace test;       
     477        m_newProjectWindow = new NewProjectWindow(espace); 
     478        //m_newProjectWindow->show(); 
     479        /*newProjectWindow = new QDialog(pt_espace); // L'objet sera affiché dans "espace". 
     480        //newProjectWindow->setWindowTitle("Création d'un nouveau projet."); 
    477481 
    478482        QLabel *m_labelProjetDescription      = new QLabel("BrÚve description du projet: "); 
     
    518522        newProjectWindow->resize(baseSize().width(), (height()/3)+80); //Permet de refixer les dimensions de la fenetre. 
    519523 
     524        newProjectWindow->hide(); 
    520525  connect(m_buttonCreateNewProject, SIGNAL(clicked()), this, SLOT(createProjectDirectory())); //Pour la création du répertoire.  
     526        //instance ++; //Permet de compter le nombre de "Nouveau Projet" crées.  
    521527  connect(this, SIGNAL(newProjectIsCreated()), newProjectWindow, SLOT(close())); //Fermeture automatique de la fenetre lorsqu'un nouveau projet est crée 
    522528  connect(m_buttonPath, SIGNAL(clicked()), this, SLOT(openPathWindow())); 
     
    524530  connect(m_buttonHelp, SIGNAL(clicked()), this, SLOT(helpMessage()));// Pour la fermeture de fenetre. 
    525531 
    526         //instance ++; //Permet de compter le nombre de "Nouveau Projet" crées.  
    527532        newProjectWindow->exec(); 
     533        */ 
    528534} 
    529535 
     
    537543                        //delete m_hatnameWindow; 
    538544                        m_hatnameWindow = new HatNameWindow(&theHeaderList, &theConstantTable); //Crée un autre objet. 
    539                         espace->addWindow(m_hatnameWindow)->move(350, 0); 
     545                        espace.addWindow(m_hatnameWindow)->move(350, 0); 
    540546                        m_hatnameWindow->show(); 
    541                         espace->setActiveWindow(m_constantWindow); 
     547                        espace.setActiveWindow(m_constantWindow); 
    542548                        m_hatnameWindow->update(); 
    543549                } 
     
    554560                        //delete m_hatnameWindow; 
    555561                        m_hatnameWindow = new HatNameWindow(&theHeaderList, &theConstantTable); //Crée un autre objet. 
    556                         espace->addWindow(m_hatnameWindow)->move(350, 0); 
     562                        espace.addWindow(m_hatnameWindow)->move(350, 0); 
    557563                        m_hatnameWindow->show(); 
    558                         espace->setActiveWindow(m_constantWindow); 
     564                        espace.setActiveWindow(m_constantWindow); 
    559565                } 
    560566        else 
     
    562568} 
    563569/********************************************* Implementation of the method helpMessage() *********************************************************/ 
    564 void MainWindow::helpMessage() { 
     570/*void MainWindow::helpMessage() { 
    565571 
    566572        QMessageBox msgBox; 
     
    572578                         
    573579                        msgBox.exec(); 
    574 } 
     580}*/ 
    575581/**************************************************** Implementation of the method openPathWindow() ***********************************************/ 
    576 void MainWindow::openPathWindow() { 
     582/*void MainWindow::openPathWindow() { 
    577583 
    578584        QString dir = QFileDialog::getExistingDirectory(this, tr("Open Directory"), "/home", QFileDialog::ShowDirsOnly |  
     
    583589 
    584590 
    585 } 
     591}*/ 
    586592/***************************************** Implementation of the method montrerActionGenererD() ****************************************************/ 
    587593 
  • trunk/yao/src/interface/src/ModulWindow.cpp

    r361 r362  
    2626        localConstantTable      = aConstantTable; 
    2727        m_localModulTable       = aModulTable; 
     28        m_localSpaceTable       = aSpaceTable; 
     29        m_localOperaTable       = anOperatorTable; 
    2830 
    2931        QRegExp regExp("[A-Za-z_][A-Za-z1-9_]{0,}");  
    3032        m_modulNameLine->setValidator(new QRegExpValidator(regExp, this)); 
    31         m_comboModulOpera->setDisabled(true); 
    32         m_comboModulTarget->insertItem(0, " "); 
    33         m_comboModulTarget->insertItem(1, "uptime"); 
    34         m_comboModulTarget->insertItem(2, "steptime"); 
    35         m_comboModulTarget->insertItem(3, "alltime"); 
    36  
    37         m_comboModulInter2->setDisabled(true); 
    38         m_comboModulInter3->setDisabled(true); 
     33 
     34        m_modulOperaCombo->setDisabled(true); 
     35        m_modulTargetCombo->insertItem(0, " "); 
     36        m_modulTargetCombo->insertItem(1, "uptime"); 
     37        m_modulTargetCombo->insertItem(2, "steptime"); 
     38        m_modulTargetCombo->insertItem(3, "alltime"); 
     39 
     40        m_modulInter2Combo->setDisabled(true); 
     41        m_modulInter3Combo->setDisabled(true); 
    3942         
    4043        if (isModulTableEmpty())  
    4144                m_modulDelButton->setDisabled(true);     
    42         //m_checkBoxModulArray->setDisabled(true); 
     45        //m_modulArrayCheckBox->setDisabled(true); 
    4346//      for (Table<Constant>::reverse_iterator it = localConstantTable->rbegin(); it != localConstantTable->rend(); it++)  { 
    4447//                              cout << it->getName().c_str() << endl; 
    45                 //m_comboModulSpaceName->insertItem(2, "DOUBLE");  
    46 //              m_comboModulAutonet->insertItem(2, QString(it->getName().c_str())); 
     48                //m_modulSpaceComboName->insertItem(2, "DOUBLE");  
     49//              m_modulAutonetCombo->insertItem(2, QString(it->getName().c_str())); 
    4750                //m_comboModulClonof->insertItem(1, QString(it->().c_str())); 
    4851//              m_comboModulLopera->insertItem(1, QString(it->getName().c_str()));  
    49         //      } 
     52 
     53        m_modulSpaceCombo->insertItem(0, " "); 
     54        m_modulOperaCombo->insertItem(0, " "); 
     55 
     56        for (Table<Space>::reverse_iterator it = m_localSpaceTable->rbegin(); it != m_localSpaceTable->rend(); it++) {  
     57                 
     58                m_modulSpaceCombo->insertItem(1, QString(it->getProperty(0).c_str())); 
     59                m_modulOperaCombo->insertItem(1, QString(it->getProperty(0).c_str())); 
     60                 
     61        } 
     62 
    5063        m_modulModel    = new QStandardItemModel(0, 11); 
    51                 m_modulModel->setHorizontalHeaderLabels(QStringList() << "Nom" << "space/opera" << "input" << "output" << "target" << "noward" << "autonet" << "netward" << "cout" << "lopera" << "tempo"); 
     64                m_modulModel->setHorizontalHeaderLabels(QStringList() << "Nom module" << "space/opera" << "input" << "output" << "target" << "noward" << "autonet" << "netward" << "cout" << "lopera" << "tempo"); 
    5265                         
    5366                m_modulTableView->setModel(m_modulModel); 
     
    5669                m_modulTableView->setSelectionBehavior(QAbstractItemView::SelectRows); 
    5770                m_modulTableView->resizeColumnsToContents(); 
    58                 //m_modulTableView-> 
    59  
    60         if (m_lineModulInput->text().isEmpty()) 
    61                 m_checkBoxModulArray->setDisabled(true); 
     71 
     72        for (Table<Modul>::iterator it = m_localModulTable->begin(); it != m_localModulTable->end(); it++) { 
     73  
     74             int row = m_modulModel->rowCount(); 
     75  
     76             //m_modulModel->setItem(row, 0, new QStandardItem(QString(it->getProperty(0).c_str()))); /*!< Gets the name.*/ 
     77             m_modulModel->setItem(row, 1, new QStandardItem(QString(it->getSpaceOrOperator().c_str()))); /*!< Gets the dimension (1, 2 or 3).*/ 
     78             //m_modulModel->setItem(row, 2, new QStandardItem(QString(it->getProperty(2).c_str()))); /*!< Gets the  choosed in the space directive .*/ 
     79           } 
     80 
     81         
     82 
     83        if (m_modulInputLine->text().isEmpty()) 
     84                m_modulArrayCheckBox->setDisabled(true); 
    6285                //cout << "vide! cooool" << endl;  
    63         //connect(m_lineModulInput, SIGNAL(textEdited(QString )), this, SLOT(close())); 
    64          
    65         connect(m_buttonModulQuit, SIGNAL(clicked()), this, SLOT(close())); 
    66         connect(m_buttonModulAdd, SIGNAL(clicked()), this, SLOT(addModulRow())); 
     86        //connect(m_modulInputLine, SIGNAL(textEdited(QString )), this, SLOT(close())); 
     87         
     88        connect(m_modulQuitButton, SIGNAL(clicked()), this, SLOT(close())); 
     89        connect(m_modulAddButton, SIGNAL(clicked()), this, SLOT(addModulRow())); 
    6790        connect(m_modulDelButton, SIGNAL(clicked()), this, SLOT(deleteModulRow())); 
    68         connect(m_buttonModulHelp, SIGNAL(clicked()), this, SLOT(callModulHelp())); 
    69          
    70         connect(m_checkBoxModulNoward, SIGNAL(toggled(bool )), m_checkBoxModulSpec, SLOT(setDisabled(bool ))); 
    71         connect(m_checkBoxModulNoward, SIGNAL(toggled(bool )), m_checkBoxModulNetward, SLOT(setDisabled(bool ))); 
    72         connect(m_checkBoxModulNoward, SIGNAL(toggled(bool )), m_labelModulAutonet, SLOT(setDisabled(bool ))); 
    73         connect(m_checkBoxModulNoward, SIGNAL(toggled(bool )), m_comboModulAutonet, SLOT(setDisabled(bool ))); 
    74  
    75         connect(m_spaceRadioButton, SIGNAL(toggled(bool )), m_comboModulOpera, SLOT(setDisabled(bool ))); 
    76         connect(m_operaRadioButton, SIGNAL(toggled(bool )), m_comboModulSpace, SLOT(setDisabled(bool ))); 
    77  
    78  
    79          
    80         connect(m_buttonLoperaAdd, SIGNAL(clicked()), this, SLOT(addO_EXTOBJRow())); 
    81          
    82         connect(m_buttonLoperaDel, SIGNAL(clicked()), this, SLOT(deleteO_EXTOBJRow())); 
     91        connect(m_modulHelpButton, SIGNAL(clicked()), this, SLOT(callModulHelp())); 
     92         
     93        connect(m_modulNowardCheckBox, SIGNAL(toggled(bool )), m_modulSpecCheckBox, SLOT(setDisabled(bool ))); 
     94        connect(m_modulNowardCheckBox, SIGNAL(toggled(bool )), m_modulNetwardCheckBox, SLOT(setDisabled(bool ))); 
     95        connect(m_modulNowardCheckBox, SIGNAL(toggled(bool )), m_labelModulAutonet, SLOT(setDisabled(bool ))); 
     96        connect(m_modulNowardCheckBox, SIGNAL(toggled(bool )), m_modulAutonetCombo, SLOT(setDisabled(bool ))); 
     97 
     98        connect(m_modulSpaceRadioButton, SIGNAL(toggled(bool )), m_modulOperaCombo, SLOT(setDisabled(bool ))); 
     99        connect(m_modulOperaRadioButton, SIGNAL(toggled(bool )), m_modulSpaceCombo, SLOT(setDisabled(bool ))); 
     100 
     101 
     102         
     103        connect(m_buttonLoperaAdd, SIGNAL(clicked()), this, SLOT(addLoperaRow())); 
     104         
     105        connect(m_buttonLoperaDel, SIGNAL(clicked()), this, SLOT(deleteLoperaRow())); 
    83106 
    84107        setFixedWidth(baseSize().width() + 766); 
     
    90113void ModulWindow::addModulRow() { 
    91114 
    92         /*m_comboModulSpaceName->setCurrentIndex(0);  
    93         m_comboModulOperaName->setCurrentIndex(0);  
    94         m_comboModulAutonet->setCurrentIndex(0); 
     115        /*m_modulSpaceComboName->setCurrentIndex(0);  
     116        m_modulOperaComboName->setCurrentIndex(0);  
     117        m_modulAutonetCombo->setCurrentIndex(0); 
    95118        m_comboModulClonof->setCurrentIndex(0);  
    96119        m_comboModulLopera->setCurrentIndex(0); 
    97120        m_checkBoxNoward->setChecked(false);     
    98121        m_checkBoxTempo->setChecked(false); 
    99         m_checkBoxCout->setChecked(false); 
     122        m_m_modulCoutCheckBox->setChecked(false); 
    100123        m_checkBoxSpec->setChecked(false); 
    101124        m_checkBoxNetward->setChecked(false); 
    102125        m_checkBoxModulHidjac->setChecked(false); 
    103126        m_checkBoxModulManage->setChecked(false); 
    104         m_checkBoxModulArray->setChecked(false); 
     127        m_modulArrayCheckBox->setChecked(false); 
    105128        */ 
    106         //filesList.append(m_comboModulSpaceName->currentText()); 
     129        //filesList.append(m_modulSpaceComboName->currentText()); 
    107130        //filesListModele->setStringList(filesList); 
    108         //testContenu(compteur); 
     131 
     132        //m_modulNameLine 
     133        //m_modulSpaceCombo 
     134        //m_modulOperaCombo 
     135        //m_modulNowardCheckBox 
     136        //m_modulInputLine 
     137        //m_modulOutputLine 
     138        //m_modulTargetCombo 
     139        //m_modulAutonetCombo 
     140        //m_modulInter1Combo 
     141        //m_modulCoutCheckBox 
     142        //m_modulNetwardCheckBox 
     143        //m_loperaListView 
     144         
     145        string  modulName = m_modulNameLine->text().toStdString() , 
     146                modulParent, 
     147                modulAttributs; 
    109148         
    110149        int row = m_modulModel->rowCount(); 
    111         /*if (!localMwc->isIntegerLiteral(m_comboModulAutonet->currentText().toStdString())) {  
     150        /*if (!localMwc->isIntegerLiteral(m_modulAutonetCombo->currentText().toStdString())) {  
    112151                 
    113152                 QMessageBox::critical(this, "Avertissement", "CaractÚre(s) non permis dans le champ \"O_PARALLEL\"."); 
    114153                 return; // Arrêt de la méthode 
    115154        }*/ 
    116 //      m_modulModel->setItem(row, 0, new QStandardItem(m_comboModulSpaceName->currentText()));   
    117 //      m_modulModel->setItem(row, 1, new QStandardItem(m_comboModulOperaName->currentText()));   
    118 //      m_modulModel->setItem(row, 2, new QStandardItem(m_comboModulAutonet->currentText()));   
    119 //      m_modulModel->setItem(row, 3, new QStandardItem(m_comboModulClonof->currentText()));   
    120          
     155 
     156        if (m_modulSpaceRadioButton->isChecked()) 
     157                modulParent = m_modulSpaceCombo->currentText().toStdString() ; 
     158        else 
     159                modulParent = m_modulOperaCombo->currentText().toStdString() ; 
     160 
     161        if (!(modulName.empty() || modulParent.empty() )) { 
     162         
     163                m_modulModel->setItem(row, 0, new QStandardItem(QString(modulName.c_str())));   
     164                m_modulModel->setItem(row, 1, new QStandardItem(QString(modulParent.c_str())));   
     165        //      m_modulModel->setItem(row, 2, new QStandardItem(m_modulAutonetCombo->currentText()));   
     166        //      m_modulModel->setItem(row, 3, new QStandardItem(m_comboModulClonof->currentText()));   
     167                 
     168                (m_modulSpaceRadioButton->isChecked())? m_localModulTable->push_back(Modul(modulName, m_localSpaceTable->find(modulParent), true)): m_localModulTable->push_back(Modul(modulName, m_localOperaTable->find(modulParent), false)); 
     169 
     170        } 
    121171//      m_modulModel->setItem(row, 4, new QStandardItem(m_comboModulLopera->currentText()));   
    122172        //if (m_checkBoxNoward->isChecked()) 
    123173  // m_checkBoxNoward->isChecked()?m_modulModel->setItem(row, 5, new QStandardItem("oui")):m_modulModel->setItem(row, 5, new QStandardItem("non")); 
    124174   //m_checkBoxTempo->isChecked() ?m_modulModel->setItem(row, 6, new QStandardItem("oui")):m_modulModel->setItem(row, 6, new QStandardItem("non")); 
    125    //m_checkBoxCout->isChecked()?m_modulModel->setItem(row, 7, new QStandardItem("oui")):m_modulModel->setItem(row, 7, new QStandardItem("non")); 
     175   //m_m_modulCoutCheckBox->isChecked()?m_modulModel->setItem(row, 7, new QStandardItem("oui")):m_modulModel->setItem(row, 7, new QStandardItem("non")); 
    126176   //m_checkBoxSpec->isChecked()?m_modulModel->setItem(row, 8, new QStandardItem("oui")):m_modulModel->setItem(row, 8, new QStandardItem("non"));   
    127177   //m_checkBoxNetward->isChecked()?m_modulModel->setItem(row, 9, new QStandardItem("oui")):m_modulModel->setItem(row, 9, new QStandardItem("non"));   
    128178   //m_checkBoxModulHidjac->isChecked()?m_modulModel->setItem(row, 10, new QStandardItem("oui")):m_modulModel->setItem(row, 10, new QStandardItem("non")); 
    129179   //m_checkBoxModulManage->isChecked()?m_modulModel->setItem(row, 11, new QStandardItem("oui")):m_modulModel->setItem(row, 11, new QStandardItem("non")); 
    130    //m_checkBoxModulArray->isChecked()?m_modulModel->setItem(row, 12, new QStandardItem("oui")):m_modulModel->setItem(row, 12, new QStandardItem("non"));   
     180   //m_modulArrayCheckBox->isChecked()?m_modulModel->setItem(row, 12, new QStandardItem("oui")):m_modulModel->setItem(row, 12, new QStandardItem("non"));   
    131181 
    132182        eraseDataFromLineEdit(); 
     
    134184         
    135185} 
    136 /**************************************** Implémentation de la méthode addO_EXTOBJRow() **************************************************************/ 
    137 void ModulWindow::addO_EXTOBJRow() { 
    138  
    139         O_EXTOBJModele->appendRow(new QStandardItem(m_comboModulLopera->currentText()));  
     186/**************************************** Implémentation de la méthode addLoperaRow() **************************************************************/ 
     187void ModulWindow::addLoperaRow() { 
     188 
     189        m_loperaModel->appendRow(new QStandardItem(m_comboModulLopera->currentText()));  
    140190        m_comboModulLopera->setCurrentIndex(0); 
    141191} 
    142192 
    143 /**************************************** Implémentation de la méthode deleteO_EXTOBJRow() **********************************************************/ 
    144 void ModulWindow::deleteO_EXTOBJRow() { 
     193/**************************************** Implémentation de la méthode deleteLoperaRow() **********************************************************/ 
     194void ModulWindow::deleteLoperaRow() { 
    145195 
    146196        QItemSelectionModel *selection = m_loperaListView->selectionModel();  
    147         O_EXTOBJIndex = selection->currentIndex();  
    148          if (!O_EXTOBJIndex.isValid())  
     197        m_loperaIndex = selection->currentIndex();  
     198         if (!m_loperaIndex.isValid())  
    149199                return;  
    150         QVariant element = O_EXTOBJModele->data(O_EXTOBJIndex, Qt::DisplayRole); 
    151         int r = O_EXTOBJIndex.row(); 
     200        QVariant element = m_loperaModel->data(m_loperaIndex, Qt::DisplayRole); 
     201        int r = m_loperaIndex.row(); 
    152202        if (selection->hasSelection()) { 
    153          O_EXTOBJModele->removeRows(m_loperaListView->currentIndex().row(), 1);  
     203         m_loperaModel->removeRows(m_loperaListView->currentIndex().row(), 1);  
    154204        //localHeaderList->erase(localHeaderList->begin() + r); 
    155205        //if(isHeaderListEmpty()) m_delHatButton->setDisabled(true); 
     
    160210void ModulWindow::eraseDataFromLineEdit() { 
    161211 
    162         /*m_comboModulSpaceName->setCurrentIndex(0);  
    163         m_comboModulOperaName->setCurrentIndex(0);  
    164         m_comboModulAutonet->setCurrentIndex(0); 
     212        /*m_modulSpaceComboName->setCurrentIndex(0);  
     213        m_modulOperaComboName->setCurrentIndex(0);  
     214        m_modulAutonetCombo->setCurrentIndex(0); 
    165215        m_comboModulClonof->setCurrentIndex(0);  
    166216        m_comboModulLopera->setCurrentIndex(0); 
    167217        m_checkBoxNoward->setChecked(false);     
    168218        m_checkBoxTempo->setChecked(false); 
    169         m_checkBoxCout->setChecked(false); 
     219        m_m_modulCoutCheckBox->setChecked(false); 
    170220        m_checkBoxSpec->setChecked(false); 
    171221        m_checkBoxNetward->setChecked(false); 
    172222        m_checkBoxModulHidjac->setChecked(false); 
    173223        m_checkBoxModulManage->setChecked(false); 
    174         m_checkBoxModulArray->setChecked(false); 
     224        m_modulArrayCheckBox->setChecked(false); 
    175225        */       
    176226} 
     
    185235        //filesListModele->setStringList(filesList); //On indique au modÚle la liste des éléments à afficher. 
    186236 
    187         compteur --; 
    188         //testContenu(compteur); 
    189237         
    190238} 
  • trunk/yao/src/interface/src/include/MainWindow.hpp

    r356 r362  
    3535#include "ContextWindow.hpp" 
    3636#include "OrderWindow.hpp" 
     37#include "NewProjectWindow.hpp" 
    3738 
    3839/*! 
     
    5455                        MainWindow(QWidget *parent = 0); 
    5556                         
    56                         void toolBarActions(QWorkspace *espace); 
     57                        void toolBarActions(QWorkspace &espace); 
    5758                        void createActions(); 
    5859                        void createToolBar(); 
     
    9596                        void montrerActionGenererD(); 
    9697                        void createNewProjectWindow(); 
    97                         void helpMessage(); 
     98                        //void helpMessage(); 
    9899                        void createDefvalWindow(); 
    99100                        void createHatNameWindow(); 
     
    121122                        void changeColorOrderButton(); 
    122123                        void createProjectDirectory();  
    123                         void openPathWindow(); 
     124                        //void openPathWindow(); 
    124125                        void setTitle(); 
    125126                        void hatUpdate(); 
     
    201202                        QToolBar *yaoToolBar; //Crée une barre d'outils 
    202203                        QStatusBar *barreEtat; 
    203                         QWorkspace *espace; 
     204                        QWorkspace espace; 
     205                        QWorkspace *pt_espace; 
    204206                        QTableWidget *tableWidget; 
    205207                        QString curFile; 
     
    216218                        OrderWindow *m_orderWindow; 
    217219                        InsertFCTWindow *m_insertFCTWindow; 
     220                         
     221                        NewProjectWindow *m_newProjectWindow; 
    218222 
    219223                        FilesViewer *fv; 
  • trunk/yao/src/interface/src/include/ModulWindow.hpp

    r359 r362  
    2828                void saveModulData(); 
    2929                void addModulRow(); 
    30                 void addO_EXTOBJRow(); 
    31                 void deleteO_EXTOBJRow(); 
     30                void addLoperaRow(); 
     31                void deleteLoperaRow(); 
    3232                void deleteModulRow(); 
    3333                void callModulHelp();            
     
    4141        private: 
    4242                QStandardItemModel *m_modulModel; 
    43                 QStandardItemModel *O_EXTOBJModele; 
     43                QStandardItemModel *m_loperaModel; 
    4444                QModelIndex index; 
    45                 QModelIndex O_EXTOBJIndex; 
     45                QModelIndex m_loperaIndex; 
    4646                yao::Table <yao::Modul> *m_localModulTable; 
    4747                std::vector<std::string> anVector; 
    4848                yao::Table <yao::Constant> *localConstantTable; 
     49                yao::Table <yao::Space> *m_localSpaceTable; 
     50                yao::Table <yao::Operator> *m_localOperaTable; 
    4951                MainWindowController *localMwc; 
    50                 int compteur; 
    5152 
    5253}; 
  • trunk/yao/src/interface/src/ui_/connectionwindow.ui

    r356 r362  
    5757        <string>Ajouter</string> 
    5858       </property> 
     59       <property name="default"> 
     60        <bool>true</bool> 
     61       </property> 
    5962      </widget> 
    6063     </item> 
     
    7073       <property name="text"> 
    7174        <string>Quitter</string> 
     75       </property> 
     76       <property name="autoDefault"> 
     77        <bool>true</bool> 
    7278       </property> 
    7379      </widget> 
     
    8692    <property name="text"> 
    8793     <string>Aide</string> 
     94    </property> 
     95    <property name="autoDefault"> 
     96     <bool>true</bool> 
    8897    </property> 
    8998   </widget> 
  • trunk/yao/src/interface/src/ui_/constantwindow.ui

    r345 r362  
    113113     <string>Aide</string> 
    114114    </property> 
     115    <property name="autoDefault"> 
     116     <bool>true</bool> 
     117    </property> 
    115118   </widget> 
    116119   <widget class="QWidget" name="layoutWidget"> 
     
    119122      <x>220</x> 
    120123      <y>40</y> 
    121       <width>81</width> 
     124      <width>87</width> 
    122125      <height>95</height> 
    123126     </rect> 
     
    128131       <property name="text"> 
    129132        <string>Ajouter</string> 
     133       </property> 
     134       <property name="default"> 
     135        <bool>true</bool> 
    130136       </property> 
    131137      </widget> 
     
    143149        <string>Quitter</string> 
    144150       </property> 
     151       <property name="autoDefault"> 
     152        <bool>true</bool> 
     153       </property> 
     154       <property name="default"> 
     155        <bool>false</bool> 
     156       </property> 
     157       <property name="flat"> 
     158        <bool>false</bool> 
     159       </property> 
    145160      </widget> 
    146161     </item> 
     
    153168  <tabstop>m_ligneValeur</tabstop> 
    154169  <tabstop>m_addButton</tabstop> 
     170  <tabstop>m_delButton</tabstop> 
    155171  <tabstop>m_quitButton</tabstop> 
    156172  <tabstop>m_helpButton</tabstop> 
     173  <tabstop>m_tableView</tabstop> 
    157174 </tabstops> 
    158175 <resources/> 
  • trunk/yao/src/interface/src/ui_/contextwindow.ui

    r359 r362  
    349349        <string>Ajouter</string> 
    350350       </property> 
     351       <property name="default"> 
     352        <bool>true</bool> 
     353       </property> 
    351354      </widget> 
    352355     </item> 
     
    362365       <property name="text"> 
    363366        <string>Quitter</string> 
     367       </property> 
     368       <property name="autoDefault"> 
     369        <bool>true</bool> 
    364370       </property> 
    365371      </widget> 
     
    378384    <property name="text"> 
    379385     <string>Aide</string> 
     386    </property> 
     387    <property name="autoDefault"> 
     388     <bool>true</bool> 
    380389    </property> 
    381390   </widget> 
  • trunk/yao/src/interface/src/ui_/insertfctwindow.ui

    r358 r362  
    126126      <x>230</x> 
    127127      <y>20</y> 
    128       <width>81</width> 
     128      <width>87</width> 
    129129      <height>95</height> 
    130130     </rect> 
     
    135135       <property name="text"> 
    136136        <string>Ajouter</string> 
     137       </property> 
     138       <property name="default"> 
     139        <bool>true</bool> 
    137140       </property> 
    138141      </widget> 
     
    149152       <property name="text"> 
    150153        <string>Quitter</string> 
     154       </property> 
     155       <property name="autoDefault"> 
     156        <bool>true</bool> 
    151157       </property> 
    152158      </widget> 
     
    166172     <string>Aide</string> 
    167173    </property> 
     174    <property name="autoDefault"> 
     175     <bool>true</bool> 
     176    </property> 
    168177   </widget> 
    169178  </widget> 
  • trunk/yao/src/interface/src/ui_/modulwindow.ui

    r361 r362  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>766</width> 
     9    <width>778</width> 
    1010    <height>520</height> 
    1111   </rect> 
     
    1919     <x>10</x> 
    2020     <y>10</y> 
    21      <width>751</width> 
     21     <width>761</width> 
    2222     <height>301</height> 
    2323    </rect> 
     
    7272         </property> 
    7373         <property name="buddy"> 
    74           <cstring>m_lineModulInput</cstring> 
     74          <cstring>m_modulInputLine</cstring> 
    7575         </property> 
    7676        </widget> 
     
    9090       </item> 
    9191       <item> 
    92         <widget class="QLineEdit" name="m_lineModulInput"/> 
     92        <widget class="QLineEdit" name="m_modulInputLine"/> 
    9393       </item> 
    9494      </layout> 
     
    102102         </property> 
    103103         <property name="buddy"> 
    104           <cstring>lineModulOutput</cstring> 
     104          <cstring>m_modulOutputLine</cstring> 
    105105         </property> 
    106106        </widget> 
     
    120120       </item> 
    121121       <item> 
    122         <widget class="QLineEdit" name="lineModulOutput"/> 
     122        <widget class="QLineEdit" name="m_modulOutputLine"/> 
    123123       </item> 
    124124      </layout> 
     
    132132         </property> 
    133133         <property name="buddy"> 
    134           <cstring>m_comboModulTarget</cstring> 
     134          <cstring>m_modulTargetCombo</cstring> 
    135135         </property> 
    136136        </widget> 
    137137       </item> 
    138138       <item> 
    139         <widget class="QComboBox" name="m_comboModulTarget"/> 
     139        <widget class="QComboBox" name="m_modulTargetCombo"/> 
    140140       </item> 
    141141      </layout> 
     
    143143    </layout> 
    144144   </widget> 
    145    <widget class="QCheckBox" name="m_checkBoxModulArray"> 
     145   <widget class="QCheckBox" name="m_modulArrayCheckBox"> 
    146146    <property name="geometry"> 
    147147     <rect> 
     
    182182     <layout class="QVBoxLayout" name="verticalLayout_3"> 
    183183      <item> 
    184        <widget class="QCheckBox" name="m_checkBoxModulNoward"> 
     184       <widget class="QCheckBox" name="m_modulNowardCheckBox"> 
    185185        <property name="text"> 
    186186         <string>noward</string> 
     
    189189      </item> 
    190190      <item> 
    191        <widget class="QCheckBox" name="checkBoxTempo"> 
     191       <widget class="QCheckBox" name="m_modulTempoCheckBox"> 
    192192        <property name="text"> 
    193193         <string>tempo</string> 
     
    196196      </item> 
    197197      <item> 
    198        <widget class="QCheckBox" name="checkBoxCout"> 
     198       <widget class="QCheckBox" name="m_modulCoutCheckBox"> 
    199199        <property name="text"> 
    200200         <string>cout</string> 
     
    203203      </item> 
    204204      <item> 
    205        <widget class="QCheckBox" name="m_checkBoxModulSpec"> 
     205       <widget class="QCheckBox" name="m_modulSpecCheckBox"> 
    206206        <property name="text"> 
    207207         <string>spec</string> 
     
    210210      </item> 
    211211      <item> 
    212        <widget class="QCheckBox" name="m_checkBoxModulNetward"> 
     212       <widget class="QCheckBox" name="m_modulNetwardCheckBox"> 
    213213        <property name="text"> 
    214214         <string>netward</string> 
     
    217217      </item> 
    218218      <item> 
    219        <widget class="QCheckBox" name="checkBoxModulHidjac"> 
     219       <widget class="QCheckBox" name="m_modulHidjacCheckBox"> 
    220220        <property name="text"> 
    221221         <string>hidjac</string> 
     
    224224      </item> 
    225225      <item> 
    226        <widget class="QCheckBox" name="checkBoxModulManage"> 
     226       <widget class="QCheckBox" name="m_modulManageCheckBox"> 
    227227        <property name="text"> 
    228228         <string>manage_ctin</string> 
     
    238238      <x>460</x> 
    239239      <y>10</y> 
    240       <width>281</width> 
    241       <height>121</height> 
     240      <width>291</width> 
     241      <height>131</height> 
    242242     </rect> 
    243243    </property> 
     
    253253       <x>10</x> 
    254254       <y>10</y> 
    255        <width>261</width> 
     255       <width>271</width> 
    256256       <height>31</height> 
    257257      </rect> 
     
    264264        </property> 
    265265        <property name="buddy"> 
    266          <cstring>m_comboModulInter1</cstring> 
     266         <cstring>m_modulInter1Combo</cstring> 
    267267        </property> 
    268268       </widget> 
     
    271271       <layout class="QHBoxLayout" name="horizontalLayout"> 
    272272        <item> 
    273          <widget class="QComboBox" name="m_comboModulInter1"/> 
     273         <widget class="QComboBox" name="m_modulInter1Combo"/> 
    274274        </item> 
    275275        <item> 
    276          <widget class="QComboBox" name="m_comboModulInter2"/> 
     276         <widget class="QComboBox" name="m_modulInter2Combo"/> 
    277277        </item> 
    278278        <item> 
    279          <widget class="QComboBox" name="m_comboModulInter3"/> 
     279         <widget class="QComboBox" name="m_modulInter3Combo"/> 
    280280        </item> 
    281281       </layout> 
     
    288288       <x>10</x> 
    289289       <y>50</y> 
    290        <width>261</width> 
     290       <width>272</width> 
    291291       <height>68</height> 
    292292      </rect> 
     
    303303            </property> 
    304304            <property name="buddy"> 
    305              <cstring>m_comboModulAutonet</cstring> 
     305             <cstring>m_modulAutonetCombo</cstring> 
    306306            </property> 
    307307           </widget> 
    308308          </item> 
    309309          <item> 
    310            <widget class="QComboBox" name="m_comboModulAutonet"/> 
     310           <widget class="QComboBox" name="m_modulAutonetCombo"/> 
    311311          </item> 
    312312         </layout> 
     
    320320            </property> 
    321321            <property name="buddy"> 
    322              <cstring>comboModulCovt</cstring> 
     322             <cstring>m_modulCovtCombo</cstring> 
    323323            </property> 
    324324           </widget> 
     
    338338          </item> 
    339339          <item> 
    340            <widget class="QComboBox" name="comboModulCovt"/> 
     340           <widget class="QComboBox" name="m_modulCovtCombo"/> 
    341341          </item> 
    342342         </layout> 
     
    354354            </property> 
    355355            <property name="buddy"> 
    356              <cstring>comboModulClonol</cstring> 
     356             <cstring>m_modulClonolCombo</cstring> 
    357357            </property> 
    358358           </widget> 
    359359          </item> 
    360360          <item> 
    361            <widget class="QComboBox" name="comboModulClonol"/> 
     361           <widget class="QComboBox" name="m_modulClonolCombo"/> 
    362362          </item> 
    363363         </layout> 
     
    371371            </property> 
    372372            <property name="buddy"> 
    373              <cstring>comboClonof</cstring> 
     373             <cstring>m_modulClonofCombo</cstring> 
    374374            </property> 
    375375           </widget> 
    376376          </item> 
    377377          <item> 
    378            <widget class="QComboBox" name="comboClonof"/> 
     378           <widget class="QComboBox" name="m_modulClonofCombo"/> 
    379379          </item> 
    380380         </layout> 
     
    389389     <rect> 
    390390      <x>460</x> 
    391       <y>140</y> 
    392       <width>281</width> 
    393       <height>151</height> 
     391      <y>150</y> 
     392      <width>291</width> 
     393      <height>141</height> 
    394394     </rect> 
    395395    </property> 
     
    404404      <rect> 
    405405       <x>20</x> 
    406        <y>20</y> 
     406       <y>10</y> 
    407407       <width>171</width> 
    408408       <height>29</height> 
     
    429429      <rect> 
    430430       <x>20</x> 
    431        <y>60</y> 
     431       <y>50</y> 
    432432       <width>81</width> 
    433433       <height>81</height> 
     
    435435     </property> 
    436436    </widget> 
    437     <widget class="QPushButton" name="m_buttonLoperaAdd"> 
     437    <widget class="QWidget" name="layoutWidget"> 
    438438     <property name="geometry"> 
    439439      <rect> 
    440440       <x>110</x> 
    441        <y>80</y> 
    442        <width>81</width> 
    443        <height>27</height> 
     441       <y>60</y> 
     442       <width>87</width> 
     443       <height>62</height> 
    444444      </rect> 
    445445     </property> 
    446      <property name="text"> 
    447       <string>Ajouter</string> 
    448      </property> 
    449     </widget> 
    450     <widget class="QPushButton" name="m_buttonLoperaDel"> 
    451      <property name="enabled"> 
    452       <bool>true</bool> 
    453      </property> 
    454      <property name="geometry"> 
    455       <rect> 
    456        <x>110</x> 
    457        <y>110</y> 
    458        <width>81</width> 
    459        <height>27</height> 
    460       </rect> 
    461      </property> 
    462      <property name="text"> 
    463       <string>Supprimer</string> 
    464      </property> 
     446     <layout class="QVBoxLayout" name="verticalLayout_6"> 
     447      <item> 
     448       <widget class="QPushButton" name="m_buttonLoperaAdd"> 
     449        <property name="text"> 
     450         <string>Ajouter</string> 
     451        </property> 
     452        <property name="autoDefault"> 
     453         <bool>true</bool> 
     454        </property> 
     455       </widget> 
     456      </item> 
     457      <item> 
     458       <widget class="QPushButton" name="m_buttonLoperaDel"> 
     459        <property name="enabled"> 
     460         <bool>true</bool> 
     461        </property> 
     462        <property name="text"> 
     463         <string>Supprimer</string> 
     464        </property> 
     465        <property name="autoDefault"> 
     466         <bool>true</bool> 
     467        </property> 
     468       </widget> 
     469      </item> 
     470     </layout> 
    465471    </widget> 
    466472   </widget> 
     
    470476      <x>10</x> 
    471477      <y>70</y> 
    472       <width>301</width> 
     478      <width>307</width> 
    473479      <height>29</height> 
    474480     </rect> 
     
    476482    <layout class="QHBoxLayout" name="horizontalLayout_13"> 
    477483     <item> 
    478       <widget class="QRadioButton" name="m_spaceRadioButton"> 
     484      <widget class="QRadioButton" name="m_modulSpaceRadioButton"> 
    479485       <property name="text"> 
    480486        <string>space</string> 
     
    486492     </item> 
    487493     <item> 
    488       <widget class="QComboBox" name="m_comboModulSpace"/> 
    489      </item> 
    490      <item> 
    491       <widget class="QRadioButton" name="m_operaRadioButton"> 
     494      <widget class="QComboBox" name="m_modulSpaceCombo"/> 
     495     </item> 
     496     <item> 
     497      <widget class="QRadioButton" name="m_modulOperaRadioButton"> 
    492498       <property name="text"> 
    493499        <string>opera</string> 
     
    496502     </item> 
    497503     <item> 
    498       <widget class="QComboBox" name="m_comboModulOpera"/> 
     504      <widget class="QComboBox" name="m_modulOperaCombo"/> 
    499505     </item> 
    500506    </layout> 
     
    506512     <x>10</x> 
    507513     <y>320</y> 
    508      <width>751</width> 
     514     <width>761</width> 
    509515     <height>191</height> 
    510516    </rect> 
     
    537543    <layout class="QVBoxLayout" name="verticalLayout_4"> 
    538544     <item> 
    539       <widget class="QPushButton" name="m_buttonModulAdd"> 
     545      <widget class="QPushButton" name="m_modulAddButton"> 
    540546       <property name="text"> 
    541547        <string>&amp;Ajouter</string> 
     548       </property> 
     549       <property name="default"> 
     550        <bool>true</bool> 
    542551       </property> 
    543552      </widget> 
     
    554563     </item> 
    555564     <item> 
    556       <widget class="QPushButton" name="m_buttonModulQuit"> 
     565      <widget class="QPushButton" name="m_modulQuitButton"> 
    557566       <property name="text"> 
    558567        <string>&amp;Quitter</string> 
    559568       </property> 
     569       <property name="autoDefault"> 
     570        <bool>true</bool> 
     571       </property> 
    560572      </widget> 
    561573     </item> 
    562574    </layout> 
    563575   </widget> 
    564    <widget class="QPushButton" name="m_buttonModulHelp"> 
     576   <widget class="QPushButton" name="m_modulHelpButton"> 
    565577    <property name="geometry"> 
    566578     <rect> 
     
    574586     <string>Aide</string> 
    575587    </property> 
     588    <property name="autoDefault"> 
     589     <bool>true</bool> 
     590    </property> 
    576591   </widget> 
    577592  </widget> 
     
    579594 <tabstops> 
    580595  <tabstop>m_modulNameLine</tabstop> 
    581   <tabstop>m_operaRadioButton</tabstop> 
    582   <tabstop>m_lineModulInput</tabstop> 
    583   <tabstop>m_checkBoxModulArray</tabstop> 
    584   <tabstop>lineModulOutput</tabstop> 
    585   <tabstop>m_comboModulTarget</tabstop> 
    586   <tabstop>m_checkBoxModulNoward</tabstop> 
    587   <tabstop>checkBoxTempo</tabstop> 
    588   <tabstop>checkBoxCout</tabstop> 
    589   <tabstop>m_checkBoxModulSpec</tabstop> 
    590   <tabstop>m_checkBoxModulNetward</tabstop> 
    591   <tabstop>checkBoxModulHidjac</tabstop> 
    592   <tabstop>checkBoxModulManage</tabstop> 
    593   <tabstop>m_comboModulInter1</tabstop> 
    594   <tabstop>m_comboModulInter2</tabstop> 
    595   <tabstop>m_comboModulInter3</tabstop> 
    596   <tabstop>m_comboModulAutonet</tabstop> 
    597   <tabstop>comboModulClonol</tabstop> 
    598   <tabstop>comboModulCovt</tabstop> 
    599   <tabstop>comboClonof</tabstop> 
     596  <tabstop>m_modulOperaRadioButton</tabstop> 
     597  <tabstop>m_modulInputLine</tabstop> 
     598  <tabstop>m_modulArrayCheckBox</tabstop> 
     599  <tabstop>m_modulOutputLine</tabstop> 
     600  <tabstop>m_modulTargetCombo</tabstop> 
     601  <tabstop>m_modulNowardCheckBox</tabstop> 
     602  <tabstop>m_modulTempoCheckBox</tabstop> 
     603  <tabstop>m_modulCoutCheckBox</tabstop> 
     604  <tabstop>m_modulSpecCheckBox</tabstop> 
     605  <tabstop>m_modulNetwardCheckBox</tabstop> 
     606  <tabstop>m_modulHidjacCheckBox</tabstop> 
     607  <tabstop>m_modulManageCheckBox</tabstop> 
     608  <tabstop>m_modulInter1Combo</tabstop> 
     609  <tabstop>m_modulInter2Combo</tabstop> 
     610  <tabstop>m_modulInter3Combo</tabstop> 
     611  <tabstop>m_modulAutonetCombo</tabstop> 
     612  <tabstop>m_modulClonolCombo</tabstop> 
     613  <tabstop>m_modulCovtCombo</tabstop> 
     614  <tabstop>m_modulClonofCombo</tabstop> 
    600615  <tabstop>m_comboModulLopera</tabstop> 
    601616  <tabstop>m_buttonLoperaAdd</tabstop> 
    602617  <tabstop>m_buttonLoperaDel</tabstop> 
    603618  <tabstop>m_loperaListView</tabstop> 
    604   <tabstop>m_buttonModulAdd</tabstop> 
     619  <tabstop>m_modulAddButton</tabstop> 
    605620  <tabstop>m_modulDelButton</tabstop> 
    606   <tabstop>m_buttonModulQuit</tabstop> 
     621  <tabstop>m_modulQuitButton</tabstop> 
    607622  <tabstop>m_modulTableView</tabstop> 
    608   <tabstop>m_buttonModulHelp</tabstop> 
     623  <tabstop>m_modulHelpButton</tabstop> 
    609624 </tabstops> 
    610625 <resources/> 
    611626 <connections> 
    612627  <connection> 
    613    <sender>m_buttonModulQuit</sender> 
     628   <sender>m_modulQuitButton</sender> 
    614629   <signal>clicked()</signal> 
    615630   <receiver>ModulWindow</receiver> 
  • trunk/yao/src/interface/src/ui_/netwardwindow.ui

    r357 r362  
    130130        <string>Ajouter</string> 
    131131       </property> 
     132       <property name="default"> 
     133        <bool>true</bool> 
     134       </property> 
    132135      </widget> 
    133136     </item> 
     
    143146       <property name="text"> 
    144147        <string>Quitter</string> 
     148       </property> 
     149       <property name="autoDefault"> 
     150        <bool>true</bool> 
    145151       </property> 
    146152      </widget> 
     
    159165    <property name="text"> 
    160166     <string>Aide</string> 
     167    </property> 
     168    <property name="autoDefault"> 
     169     <bool>true</bool> 
    161170    </property> 
    162171   </widget> 
  • trunk/yao/src/interface/src/ui_/operawindow.ui

    r361 r362  
    2929    <enum>QFrame::Raised</enum> 
    3030   </property> 
    31    <widget class="QWidget" name=""> 
     31   <widget class="QWidget" name="layoutWidget"> 
    3232    <property name="geometry"> 
    3333     <rect> 
     
    243243     <string>Aide</string> 
    244244    </property> 
     245    <property name="autoDefault"> 
     246     <bool>true</bool> 
     247    </property> 
    245248   </widget> 
    246249   <widget class="QTableView" name="m_operaTableView"> 
     
    259262      <x>380</x> 
    260263      <y>20</y> 
    261       <width>81</width> 
     264      <width>87</width> 
    262265      <height>95</height> 
    263266     </rect> 
     
    269272        <string>Ajouter</string> 
    270273       </property> 
     274       <property name="default"> 
     275        <bool>true</bool> 
     276       </property> 
    271277      </widget> 
    272278     </item> 
     
    282288       <property name="text"> 
    283289        <string>Quitter</string> 
     290       </property> 
     291       <property name="autoDefault"> 
     292        <bool>true</bool> 
    284293       </property> 
    285294      </widget> 
  • trunk/yao/src/interface/src/ui_/orderwindow.ui

    r350 r362  
    9292       <x>550</x> 
    9393       <y>20</y> 
    94        <width>141</width> 
     94       <width>151</width> 
    9595       <height>62</height> 
    9696      </rect> 
     
    102102         <string>Supprimer le dernier</string> 
    103103        </property> 
     104        <property name="autoDefault"> 
     105         <bool>true</bool> 
     106        </property> 
    104107       </widget> 
    105108      </item> 
     
    108111        <property name="text"> 
    109112         <string>Supprimer tout</string> 
     113        </property> 
     114        <property name="autoDefault"> 
     115         <bool>true</bool> 
    110116        </property> 
    111117       </widget> 
     
    128134         <string>Ajouter</string> 
    129135        </property> 
     136        <property name="autoDefault"> 
     137         <bool>true</bool> 
     138        </property> 
    130139       </widget> 
    131140      </item> 
     
    134143        <property name="text"> 
    135144         <string>Supprimer</string> 
     145        </property> 
     146        <property name="autoDefault"> 
     147         <bool>true</bool> 
    136148        </property> 
    137149       </widget> 
     
    228240       <x>20</x> 
    229241       <y>60</y> 
    230        <width>81</width> 
    231        <height>121</height> 
     242       <width>87</width> 
     243       <height>128</height> 
    232244      </rect> 
    233245     </property> 
     
    282294       <x>500</x> 
    283295       <y>40</y> 
    284        <width>141</width> 
     296       <width>151</width> 
    285297       <height>62</height> 
    286298      </rect> 
     
    292304         <string>Supprimer le dernier</string> 
    293305        </property> 
     306        <property name="autoDefault"> 
     307         <bool>true</bool> 
     308        </property> 
    294309       </widget> 
    295310      </item> 
     
    298313        <property name="text"> 
    299314         <string>Supprimer tout</string> 
     315        </property> 
     316        <property name="autoDefault"> 
     317         <bool>true</bool> 
    300318        </property> 
    301319       </widget> 
     
    308326       <x>630</x> 
    309327       <y>170</y> 
    310        <width>81</width> 
     328       <width>87</width> 
    311329       <height>62</height> 
    312330      </rect> 
     
    318336         <string>Ajouter</string> 
    319337        </property> 
     338        <property name="autoDefault"> 
     339         <bool>true</bool> 
     340        </property> 
    320341       </widget> 
    321342      </item> 
     
    324345        <property name="text"> 
    325346         <string>Supprimer</string> 
     347        </property> 
     348        <property name="autoDefault"> 
     349         <bool>true</bool> 
    326350        </property> 
    327351       </widget> 
  • trunk/yao/src/interface/src/ui_/spacewindow.ui

    r359 r362  
    203203    <property name="geometry"> 
    204204     <rect> 
    205       <x>410</x> 
     205      <x>390</x> 
    206206      <y>140</y> 
    207207      <width>41</width> 
     
    211211    <property name="text"> 
    212212     <string>Aide</string> 
     213    </property> 
     214    <property name="autoDefault"> 
     215     <bool>true</bool> 
    213216    </property> 
    214217   </widget> 
     
    228231      <x>390</x> 
    229232      <y>30</y> 
    230       <width>81</width> 
     233      <width>87</width> 
    231234      <height>95</height> 
    232235     </rect> 
     
    238241        <string>Ajouter</string> 
    239242       </property> 
     243       <property name="default"> 
     244        <bool>true</bool> 
     245       </property> 
    240246      </widget> 
    241247     </item> 
     
    251257       <property name="text"> 
    252258        <string>Quitter</string> 
     259       </property> 
     260       <property name="autoDefault"> 
     261        <bool>true</bool> 
    253262       </property> 
    254263      </widget> 
  • trunk/yao/src/interface/src/ui_/trajectorywindow.ui

    r359 r362  
    168168     <string>Aide</string> 
    169169    </property> 
     170    <property name="autoDefault"> 
     171     <bool>true</bool> 
     172    </property> 
    170173   </widget> 
    171174   <widget class="QWidget" name="layoutWidget"> 
     
    184187        <string>Ajouter</string> 
    185188       </property> 
     189       <property name="default"> 
     190        <bool>true</bool> 
     191       </property> 
    186192      </widget> 
    187193     </item> 
     
    197203       <property name="text"> 
    198204        <string>Quitter</string> 
     205       </property> 
     206       <property name="autoDefault"> 
     207        <bool>true</bool> 
    199208       </property> 
    200209      </widget> 
Note: See TracChangeset for help on using the changeset viewer.