Changeset 375 for trunk/yao


Ignore:
Timestamp:
07/02/10 18:55:48 (14 years ago)
Author:
yerima
Message:

In ConnectionWindow?, combobox are synchronized.

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

Legend:

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

    r374 r375  
    11//! \file    ConnectionWindow.cpp 
    22//! \brief   Implementation of the Ctin window. 
    3 //! \version 2010/07/01 (yyyy/mm/dd) 
     3//! \version 2010/07/02 (yyyy/mm/dd) 
    44//! \author  MAYAKI Abdouramane. 
    55 
     
    2121 
    2222/************************************************* Implementation of the construtor *******************************************************************/ 
    23 ConnectionWindow::ConnectionWindow(Table <Modul> *aModulTable, QWidget *parent) : QWidget(parent) { /*!< The constructor. */ 
     23ConnectionWindow::ConnectionWindow(Table <Modul> *aModulTable, Table <Constant> *aConstantTable, QWidget *parent) : QWidget(parent), cpt(1) { /*!< The constructor. */ 
    2424        setupUi(this); 
    2525     
     
    2727 
    2828        m_localModulTable       = aModulTable;   
    29          
    30         m_ctinComboModulIn->insertItem(0, ""); 
    31         m_ctinComboModulOut->insertItem(0, "");  
     29        m_localConstantTable    = aConstantTable;        
     30         
     31        m_ctinModulInCombo->insertItem(0, ""); 
     32        m_ctinModulOutCombo->insertItem(0, "");  
    3233                         
    33          
     34                 
     35 
    3436        m_ctinModel->setHorizontalHeaderLabels(QStringList() << "Entree" << "Nbre Entrees" << "Sortie" << "Nbre Sorties" << "i" << "j" << "k" << "t"); 
    3537 
     
    4042        m_ctinTableView->resizeColumnsToContents(); 
    4143         
    42         for (Table<Modul>::iterator it = m_localModulTable->begin(); it != m_localModulTable->end(); it++)  
     44        for (Table<Modul>::reverse_iterator it = m_localModulTable->rbegin(); it != m_localModulTable->rend(); it++)  
    4345                { 
    4446                        //int row = m_ctinModel->rowCount();                           
    4547                         
    46                         m_ctinComboModulIn->insertItem(1, QString(it->getName().c_str())); 
    47                         m_ctinComboModulOut->insertItem(1, QString(it->getName().c_str()));  
     48                        m_ctinModulInCombo->insertItem(1, QString(it->getName().c_str())); 
     49                        m_ctinModulOutCombo->insertItem(1, QString(it->getName().c_str()));  
    4850                        //m_ctinModel->setItem(row, 0, new QStandardItem(QString(it->getName().c_str()))); /*!< Gets the name.*/ 
    4951                        //m_ctinModel->setItem(row, 1, new QStandardItem(QString(it->getSpaceOrOperator().c_str())));  
    5052                }                
    51          
    52  
    53          
     53 
     54        m_ctinInCombo->setEditable(true); 
     55        m_ctinInCombo->insertItem(0, ""); 
     56 
     57        m_ctinIn2Combo->insertItem(0, ""); 
     58 
     59        m_ctinIn3Combo->insertItem(0, ""); 
     60 
     61        m_ctinOutCombo->setEditable(true); 
     62        m_ctinOutCombo->insertItem(0, ""); 
     63 
     64        m_ctinOut2Combo->insertItem(0, ""); 
     65 
     66        m_ctinOut3Combo->insertItem(0, ""); 
     67 
     68        m_ctinICombo->setEditable(true); 
     69        m_ctinICombo->insertItem(0, ""); 
     70        m_ctinICombo->insertItem(1, "+1"); 
     71        m_ctinICombo->insertItem(2, "-1"); 
     72        m_ctinICombo->insertItem(3, "..."); 
     73         
     74        m_ctinJCombo->setEditable(true); 
     75        m_ctinJCombo->insertItem(0, ""); 
     76        m_ctinJCombo->insertItem(1, "+1"); 
     77        m_ctinJCombo->insertItem(2, "-1"); 
     78        m_ctinJCombo->insertItem(3, "..."); 
     79         
     80        m_ctinKCombo->setEditable(true); 
     81        m_ctinKCombo->insertItem(0, ""); 
     82        m_ctinKCombo->insertItem(1, "+1"); 
     83        m_ctinKCombo->insertItem(2, "-1"); 
     84        m_ctinKCombo->insertItem(3, "..."); 
     85         
     86        m_ctinTCombo->setEditable(true); 
     87        m_ctinTCombo->insertItem(0, ""); 
     88        m_ctinTCombo->insertItem(1, "+1"); 
     89        m_ctinTCombo->insertItem(2, "-1"); 
     90        m_ctinTCombo->insertItem(3, "..."); 
     91         
     92        for (Table<Constant>::reverse_iterator it = m_localConstantTable->rbegin(); it != m_localConstantTable->rend(); it++)  
     93                { 
     94                        //int row = m_ctinModel->rowCount();                           
     95                         
     96                        m_ctinInCombo->insertItem(1, QString(it->getName().c_str())); 
     97                        m_ctinIn2Combo->insertItem(1, QString(it->getName().c_str())); 
     98                        m_ctinIn3Combo->insertItem(1, QString(it->getName().c_str())); 
     99 
     100                        m_ctinOutCombo->insertItem(1, QString(it->getName().c_str())); 
     101                        m_ctinOut2Combo->insertItem(1, QString(it->getName().c_str())); 
     102                        m_ctinOut3Combo->insertItem(1, QString(it->getName().c_str())); 
     103 
     104 
     105                //      m_ctinModulInCombo->insertItem(1, QString(it->getName().c_str())); 
     106                //      m_ctinModulOutCombo->insertItem(1, QString(it->getName().c_str()));  
     107                        //m_ctinModel->setItem(row, 0, new QStandardItem(QString(it->getName().c_str()))); /*!< Gets the name.*/ 
     108                        //m_ctinModel->setItem(row, 1, new QStandardItem(QString(it->getSpaceOrOperator().c_str())));  
     109                        ++cpt; 
     110                }                
     111 
     112        m_ctinInCombo->insertItem(cpt, "..."); 
     113        m_ctinOutCombo->insertItem(cpt, "..."); 
     114 
    54115        connect(m_ctinAddButton, SIGNAL(clicked()), this, SLOT(addCtinRow())); /*!< This slot add the object in the view */  
    55116        connect(m_ctinDelButton, SIGNAL(clicked()), this, SLOT(deleteCtinRow()));  /*!< slot  for the delete the object selected in the view*/ 
     
    57118        connect(m_ctinHelpButton, SIGNAL(clicked()), this, SLOT(ctinHelp()));   /*!< This slot opens */ 
    58119 
    59         setFixedWidth(baseSize().width() + 615); 
     120        connect(m_ctinInCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(activateInIntervalle(QString )));   /*!< This slot opens */ 
     121        connect(m_ctinOutCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(activateOutIntervalle(QString )));   /*!< This slot opens */ 
     122        connect(m_ctinJCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(activateJIntervalle(QString )));   /*!< This slot opens */ 
     123        connect(m_ctinKCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(activateKIntervalle(QString )));   /*!< This slot opens */ 
     124        connect(m_ctinTCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(activateTIntervalle(QString )));   /*!< This slot opens */ 
     125 
     126        setFixedWidth(baseSize().width() + 612); 
    60127  } 
    61128/********************************************** Implementation of the addCtinRow() method  ************************************************************/ 
     
    141208        } 
    142209//writefileCtin(); 
    143   initialiseCtin(); 
    144210 
    145211*/ 
     
    151217 
    152218} 
    153 //******************************* Write in the .d file**********************************/ 
    154  
    155 /*void ConnectionWindow::writefileCtin(){ 
    156  
    157          CtinData.push_back(comboBoxctin1->currentText() + " " + comboBoxctin2->currentText() + " " + comboBoxctin4->currentText() + 
    158                                                           " " + comboBoxctin3->currentText() + " " + comboBoxctin_i->currentText() + 
    159                                                           " " + comboBoxctin_j->currentText() + " " + comboBoxctin_k->currentText());  
    160    
    161  
    162                             }*/ 
     219 
     220/******************************* Implementation of the activateInIntervalle(QString aString) method **********************************/ 
     221void ConnectionWindow::activateInIntervalle(QString aString )  
     222{ 
     223 
     224        if (aString == "...") 
     225                { 
     226                        m_ctinIn2Combo->setEnabled(true); 
     227                        m_ctinIn3Combo->setEnabled(true); 
     228                        m_ctinFromInLabel->setEnabled(true); 
     229                        m_ctinToInLabel->setEnabled(true); 
     230                } 
     231        else 
     232                { 
     233                        m_ctinIn2Combo->setEnabled(false); 
     234                        m_ctinIn3Combo->setEnabled(false); 
     235                        m_ctinFromInLabel->setEnabled(false); 
     236                        m_ctinToInLabel->setEnabled(false); 
     237                         
     238                        m_ctinIn2Combo->setCurrentIndex(0);      
     239                        m_ctinIn3Combo->setCurrentIndex(0);      
     240                } 
     241        //m_ctinIngroupBox->setEnabled(true);    
     242} 
     243 
     244/******************************* Implementation of the activateOutIntervalle(QString aString) method **********************************/ 
     245void ConnectionWindow::activateOutIntervalle(QString aString )  
     246{ 
     247 
     248        if (aString == "...") 
     249                { 
     250                        m_ctinOut2Combo->setEnabled(true); 
     251                        m_ctinOut3Combo->setEnabled(true); 
     252                        m_ctinFromOutLabel->setEnabled(true); 
     253                        m_ctinToOutLabel->setEnabled(true); 
     254                } 
     255        else 
     256                { 
     257                        m_ctinOut2Combo->setEnabled(false); 
     258                        m_ctinOut3Combo->setEnabled(false); 
     259                        m_ctinFromOutLabel->setEnabled(false); 
     260                        m_ctinToOutLabel->setEnabled(false); 
     261                         
     262                        m_ctinOut2Combo->setCurrentIndex(0);     
     263                        m_ctinOut3Combo->setCurrentIndex(0);     
     264         
     265                } 
     266        //m_ctinIngroupBox->setEnabled(true);    
     267} 
     268/******************************* Implementation of the activateIIntervalle(QString aString) method **********************************/ 
     269void ConnectionWindow::activateIIntervalle(QString aString )  
     270{ 
     271 
     272        if (aString == "...") 
     273                { 
     274                        m_ctinI2Combo->setEnabled(true); 
     275                        m_ctinI3Combo->setEnabled(true); 
     276                        m_ctinFromILabel->setEnabled(true); 
     277                        m_ctinToILabel->setEnabled(true); 
     278                        m_ctinICheckBox->setEnabled(true); 
     279                } 
     280        else 
     281                { 
     282                        m_ctinI2Combo->setEnabled(false); 
     283                        m_ctinI3Combo->setEnabled(false); 
     284                        m_ctinFromILabel->setEnabled(false); 
     285                        m_ctinToILabel->setEnabled(false); 
     286                        m_ctinICheckBox->setEnabled(false); 
     287                         
     288                        m_ctinI2Combo->setCurrentIndex(0);       
     289                        m_ctinI3Combo->setCurrentIndex(0);       
     290                        m_ctinICheckBox->setChecked(false);      
     291                } 
     292} 
     293/******************************* Implementation of the activateJIntervalle(QString aString) method **********************************/ 
     294void ConnectionWindow::activateJIntervalle(QString aString )  
     295{ 
     296 
     297        if (aString == "...") 
     298                { 
     299                        m_ctinJ2Combo->setEnabled(true); 
     300                        m_ctinJ3Combo->setEnabled(true); 
     301                        m_ctinFromJLabel->setEnabled(true); 
     302                        m_ctinToJLabel->setEnabled(true); 
     303                        m_ctinJCheckBox->setEnabled(true); 
     304                } 
     305        else 
     306                { 
     307                        m_ctinJ2Combo->setEnabled(false); 
     308                        m_ctinJ3Combo->setEnabled(false); 
     309                        m_ctinFromJLabel->setEnabled(false); 
     310                        m_ctinToJLabel->setEnabled(false); 
     311                        m_ctinJCheckBox->setEnabled(false); 
     312                         
     313                        m_ctinJ2Combo->setCurrentIndex(0);       
     314                        m_ctinJ3Combo->setCurrentIndex(0);       
     315                        m_ctinJCheckBox->setChecked(false);      
     316                } 
     317} 
     318 
     319/******************************* Implementation of the activateKIntervalle(QString aString) method **********************************/ 
     320void ConnectionWindow::activateKIntervalle(QString aString )  
     321{ 
     322 
     323        if (aString == "...") 
     324                { 
     325                        m_ctinK2Combo->setEnabled(true); 
     326                        m_ctinK3Combo->setEnabled(true); 
     327                        m_ctinFromKLabel->setEnabled(true); 
     328                        m_ctinToKLabel->setEnabled(true); 
     329                        m_ctinKCheckBox->setEnabled(true); 
     330                } 
     331        else 
     332                { 
     333                        m_ctinK2Combo->setEnabled(false); 
     334                        m_ctinK3Combo->setEnabled(false); 
     335                        m_ctinFromKLabel->setEnabled(false); 
     336                        m_ctinToKLabel->setEnabled(false); 
     337                        m_ctinKCheckBox->setEnabled(false); 
     338                         
     339                        m_ctinK2Combo->setCurrentIndex(0);       
     340                        m_ctinK3Combo->setCurrentIndex(0);       
     341                        m_ctinKCheckBox->setChecked(false);      
     342                } 
     343} 
     344 
     345/******************************* Implementation of the activateTIntervalle(QString aString) method **********************************/ 
     346void ConnectionWindow::activateTIntervalle(QString aString )  
     347{ 
     348 
     349        if (aString == "...") 
     350                { 
     351                        m_ctinT2Combo->setEnabled(true); 
     352                        m_ctinT3Combo->setEnabled(true); 
     353                        m_ctinFromTLabel->setEnabled(true); 
     354                        m_ctinToTLabel->setEnabled(true); 
     355                        m_ctinTCheckBox->setEnabled(true); 
     356                } 
     357        else 
     358                { 
     359                        m_ctinT2Combo->setEnabled(false); 
     360                        m_ctinT3Combo->setEnabled(false); 
     361                        m_ctinFromTLabel->setEnabled(false); 
     362                        m_ctinToTLabel->setEnabled(false); 
     363                        m_ctinTCheckBox->setEnabled(false); 
     364                         
     365                        m_ctinT2Combo->setCurrentIndex(0);       
     366                        m_ctinT3Combo->setCurrentIndex(0);       
     367                        m_ctinTCheckBox->setChecked(false);      
     368                } 
     369} 
     370 
    163371/****************************************************************************************************************************/ 
    164372/*QStringList ConnectionWindow::getDataCtin() { 
     
    168376 
    169377/****************************************************************************************/ 
    170  
     378void ConnectionWindow::toInitialize()  
     379{ 
     380        m_ctinModulInCombo->setCurrentIndex(0); 
     381        m_ctinModulOutCombo->setCurrentIndex(0); 
     382        m_ctinInCombo->setCurrentIndex(0); 
     383        m_ctinOutCombo->setCurrentIndex(0); 
     384        m_ctinICombo->setCurrentIndex(0); 
     385        m_ctinJCombo->setCurrentIndex(0); 
     386        m_ctinKCombo->setCurrentIndex(0); 
     387        m_ctinTCombo->setCurrentIndex(0); 
     388        m_ctinTCombo->setCurrentIndex(0); 
     389         
     390        m_ctinIRadioButton->setChecked(false); 
     391        m_ctinJRadioButton->setChecked(false); 
     392        m_ctinKRadioButton->setChecked(false); 
     393        m_ctinTRadioButton->setChecked(false); 
     394                 
     395 
     396        m_ctinJ2Combo->setCurrentIndex(0); 
     397        m_ctinJ3Combo->setCurrentIndex(0); 
     398 
     399        m_ctinK2Combo->setCurrentIndex(0); 
     400        m_ctinK3Combo->setCurrentIndex(0); 
     401 
     402        m_ctinT2Combo->setCurrentIndex(0); 
     403        m_ctinT3Combo->setCurrentIndex(0); 
     404 
     405        m_ctinIn2Combo->setCurrentIndex(0);      
     406        m_ctinIn3Combo->setCurrentIndex(0);      
     407 
     408        m_ctinOut2Combo->setCurrentIndex(0);     
     409        m_ctinOut3Combo->setCurrentIndex(0);     
     410         
     411        m_ctinICheckBox->setChecked(false); 
     412        m_ctinJCheckBox->setChecked(false); 
     413        m_ctinKCheckBox->setChecked(false); 
     414        m_ctinTCheckBox->setChecked(false); 
     415 
     416} 
    171417 
    172418/********************************************* Implementation of ctinHelp() method *********************************************************************/ 
  • trunk/yao/src/interface/src/MainWindow.cpp

    r374 r375  
    406406 
    407407        if (m_ctinWindow == NULL) { //to test if the object is already created. 
    408                 m_ctinWindow = new ConnectionWindow(&theModulTable); //mwc.getCtin(); 
     408                m_ctinWindow = new ConnectionWindow(&theModulTable, &theConstantTable); //mwc.getCtin(); 
    409409                espace.addWindow(m_ctinWindow)->move(0, 0); 
    410410                m_ctinWindow->show(); 
  • trunk/yao/src/interface/src/include/ConnectionWindow.hpp

    r374 r375  
    1212#include "../../../YAOObjects/Table.hpp" 
    1313#include "../../../YAOObjects/Connection.hpp" 
     14#include "../../../YAOObjects/Constant.hpp" 
    1415#include "../../../YAOObjects/Modul.hpp" 
    1516#include <QTextCodec> 
     
    4344                        */ 
    4445 
    45                         ConnectionWindow(yao::Table <yao::Modul> *aModulTable, QWidget *parent=0); 
     46                        ConnectionWindow(yao::Table <yao::Modul> *aModulTable,  yao::Table <yao::Constant> *aConstantTable, QWidget *parent=0); 
    4647                        QStringList getDataCtin(); /*!< This function returns the connexion's data. */ 
    47                         void initialiseCtin();   
     48                        void toInitialize(); 
    4849 
    4950        private slots:       /*!< Functions called after a click. */ 
     
    5253                        void addCtinRow(); 
    5354                        void deleteCtinRow(); 
     55                        void activateInIntervalle(QString aString ); 
     56                        void activateOutIntervalle(QString aString ); 
     57                        void activateIIntervalle(QString aString ); 
     58                        void activateJIntervalle(QString aString ); 
     59                        void activateKIntervalle(QString aString ); 
     60                        void activateTIntervalle(QString aString ); 
    5461 
    5562        signals: 
     
    6471                        QStandardItemModel *m_ctinModel; 
    6572                        yao::Table <yao::Modul> *m_localModulTable; 
    66                      
     73                        yao::Table <yao::Constant> *m_localConstantTable; 
     74                        int cpt;                     
    6775}; 
    6876#endif // CTIN_HPP 
  • trunk/yao/src/interface/src/ui_/connectionwindow.ui

    r362 r375  
    88    <y>0</y> 
    99    <width>606</width> 
    10     <height>508</height> 
     10    <height>518</height> 
    1111   </rect> 
    1212  </property> 
     
    2121    <rect> 
    2222     <x>10</x> 
    23      <y>310</y> 
     23     <y>330</y> 
    2424     <width>591</width> 
    25      <height>191</height> 
     25     <height>181</height> 
    2626    </rect> 
    2727   </property> 
     
    3838      <y>10</y> 
    3939      <width>481</width> 
    40       <height>171</height> 
     40      <height>161</height> 
    4141     </rect> 
    4242    </property> 
     
    4646     <rect> 
    4747      <x>500</x> 
    48       <y>40</y> 
    49       <width>87</width> 
     48      <y>20</y> 
     49      <width>81</width> 
    5050      <height>95</height> 
    5151     </rect> 
     
    8585     <rect> 
    8686      <x>500</x> 
    87       <y>150</y> 
     87      <y>140</y> 
    8888      <width>41</width> 
    8989      <height>27</height> 
     
    9595    <property name="autoDefault"> 
    9696     <bool>true</bool> 
     97    </property> 
     98   </widget> 
     99   <widget class="QGroupBox" name="groupBox_2"> 
     100    <property name="enabled"> 
     101     <bool>false</bool> 
     102    </property> 
     103    <property name="geometry"> 
     104     <rect> 
     105      <x>190</x> 
     106      <y>70</y> 
     107      <width>212</width> 
     108      <height>45</height> 
     109     </rect> 
     110    </property> 
     111    <property name="title"> 
     112     <string/> 
    97113    </property> 
    98114   </widget> 
     
    104120     <y>10</y> 
    105121     <width>591</width> 
    106      <height>121</height> 
     122     <height>131</height> 
    107123    </rect> 
    108124   </property> 
     
    119135      <y>10</y> 
    120136      <width>571</width> 
    121       <height>101</height> 
     137      <height>111</height> 
    122138     </rect> 
    123139    </property> 
     
    146162        <layout class="QVBoxLayout" name="verticalLayout_2"> 
    147163         <item> 
    148           <widget class="QComboBox" name="m_ctinComboModulIn"/> 
     164          <widget class="QComboBox" name="m_ctinModulInCombo"> 
     165           <property name="minimumSize"> 
     166            <size> 
     167             <width>78</width> 
     168             <height>0</height> 
     169            </size> 
     170           </property> 
     171          </widget> 
    149172         </item> 
    150173         <item> 
    151           <widget class="QComboBox" name="m_ctinComboModulOut"/> 
     174          <widget class="QComboBox" name="m_ctinModulOutCombo"> 
     175           <property name="minimumSize"> 
     176            <size> 
     177             <width>78</width> 
     178             <height>0</height> 
     179            </size> 
     180           </property> 
     181          </widget> 
    152182         </item> 
    153183        </layout> 
     
    174204        <layout class="QVBoxLayout" name="verticalLayout_4"> 
    175205         <item> 
    176           <widget class="QComboBox" name="comboBox_3"/> 
     206          <widget class="QComboBox" name="m_ctinInCombo"> 
     207           <property name="minimumSize"> 
     208            <size> 
     209             <width>78</width> 
     210             <height>0</height> 
     211            </size> 
     212           </property> 
     213          </widget> 
    177214         </item> 
    178215         <item> 
    179           <widget class="QComboBox" name="comboBox_4"/> 
     216          <widget class="QComboBox" name="m_ctinOutCombo"> 
     217           <property name="minimumSize"> 
     218            <size> 
     219             <width>78</width> 
     220             <height>0</height> 
     221            </size> 
     222           </property> 
     223          </widget> 
    180224         </item> 
    181225        </layout> 
     
    186230      <layout class="QVBoxLayout" name="verticalLayout_5"> 
    187231       <item> 
    188         <widget class="QGroupBox" name="groupBox"> 
    189          <property name="enabled"> 
    190           <bool>false</bool> 
     232        <widget class="QGroupBox" name="m_ctinIngroupBox"> 
     233         <property name="enabled"> 
     234          <bool>true</bool> 
    191235         </property> 
    192236         <property name="title"> 
    193237          <string/> 
    194238         </property> 
    195          <widget class="QWidget" name="layoutWidget"> 
     239         <widget class="QWidget" name=""> 
    196240          <property name="geometry"> 
    197241           <rect> 
    198242            <x>10</x> 
    199             <y>10</y> 
    200             <width>202</width> 
    201             <height>29</height> 
     243            <y>8</y> 
     244            <width>191</width> 
     245            <height>41</height> 
     246           </rect> 
     247          </property> 
     248          <layout class="QHBoxLayout" name="horizontalLayout_2"> 
     249           <item> 
     250            <widget class="QLabel" name="m_ctinFromInLabel"> 
     251             <property name="enabled"> 
     252              <bool>false</bool> 
     253             </property> 
     254             <property name="text"> 
     255              <string>De</string> 
     256             </property> 
     257            </widget> 
     258           </item> 
     259           <item> 
     260            <widget class="QComboBox" name="m_ctinIn2Combo"> 
     261             <property name="enabled"> 
     262              <bool>false</bool> 
     263             </property> 
     264            </widget> 
     265           </item> 
     266           <item> 
     267            <widget class="QLabel" name="m_ctinToInLabel"> 
     268             <property name="enabled"> 
     269              <bool>false</bool> 
     270             </property> 
     271             <property name="text"> 
     272              <string>à</string> 
     273             </property> 
     274            </widget> 
     275           </item> 
     276           <item> 
     277            <widget class="QComboBox" name="m_ctinIn3Combo"> 
     278             <property name="enabled"> 
     279              <bool>false</bool> 
     280             </property> 
     281            </widget> 
     282           </item> 
     283          </layout> 
     284         </widget> 
     285         <widget class="QWidget" name=""> 
     286          <property name="geometry"> 
     287           <rect> 
     288            <x>10</x> 
     289            <y>60</y> 
     290            <width>191</width> 
     291            <height>41</height> 
    202292           </rect> 
    203293          </property> 
    204294          <layout class="QHBoxLayout" name="horizontalLayout"> 
    205295           <item> 
    206             <widget class="QLabel" name="label_5"> 
     296            <widget class="QLabel" name="m_ctinFromOutLabel"> 
     297             <property name="enabled"> 
     298              <bool>false</bool> 
     299             </property> 
    207300             <property name="text"> 
    208301              <string>De</string> 
     
    211304           </item> 
    212305           <item> 
    213             <widget class="QComboBox" name="comboBox_5"/> 
    214            </item> 
    215            <item> 
    216             <widget class="QLabel" name="label_6"> 
    217              <property name="text"> 
    218               <string>à</string> 
     306            <widget class="QComboBox" name="m_ctinOut2Combo"> 
     307             <property name="enabled"> 
     308              <bool>false</bool> 
    219309             </property> 
    220310            </widget> 
    221311           </item> 
    222312           <item> 
    223             <widget class="QComboBox" name="comboBox_6"/> 
    224            </item> 
    225           </layout> 
    226          </widget> 
    227         </widget> 
    228        </item> 
    229        <item> 
    230         <widget class="QGroupBox" name="groupBox_2"> 
    231          <property name="enabled"> 
    232           <bool>false</bool> 
    233          </property> 
    234          <property name="title"> 
    235           <string/> 
    236          </property> 
    237          <widget class="QWidget" name="layoutWidget"> 
    238           <property name="geometry"> 
    239            <rect> 
    240             <x>10</x> 
    241             <y>10</y> 
    242             <width>202</width> 
    243             <height>29</height> 
    244            </rect> 
    245           </property> 
    246           <layout class="QHBoxLayout" name="horizontalLayout_2"> 
    247            <item> 
    248             <widget class="QLabel" name="label_7"> 
     313            <widget class="QLabel" name="m_ctinToOutLabel"> 
     314             <property name="enabled"> 
     315              <bool>false</bool> 
     316             </property> 
    249317             <property name="text"> 
    250               <string>De</string> 
     318              <string>à</string> 
    251319             </property> 
    252320            </widget> 
    253321           </item> 
    254322           <item> 
    255             <widget class="QComboBox" name="comboBox_7"/> 
    256            </item> 
    257            <item> 
    258             <widget class="QLabel" name="label_8"> 
    259              <property name="text"> 
    260               <string>à</string> 
     323            <widget class="QComboBox" name="m_ctinOut3Combo"> 
     324             <property name="enabled"> 
     325              <bool>false</bool> 
    261326             </property> 
    262327            </widget> 
    263            </item> 
    264            <item> 
    265             <widget class="QComboBox" name="comboBox_8"/> 
    266328           </item> 
    267329          </layout> 
     
    278340    <rect> 
    279341     <x>10</x> 
    280      <y>140</y> 
     342     <y>150</y> 
    281343     <width>591</width> 
    282      <height>161</height> 
     344     <height>171</height> 
    283345    </rect> 
    284346   </property> 
     
    294356      <x>10</x> 
    295357      <y>10</y> 
    296       <width>471</width> 
     358      <width>491</width> 
    297359      <height>31</height> 
    298360     </rect> 
     
    300362    <layout class="QHBoxLayout" name="horizontalLayout_9"> 
    301363     <item> 
    302       <widget class="QRadioButton" name="radioButton"> 
     364      <widget class="QRadioButton" name="m_ctinIRadioButton"> 
    303365       <property name="layoutDirection"> 
    304366        <enum>Qt::RightToLeft</enum> 
     
    317379     </item> 
    318380     <item> 
    319       <widget class="QComboBox" name="comboBox_9"/> 
     381      <widget class="QComboBox" name="m_ctinICombo"/> 
    320382     </item> 
    321383     <item> 
    322384      <layout class="QHBoxLayout" name="horizontalLayout_5"> 
    323385       <item> 
    324         <widget class="QLabel" name="label_13"> 
     386        <widget class="QLabel" name="m_ctinFromILabel"> 
    325387         <property name="text"> 
    326388          <string>De</string> 
     
    329391       </item> 
    330392       <item> 
    331         <widget class="QComboBox" name="comboBox_13"/> 
    332        </item> 
    333        <item> 
    334         <widget class="QLabel" name="label_14"> 
     393        <widget class="QComboBox" name="m_ctinI2Combo"> 
     394         <property name="enabled"> 
     395          <bool>false</bool> 
     396         </property> 
     397        </widget> 
     398       </item> 
     399       <item> 
     400        <widget class="QLabel" name="m_ctinToILabel"> 
    335401         <property name="text"> 
    336402          <string>à</string> 
     
    339405       </item> 
    340406       <item> 
    341         <widget class="QComboBox" name="comboBox_14"/> 
    342        </item> 
    343        <item> 
    344         <widget class="QCheckBox" name="checkBox"> 
     407        <widget class="QComboBox" name="m_ctinI3Combo"> 
     408         <property name="enabled"> 
     409          <bool>false</bool> 
     410         </property> 
     411        </widget> 
     412       </item> 
     413       <item> 
     414        <widget class="QCheckBox" name="m_ctinICheckBox"> 
     415         <property name="enabled"> 
     416          <bool>false</bool> 
     417         </property> 
    345418         <property name="layoutDirection"> 
    346419          <enum>Qt::RightToLeft</enum> 
     
    360433      <x>11</x> 
    361434      <y>50</y> 
    362       <width>391</width> 
     435      <width>491</width> 
    363436      <height>31</height> 
    364437     </rect> 
     
    366439    <layout class="QHBoxLayout" name="horizontalLayout_10"> 
    367440     <item> 
    368       <widget class="QRadioButton" name="radioButton_2"> 
     441      <widget class="QRadioButton" name="m_ctinJRadioButton"> 
    369442       <property name="layoutDirection"> 
    370443        <enum>Qt::RightToLeft</enum> 
     
    383456     </item> 
    384457     <item> 
    385       <widget class="QComboBox" name="comboBox_10"/> 
     458      <widget class="QComboBox" name="m_ctinJCombo"/> 
    386459     </item> 
    387460     <item> 
    388461      <layout class="QHBoxLayout" name="horizontalLayout_6"> 
    389462       <item> 
    390         <widget class="QLabel" name="label_15"> 
     463        <widget class="QLabel" name="m_ctinFromJLabel"> 
    391464         <property name="text"> 
    392465          <string>De</string> 
     
    395468       </item> 
    396469       <item> 
    397         <widget class="QComboBox" name="comboBox_15"/> 
    398        </item> 
    399        <item> 
    400         <widget class="QLabel" name="label_16"> 
     470        <widget class="QComboBox" name="m_ctinJ2Combo"> 
     471         <property name="enabled"> 
     472          <bool>false</bool> 
     473         </property> 
     474        </widget> 
     475       </item> 
     476       <item> 
     477        <widget class="QLabel" name="m_ctinToJLabel"> 
    401478         <property name="text"> 
    402479          <string>à</string> 
     
    405482       </item> 
    406483       <item> 
    407         <widget class="QComboBox" name="comboBox_16"/> 
     484        <widget class="QComboBox" name="m_ctinJ3Combo"> 
     485         <property name="enabled"> 
     486          <bool>false</bool> 
     487         </property> 
     488        </widget> 
     489       </item> 
     490       <item> 
     491        <widget class="QCheckBox" name="m_ctinJCheckBox"> 
     492         <property name="enabled"> 
     493          <bool>false</bool> 
     494         </property> 
     495         <property name="layoutDirection"> 
     496          <enum>Qt::RightToLeft</enum> 
     497         </property> 
     498         <property name="text"> 
     499          <string>avec 0</string> 
     500         </property> 
     501        </widget> 
    408502       </item> 
    409503      </layout> 
     
    416510      <x>10</x> 
    417511      <y>90</y> 
    418       <width>391</width> 
     512      <width>491</width> 
    419513      <height>31</height> 
    420514     </rect> 
     
    422516    <layout class="QHBoxLayout" name="horizontalLayout_11"> 
    423517     <item> 
    424       <widget class="QRadioButton" name="radioButton_3"> 
     518      <widget class="QRadioButton" name="m_ctinKRadioButton"> 
    425519       <property name="layoutDirection"> 
    426520        <enum>Qt::RightToLeft</enum> 
     
    439533     </item> 
    440534     <item> 
    441       <widget class="QComboBox" name="comboBox_11"/> 
     535      <widget class="QComboBox" name="m_ctinKCombo"/> 
    442536     </item> 
    443537     <item> 
    444538      <layout class="QHBoxLayout" name="horizontalLayout_7"> 
    445539       <item> 
    446         <widget class="QLabel" name="label_17"> 
     540        <widget class="QLabel" name="m_ctinFromKLabel"> 
    447541         <property name="text"> 
    448542          <string>De</string> 
     
    451545       </item> 
    452546       <item> 
    453         <widget class="QComboBox" name="comboBox_17"/> 
    454        </item> 
    455        <item> 
    456         <widget class="QLabel" name="label_18"> 
     547        <widget class="QComboBox" name="m_ctinK2Combo"> 
     548         <property name="enabled"> 
     549          <bool>false</bool> 
     550         </property> 
     551        </widget> 
     552       </item> 
     553       <item> 
     554        <widget class="QLabel" name="m_ctinToKLabel"> 
    457555         <property name="text"> 
    458556          <string>à</string> 
     
    461559       </item> 
    462560       <item> 
    463         <widget class="QComboBox" name="comboBox_18"/> 
     561        <widget class="QComboBox" name="m_ctinK3Combo"> 
     562         <property name="enabled"> 
     563          <bool>false</bool> 
     564         </property> 
     565        </widget> 
     566       </item> 
     567       <item> 
     568        <widget class="QCheckBox" name="m_ctinKCheckBox"> 
     569         <property name="enabled"> 
     570          <bool>false</bool> 
     571         </property> 
     572         <property name="layoutDirection"> 
     573          <enum>Qt::RightToLeft</enum> 
     574         </property> 
     575         <property name="text"> 
     576          <string>avec 0</string> 
     577         </property> 
     578        </widget> 
    464579       </item> 
    465580      </layout> 
     
    472587      <x>10</x> 
    473588      <y>130</y> 
    474       <width>391</width> 
     589      <width>491</width> 
    475590      <height>31</height> 
    476591     </rect> 
     
    478593    <layout class="QHBoxLayout" name="horizontalLayout_12"> 
    479594     <item> 
    480       <widget class="QRadioButton" name="radioButton_4"> 
     595      <widget class="QRadioButton" name="m_ctinTRadioButton"> 
    481596       <property name="layoutDirection"> 
    482597        <enum>Qt::RightToLeft</enum> 
     
    495610     </item> 
    496611     <item> 
    497       <widget class="QComboBox" name="comboBox_12"/> 
     612      <widget class="QComboBox" name="m_ctinTCombo"/> 
    498613     </item> 
    499614     <item> 
    500615      <layout class="QHBoxLayout" name="horizontalLayout_8"> 
    501616       <item> 
    502         <widget class="QLabel" name="label_19"> 
     617        <widget class="QLabel" name="m_ctinFromTLabel"> 
    503618         <property name="text"> 
    504619          <string>De</string> 
     
    507622       </item> 
    508623       <item> 
    509         <widget class="QComboBox" name="comboBox_19"/> 
    510        </item> 
    511        <item> 
    512         <widget class="QLabel" name="label_20"> 
     624        <widget class="QComboBox" name="m_ctinT2Combo"> 
     625         <property name="enabled"> 
     626          <bool>false</bool> 
     627         </property> 
     628        </widget> 
     629       </item> 
     630       <item> 
     631        <widget class="QLabel" name="m_ctinToTLabel"> 
    513632         <property name="text"> 
    514633          <string>à</string> 
     
    517636       </item> 
    518637       <item> 
    519         <widget class="QComboBox" name="comboBox_20"/> 
     638        <widget class="QComboBox" name="m_ctinT3Combo"> 
     639         <property name="enabled"> 
     640          <bool>false</bool> 
     641         </property> 
     642        </widget> 
     643       </item> 
     644       <item> 
     645        <widget class="QCheckBox" name="m_ctinTCheckBox"> 
     646         <property name="enabled"> 
     647          <bool>false</bool> 
     648         </property> 
     649         <property name="layoutDirection"> 
     650          <enum>Qt::RightToLeft</enum> 
     651         </property> 
     652         <property name="text"> 
     653          <string>avec 0</string> 
     654         </property> 
     655        </widget> 
    520656       </item> 
    521657      </layout> 
     
    525661  </widget> 
    526662 </widget> 
     663 <tabstops> 
     664  <tabstop>m_ctinModulInCombo</tabstop> 
     665  <tabstop>m_ctinInCombo</tabstop> 
     666  <tabstop>m_ctinIn2Combo</tabstop> 
     667  <tabstop>m_ctinIn3Combo</tabstop> 
     668  <tabstop>m_ctinModulOutCombo</tabstop> 
     669  <tabstop>m_ctinOutCombo</tabstop> 
     670  <tabstop>m_ctinOut2Combo</tabstop> 
     671  <tabstop>m_ctinOut3Combo</tabstop> 
     672  <tabstop>m_ctinIRadioButton</tabstop> 
     673  <tabstop>m_ctinICombo</tabstop> 
     674  <tabstop>m_ctinI2Combo</tabstop> 
     675  <tabstop>m_ctinI3Combo</tabstop> 
     676  <tabstop>m_ctinICheckBox</tabstop> 
     677  <tabstop>m_ctinJRadioButton</tabstop> 
     678  <tabstop>m_ctinJCombo</tabstop> 
     679  <tabstop>m_ctinJ2Combo</tabstop> 
     680  <tabstop>m_ctinJ3Combo</tabstop> 
     681  <tabstop>m_ctinJCheckBox</tabstop> 
     682  <tabstop>m_ctinKRadioButton</tabstop> 
     683  <tabstop>m_ctinKCombo</tabstop> 
     684  <tabstop>m_ctinK2Combo</tabstop> 
     685  <tabstop>m_ctinK3Combo</tabstop> 
     686  <tabstop>m_ctinKCheckBox</tabstop> 
     687  <tabstop>m_ctinTRadioButton</tabstop> 
     688  <tabstop>m_ctinTCombo</tabstop> 
     689  <tabstop>m_ctinT2Combo</tabstop> 
     690  <tabstop>m_ctinT3Combo</tabstop> 
     691  <tabstop>m_ctinTCheckBox</tabstop> 
     692  <tabstop>m_ctinAddButton</tabstop> 
     693  <tabstop>m_ctinDelButton</tabstop> 
     694  <tabstop>m_ctinQuitButton</tabstop> 
     695  <tabstop>m_ctinHelpButton</tabstop> 
     696  <tabstop>m_ctinTableView</tabstop> 
     697 </tabstops> 
    527698 <resources/> 
    528699 <connections> 
     
    544715  </connection> 
    545716  <connection> 
    546    <sender>comboBox_3</sender> 
     717   <sender>m_ctinInCombo</sender> 
    547718   <signal>currentIndexChanged(QString)</signal> 
    548    <receiver>groupBox</receiver> 
     719   <receiver>m_ctinIngroupBox</receiver> 
    549720   <slot>show()</slot> 
    550721   <hints> 
Note: See TracChangeset for help on using the changeset viewer.