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