1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>Configurator</class> 3 <widget class="QWidget"> 4 <property name="name"> 5 <cstring>configuration</cstring> 6 </property> 7 <property name="geometry"> 8 <rect> 9 <x>0</x> 10 <y>0</y> 11 <width>871</width> 12 <height>755</height> 13 </rect> 14 </property> 15 <property name="caption"> 16 <string>Form1</string> 17 </property> 18 <grid> 19 <property name="name"> 20 <cstring>unnamed</cstring> 21 </property> 22 <widget class="QPushButton" row="14" column="0"> 23 <property name="name"> 24 <cstring>update</cstring> 25 </property> 26 <property name="text"> 27 <string>Update</string> 28 </property> 29 </widget> 30 <widget class="QComboBox" row="14" column="5" rowspan="1" colspan="2"> 31 <item> 32 <property name="text"> 33 <string>(Not selected)</string> 34 </property> 35 </item> 36 <property name="name"> 37 <cstring>mouse</cstring> 38 </property> 39 </widget> 40 <widget class="QComboBox" row="13" column="5" rowspan="1" colspan="2"> 41 <item> 42 <property name="text"> 43 <string>(Not selected)</string> 44 </property> 45 </item> 46 <property name="name"> 47 <cstring>keyboard</cstring> 48 </property> 49 </widget> 50 <widget class="QLabel" row="14" column="4"> 51 <property name="name"> 52 <cstring>textLabel4_2_3</cstring> 53 </property> 54 <property name="text"> 55 <string>Mouse</string> 56 </property> 57 </widget> 58 <widget class="QLabel" row="16" column="4"> 59 <property name="name"> 60 <cstring>textLabel4_2_4</cstring> 61 </property> 62 <property name="text"> 63 <string>Screen</string> 64 </property> 65 </widget> 66 <widget class="QComboBox" row="16" column="5" rowspan="1" colspan="2"> 67 <item> 68 <property name="text"> 69 <string>(Not selected)</string> 70 </property> 71 </item> 72 <property name="name"> 73 <cstring>screen</cstring> 74 </property> 75 </widget> 76 <widget class="QPushButton" row="14" column="1" rowspan="1" colspan="2"> 77 <property name="name"> 78 <cstring>export</cstring> 79 </property> 80 <property name="text"> 81 <string>Export</string> 82 </property> 83 </widget> 84 <spacer row="14" column="3"> 85 <property name="name"> 86 <cstring>spacer6</cstring> 87 </property> 88 <property name="orientation"> 89 <enum>Horizontal</enum> 90 </property> 91 <property name="sizeType"> 92 <enum>Expanding</enum> 93 </property> 94 <property name="sizeHint"> 95 <size> 96 <width>40</width> 97 <height>20</height> 98 </size> 99 </property> 100 </spacer> 101 <widget class="QLabel" row="13" column="0" rowspan="1" colspan="4"> 102 <property name="name"> 103 <cstring>textLabel4_2_4_2</cstring> 104 </property> 105 <property name="text"> 106 <string>Total for this configuration: 0</string> 107 </property> 108 </widget> 109 <widget class="QLabel" row="13" column="4"> 110 <property name="name"> 111 <cstring>textLabel4_2_2</cstring> 112 </property> 113 <property name="text"> 114 <string>Keyboard</string> 115 </property> 116 </widget> 117 <spacer row="15" column="0" rowspan="2" colspan="4"> 118 <property name="name"> 119 <cstring>spacer10</cstring> 120 </property> 121 <property name="orientation"> 122 <enum>Horizontal</enum> 123 </property> 124 <property name="sizeType"> 125 <enum>Expanding</enum> 126 </property> 127 <property name="sizeHint"> 128 <size> 129 <width>346</width> 130 <height>60</height> 131 </size> 132 </property> 133 </spacer> 134 <widget class="QListBox" row="10" column="4" rowspan="2" colspan="2"> 135 <item> 136 <property name="text"> 137 <string>(Not selected)</string> 138 </property> 139 </item> 140 <property name="name"> 141 <cstring>accessories</cstring> 142 </property> 143 </widget> 144 <widget class="QPushButton" row="11" column="0" rowspan="1" colspan="2"> 145 <property name="name"> 146 <cstring>add_memory_unit</cstring> 147 </property> 148 <property name="text"> 149 <string>Add memory</string> 150 </property> 151 </widget> 152 <spacer row="11" column="2" rowspan="1" colspan="2"> 153 <property name="name"> 154 <cstring>spacer5</cstring> 155 </property> 156 <property name="orientation"> 157 <enum>Horizontal</enum> 158 </property> 159 <property name="sizeType"> 160 <enum>Expanding</enum> 161 </property> 162 <property name="sizeHint"> 163 <size> 164 <width>180</width> 165 <height>20</height> 166 </size> 167 </property> 168 </spacer> 169 <widget class="QLabel" row="0" column="0" rowspan="1" colspan="5"> 170 <property name="name"> 171 <cstring>textLabel1</cstring> 172 </property> 173 <property name="text"> 174 <string><h1>System Configurator</h1></string> 175 </property> 176 </widget> 177 <widget class="QTabWidget" row="10" column="0" rowspan="1" colspan="4"> 178 <property name="name"> 179 <cstring>memory_units</cstring> 180 </property> 181 <widget class="QWidget"> 182 <property name="name"> 183 <cstring>tab</cstring> 184 </property> 185 <attribute name="title"> 186 <string>Unit</string> 187 </attribute> 188 <hbox> 189 <property name="name"> 190 <cstring>unnamed</cstring> 191 </property> 192 <widget class="QLabel"> 193 <property name="name"> 194 <cstring>textLabel4_3</cstring> 195 </property> 196 <property name="text"> 197 <string>Memory unit</string> 198 </property> 199 </widget> 200 <widget class="QComboBox"> 201 <item> 202 <property name="text"> 203 <string>(Not selected)</string> 204 </property> 205 </item> 206 <property name="name"> 207 <cstring>memory_unit_value</cstring> 208 </property> 209 </widget> 210 <widget class="QPushButton"> 211 <property name="name"> 212 <cstring>remove_memory_unit</cstring> 213 </property> 214 <property name="text"> 215 <string>Remove</string> 216 </property> 217 </widget> 218 </hbox> 219 </widget> 220 </widget> 221 <widget class="QPushButton" row="8" column="4" rowspan="1" colspan="2"> 222 <property name="name"> 223 <cstring>add_storage_unit</cstring> 224 </property> 225 <property name="text"> 226 <string>Add storage</string> 227 </property> 228 </widget> 229 <spacer row="8" column="6"> 230 <property name="name"> 231 <cstring>spacer4</cstring> 232 </property> 233 <property name="orientation"> 234 <enum>Horizontal</enum> 235 </property> 236 <property name="sizeType"> 237 <enum>Expanding</enum> 238 </property> 239 <property name="sizeHint"> 240 <size> 241 <width>230</width> 242 <height>20</height> 243 </size> 244 </property> 245 </spacer> 246 <spacer row="8" column="0" rowspan="1" colspan="4"> 247 <property name="name"> 248 <cstring>spacer9</cstring> 249 </property> 250 <property name="orientation"> 251 <enum>Horizontal</enum> 252 </property> 253 <property name="sizeType"> 254 <enum>Expanding</enum> 255 </property> 256 <property name="sizeHint"> 257 <size> 258 <width>350</width> 259 <height>20</height> 260 </size> 261 </property> 262 </spacer> 263 <widget class="QTabWidget" row="6" column="4" rowspan="2" colspan="3"> 264 <property name="name"> 265 <cstring>storage_units</cstring> 266 </property> 267 <widget class="QWidget"> 268 <property name="name"> 269 <cstring>tab</cstring> 270 </property> 271 <attribute name="title"> 272 <string>Storage</string> 273 </attribute> 274 <hbox> 275 <property name="name"> 276 <cstring>unnamed</cstring> 277 </property> 278 <widget class="QLabel"> 279 <property name="name"> 280 <cstring>textLabel4_3_2_2</cstring> 281 </property> 282 <property name="text"> 283 <string>Storage unit</string> 284 </property> 285 </widget> 286 <widget class="QComboBox"> 287 <item> 288 <property name="text"> 289 <string>(Not selected)</string> 290 </property> 291 </item> 292 <property name="name"> 293 <cstring>storage_unit_value</cstring> 294 </property> 295 </widget> 296 <widget class="QPushButton"> 297 <property name="name"> 298 <cstring>remove_storage_unit</cstring> 299 </property> 300 <property name="text"> 301 <string>Remove</string> 302 </property> 303 </widget> 304 </hbox> 305 </widget> 306 </widget> 307 <widget class="QLabel" row="1" column="0" rowspan="1" colspan="3"> 308 <property name="name"> 309 <cstring>textLabel2</cstring> 310 </property> 311 <property name="text"> 312 <string><h2>Base System</h2></string> 313 </property> 314 </widget> 315 <spacer row="1" column="3"> 316 <property name="name"> 317 <cstring>spacer11</cstring> 318 </property> 319 <property name="orientation"> 320 <enum>Horizontal</enum> 321 </property> 322 <property name="sizeType"> 323 <enum>Expanding</enum> 324 </property> 325 <property name="sizeHint"> 326 <size> 327 <width>130</width> 328 <height>20</height> 329 </size> 330 </property> 331 </spacer> 332 <widget class="QTabWidget" row="2" column="4" rowspan="2" colspan="3"> 333 <property name="name"> 334 <cstring>hard_disks</cstring> 335 </property> 336 <widget class="QWidget"> 337 <property name="name"> 338 <cstring>tab</cstring> 339 </property> 340 <attribute name="title"> 341 <string>Disk</string> 342 </attribute> 343 <hbox> 344 <property name="name"> 345 <cstring>unnamed</cstring> 346 </property> 347 <widget class="QLabel"> 348 <property name="name"> 349 <cstring>textLabel4_3_2</cstring> 350 </property> 351 <property name="text"> 352 <string>Hard disk drive</string> 353 </property> 354 </widget> 355 <widget class="QComboBox"> 356 <item> 357 <property name="text"> 358 <string>(Not selected)</string> 359 </property> 360 </item> 361 <property name="name"> 362 <cstring>hard_disk_value</cstring> 363 </property> 364 </widget> 365 <widget class="QPushButton"> 366 <property name="name"> 367 <cstring>remove_hard_disk</cstring> 368 </property> 369 <property name="text"> 370 <string>Remove</string> 371 </property> 372 </widget> 373 </hbox> 374 </widget> 375 </widget> 376 <widget class="QPushButton" row="4" column="4" rowspan="1" colspan="2"> 377 <property name="name"> 378 <cstring>add_hard_disk</cstring> 379 </property> 380 <property name="text"> 381 <string>Add hard disk</string> 382 </property> 383 </widget> 384 <spacer row="4" column="6"> 385 <property name="name"> 386 <cstring>spacer3</cstring> 387 </property> 388 <property name="orientation"> 389 <enum>Horizontal</enum> 390 </property> 391 <property name="sizeType"> 392 <enum>Expanding</enum> 393 </property> 394 <property name="sizeHint"> 395 <size> 396 <width>230</width> 397 <height>20</height> 398 </size> 399 </property> 400 </spacer> 401 <spacer row="4" column="0" rowspan="1" colspan="4"> 402 <property name="name"> 403 <cstring>spacer8</cstring> 404 </property> 405 <property name="orientation"> 406 <enum>Horizontal</enum> 407 </property> 408 <property name="sizeType"> 409 <enum>Expanding</enum> 410 </property> 411 <property name="sizeHint"> 412 <size> 413 <width>350</width> 414 <height>20</height> 415 </size> 416 </property> 417 </spacer> 418 <widget class="QLabel" row="5" column="0" rowspan="1" colspan="3"> 419 <property name="name"> 420 <cstring>textLabel2_2</cstring> 421 </property> 422 <property name="text"> 423 <string><h2>Processor</h2></string> 424 </property> 425 </widget> 426 <widget class="QLabel" row="9" column="4" rowspan="1" colspan="3"> 427 <property name="name"> 428 <cstring>textLabel2_7</cstring> 429 </property> 430 <property name="text"> 431 <string><h2>Accessories</h2></string> 432 </property> 433 </widget> 434 <widget class="QLabel" row="9" column="0" rowspan="1" colspan="2"> 435 <property name="name"> 436 <cstring>textLabel2_3</cstring> 437 </property> 438 <property name="text"> 439 <string><h2>Memory</h2></string> 440 </property> 441 </widget> 442 <widget class="QLabel" row="5" column="4" rowspan="1" colspan="3"> 443 <property name="name"> 444 <cstring>textLabel2_6</cstring> 445 </property> 446 <property name="text"> 447 <string><h2>Additional Storage</h2></string> 448 </property> 449 </widget> 450 <widget class="QLabel" row="1" column="4" rowspan="1" colspan="3"> 451 <property name="name"> 452 <cstring>textLabel2_5</cstring> 453 </property> 454 <property name="text"> 455 <string><h2>Hard Disks</h2></string> 456 </property> 457 </widget> 458 <widget class="QLabel" row="12" column="4" rowspan="1" colspan="3"> 459 <property name="name"> 460 <cstring>textLabel2_8</cstring> 461 </property> 462 <property name="text"> 463 <string><h2>Input Devices</h2></string> 464 </property> 465 </widget> 466 <widget class="QLabel" row="12" column="0"> 467 <property name="name"> 468 <cstring>textLabel2_4</cstring> 469 </property> 470 <property name="text"> 471 <string><h2>Price</h2></string> 472 </property> 473 </widget> 474 <widget class="QLabel" row="15" column="4" rowspan="1" colspan="2"> 475 <property name="name"> 476 <cstring>textLabel2_9</cstring> 477 </property> 478 <property name="text"> 479 <string><h2>Display</h2></string> 480 </property> 481 </widget> 482 <widget class="QComboBox" row="6" column="1" rowspan="1" colspan="3"> 483 <item> 484 <property name="text"> 485 <string>(Not selected)</string> 486 </property> 487 </item> 488 <property name="name"> 489 <cstring>cpu</cstring> 490 </property> 491 </widget> 492 <widget class="QLabel" row="6" column="0"> 493 <property name="name"> 494 <cstring>textLabel4_2</cstring> 495 </property> 496 <property name="text"> 497 <string>CPU</string> 498 </property> 499 </widget> 500 <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3"> 501 <item> 502 <property name="text"> 503 <string>(Not selected)</string> 504 </property> 505 </item> 506 <property name="name"> 507 <cstring>base_system</cstring> 508 </property> 509 </widget> 510 <widget class="QLabel" row="2" column="0"> 511 <property name="name"> 512 <cstring>textLabel4</cstring> 513 </property> 514 <property name="text"> 515 <string>Model</string> 516 </property> 517 </widget> 518 <spacer row="7" column="3"> 519 <property name="name"> 520 <cstring>spacer22</cstring> 521 </property> 522 <property name="orientation"> 523 <enum>Vertical</enum> 524 </property> 525 <property name="sizeType"> 526 <enum>Expanding</enum> 527 </property> 528 <property name="sizeHint"> 529 <size> 530 <width>20</width> 531 <height>131</height> 532 </size> 533 </property> 534 </spacer> 535 <spacer row="3" column="3"> 536 <property name="name"> 537 <cstring>spacer21</cstring> 538 </property> 539 <property name="orientation"> 540 <enum>Vertical</enum> 541 </property> 542 <property name="sizeType"> 543 <enum>Expanding</enum> 544 </property> 545 <property name="sizeHint"> 546 <size> 547 <width>20</width> 548 <height>131</height> 549 </size> 550 </property> 551 </spacer> 552 </grid> 553 </widget> 554 <connections> 555 <connection> 556 <sender>base_system</sender> 557 <signal>activated(const QString&)</signal> 558 <receiver>configuration</receiver> 559 <slot>baseSystemChanged(const QString&)</slot> 560 </connection> 561 <connection> 562 <sender>add_hard_disk</sender> 563 <signal>clicked()</signal> 564 <receiver>configuration</receiver> 565 <slot>addHardDisk()</slot> 566 </connection> 567 <connection> 568 <sender>add_memory_unit</sender> 569 <signal>clicked()</signal> 570 <receiver>configuration</receiver> 571 <slot>addMemoryUnit()</slot> 572 </connection> 573 <connection> 574 <sender>add_storage_unit</sender> 575 <signal>clicked()</signal> 576 <receiver>configuration</receiver> 577 <slot>addStorageUnit()</slot> 578 </connection> 579 <connection> 580 <sender>remove_hard_disk</sender> 581 <signal>clicked()</signal> 582 <receiver>configuration</receiver> 583 <slot>removeHardDisk()</slot> 584 </connection> 585 <connection> 586 <sender>remove_memory_unit</sender> 587 <signal>clicked()</signal> 588 <receiver>configuration</receiver> 589 <slot>removeMemoryUnit()</slot> 590 </connection> 591 <connection> 592 <sender>remove_storage_unit</sender> 593 <signal>clicked()</signal> 594 <receiver>configuration</receiver> 595 <slot>removeStorageUnit()</slot> 596 </connection> 597 <connection> 598 <sender>update</sender> 599 <signal>clicked()</signal> 600 <receiver>configuration</receiver> 601 <slot>updateConfig()</slot> 602 </connection> 603 <connection> 604 <sender>export</sender> 605 <signal>clicked()</signal> 606 <receiver>configuration</receiver> 607 <slot>exportConfig()</slot> 608 </connection> 609 </connections> 610 <slots> 611 <slot>baseSystemChanged(const QString&)</slot> 612 <slot>removeMemoryUnit()</slot> 613 <slot>addMemoryUnit()</slot> 614 <slot>addStorageUnit()</slot> 615 <slot>removeHardDisk()</slot> 616 <slot>addHardDisk()</slot> 617 <slot>removeStorageUnit()</slot> 618 <slot>updateConfig()</slot> 619 <slot>exportConfig()</slot> 620 </slots> 621 <layoutdefaults spacing="6" margin="11"/> 622 </UI>