- Timestamp:
- 06/21/10 19:19:39 (14 years ago)
- Location:
- trunk/yao/src/interface/src
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/src/ConnectionWindow.cpp
r351 r356 1 1 //! \file ConnectionWindow.cpp 2 2 //! \brief Implementation of the Ctin window. 3 //! \version 2010/06/ 16(yyyy/mm/dd)3 //! \version 2010/06/21 (yyyy/mm/dd) 4 4 //! \author MAYAKI Abdouramane. 5 5 … … 20 20 ConnectionWindow::ConnectionWindow(QWidget *parent) : QWidget(parent) { /*!< The constructor. */ 21 21 setupUi(this); 22 QStringList horizontalHeaders;23 horizontalHeaders << "Entree" << "Nbre Entrees" << "Sortie" << "Nbre Sorties" << "i" << "j" << "k" << "t"; /*!< added Nom Netward Entrees and sorties in table */24 22 23 m_ctinModel = new QStandardItemModel(0, 10); 25 24 25 m_ctinModel->setHorizontalHeaderLabels(QStringList() << "Entree" << "Nbre Entrees" << "Sortie" << "Nbre Sorties" << "i" << "j" << "k" << "t"); 26 27 m_ctinTableView->setModel(m_ctinModel); 28 m_ctinTableView->setEditTriggers(QAbstractItemView::NoEditTriggers); 29 m_ctinTableView->setShowGrid(false); 30 m_ctinTableView->setSelectionBehavior(QAbstractItemView::SelectRows); 31 m_ctinTableView->resizeColumnsToContents(); 32 26 33 // connect(pushButtonctin2, SIGNAL(clicked()), this, SLOT(appelSupp())); /*!< slot for the delete the object selected in the view*/ 27 34 // connect(m_AjoutCtin, SIGNAL(clicked()), this, SLOT(appelAjoutCtin())); /*!< This slot add the object in the view */ -
trunk/yao/src/interface/src/InsertFCTWindow.cpp
r351 r356 1 1 //! \file InsertFCTWindow.cpp 2 2 //! \brief Implementation of the Defval window for visual_YAO. 3 //! \version 2010/06/ 18(yyyy/mm/dd)3 //! \version 2010/06/21 (yyyy/mm/dd) 4 4 //! \author MAYAKI Abdouramane. 5 5 … … 8 8 InsertFCTWindow::InsertFCTWindow(QWidget *parent) : QWidget(parent) { /*!< The constructor. */ 9 9 setupUi(this); 10 11 // compteur = 0;12 10 13 14 15 // QStringList horizontalHeaders; 16 // horizontalHeaders << "Nom Fonction" << "Argument"; /*!< displays Nom Fonction and Argument in the QTableWidget */ 11 QStringList horizontalHeaders; 12 horizontalHeaders << "Nom " << "Argument"; /*!< displays Nom Fonction and Argument in the QTableWidget */ 17 13 18 14 // tableWidgetfct->setEditTriggers(QAbstractItemView::NoEditTriggers); -
trunk/yao/src/interface/src/MainWindow.cpp
r355 r356 7 7 Nom de classe: MainWindow 8 8 Role: Outre son role de fichier d'implémentation des méthodes, ce fichier gÚre toutes les fenêtres graphiques. 9 Nombre de methodes: 4010 Nombre d'attributs: 9 Nombre de methodes: 50 10 Nombre d'attributs: 81 11 11 */ 12 12 … … 66 66 tabWidget->addTab(page2, " Exécution "); 67 67 68 69 68 70 69 connect(this, SIGNAL(WindowTitleChanged()), this, SLOT(setTitle())); … … 435 434 436 435 } 437 /********************************************* Implementation of the method initializeWindow(int anInt) *********************************************/ 438 void MainWindow::initializeWindow(int anInt) { 439 440 switch (anInt) { 441 442 case 1: { 443 m_constantWindow = NULL; 444 break; 445 } 446 case 2: { 447 m_hatnameWindow = NULL; 448 break; 449 } 450 case 3: { 451 m_contextWindow = NULL; 452 break; 453 } 454 case 4: { 455 m_trajectoryWindow = NULL; 456 break; 457 } 458 case 5: { 459 m_spaceWindow = NULL; 460 break; 461 } 462 case 6: { 463 m_operaWindow = NULL; 464 } break; 465 case 7: { 466 m_netwardWindow = NULL; 467 break; 468 } 469 case 8: { 470 m_modulWindow = NULL; 471 break; 472 } 473 case 9: { 474 m_ctinWindow = NULL; 475 break; 476 } 477 case 10: { 478 m_orderWindow = NULL; 479 break; 480 } 481 case 11: { 482 m_insertFCTWindow = NULL; 483 break; 484 } 485 default: m_constantWindow = NULL; m_hatnameWindow = NULL; m_contextWindow = NULL; m_trajectoryWindow = NULL; m_spaceWindow = NULL;m_spaceWindow = NULL; m_operaWindow = NULL; m_netwardWindow = NULL; m_modulWindow = NULL; m_ctinWindow = NULL; m_orderWindow = NULL; m_insertFCTWindow = NULL; 486 } 487 488 } 436 489 437 /*********************************** Implementation of the method activateToolBarButtons() *********************************************************/ 490 438 … … 524 472 void MainWindow::createNewProjectWindow() { // Affiche la fenetre nouveau projet lorsqu'elle est appelée. 525 473 526 // Initilization of the lexer and lexing (wrapped from the object tokenizer)527 //Tokenizer tokenizer("projects/test_00/test_00.d");528 // Initialization of the parser and parsing (wrapped from the object tokenizer)529 //Translator translator(tokenizer);530 // Code generation of the files Y1ProjectName.h and Y2ProjectName.h531 // translator.descriptionVisualYAO();532 533 //translator.theConstantTable534 //for (Table<Constant>::iterator it = translator.theConstantTable.begin(); it != translator.theConstantTable.end(); it++)535 // cout << "defval " << it->getName() << " " << it->getText() << endl;536 //cout << &m_constantWindow << endl;537 //if (m_constantWindow != NULL)538 // {539 // cout << "--------------------" << endl;540 // cout << "Pointeur non Nul!" << endl;541 // cout << "--------------------" << endl;542 // m_constantWindow = NULL;543 // cout << "Pointeur initialisé à NULL!" << endl;544 // cout << "--------------------" << endl;545 // }546 //if (m_constantWindow == NULL)547 // cout << "Pointeur Nul!" << endl;548 // cout << "--------------------" << endl;549 474 newProjectWindow = new QDialog(espace); // L'objet sera affiché dans "espace". 550 475 newProjectWindow->setWindowTitle("Création d'un nouveau projet."); … … 561 486 QFormLayout *m_layoutF = new QFormLayout; 562 487 QPushButton *m_buttonPath = new QPushButton; 563 //m_buttonPath->setMaximumSize(30, 25); // Permet de fixer les dimensions du bouton.564 488 m_buttonPath->setIcon(QIcon("Images/icons/openfile.png")); 565 489 ligneInfos = new QTextEdit; // Le champ de saisie des infos relatives à un projet. … … 811 735 h_file.close(); 812 736 } 737 738 /**************************************** Implementation of the method generateDFile() (SLOT) ****************************************************/ 739 void MainWindow::generateDFile() 740 { 741 filename = getProjectName(); 742 filepath = "projects/" + filename + "/" + filename + ".d"; //"projects/test/test.d"; 743 ofstream description(filepath.c_str(), ios::out | ios::binary | ios::trunc); 744 if(!description.is_open()) 745 throw ofstream::failure("couldn't create " + filename); 746 //try { 747 // throw 8; 748 // } 749 //catch (int &i) 750 // { 751 // i++; 752 // throw; 753 //} 754 try { 755 description << "//DEFVAL name value -------------------------------------------------------" << endl; 756 for (Table<Constant>::iterator it = theConstantTable.begin(); it != theConstantTable.end(); it++) 757 description << "defval " << it->getName() << " " << it->getText() << endl;///*<< dynamic_cast <string>(*it)*/ << endl; 758 description << endl; 759 760 description << "//HATNAME --------------------------------------------------------------------------" << endl; 761 for(vector <string>::iterator it = theHeaderList.begin(); it != theHeaderList.end(); it++) 762 description << "hat_name \"" << it->c_str() << "\"" << endl; 763 description << endl; 764 //description << "//Contexts ----------------------------------------------------------------------" << endl; 765 766 //for(QStringList::iterator it = m_contextWindow->getContextData().begin(); it != m_contextWindow->getContextData().end(); it++) 767 // description << "option " << it->toStdString() << endl; 768 // description << endl; 769 770 description << "//TRAJECTOIRES name type uptime offtime dtime steptime -------------" << endl; 771 772 /* for(vector <string>::iterator it = m_contextWindow->getContextData().begin(); it != m_contextWindow->getContextData().end(); it++) 773 description << "option " << it->toStdString() << endl; 774 description << endl; 775 */ 776 777 for (Table<Trajectory>::iterator it = theTrajectoryTable.begin(); it != theTrajectoryTable.end(); it++) 778 description << "traj " << it->getName() << " " << it->getType() << " " << it->getBoot() << " " << it->getOffset() << " " << it->getStep() << " " << it->getSize()<< " " << endl; 779 description << endl; 780 description << "//SPACE name type dim1 [[dim2]---[dim3]] traj------------------" << endl; 781 782 for (Table<Space>::iterator it = theSpaceTable.begin(); it != theSpaceTable.end(); it++) 783 description << "space " << it->getProperty(0) << " " << it->getProperty(1) << " " << it->getProperty(2) << endl;//<< " " << it->getBoot() << " " << it->getSize() << " " << it->getStep() << " " << it->getOffset() << " " << it->getType() << endl; 784 description << endl; 785 description << "//DIMENSION ---------------------------------------------" << endl; 786 787 788 // for (QStringList::iterator it = m_spaceWindow->getData().begin(); it != m_spaceWindow->getData().end(); it++) 789 // description << "space " << it->toStdString() << endl; 790 // description << endl; 791 792 //description << "//NETWARD ---------------------------------------------------------------------------" << endl; 793 794 /*for (QStringList::iterator it = m_netwardWindow->getDataNetward().begin(); it != m_netwardWindow->getDataNetward().end(); it++) 795 description << "netward " << it->toStdString() << endl; 796 description << endl;*/ 797 // description << "//MODUL --------------------------------------------------------------------------" << endl; 798 799 /* for (QStringList::iterator it = m_modulWindow->getDataModul().begin(); it != m_modulWindow->getDataModul().end(); it++) 800 description << "modul " << it->toStdString() << endl; 801 description << endl;*/ 802 //description << "//CONNECTIONS----------------------------------------------------------------------" << endl; 803 804 /* for (QStringList::iterator it = m_ctinWindow->getDataCtin().begin(); it != m_ctinWindow->getDataCtin().end(); it++) 805 description << "ctin " << it->toStdString() << endl; */ 806 // description << "//USER FUNCTIONS ----------------------------------------------------------------" << endl; 807 //description << endl; 808 809 /* for (QStringList::iterator it = m_insertFCTWindow->getDataFCT().begin(); it != m_insertFCTWindow->getDataFCT().end(); it++) 810 description << "insert_fct " << it->toStdString() << endl; 811 description << endl; 812 //genererConstant(); 813 //genererHat(); 814 */ 815 } 816 817 catch (...) { 818 819 cout << "Sortie du programme!" << endl; 820 throw; 821 822 } 823 description.close(); 824 } 825 813 826 814 827 /*************************************** Implementation of the method generateDefaultHFile() ******************************************************/ … … 885 898 } 886 899 887 /****************************************************************************************************************************/ 888 /*void MainWindow::callHatModel(){ 889 //mwc.setFileListController("wwww.h"); 890 MainWindowController & mwc2 = MainWindowController::getInstance(); 891 m_hatnameWindow = mwc2.getHatName(); 892 espace->addWindow(m_hatnameWindow); 893 894 m_hatnameWindow->show(); 895 896 } 897 898 */ 899 900 901 /*********************************** Implementation of the method sauvegardeProjet() *****************************************/ 902 903 /*bool MainWindow::sauvegarderProjet() { 904 905 906 statusBar()->showMessage(tr("Projet sauvegarde"), 2000); 907 return true; 908 909 }*/ 910 911 912 /*********************************** Implementation of the method okToContinue() ********************************************/ 913 /*bool MainWindow::okToContinue() { 914 915 if (this->isWindowModified()) { 916 int r = QMessageBox::warning(this, tr("Visual Yao"), tr("Le document a été modifié. \n " 917 "Voulez-vous enregistrer les changements apportés?"), 918 QMessageBox::Yes | QMessageBox::Default, 919 QMessageBox::No, 920 QMessageBox::Cancel | QMessageBox::Escape); 921 if (r == QMessageBox::Yes) 922 return true; 923 else 924 if (r == QMessageBox::Cancel) 925 return false; 926 } 927 928 return true; 929 }*/ 930 931 932 /*************************************** Implementation of the method maybeSave() *******************************************************************/ 933 /*bool MainWindow::maybeSave() 934 { 935 if (espace->activeWindow()) { 936 int ret = QMessageBox::warning(this, tr("Application"), 937 tr("Aucun projet n'a été lancé!\n" 938 "Ãtes-vous sûr de vouloir quitter?"), 939 QMessageBox::Yes | QMessageBox::Default, 940 //QMessageBox::No, 941 QMessageBox::Cancel | QMessageBox::Escape); 942 if (ret == QMessageBox::Yes) 943 return true;//return save(); 944 else if (ret == QMessageBox::Cancel) 945 return false; 946 } 947 return true; 948 }*/ 900 /********************************************* Implementation of the method initializeWindow(int anInt) *********************************************/ 901 void MainWindow::initializeWindow(int anInt) { 902 903 switch (anInt) { 904 905 case 1: { 906 m_constantWindow = NULL; 907 break; 908 } 909 case 2: { 910 m_hatnameWindow = NULL; 911 break; 912 } 913 case 3: { 914 m_contextWindow = NULL; 915 break; 916 } 917 case 4: { 918 m_trajectoryWindow = NULL; 919 break; 920 } 921 case 5: { 922 m_spaceWindow = NULL; 923 break; 924 } 925 case 6: { 926 m_operaWindow = NULL; 927 } break; 928 case 7: { 929 m_netwardWindow = NULL; 930 break; 931 } 932 case 8: { 933 m_modulWindow = NULL; 934 break; 935 } 936 case 9: { 937 m_ctinWindow = NULL; 938 break; 939 } 940 case 10: { 941 m_orderWindow = NULL; 942 break; 943 } 944 case 11: { 945 m_insertFCTWindow = NULL; 946 break; 947 } 948 default: m_constantWindow = NULL; m_hatnameWindow = NULL; m_contextWindow = NULL; m_trajectoryWindow = NULL; m_spaceWindow = NULL;m_spaceWindow = NULL; m_operaWindow = NULL; m_netwardWindow = NULL; m_modulWindow = NULL; m_ctinWindow = NULL; m_orderWindow = NULL; m_insertFCTWindow = NULL; 949 } 950 951 } 949 952 950 953 /*********************************** Implementation of the method changeButtonColor() (SLOT) ********************************************************/ … … 1026 1029 1027 1030 } 1028 1029 /**************************************** Implementation of the method generateDFile() (SLOT) ****************************************************/1030 void MainWindow::generateDFile()1031 {1032 filename = getProjectName();1033 filepath = "projects/" + filename + "/" + filename + ".d"; //"projects/test/test.d";1034 ofstream description(filepath.c_str(), ios::out | ios::binary | ios::trunc);1035 if(!description.is_open())1036 throw ofstream::failure("couldn't create " + filename);1037 //try {1038 // throw 8;1039 // }1040 //catch (int &i)1041 // {1042 // i++;1043 // throw;1044 //}1045 try {1046 description << "//DEFVAL name value -------------------------------------------------------" << endl;1047 for (Table<Constant>::iterator it = theConstantTable.begin(); it != theConstantTable.end(); it++)1048 description << "defval " << it->getName() << " " << it->getText() << endl;///*<< dynamic_cast <string>(*it)*/ << endl;1049 description << endl;1050 1051 description << "//HATNAME --------------------------------------------------------------------------" << endl;1052 for(vector <string>::iterator it = theHeaderList.begin(); it != theHeaderList.end(); it++)1053 description << "hat_name \"" << it->c_str() << "\"" << endl;1054 description << endl;1055 //description << "//Contexts ----------------------------------------------------------------------" << endl;1056 1057 //for(QStringList::iterator it = m_contextWindow->getContextData().begin(); it != m_contextWindow->getContextData().end(); it++)1058 // description << "option " << it->toStdString() << endl;1059 // description << endl;1060 1061 description << "//TRAJECTOIRES name type uptime offtime dtime steptime -------------" << endl;1062 1063 /* for(vector <string>::iterator it = m_contextWindow->getContextData().begin(); it != m_contextWindow->getContextData().end(); it++)1064 description << "option " << it->toStdString() << endl;1065 description << endl;1066 */1067 1068 for (Table<Trajectory>::iterator it = theTrajectoryTable.begin(); it != theTrajectoryTable.end(); it++)1069 description << "traj " << it->getName() << " " << it->getType() << " " << it->getBoot() << " " << it->getOffset() << " " << it->getStep() << " " << it->getSize()<< " " << endl;1070 description << endl;1071 description << "//SPACE name type dim1 [[dim2]---[dim3]] traj------------------" << endl;1072 1073 for (Table<Space>::iterator it = theSpaceTable.begin(); it != theSpaceTable.end(); it++)1074 description << "space " << it->getProperty(0) << " " << it->getProperty(1) << " " << it->getProperty(2) << endl;//<< " " << it->getBoot() << " " << it->getSize() << " " << it->getStep() << " " << it->getOffset() << " " << it->getType() << endl;1075 description << endl;1076 description << "//DIMENSION ---------------------------------------------" << endl;1077 1078 1079 // for (QStringList::iterator it = m_spaceWindow->getData().begin(); it != m_spaceWindow->getData().end(); it++)1080 // description << "space " << it->toStdString() << endl;1081 // description << endl;1082 1083 //description << "//NETWARD ---------------------------------------------------------------------------" << endl;1084 1085 /*for (QStringList::iterator it = m_netwardWindow->getDataNetward().begin(); it != m_netwardWindow->getDataNetward().end(); it++)1086 description << "netward " << it->toStdString() << endl;1087 description << endl;*/1088 // description << "//MODUL --------------------------------------------------------------------------" << endl;1089 1090 /* for (QStringList::iterator it = m_modulWindow->getDataModul().begin(); it != m_modulWindow->getDataModul().end(); it++)1091 description << "modul " << it->toStdString() << endl;1092 description << endl;*/1093 //description << "//CONNECTIONS----------------------------------------------------------------------" << endl;1094 1095 /* for (QStringList::iterator it = m_ctinWindow->getDataCtin().begin(); it != m_ctinWindow->getDataCtin().end(); it++)1096 description << "ctin " << it->toStdString() << endl; */1097 // description << "//USER FUNCTIONS ----------------------------------------------------------------" << endl;1098 //description << endl;1099 1100 /* for (QStringList::iterator it = m_insertFCTWindow->getDataFCT().begin(); it != m_insertFCTWindow->getDataFCT().end(); it++)1101 description << "insert_fct " << it->toStdString() << endl;1102 description << endl;1103 //genererConstant();1104 //genererHat();1105 */1106 }1107 1108 catch (...) {1109 1110 cout << "Sortie du programme!" << endl;1111 throw;1112 1113 }1114 description.close();1115 }1116 1117 1031 1118 1032 /*********************************** Implementation of the virtual method closeEvent() ************************************************************/ -
trunk/yao/src/interface/src/ModulWindow.cpp
r355 r356 34 34 m_comboModulTarget->insertItem(3, "alltime"); 35 35 36 m_comboModulInter2->setDisabled(true); 37 m_comboModulInter3->setDisabled(true); 38 //m_checkBoxModulArray->setDisabled(true); 36 39 // for (Table<Constant>::reverse_iterator it = localConstantTable->rbegin(); it != localConstantTable->rend(); it++) { 37 40 // cout << it->getName().c_str() << endl; … … 41 44 // m_comboModulLopera->insertItem(1, QString(it->getName().c_str())); 42 45 // } 43 44 46 ModulModele = new QStandardItemModel(0, 11); 47 ModulModele->setHorizontalHeaderLabels(QStringList() << "Nom" << "space/opera" << "input" << "output" << "target" << "noward" << "autonet" << "netward" << "cout" << "lopera" << "tempo"); 48 49 m_modulTableView->setModel(ModulModele); 50 m_modulTableView->setEditTriggers(QAbstractItemView::NoEditTriggers); 51 m_modulTableView->setShowGrid(false); 52 m_modulTableView->setSelectionBehavior(QAbstractItemView::SelectRows); 53 m_modulTableView->resizeColumnsToContents(); 54 //m_modulTableView-> 55 56 if (m_lineModulInput->text().isEmpty()) 57 m_checkBoxModulArray->setDisabled(true); 58 //cout << "vide! cooool" << endl; 59 //connect(m_lineModulInput, SIGNAL(textEdited(QString )), this, SLOT(close())); 45 60 46 61 connect(m_buttonModulQuit, SIGNAL(clicked()), this, SLOT(close())); -
trunk/yao/src/interface/src/OrderWindow.cpp
r351 r356 17 17 //! \brief Implementation of the Order window for visual_YAO. 18 18 19 /***********************************************************************/ 19 20 OrderWindow::OrderWindow(QWidget *parent) : QWidget(parent) { 20 21 … … 22 23 setFixedWidth(baseSize().width() + 765); 23 24 } 25 24 26 /***********************************************************************/ 25 27 void OrderWindow::closeEvent(QCloseEvent *event) { … … 27 29 emit orderWindowIsClosed(10); 28 30 } 31 32 /***********************************************************************/ -
trunk/yao/src/interface/src/TrajectoryWindow.cpp
r348 r356 357 357 modeleTraj->setItem(row, 4, new QStandardItem(dTime)); 358 358 modeleTraj->setItem(row, 5, new QStandardItem(stepTime)); 359 360 emit trajRowIsAdded(); 359 361 } 360 362 -
trunk/yao/src/interface/src/include/ConnectionWindow.hpp
r351 r356 2 2 * \file ConnectionWindow.hpp 3 3 * \brief Ctin class for visual_YAO. 4 * \version 2010/06/ 16(yyyy/mm/dd)4 * \version 2010/06/21 (yyyy/mm/dd) 5 5 * \author MAYAKI Abdouramane. 6 6 */ … … 54 54 55 55 QStringList CtinData; 56 QStandardItemModel *m_ctinModel; 56 57 57 58 -
trunk/yao/src/interface/src/include/MainWindow.hpp
r351 r356 80 80 }*/ 81 81 82 // void creerRepertoire();83 // void genererConstant();84 // void genererHat();85 // void genererSpace();86 // void genererCtin();87 // bool okToContinue();88 // bool maybeSave();89 82 // ~MainWindow(); 90 83 protected : -
trunk/yao/src/interface/src/include/ModulWindow.hpp
r352 r356 34 34 signals: 35 35 void modulWindowIsClosed(int anInt); 36 37 protected: 38 void closeEvent(QCloseEvent *event); 36 39 37 40 private: … … 46 49 int compteur; 47 50 48 protected:49 void closeEvent(QCloseEvent *event);50 51 }; 51 52 -
trunk/yao/src/interface/src/include/TrajectoryWindow.hpp
r345 r356 2 2 * \file TrajWindow.hpp 3 3 * \brief Traj class for visual_YAO. 4 * \version 2010/06/ 16(yyyy/mm/dd)4 * \version 2010/06/21 (yyyy/mm/dd) 5 5 * \author MAYAKI Abdouramane. 6 6 */ … … 44 44 const int toInt(const std::string& s); 45 45 const double toDouble(const std::string& s); 46 //QStringList getTrajName();47 //void ajouterNomDansTableau(int ligne, int colonne, QString trajName);48 //void ajouterValeurDansTableau1(int ligne, int colonne, QString valeurTraj);49 //void writefile();50 //QStringList getDataTraj(); /*!< This function returns the Trajectory's data. */51 52 46 53 47 private slots: /*!< Functions called after a click. */ … … 56 50 void deleteTrajRow(); /*!< This function is called to delete row from the Yao model. */ 57 51 void callTrajHelp(); /*!< This function is called to an help window. */ 58 //void ecrireFichierTraj(); 59 //void enregistrerTraj(); 60 //void ouvrirProjetExistantTraj(); 61 //void ecrireFichier(); /*!< This function is called to add data in the Yao model. */ 62 //void saveTrajData(); /*!< This function is called to add data in the Yao model. */ 63 52 53 signals: 54 void trajRowIsAdded(); 64 55 private : 65 56 66 57 int compteur; 67 /*QLabel *m_nameLabel;68 QLabel *m_typeLabel;69 QLabel *m_labelTrajNbuptime;70 QLabel *m_labelTrajOfftime;71 QLabel *m_labelTrajNDtime;72 QLabel *m_labelTrajNbsteptime;73 //74 QPushButton *m_quitTraj;75 QPushButton *m_addButton;76 QPushButton *m_helpButton;77 QPushButton *m_delButton;78 */79 //QLineEdit *m_lignetrajName; /*!< Name of the QLineEdit. */80 //QLineEdit *m_ligneTypeTraj; /*!< Type of the QLineEdit. */81 //QLineEdit *m_ligneValeurTraj; /*!< value of the Trajectory. */82 83 //QLineEdit *m_comboOfftimeTraj; /*!< Offtime of the QComboBox. */84 //QLineEdit *m_comboSteptimeTraj; /*!< Nbsteptime of the QComboBox. */85 //86 87 //QComboBox *m_comboNbuptimeTraj; /*!< Nbuptime of the Trajectory. */88 //QComboBox *m_comboDtimeTraj; /*!< Dtime of the Trajectory. */89 //QComboBox *m_comboSteptimeTraj; /*!< Nbsteptime of the Trajectory. */90 //QComboBox *m_comboOfftimeTraj; /*!< m_ligneOffimetraj QComboBox. */91 92 93 //QGridLayout *m_layoutGTraj; /*!< The form Layout's name. */94 //QHBoxLayout *m_layoutHTraj; /*!< The horizontal Layout's name. */95 96 58 QStandardItemModel *modeleTraj; 97 59 QModelIndex index; 98 //QTableView *vueTraj; /*!< Name of the QTableWidget's object in whitch the objects are listed for the viewer. */99 60 yao::Table <yao::Trajectory> *localTrajectoryTable; 100 61 yao::Table <yao::Constant> *localConstantTable; 101 //QFileDialog *projetTraj;102 //QString m_cheminProjetTraj;103 62 104 // QFileDialog *fd2;105 63 //QModelIndex index2; 106 64 // QString lstF2; 107 65 108 //int boot;109 //int size;110 //double step;111 //double offset;112 //char type;113 //int compteur;114 66 protected: 115 67 void closeEvent(QCloseEvent *event); -
trunk/yao/src/interface/src/ui_/connectionwindow.ui
r350 r356 32 32 <enum>QFrame::Raised</enum> 33 33 </property> 34 <widget class="QTableView" name=" tableView">34 <widget class="QTableView" name="m_ctinTableView"> 35 35 <property name="geometry"> 36 36 <rect> … … 53 53 <layout class="QVBoxLayout" name="verticalLayout_6"> 54 54 <item> 55 <widget class="QPushButton" name=" pushButton">55 <widget class="QPushButton" name="m_ctinAddButton"> 56 56 <property name="text"> 57 57 <string>Ajouter</string> … … 60 60 </item> 61 61 <item> 62 <widget class="QPushButton" name=" pushButton_2">62 <widget class="QPushButton" name="m_ctinDelButton"> 63 63 <property name="text"> 64 64 <string>Supprimer</string> … … 67 67 </item> 68 68 <item> 69 <widget class="QPushButton" name=" pushButton_3">69 <widget class="QPushButton" name="m_ctinQuitButton"> 70 70 <property name="text"> 71 71 <string>Quitter</string> … … 75 75 </layout> 76 76 </widget> 77 <widget class="QPushButton" name=" pushButton_4">77 <widget class="QPushButton" name="m_ctinHelpButton"> 78 78 <property name="geometry"> 79 79 <rect> … … 109 109 <x>10</x> 110 110 <y>10</y> 111 <width>5 81</width>111 <width>571</width> 112 112 <height>101</height> 113 113 </rect> … … 137 137 <layout class="QVBoxLayout" name="verticalLayout_2"> 138 138 <item> 139 <widget class="QComboBox" name=" comboBox"/>140 </item> 141 <item> 142 <widget class="QComboBox" name=" comboBox_2"/>139 <widget class="QComboBox" name="m_ctinComboModulIn"/> 140 </item> 141 <item> 142 <widget class="QComboBox" name="m_ctinComboModulOut"/> 143 143 </item> 144 144 </layout> … … 519 519 <connections> 520 520 <connection> 521 <sender> pushButton_3</sender>521 <sender>m_ctinQuitButton</sender> 522 522 <signal>clicked()</signal> 523 523 <receiver>ConnectionWindow</receiver> -
trunk/yao/src/interface/src/ui_/modulwindow.ui
r354 r356 72 72 </property> 73 73 <property name="buddy"> 74 <cstring> lineModulInput</cstring>74 <cstring>m_lineModulInput</cstring> 75 75 </property> 76 76 </widget> … … 90 90 </item> 91 91 <item> 92 <widget class="QLineEdit" name=" lineModulInput"/>92 <widget class="QLineEdit" name="m_lineModulInput"/> 93 93 </item> 94 94 </layout> … … 129 129 <widget class="QLabel" name="label_4"> 130 130 <property name="text"> 131 <string> Target</string>131 <string>target</string> 132 132 </property> 133 133 <property name="buddy"> … … 143 143 </layout> 144 144 </widget> 145 <widget class="QCheckBox" name=" checkBoxModulArray">145 <widget class="QCheckBox" name="m_checkBoxModulArray"> 146 146 <property name="geometry"> 147 147 <rect> … … 153 153 </property> 154 154 <property name="text"> 155 <string> Array</string>155 <string>array</string> 156 156 </property> 157 157 </widget> … … 176 176 <x>10</x> 177 177 <y>10</y> 178 <width>11 1</width>178 <width>113</width> 179 179 <height>261</height> 180 180 </rect> … … 264 264 </property> 265 265 <property name="buddy"> 266 <cstring> comboModulInter1</cstring>266 <cstring>m_comboModulInter1</cstring> 267 267 </property> 268 268 </widget> … … 271 271 <layout class="QHBoxLayout" name="horizontalLayout"> 272 272 <item> 273 <widget class="QComboBox" name=" comboModulInter1"/>273 <widget class="QComboBox" name="m_comboModulInter1"/> 274 274 </item> 275 275 <item> 276 <widget class="QComboBox" name=" comboModulInter2"/>276 <widget class="QComboBox" name="m_comboModulInter2"/> 277 277 </item> 278 278 <item> 279 <widget class="QComboBox" name=" comboModulInter3"/>279 <widget class="QComboBox" name="m_comboModulInter3"/> 280 280 </item> 281 281 </layout> … … 465 465 </widget> 466 466 </widget> 467 <widget class="QWidget" name=" ">467 <widget class="QWidget" name="layoutWidget"> 468 468 <property name="geometry"> 469 469 <rect> … … 478 478 <widget class="QRadioButton" name="m_spaceRadioButton"> 479 479 <property name="text"> 480 <string> Space</string>480 <string>space</string> 481 481 </property> 482 482 <property name="checked"> … … 491 491 <widget class="QRadioButton" name="m_operaRadioButton"> 492 492 <property name="text"> 493 <string> Opera</string>493 <string>opera</string> 494 494 </property> 495 495 </widget> … … 580 580 <tabstop>m_lineModulName</tabstop> 581 581 <tabstop>m_operaRadioButton</tabstop> 582 <tabstop> lineModulInput</tabstop>583 <tabstop> checkBoxModulArray</tabstop>582 <tabstop>m_lineModulInput</tabstop> 583 <tabstop>m_checkBoxModulArray</tabstop> 584 584 <tabstop>lineModulOutput</tabstop> 585 585 <tabstop>m_comboModulTarget</tabstop> … … 591 591 <tabstop>checkBoxModulHidjac</tabstop> 592 592 <tabstop>checkBoxModulManage</tabstop> 593 <tabstop> comboModulInter1</tabstop>594 <tabstop> comboModulInter2</tabstop>595 <tabstop> comboModulInter3</tabstop>593 <tabstop>m_comboModulInter1</tabstop> 594 <tabstop>m_comboModulInter2</tabstop> 595 <tabstop>m_comboModulInter3</tabstop> 596 596 <tabstop>m_comboModulAutonet</tabstop> 597 597 <tabstop>comboModulClonol</tabstop>
Note: See TracChangeset
for help on using the changeset viewer.