- Timestamp:
- 07/02/10 18:55:48 (14 years ago)
- Location:
- trunk/yao/src/interface/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/src/ConnectionWindow.cpp
r374 r375 1 1 //! \file ConnectionWindow.cpp 2 2 //! \brief Implementation of the Ctin window. 3 //! \version 2010/07/0 1(yyyy/mm/dd)3 //! \version 2010/07/02 (yyyy/mm/dd) 4 4 //! \author MAYAKI Abdouramane. 5 5 … … 21 21 22 22 /************************************************* Implementation of the construtor *******************************************************************/ 23 ConnectionWindow::ConnectionWindow(Table <Modul> *aModulTable, QWidget *parent) : QWidget(parent) { /*!< The constructor. */23 ConnectionWindow::ConnectionWindow(Table <Modul> *aModulTable, Table <Constant> *aConstantTable, QWidget *parent) : QWidget(parent), cpt(1) { /*!< The constructor. */ 24 24 setupUi(this); 25 25 … … 27 27 28 28 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, ""); 32 33 33 34 35 34 36 m_ctinModel->setHorizontalHeaderLabels(QStringList() << "Entree" << "Nbre Entrees" << "Sortie" << "Nbre Sorties" << "i" << "j" << "k" << "t"); 35 37 … … 40 42 m_ctinTableView->resizeColumnsToContents(); 41 43 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++) 43 45 { 44 46 //int row = m_ctinModel->rowCount(); 45 47 46 m_ctin ComboModulIn->insertItem(1, QString(it->getName().c_str()));47 m_ctin ComboModulOut->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())); 48 50 //m_ctinModel->setItem(row, 0, new QStandardItem(QString(it->getName().c_str()))); /*!< Gets the name.*/ 49 51 //m_ctinModel->setItem(row, 1, new QStandardItem(QString(it->getSpaceOrOperator().c_str()))); 50 52 } 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 54 115 connect(m_ctinAddButton, SIGNAL(clicked()), this, SLOT(addCtinRow())); /*!< This slot add the object in the view */ 55 116 connect(m_ctinDelButton, SIGNAL(clicked()), this, SLOT(deleteCtinRow())); /*!< slot for the delete the object selected in the view*/ … … 57 118 connect(m_ctinHelpButton, SIGNAL(clicked()), this, SLOT(ctinHelp())); /*!< This slot opens */ 58 119 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); 60 127 } 61 128 /********************************************** Implementation of the addCtinRow() method ************************************************************/ … … 141 208 } 142 209 //writefileCtin(); 143 initialiseCtin();144 210 145 211 */ … … 151 217 152 218 } 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 **********************************/ 221 void 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 **********************************/ 245 void 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 **********************************/ 269 void 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 **********************************/ 294 void 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 **********************************/ 320 void 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 **********************************/ 346 void 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 163 371 /****************************************************************************************************************************/ 164 372 /*QStringList ConnectionWindow::getDataCtin() { … … 168 376 169 377 /****************************************************************************************/ 170 378 void 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 } 171 417 172 418 /********************************************* Implementation of ctinHelp() method *********************************************************************/ -
trunk/yao/src/interface/src/MainWindow.cpp
r374 r375 406 406 407 407 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(); 409 409 espace.addWindow(m_ctinWindow)->move(0, 0); 410 410 m_ctinWindow->show(); -
trunk/yao/src/interface/src/include/ConnectionWindow.hpp
r374 r375 12 12 #include "../../../YAOObjects/Table.hpp" 13 13 #include "../../../YAOObjects/Connection.hpp" 14 #include "../../../YAOObjects/Constant.hpp" 14 15 #include "../../../YAOObjects/Modul.hpp" 15 16 #include <QTextCodec> … … 43 44 */ 44 45 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); 46 47 QStringList getDataCtin(); /*!< This function returns the connexion's data. */ 47 void initialiseCtin();48 void toInitialize(); 48 49 49 50 private slots: /*!< Functions called after a click. */ … … 52 53 void addCtinRow(); 53 54 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 ); 54 61 55 62 signals: … … 64 71 QStandardItemModel *m_ctinModel; 65 72 yao::Table <yao::Modul> *m_localModulTable; 66 73 yao::Table <yao::Constant> *m_localConstantTable; 74 int cpt; 67 75 }; 68 76 #endif // CTIN_HPP -
trunk/yao/src/interface/src/ui_/connectionwindow.ui
r362 r375 8 8 <y>0</y> 9 9 <width>606</width> 10 <height>5 08</height>10 <height>518</height> 11 11 </rect> 12 12 </property> … … 21 21 <rect> 22 22 <x>10</x> 23 <y>3 10</y>23 <y>330</y> 24 24 <width>591</width> 25 <height>1 91</height>25 <height>181</height> 26 26 </rect> 27 27 </property> … … 38 38 <y>10</y> 39 39 <width>481</width> 40 <height>1 71</height>40 <height>161</height> 41 41 </rect> 42 42 </property> … … 46 46 <rect> 47 47 <x>500</x> 48 <y> 40</y>49 <width>8 7</width>48 <y>20</y> 49 <width>81</width> 50 50 <height>95</height> 51 51 </rect> … … 85 85 <rect> 86 86 <x>500</x> 87 <y>1 50</y>87 <y>140</y> 88 88 <width>41</width> 89 89 <height>27</height> … … 95 95 <property name="autoDefault"> 96 96 <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/> 97 113 </property> 98 114 </widget> … … 104 120 <y>10</y> 105 121 <width>591</width> 106 <height>1 21</height>122 <height>131</height> 107 123 </rect> 108 124 </property> … … 119 135 <y>10</y> 120 136 <width>571</width> 121 <height>1 01</height>137 <height>111</height> 122 138 </rect> 123 139 </property> … … 146 162 <layout class="QVBoxLayout" name="verticalLayout_2"> 147 163 <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> 149 172 </item> 150 173 <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> 152 182 </item> 153 183 </layout> … … 174 204 <layout class="QVBoxLayout" name="verticalLayout_4"> 175 205 <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> 177 214 </item> 178 215 <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> 180 224 </item> 181 225 </layout> … … 186 230 <layout class="QVBoxLayout" name="verticalLayout_5"> 187 231 <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> 191 235 </property> 192 236 <property name="title"> 193 237 <string/> 194 238 </property> 195 <widget class="QWidget" name=" layoutWidget">239 <widget class="QWidget" name=""> 196 240 <property name="geometry"> 197 241 <rect> 198 242 <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> 202 292 </rect> 203 293 </property> 204 294 <layout class="QHBoxLayout" name="horizontalLayout"> 205 295 <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> 207 300 <property name="text"> 208 301 <string>De</string> … … 211 304 </item> 212 305 <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> 219 309 </property> 220 310 </widget> 221 311 </item> 222 312 <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> 249 317 <property name="text"> 250 <string> De</string>318 <string>Ã </string> 251 319 </property> 252 320 </widget> 253 321 </item> 254 322 <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> 261 326 </property> 262 327 </widget> 263 </item>264 <item>265 <widget class="QComboBox" name="comboBox_8"/>266 328 </item> 267 329 </layout> … … 278 340 <rect> 279 341 <x>10</x> 280 <y>1 40</y>342 <y>150</y> 281 343 <width>591</width> 282 <height>1 61</height>344 <height>171</height> 283 345 </rect> 284 346 </property> … … 294 356 <x>10</x> 295 357 <y>10</y> 296 <width>4 71</width>358 <width>491</width> 297 359 <height>31</height> 298 360 </rect> … … 300 362 <layout class="QHBoxLayout" name="horizontalLayout_9"> 301 363 <item> 302 <widget class="QRadioButton" name=" radioButton">364 <widget class="QRadioButton" name="m_ctinIRadioButton"> 303 365 <property name="layoutDirection"> 304 366 <enum>Qt::RightToLeft</enum> … … 317 379 </item> 318 380 <item> 319 <widget class="QComboBox" name=" comboBox_9"/>381 <widget class="QComboBox" name="m_ctinICombo"/> 320 382 </item> 321 383 <item> 322 384 <layout class="QHBoxLayout" name="horizontalLayout_5"> 323 385 <item> 324 <widget class="QLabel" name=" label_13">386 <widget class="QLabel" name="m_ctinFromILabel"> 325 387 <property name="text"> 326 388 <string>De</string> … … 329 391 </item> 330 392 <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"> 335 401 <property name="text"> 336 402 <string>Ã </string> … … 339 405 </item> 340 406 <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> 345 418 <property name="layoutDirection"> 346 419 <enum>Qt::RightToLeft</enum> … … 360 433 <x>11</x> 361 434 <y>50</y> 362 <width> 391</width>435 <width>491</width> 363 436 <height>31</height> 364 437 </rect> … … 366 439 <layout class="QHBoxLayout" name="horizontalLayout_10"> 367 440 <item> 368 <widget class="QRadioButton" name=" radioButton_2">441 <widget class="QRadioButton" name="m_ctinJRadioButton"> 369 442 <property name="layoutDirection"> 370 443 <enum>Qt::RightToLeft</enum> … … 383 456 </item> 384 457 <item> 385 <widget class="QComboBox" name=" comboBox_10"/>458 <widget class="QComboBox" name="m_ctinJCombo"/> 386 459 </item> 387 460 <item> 388 461 <layout class="QHBoxLayout" name="horizontalLayout_6"> 389 462 <item> 390 <widget class="QLabel" name=" label_15">463 <widget class="QLabel" name="m_ctinFromJLabel"> 391 464 <property name="text"> 392 465 <string>De</string> … … 395 468 </item> 396 469 <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"> 401 478 <property name="text"> 402 479 <string>Ã </string> … … 405 482 </item> 406 483 <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> 408 502 </item> 409 503 </layout> … … 416 510 <x>10</x> 417 511 <y>90</y> 418 <width> 391</width>512 <width>491</width> 419 513 <height>31</height> 420 514 </rect> … … 422 516 <layout class="QHBoxLayout" name="horizontalLayout_11"> 423 517 <item> 424 <widget class="QRadioButton" name=" radioButton_3">518 <widget class="QRadioButton" name="m_ctinKRadioButton"> 425 519 <property name="layoutDirection"> 426 520 <enum>Qt::RightToLeft</enum> … … 439 533 </item> 440 534 <item> 441 <widget class="QComboBox" name=" comboBox_11"/>535 <widget class="QComboBox" name="m_ctinKCombo"/> 442 536 </item> 443 537 <item> 444 538 <layout class="QHBoxLayout" name="horizontalLayout_7"> 445 539 <item> 446 <widget class="QLabel" name=" label_17">540 <widget class="QLabel" name="m_ctinFromKLabel"> 447 541 <property name="text"> 448 542 <string>De</string> … … 451 545 </item> 452 546 <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"> 457 555 <property name="text"> 458 556 <string>Ã </string> … … 461 559 </item> 462 560 <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> 464 579 </item> 465 580 </layout> … … 472 587 <x>10</x> 473 588 <y>130</y> 474 <width> 391</width>589 <width>491</width> 475 590 <height>31</height> 476 591 </rect> … … 478 593 <layout class="QHBoxLayout" name="horizontalLayout_12"> 479 594 <item> 480 <widget class="QRadioButton" name=" radioButton_4">595 <widget class="QRadioButton" name="m_ctinTRadioButton"> 481 596 <property name="layoutDirection"> 482 597 <enum>Qt::RightToLeft</enum> … … 495 610 </item> 496 611 <item> 497 <widget class="QComboBox" name=" comboBox_12"/>612 <widget class="QComboBox" name="m_ctinTCombo"/> 498 613 </item> 499 614 <item> 500 615 <layout class="QHBoxLayout" name="horizontalLayout_8"> 501 616 <item> 502 <widget class="QLabel" name=" label_19">617 <widget class="QLabel" name="m_ctinFromTLabel"> 503 618 <property name="text"> 504 619 <string>De</string> … … 507 622 </item> 508 623 <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"> 513 632 <property name="text"> 514 633 <string>Ã </string> … … 517 636 </item> 518 637 <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> 520 656 </item> 521 657 </layout> … … 525 661 </widget> 526 662 </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> 527 698 <resources/> 528 699 <connections> … … 544 715 </connection> 545 716 <connection> 546 <sender> comboBox_3</sender>717 <sender>m_ctinInCombo</sender> 547 718 <signal>currentIndexChanged(QString)</signal> 548 <receiver> groupBox</receiver>719 <receiver>m_ctinIngroupBox</receiver> 549 720 <slot>show()</slot> 550 721 <hints>
Note: See TracChangeset
for help on using the changeset viewer.