Changeset 444 for trunk/yao


Ignore:
Timestamp:
10/14/10 20:02:13 (14 years ago)
Author:
yerima
Message:

ConnectionWindow? is updated in visual Yao.

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

Legend:

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

    r419 r444  
    4545        for (Table<Modul>::reverse_iterator it = m_localModulTable->rbegin(); it != m_localModulTable->rend(); it++)  
    4646                { 
    47                         //int row = m_ctinModel->rowCount();                           
    48                          
    4947                        m_ctinModulInCombo->insertItem(1, QString(it->getName().c_str())); 
    5048                        m_ctinModulOutCombo->insertItem(1, QString(it->getName().c_str()));  
    51                         //m_ctinModel->setItem(row, 0, new QStandardItem(QString(it->getName().c_str()))); /*!< Gets the name.*/ 
    52                         //m_ctinModel->setItem(row, 1, new QStandardItem(QString(it->getSpaceOrOperator().c_str())));  
    5349                }                
    5450 
     
    109105                }                
    110106 
     107   
     108   
    111109        for (Table<Connection>::reverse_iterator it = m_localConnectionTable->rbegin(); it != m_localConnectionTable->rend(); it++)  
    112110                { 
    113111                        int row = m_ctinModel->rowCount(); 
    114  
    115                         m_ctinModel->setItem(row, 0, new QStandardItem(QString(it->getName().c_str()))); /*!< Gets the name.*/ 
     112                        ostringstream in, out; 
     113 
     114                        in  << it->getIn(); 
     115                        out << it->getOut(); 
     116 
     117                        m_ctinModel->setItem(row, 0, new QStandardItem(QString(it->getInModule().c_str()))); /*!< Gets the name.*/ 
     118                        m_ctinModel->setItem(row, 1, new QStandardItem(QString(in.str().c_str()))); /*!< Gets the name.*/ 
     119                        m_ctinModel->setItem(row, 2, new QStandardItem(QString(it->getOutModule().c_str()))); /*!< Gets the name.*/ 
     120                        m_ctinModel->setItem(row, 3, new QStandardItem(QString(out.str().c_str()))); /*!< Gets the name.*/ 
     121                        //cout << "nom" << it->getName() << endl; /*!< Gets the name.*/ 
    116122                }                
    117123 
     
    132138        connect(m_ctinTCombo, SIGNAL(currentIndexChanged(QString)), this, SLOT(activateTIntervalle(QString )));   /*!< This slot opens */ 
    133139 
    134         setFixedWidth(baseSize().width() + 612); 
     140        setFixedWidth(baseSize().width() + 615); 
    135141  } 
    136142/********************************************** Implementation of the addCtinRow() method  ************************************************************/ 
     
    139145        try 
    140146                { 
     147                         
    141148                        int row = m_ctinModel->rowCount();//To have the current row of the tableView. 
    142149 
     
    150157                        if (!modulIn.empty() && !modulOut.empty())  
    151158                                { 
    152                                         m_ctinModel->setItem(row, 0, new QStandardItem(QString(modulIn.c_str()))); 
    153                                         if(!in.empty()) m_ctinModel->setItem(row, 1, new QStandardItem(QString(in.c_str()))); 
    154                                         m_ctinModel->setItem(row, 2, new QStandardItem(QString(modulOut.c_str()))); 
    155                                         if(!out.empty()) m_ctinModel->setItem(row, 3, new QStandardItem(QString(out.c_str()))); 
     159                                        m_ctinModel->setItem(row, 0, new QStandardItem(QString(modulIn.c_str()))); //To insert the modulInName in the View 
    156160                                        m_localConnection.setInModule(modulIn);  
    157                                         m_localConnectionTable->push_back(m_localConnection); 
     161 
     162                                        if(!in.empty()) {  
     163 
     164                                                m_ctinModel->setItem(row, 1, new QStandardItem(QString(in.c_str()))); //To insert the modinvalue in the viw 
     165                                                m_localConnection.setIn(toInt(in));      
     166                                        } 
     167 
     168                                        m_ctinModel->setItem(row, 2, new QStandardItem(QString(modulOut.c_str())));//To insert the modulOutName in the View 
     169                                        m_localConnection.setOutModule(modulOut);        
     170                                        if(!out.empty()){ 
     171                 
     172                                                m_ctinModel->setItem(row, 3, new QStandardItem(QString(out.c_str())));//To insert the modOutvalue in the viw 
     173                                                m_localConnection.setOut(toInt(out));    
     174                                        } 
     175 
     176                                        m_localConnectionTable->push_back(m_localConnection);//Insertion in Yao structures. 
    158177                                }        
    159178 
     
    178197                                  {    
    179198                                        m_ctinModel->removeRows(m_ctinTableView->currentIndex().row(), 1); 
    180                                          //m_localModulTable->erase(m_localModulTable->begin() + r);  
     199                                        m_localConnectionTable->erase(m_localConnectionTable->begin() + r);  
    181200                                          
    182201                                         //if(isModulTableEmpty()) m_modulDelButton->setDisabled(true); 
     
    363382        m_ctinTCombo->setCurrentIndex(0); 
    364383         
    365         m_ctinIRadioButton->setChecked(false); 
    366         m_ctinJRadioButton->setChecked(false); 
    367         m_ctinKRadioButton->setChecked(false); 
    368         m_ctinTRadioButton->setChecked(false); 
    369                  
    370  
    371         m_ctinJ2Combo->setCurrentIndex(0); 
    372         m_ctinJ3Combo->setCurrentIndex(0); 
    373  
    374         m_ctinK2Combo->setCurrentIndex(0); 
    375         m_ctinK3Combo->setCurrentIndex(0); 
    376  
    377         m_ctinT2Combo->setCurrentIndex(0); 
    378         m_ctinT3Combo->setCurrentIndex(0); 
    379  
    380         m_ctinIn2Combo->setCurrentIndex(0);      
    381         m_ctinIn3Combo->setCurrentIndex(0);      
    382  
    383         m_ctinOut2Combo->setCurrentIndex(0);     
    384         m_ctinOut3Combo->setCurrentIndex(0);     
    385          
    386384        m_ctinICheckBox->setChecked(false); 
    387385        m_ctinJCheckBox->setChecked(false); 
    388386        m_ctinKCheckBox->setChecked(false); 
    389387        m_ctinTCheckBox->setChecked(false); 
     388                 
     389 
     390        m_ctinJ2Combo->setCurrentIndex(0); 
     391        m_ctinJ3Combo->setCurrentIndex(0); 
     392 
     393        m_ctinK2Combo->setCurrentIndex(0); 
     394        m_ctinK3Combo->setCurrentIndex(0); 
     395 
     396        m_ctinT2Combo->setCurrentIndex(0); 
     397        m_ctinT3Combo->setCurrentIndex(0); 
     398 
     399        m_ctinIn2Combo->setCurrentIndex(0);      
     400        m_ctinIn3Combo->setCurrentIndex(0);      
     401 
     402        m_ctinOut2Combo->setCurrentIndex(0);     
     403        m_ctinOut3Combo->setCurrentIndex(0);     
     404         
     405        m_ctinICheckBox->setChecked(false); 
     406        m_ctinJCheckBox->setChecked(false); 
     407        m_ctinKCheckBox->setChecked(false); 
     408        m_ctinTCheckBox->setChecked(false); 
     409 
     410} 
     411 
     412/********************************************* Implementation of ctinHelp() method *********************************************************************/ 
     413const int ConnectionWindow::toInt(const string& s) { 
     414 
     415        return atoi(s.c_str()); 
    390416 
    391417} 
  • trunk/yao/src/interface/src/InstructionWindow.cpp

    r443 r444  
    5656        minimisation->appendRow(new QStandardItem("setepsi"));//Insertion of a sub-line. 
    5757 
    58          
    5958        input_output = new QStandardItem("Fonctions d'entrée/sortie"); 
    6059 
     
    113112        for (int i = 0; i < 8 ; i++) { 
    114113            
    115                  tampon.append(chaine.at(i));// To extract the nine first characteres from the string (which will be compared with "Fonctions").     
     114                 tampon.append(chaine.at(i));// To extract the height first characteres from the string (which will be compared with "Fonction").     
    116115                  
    117116         } 
  • trunk/yao/src/interface/src/MainWindow.cpp

    r443 r444  
    886886                                        description << endl; 
    887887                        } 
    888                         /*description << "#CONNECTIONS name range[0] FROM! name range[1] range_i ( range_jkt )? -------------------------" << endl; 
    889                                  for (QStringList::iterator it = m_ctinWindow->getDataCtin().begin(); it != m_ctinWindow->getDataCtin().end(); it++) 
    890                         description << "ctin " << it->toStdString() << endl; */ 
     888                        if (!theConnectionTable.empty()){ 
     889                        description << "#CONNECTIONS name range[0] FROM! name range[1] range_i ( range_jkt )? -------------------------" << endl; 
     890                                 for (Table<Connection>::iterator it = theConnectionTable.begin(); it != theConnectionTable.end(); it++) 
     891                                        description << "ctin " << it->getInModule() << " " << it->getIn() << " " << it->getOutModule() << " " << it->getOut() << it->getI() << endl;  
     892 
    891893                                        description << endl; 
     894                        } 
    892895                        if (!theFunctionTable.empty()) { 
    893896                        description << "#USER FUNCTIONS  ( ARG )? name ----------------------------------------------------------------" << endl; 
     
    921924                 date->setDate(QDate::currentDate()); 
    922925 
    923                         QMessageBox::about(this, "Avis", "Le fichier d'instruction vient d'être généré."); 
     926                        QMessageBox::about(this, "Avis", "Fichier d'instruction généré avec succÚs."); 
    924927 
    925928} 
  • trunk/yao/src/interface/src/include/ConnectionWindow.hpp

    r381 r444  
    4747                        QStringList getDataCtin(); /*!< This function returns the connexion's data. */ 
    4848                        void toInitialize(); 
     49                        const int toInt(const string& s); 
    4950 
    5051        private slots:       /*!< Functions called after a click. */ 
  • trunk/yao/src/interface/src/include/MainWindow.hpp

    r437 r444  
    1010 
    1111#include <iostream> 
    12 //#include "../../../help/FilePath.hpp" 
    13 //#include "../../../Translator.hpp" 
    14 //#include "../../../Tokenizer.hpp" 
    15 //#include "../../../analyzers/BaseParser.hpp" 
    16 //#include "../../../analyzers/grammar.g" 
    17 //#include "../../../help/Display.hpp" 
    18 //#include <antlr/TokenStreamRecognitionException.hpp> 
    19  
    2012  
    21 //#include "MainWindowController.hpp" 
    22 //#include "../help/Enforcer.hpp" 
    23 //#include "../help/FilePath.hpp" 
    2413#include "../YAOObjects/Modul.hpp" 
    2514 
     
    9988                        void clearAllStructures();  
    10089                        //void closeEvent(QCloseEvent *event); 
    101                         //void generateDefaultHFile(); 
    102                         //void createFile(string data, string extension); 
    10390 
    10491        public slots: 
  • trunk/yao/src/interface/src/ui_/connectionwindow.ui

    r389 r444  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>606</width> 
     9    <width>621</width> 
    1010    <height>518</height> 
    1111   </rect> 
     
    2222     <x>10</x> 
    2323     <y>330</y> 
    24      <width>591</width> 
     24     <width>601</width> 
    2525     <height>181</height> 
    2626    </rect> 
     
    103103     <x>10</x> 
    104104     <y>10</y> 
    105      <width>591</width> 
    106      <height>131</height> 
     105     <width>601</width> 
     106     <height>311</height> 
    107107    </rect> 
    108108   </property> 
     
    118118      <x>10</x> 
    119119      <y>10</y> 
    120       <width>571</width> 
     120      <width>581</width> 
    121121      <height>111</height> 
    122122     </rect> 
     
    319319    </layout> 
    320320   </widget> 
    321   </widget> 
    322   <widget class="QFrame" name="frame_3"> 
    323    <property name="geometry"> 
    324     <rect> 
    325      <x>10</x> 
    326      <y>150</y> 
    327      <width>591</width> 
    328      <height>171</height> 
    329     </rect> 
    330    </property> 
    331    <property name="frameShape"> 
    332     <enum>QFrame::StyledPanel</enum> 
    333    </property> 
    334    <property name="frameShadow"> 
    335     <enum>QFrame::Raised</enum> 
    336    </property> 
    337    <widget class="QWidget" name="layoutWidget"> 
     321   <widget class="QWidget" name=""> 
    338322    <property name="geometry"> 
    339323     <rect> 
    340       <x>10</x> 
    341       <y>10</y> 
    342       <width>491</width> 
    343       <height>31</height> 
     324      <x>110</x> 
     325      <y>140</y> 
     326      <width>407</width> 
     327      <height>144</height> 
    344328     </rect> 
    345329    </property> 
    346     <layout class="QHBoxLayout" name="horizontalLayout_9"> 
    347      <item> 
    348       <widget class="QRadioButton" name="m_ctinIRadioButton"> 
    349        <property name="layoutDirection"> 
    350         <enum>Qt::RightToLeft</enum> 
    351        </property> 
    352        <property name="text"> 
    353         <string>Absolue</string> 
    354        </property> 
    355       </widget> 
    356      </item> 
    357      <item> 
    358       <widget class="QLabel" name="label_9"> 
    359        <property name="text"> 
    360         <string>i</string> 
    361        </property> 
    362       </widget> 
    363      </item> 
    364      <item> 
    365       <widget class="QComboBox" name="m_ctinICombo"/> 
    366      </item> 
    367      <item> 
    368       <layout class="QHBoxLayout" name="horizontalLayout_5"> 
    369        <item> 
    370         <widget class="QLabel" name="m_ctinFromILabel"> 
    371          <property name="text"> 
    372           <string>De</string> 
    373          </property> 
    374         </widget> 
    375        </item> 
    376        <item> 
    377         <widget class="QComboBox" name="m_ctinI2Combo"> 
     330    <layout class="QVBoxLayout" name="verticalLayout_7"> 
     331     <item> 
     332      <layout class="QHBoxLayout" name="horizontalLayout_9"> 
     333       <item> 
     334        <widget class="QCheckBox" name="m_ctinICheckBox_2"> 
    378335         <property name="enabled"> 
    379336          <bool>false</bool> 
    380337         </property> 
    381         </widget> 
    382        </item> 
    383        <item> 
    384         <widget class="QLabel" name="m_ctinToILabel"> 
     338         <property name="layoutDirection"> 
     339          <enum>Qt::LeftToRight</enum> 
     340         </property> 
    385341         <property name="text"> 
    386           <string>à</string> 
    387          </property> 
    388         </widget> 
    389        </item> 
    390        <item> 
    391         <widget class="QComboBox" name="m_ctinI3Combo"> 
     342          <string>i</string> 
     343         </property> 
     344         <property name="checked"> 
     345          <bool>true</bool> 
     346         </property> 
     347        </widget> 
     348       </item> 
     349       <item> 
     350        <widget class="QComboBox" name="m_ctinICombo"/> 
     351       </item> 
     352       <item> 
     353        <layout class="QHBoxLayout" name="horizontalLayout_5"> 
     354         <item> 
     355          <widget class="QLabel" name="m_ctinFromILabel"> 
     356           <property name="text"> 
     357            <string>De</string> 
     358           </property> 
     359          </widget> 
     360         </item> 
     361         <item> 
     362          <widget class="QComboBox" name="m_ctinI2Combo"> 
     363           <property name="enabled"> 
     364            <bool>false</bool> 
     365           </property> 
     366          </widget> 
     367         </item> 
     368         <item> 
     369          <widget class="QLabel" name="m_ctinToILabel"> 
     370           <property name="text"> 
     371            <string>à</string> 
     372           </property> 
     373          </widget> 
     374         </item> 
     375         <item> 
     376          <widget class="QComboBox" name="m_ctinI3Combo"> 
     377           <property name="enabled"> 
     378            <bool>false</bool> 
     379           </property> 
     380          </widget> 
     381         </item> 
     382         <item> 
     383          <widget class="QCheckBox" name="m_ctinICheckBox"> 
     384           <property name="enabled"> 
     385            <bool>false</bool> 
     386           </property> 
     387           <property name="layoutDirection"> 
     388            <enum>Qt::RightToLeft</enum> 
     389           </property> 
     390           <property name="text"> 
     391            <string>avec 0</string> 
     392           </property> 
     393          </widget> 
     394         </item> 
     395        </layout> 
     396       </item> 
     397      </layout> 
     398     </item> 
     399     <item> 
     400      <layout class="QHBoxLayout" name="horizontalLayout_10"> 
     401       <item> 
     402        <widget class="QCheckBox" name="m_ctinJCheckBox"> 
     403         <property name="layoutDirection"> 
     404          <enum>Qt::LeftToRight</enum> 
     405         </property> 
     406         <property name="text"> 
     407          <string>j</string> 
     408         </property> 
     409        </widget> 
     410       </item> 
     411       <item> 
     412        <widget class="QComboBox" name="m_ctinJCombo"> 
    392413         <property name="enabled"> 
    393414          <bool>false</bool> 
     
    396417       </item> 
    397418       <item> 
    398         <widget class="QCheckBox" name="m_ctinICheckBox"> 
     419        <layout class="QHBoxLayout" name="horizontalLayout_6"> 
     420         <item> 
     421          <widget class="QLabel" name="m_ctinFromJLabel"> 
     422           <property name="text"> 
     423            <string>De</string> 
     424           </property> 
     425          </widget> 
     426         </item> 
     427         <item> 
     428          <widget class="QComboBox" name="m_ctinJ2Combo"> 
     429           <property name="enabled"> 
     430            <bool>false</bool> 
     431           </property> 
     432          </widget> 
     433         </item> 
     434         <item> 
     435          <widget class="QLabel" name="m_ctinToJLabel"> 
     436           <property name="text"> 
     437            <string>à</string> 
     438           </property> 
     439          </widget> 
     440         </item> 
     441         <item> 
     442          <widget class="QComboBox" name="m_ctinJ3Combo"> 
     443           <property name="enabled"> 
     444            <bool>false</bool> 
     445           </property> 
     446          </widget> 
     447         </item> 
     448         <item> 
     449          <widget class="QCheckBox" name="m_ctinJCheckBox_2"> 
     450           <property name="enabled"> 
     451            <bool>false</bool> 
     452           </property> 
     453           <property name="layoutDirection"> 
     454            <enum>Qt::RightToLeft</enum> 
     455           </property> 
     456           <property name="text"> 
     457            <string>avec 0</string> 
     458           </property> 
     459          </widget> 
     460         </item> 
     461        </layout> 
     462       </item> 
     463      </layout> 
     464     </item> 
     465     <item> 
     466      <layout class="QHBoxLayout" name="horizontalLayout_11"> 
     467       <item> 
     468        <widget class="QCheckBox" name="m_ctinKCheckBox"> 
     469         <property name="layoutDirection"> 
     470          <enum>Qt::LeftToRight</enum> 
     471         </property> 
     472         <property name="text"> 
     473          <string>k</string> 
     474         </property> 
     475        </widget> 
     476       </item> 
     477       <item> 
     478        <widget class="QComboBox" name="m_ctinKCombo"> 
    399479         <property name="enabled"> 
    400480          <bool>false</bool> 
    401481         </property> 
     482        </widget> 
     483       </item> 
     484       <item> 
     485        <layout class="QHBoxLayout" name="horizontalLayout_7"> 
     486         <item> 
     487          <widget class="QLabel" name="m_ctinFromKLabel"> 
     488           <property name="text"> 
     489            <string>De</string> 
     490           </property> 
     491          </widget> 
     492         </item> 
     493         <item> 
     494          <widget class="QComboBox" name="m_ctinK2Combo"> 
     495           <property name="enabled"> 
     496            <bool>false</bool> 
     497           </property> 
     498          </widget> 
     499         </item> 
     500         <item> 
     501          <widget class="QLabel" name="m_ctinToKLabel"> 
     502           <property name="text"> 
     503            <string>à</string> 
     504           </property> 
     505          </widget> 
     506         </item> 
     507         <item> 
     508          <widget class="QComboBox" name="m_ctinK3Combo"> 
     509           <property name="enabled"> 
     510            <bool>false</bool> 
     511           </property> 
     512          </widget> 
     513         </item> 
     514         <item> 
     515          <widget class="QCheckBox" name="m_ctinKCheckBox_2"> 
     516           <property name="enabled"> 
     517            <bool>false</bool> 
     518           </property> 
     519           <property name="layoutDirection"> 
     520            <enum>Qt::RightToLeft</enum> 
     521           </property> 
     522           <property name="text"> 
     523            <string>avec 0</string> 
     524           </property> 
     525          </widget> 
     526         </item> 
     527        </layout> 
     528       </item> 
     529      </layout> 
     530     </item> 
     531     <item> 
     532      <layout class="QHBoxLayout" name="horizontalLayout_12"> 
     533       <item> 
     534        <widget class="QCheckBox" name="m_ctinTCheckBox"> 
    402535         <property name="layoutDirection"> 
    403           <enum>Qt::RightToLeft</enum> 
     536          <enum>Qt::LeftToRight</enum> 
    404537         </property> 
    405538         <property name="text"> 
    406           <string>avec 0</string> 
    407          </property> 
    408         </widget> 
    409        </item> 
    410       </layout> 
    411      </item> 
    412     </layout> 
    413    </widget> 
    414    <widget class="QWidget" name="layoutWidget"> 
    415     <property name="geometry"> 
    416      <rect> 
    417       <x>11</x> 
    418       <y>50</y> 
    419       <width>491</width> 
    420       <height>31</height> 
    421      </rect> 
    422     </property> 
    423     <layout class="QHBoxLayout" name="horizontalLayout_10"> 
    424      <item> 
    425       <widget class="QRadioButton" name="m_ctinJRadioButton"> 
    426        <property name="layoutDirection"> 
    427         <enum>Qt::RightToLeft</enum> 
    428        </property> 
    429        <property name="text"> 
    430         <string>Absolue</string> 
    431        </property> 
    432       </widget> 
    433      </item> 
    434      <item> 
    435       <widget class="QLabel" name="label_10"> 
    436        <property name="text"> 
    437         <string>j</string> 
    438        </property> 
    439       </widget> 
    440      </item> 
    441      <item> 
    442       <widget class="QComboBox" name="m_ctinJCombo"/> 
    443      </item> 
    444      <item> 
    445       <layout class="QHBoxLayout" name="horizontalLayout_6"> 
    446        <item> 
    447         <widget class="QLabel" name="m_ctinFromJLabel"> 
    448          <property name="text"> 
    449           <string>De</string> 
    450          </property> 
    451         </widget> 
    452        </item> 
    453        <item> 
    454         <widget class="QComboBox" name="m_ctinJ2Combo"> 
     539          <string>t</string> 
     540         </property> 
     541        </widget> 
     542       </item> 
     543       <item> 
     544        <widget class="QComboBox" name="m_ctinTCombo"> 
    455545         <property name="enabled"> 
    456546          <bool>false</bool> 
     
    459549       </item> 
    460550       <item> 
    461         <widget class="QLabel" name="m_ctinToJLabel"> 
    462          <property name="text"> 
    463           <string>à</string> 
    464          </property> 
    465         </widget> 
    466        </item> 
    467        <item> 
    468         <widget class="QComboBox" name="m_ctinJ3Combo"> 
    469          <property name="enabled"> 
    470           <bool>false</bool> 
    471          </property> 
    472         </widget> 
    473        </item> 
    474        <item> 
    475         <widget class="QCheckBox" name="m_ctinJCheckBox"> 
    476          <property name="enabled"> 
    477           <bool>false</bool> 
    478          </property> 
    479          <property name="layoutDirection"> 
    480           <enum>Qt::RightToLeft</enum> 
    481          </property> 
    482          <property name="text"> 
    483           <string>avec 0</string> 
    484          </property> 
    485         </widget> 
    486        </item> 
    487       </layout> 
    488      </item> 
    489     </layout> 
    490    </widget> 
    491    <widget class="QWidget" name="layoutWidget"> 
    492     <property name="geometry"> 
    493      <rect> 
    494       <x>10</x> 
    495       <y>90</y> 
    496       <width>491</width> 
    497       <height>31</height> 
    498      </rect> 
    499     </property> 
    500     <layout class="QHBoxLayout" name="horizontalLayout_11"> 
    501      <item> 
    502       <widget class="QRadioButton" name="m_ctinKRadioButton"> 
    503        <property name="layoutDirection"> 
    504         <enum>Qt::RightToLeft</enum> 
    505        </property> 
    506        <property name="text"> 
    507         <string>Absolue</string> 
    508        </property> 
    509       </widget> 
    510      </item> 
    511      <item> 
    512       <widget class="QLabel" name="label_11"> 
    513        <property name="text"> 
    514         <string>k</string> 
    515        </property> 
    516       </widget> 
    517      </item> 
    518      <item> 
    519       <widget class="QComboBox" name="m_ctinKCombo"/> 
    520      </item> 
    521      <item> 
    522       <layout class="QHBoxLayout" name="horizontalLayout_7"> 
    523        <item> 
    524         <widget class="QLabel" name="m_ctinFromKLabel"> 
    525          <property name="text"> 
    526           <string>De</string> 
    527          </property> 
    528         </widget> 
    529        </item> 
    530        <item> 
    531         <widget class="QComboBox" name="m_ctinK2Combo"> 
    532          <property name="enabled"> 
    533           <bool>false</bool> 
    534          </property> 
    535         </widget> 
    536        </item> 
    537        <item> 
    538         <widget class="QLabel" name="m_ctinToKLabel"> 
    539          <property name="text"> 
    540           <string>à</string> 
    541          </property> 
    542         </widget> 
    543        </item> 
    544        <item> 
    545         <widget class="QComboBox" name="m_ctinK3Combo"> 
    546          <property name="enabled"> 
    547           <bool>false</bool> 
    548          </property> 
    549         </widget> 
    550        </item> 
    551        <item> 
    552         <widget class="QCheckBox" name="m_ctinKCheckBox"> 
    553          <property name="enabled"> 
    554           <bool>false</bool> 
    555          </property> 
    556          <property name="layoutDirection"> 
    557           <enum>Qt::RightToLeft</enum> 
    558          </property> 
    559          <property name="text"> 
    560           <string>avec 0</string> 
    561          </property> 
    562         </widget> 
    563        </item> 
    564       </layout> 
    565      </item> 
    566     </layout> 
    567    </widget> 
    568    <widget class="QWidget" name="layoutWidget"> 
    569     <property name="geometry"> 
    570      <rect> 
    571       <x>10</x> 
    572       <y>130</y> 
    573       <width>491</width> 
    574       <height>31</height> 
    575      </rect> 
    576     </property> 
    577     <layout class="QHBoxLayout" name="horizontalLayout_12"> 
    578      <item> 
    579       <widget class="QRadioButton" name="m_ctinTRadioButton"> 
    580        <property name="layoutDirection"> 
    581         <enum>Qt::RightToLeft</enum> 
    582        </property> 
    583        <property name="text"> 
    584         <string>Absolue</string> 
    585        </property> 
    586       </widget> 
    587      </item> 
    588      <item> 
    589       <widget class="QLabel" name="label_12"> 
    590        <property name="text"> 
    591         <string>t</string> 
    592        </property> 
    593       </widget> 
    594      </item> 
    595      <item> 
    596       <widget class="QComboBox" name="m_ctinTCombo"/> 
    597      </item> 
    598      <item> 
    599       <layout class="QHBoxLayout" name="horizontalLayout_8"> 
    600        <item> 
    601         <widget class="QLabel" name="m_ctinFromTLabel"> 
    602          <property name="text"> 
    603           <string>De</string> 
    604          </property> 
    605         </widget> 
    606        </item> 
    607        <item> 
    608         <widget class="QComboBox" name="m_ctinT2Combo"> 
    609          <property name="enabled"> 
    610           <bool>false</bool> 
    611          </property> 
    612         </widget> 
    613        </item> 
    614        <item> 
    615         <widget class="QLabel" name="m_ctinToTLabel"> 
    616          <property name="text"> 
    617           <string>à</string> 
    618          </property> 
    619         </widget> 
    620        </item> 
    621        <item> 
    622         <widget class="QComboBox" name="m_ctinT3Combo"> 
    623          <property name="enabled"> 
    624           <bool>false</bool> 
    625          </property> 
    626         </widget> 
    627        </item> 
    628        <item> 
    629         <widget class="QCheckBox" name="m_ctinTCheckBox"> 
    630          <property name="enabled"> 
    631           <bool>false</bool> 
    632          </property> 
    633          <property name="layoutDirection"> 
    634           <enum>Qt::RightToLeft</enum> 
    635          </property> 
    636          <property name="text"> 
    637           <string>avec 0</string> 
    638          </property> 
    639         </widget> 
     551        <layout class="QHBoxLayout" name="horizontalLayout_8"> 
     552         <item> 
     553          <widget class="QLabel" name="m_ctinFromTLabel"> 
     554           <property name="text"> 
     555            <string>De</string> 
     556           </property> 
     557          </widget> 
     558         </item> 
     559         <item> 
     560          <widget class="QComboBox" name="m_ctinT2Combo"> 
     561           <property name="enabled"> 
     562            <bool>false</bool> 
     563           </property> 
     564          </widget> 
     565         </item> 
     566         <item> 
     567          <widget class="QLabel" name="m_ctinToTLabel"> 
     568           <property name="text"> 
     569            <string>à</string> 
     570           </property> 
     571          </widget> 
     572         </item> 
     573         <item> 
     574          <widget class="QComboBox" name="m_ctinT3Combo"> 
     575           <property name="enabled"> 
     576            <bool>false</bool> 
     577           </property> 
     578          </widget> 
     579         </item> 
     580         <item> 
     581          <widget class="QCheckBox" name="m_ctinTCheckBox_2"> 
     582           <property name="enabled"> 
     583            <bool>false</bool> 
     584           </property> 
     585           <property name="layoutDirection"> 
     586            <enum>Qt::RightToLeft</enum> 
     587           </property> 
     588           <property name="text"> 
     589            <string>avec 0</string> 
     590           </property> 
     591          </widget> 
     592         </item> 
     593        </layout> 
    640594       </item> 
    641595      </layout> 
     
    654608  <tabstop>m_ctinOut2Combo</tabstop> 
    655609  <tabstop>m_ctinOut3Combo</tabstop> 
    656   <tabstop>m_ctinIRadioButton</tabstop> 
    657   <tabstop>m_ctinICombo</tabstop> 
    658   <tabstop>m_ctinI2Combo</tabstop> 
    659   <tabstop>m_ctinI3Combo</tabstop> 
    660   <tabstop>m_ctinICheckBox</tabstop> 
    661   <tabstop>m_ctinJRadioButton</tabstop> 
    662   <tabstop>m_ctinJCombo</tabstop> 
    663   <tabstop>m_ctinJ2Combo</tabstop> 
    664   <tabstop>m_ctinJ3Combo</tabstop> 
    665   <tabstop>m_ctinJCheckBox</tabstop> 
    666   <tabstop>m_ctinKRadioButton</tabstop> 
    667   <tabstop>m_ctinKCombo</tabstop> 
    668   <tabstop>m_ctinK2Combo</tabstop> 
    669   <tabstop>m_ctinK3Combo</tabstop> 
    670   <tabstop>m_ctinKCheckBox</tabstop> 
    671   <tabstop>m_ctinTRadioButton</tabstop> 
    672   <tabstop>m_ctinTCombo</tabstop> 
    673   <tabstop>m_ctinT2Combo</tabstop> 
    674   <tabstop>m_ctinT3Combo</tabstop> 
    675   <tabstop>m_ctinTCheckBox</tabstop> 
    676610  <tabstop>m_ctinAddButton</tabstop> 
    677611  <tabstop>m_ctinDelButton</tabstop> 
     
    689623   <hints> 
    690624    <hint type="sourcelabel"> 
    691      <x>581</x> 
    692      <y>398</y> 
     625     <x>582</x> 
     626     <y>443</y> 
    693627    </hint> 
    694628    <hint type="destinationlabel"> 
     
    705639   <hints> 
    706640    <hint type="sourcelabel"> 
    707      <x>321</x> 
    708      <y>36</y> 
     641     <x>367</x> 
     642     <y>54</y> 
    709643    </hint> 
    710644    <hint type="destinationlabel"> 
    711      <x>402</x> 
    712      <y>16</y> 
     645     <x>598</x> 
     646     <y>22</y> 
     647    </hint> 
     648   </hints> 
     649  </connection> 
     650  <connection> 
     651   <sender>m_ctinJCheckBox</sender> 
     652   <signal>clicked(bool)</signal> 
     653   <receiver>m_ctinJCombo</receiver> 
     654   <slot>setEnabled(bool)</slot> 
     655   <hints> 
     656    <hint type="sourcelabel"> 
     657     <x>145</x> 
     658     <y>219</y> 
     659    </hint> 
     660    <hint type="destinationlabel"> 
     661     <x>188</x> 
     662     <y>216</y> 
     663    </hint> 
     664   </hints> 
     665  </connection> 
     666  <connection> 
     667   <sender>m_ctinKCheckBox</sender> 
     668   <signal>clicked(bool)</signal> 
     669   <receiver>m_ctinKCombo</receiver> 
     670   <slot>setEnabled(bool)</slot> 
     671   <hints> 
     672    <hint type="sourcelabel"> 
     673     <x>132</x> 
     674     <y>255</y> 
     675    </hint> 
     676    <hint type="destinationlabel"> 
     677     <x>196</x> 
     678     <y>249</y> 
     679    </hint> 
     680   </hints> 
     681  </connection> 
     682  <connection> 
     683   <sender>m_ctinTCheckBox</sender> 
     684   <signal>clicked(bool)</signal> 
     685   <receiver>m_ctinTCombo</receiver> 
     686   <slot>setEnabled(bool)</slot> 
     687   <hints> 
     688    <hint type="sourcelabel"> 
     689     <x>155</x> 
     690     <y>285</y> 
     691    </hint> 
     692    <hint type="destinationlabel"> 
     693     <x>200</x> 
     694     <y>283</y> 
    713695    </hint> 
    714696   </hints> 
  • trunk/yao/src/interface/ui_newprojectwindow.h

    r443 r444  
    22** Form generated from reading UI file 'newprojectwindow.ui' 
    33** 
    4 ** Created: Thu Oct 7 18:17:25 2010 
     4** Created: Tue Oct 12 16:03:30 2010 
    55**      by: Qt User Interface Compiler version 4.6.3 
    66** 
Note: See TracChangeset for help on using the changeset viewer.