1.1 --- a/examples/Common/Configurator/Resources/config.ui Mon Oct 24 00:00:21 2005 +0000
1.2 +++ b/examples/Common/Configurator/Resources/config.ui Mon Oct 24 00:01:02 2005 +0000
1.3 @@ -1,15 +1,15 @@
1.4 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
1.5 -<class>Form1</class>
1.6 +<class>configuration</class>
1.7 <widget class="QWidget">
1.8 <property name="name">
1.9 - <cstring>Form1</cstring>
1.10 + <cstring>configuration</cstring>
1.11 </property>
1.12 <property name="geometry">
1.13 <rect>
1.14 <x>0</x>
1.15 <y>0</y>
1.16 - <width>795</width>
1.17 - <height>853</height>
1.18 + <width>871</width>
1.19 + <height>673</height>
1.20 </rect>
1.21 </property>
1.22 <property name="caption">
1.23 @@ -19,15 +19,292 @@
1.24 <property name="name">
1.25 <cstring>unnamed</cstring>
1.26 </property>
1.27 - <widget class="QLabel" row="2" column="0">
1.28 + <widget class="QPushButton" row="14" column="0">
1.29 + <property name="name">
1.30 + <cstring>update</cstring>
1.31 + </property>
1.32 + <property name="text">
1.33 + <string>Update</string>
1.34 + </property>
1.35 + </widget>
1.36 + <widget class="QComboBox" row="14" column="5" rowspan="1" colspan="2">
1.37 + <item>
1.38 + <property name="text">
1.39 + <string>(Not selected)</string>
1.40 + </property>
1.41 + </item>
1.42 + <property name="name">
1.43 + <cstring>mouse</cstring>
1.44 + </property>
1.45 + </widget>
1.46 + <widget class="QComboBox" row="13" column="5" rowspan="1" colspan="2">
1.47 + <item>
1.48 + <property name="text">
1.49 + <string>(Not selected)</string>
1.50 + </property>
1.51 + </item>
1.52 + <property name="name">
1.53 + <cstring>keyboard</cstring>
1.54 + </property>
1.55 + </widget>
1.56 + <widget class="QLabel" row="14" column="4">
1.57 + <property name="name">
1.58 + <cstring>textLabel4_2_3</cstring>
1.59 + </property>
1.60 + <property name="text">
1.61 + <string>Mouse</string>
1.62 + </property>
1.63 + </widget>
1.64 + <widget class="QLabel" row="16" column="4">
1.65 + <property name="name">
1.66 + <cstring>textLabel4_2_4</cstring>
1.67 + </property>
1.68 + <property name="text">
1.69 + <string>Screen</string>
1.70 + </property>
1.71 + </widget>
1.72 + <widget class="QComboBox" row="16" column="5" rowspan="1" colspan="2">
1.73 + <item>
1.74 + <property name="text">
1.75 + <string>(Not selected)</string>
1.76 + </property>
1.77 + </item>
1.78 + <property name="name">
1.79 + <cstring>screen</cstring>
1.80 + </property>
1.81 + </widget>
1.82 + <widget class="QPushButton" row="14" column="1" rowspan="1" colspan="2">
1.83 <property name="name">
1.84 - <cstring>textLabel4</cstring>
1.85 + <cstring>export</cstring>
1.86 + </property>
1.87 + <property name="text">
1.88 + <string>Export</string>
1.89 + </property>
1.90 + </widget>
1.91 + <spacer row="14" column="3">
1.92 + <property name="name">
1.93 + <cstring>spacer6</cstring>
1.94 + </property>
1.95 + <property name="orientation">
1.96 + <enum>Horizontal</enum>
1.97 + </property>
1.98 + <property name="sizeType">
1.99 + <enum>Expanding</enum>
1.100 + </property>
1.101 + <property name="sizeHint">
1.102 + <size>
1.103 + <width>40</width>
1.104 + <height>20</height>
1.105 + </size>
1.106 + </property>
1.107 + </spacer>
1.108 + <widget class="QLabel" row="13" column="0" rowspan="1" colspan="4">
1.109 + <property name="name">
1.110 + <cstring>textLabel4_2_4_2</cstring>
1.111 + </property>
1.112 + <property name="text">
1.113 + <string>Total for this configuration: 0</string>
1.114 + </property>
1.115 + </widget>
1.116 + <widget class="QLabel" row="13" column="4">
1.117 + <property name="name">
1.118 + <cstring>textLabel4_2_2</cstring>
1.119 + </property>
1.120 + <property name="text">
1.121 + <string>Keyboard</string>
1.122 + </property>
1.123 + </widget>
1.124 + <spacer row="15" column="0" rowspan="2" colspan="4">
1.125 + <property name="name">
1.126 + <cstring>spacer10</cstring>
1.127 + </property>
1.128 + <property name="orientation">
1.129 + <enum>Horizontal</enum>
1.130 + </property>
1.131 + <property name="sizeType">
1.132 + <enum>Expanding</enum>
1.133 + </property>
1.134 + <property name="sizeHint">
1.135 + <size>
1.136 + <width>346</width>
1.137 + <height>60</height>
1.138 + </size>
1.139 + </property>
1.140 + </spacer>
1.141 + <widget class="QListBox" row="10" column="4" rowspan="2" colspan="2">
1.142 + <item>
1.143 + <property name="text">
1.144 + <string>(Not selected)</string>
1.145 + </property>
1.146 + </item>
1.147 + <property name="name">
1.148 + <cstring>accessories</cstring>
1.149 + </property>
1.150 + </widget>
1.151 + <widget class="QPushButton" row="11" column="0" rowspan="1" colspan="2">
1.152 + <property name="name">
1.153 + <cstring>add_memory_unit</cstring>
1.154 </property>
1.155 <property name="text">
1.156 - <string>Model</string>
1.157 + <string>Add memory</string>
1.158 + </property>
1.159 + </widget>
1.160 + <spacer row="11" column="2" rowspan="1" colspan="2">
1.161 + <property name="name">
1.162 + <cstring>spacer5</cstring>
1.163 + </property>
1.164 + <property name="orientation">
1.165 + <enum>Horizontal</enum>
1.166 + </property>
1.167 + <property name="sizeType">
1.168 + <enum>Expanding</enum>
1.169 + </property>
1.170 + <property name="sizeHint">
1.171 + <size>
1.172 + <width>180</width>
1.173 + <height>20</height>
1.174 + </size>
1.175 + </property>
1.176 + </spacer>
1.177 + <widget class="QLabel" row="0" column="0" rowspan="1" colspan="5">
1.178 + <property name="name">
1.179 + <cstring>textLabel1</cstring>
1.180 + </property>
1.181 + <property name="text">
1.182 + <string><h1>System Configurator</h1></string>
1.183 + </property>
1.184 + </widget>
1.185 + <widget class="QTabWidget" row="10" column="0" rowspan="1" colspan="4">
1.186 + <property name="name">
1.187 + <cstring>memory_units</cstring>
1.188 + </property>
1.189 + <widget class="QWidget">
1.190 + <property name="name">
1.191 + <cstring>tab</cstring>
1.192 + </property>
1.193 + <attribute name="title">
1.194 + <string>Unit</string>
1.195 + </attribute>
1.196 + <hbox>
1.197 + <property name="name">
1.198 + <cstring>unnamed</cstring>
1.199 + </property>
1.200 + <widget class="QLabel">
1.201 + <property name="name">
1.202 + <cstring>textLabel4_3</cstring>
1.203 + </property>
1.204 + <property name="text">
1.205 + <string>Memory unit</string>
1.206 + </property>
1.207 + </widget>
1.208 + <widget class="QComboBox">
1.209 + <item>
1.210 + <property name="text">
1.211 + <string>(Not selected)</string>
1.212 + </property>
1.213 + </item>
1.214 + <property name="name">
1.215 + <cstring>memory_unit_value</cstring>
1.216 + </property>
1.217 + </widget>
1.218 + <widget class="QPushButton">
1.219 + <property name="name">
1.220 + <cstring>remove_memory_unit</cstring>
1.221 + </property>
1.222 + <property name="text">
1.223 + <string>Remove</string>
1.224 + </property>
1.225 + </widget>
1.226 + </hbox>
1.227 + </widget>
1.228 + </widget>
1.229 + <widget class="QPushButton" row="8" column="4" rowspan="1" colspan="2">
1.230 + <property name="name">
1.231 + <cstring>add_storage_unit</cstring>
1.232 + </property>
1.233 + <property name="text">
1.234 + <string>Add storage</string>
1.235 </property>
1.236 </widget>
1.237 - <widget class="QLabel" row="1" column="0" rowspan="1" colspan="5">
1.238 + <spacer row="8" column="6">
1.239 + <property name="name">
1.240 + <cstring>spacer4</cstring>
1.241 + </property>
1.242 + <property name="orientation">
1.243 + <enum>Horizontal</enum>
1.244 + </property>
1.245 + <property name="sizeType">
1.246 + <enum>Expanding</enum>
1.247 + </property>
1.248 + <property name="sizeHint">
1.249 + <size>
1.250 + <width>230</width>
1.251 + <height>20</height>
1.252 + </size>
1.253 + </property>
1.254 + </spacer>
1.255 + <spacer row="8" column="0" rowspan="1" colspan="4">
1.256 + <property name="name">
1.257 + <cstring>spacer9</cstring>
1.258 + </property>
1.259 + <property name="orientation">
1.260 + <enum>Horizontal</enum>
1.261 + </property>
1.262 + <property name="sizeType">
1.263 + <enum>Expanding</enum>
1.264 + </property>
1.265 + <property name="sizeHint">
1.266 + <size>
1.267 + <width>350</width>
1.268 + <height>20</height>
1.269 + </size>
1.270 + </property>
1.271 + </spacer>
1.272 + <widget class="QTabWidget" row="6" column="4" rowspan="2" colspan="3">
1.273 + <property name="name">
1.274 + <cstring>storage_units</cstring>
1.275 + </property>
1.276 + <widget class="QWidget">
1.277 + <property name="name">
1.278 + <cstring>tab</cstring>
1.279 + </property>
1.280 + <attribute name="title">
1.281 + <string>Storage</string>
1.282 + </attribute>
1.283 + <hbox>
1.284 + <property name="name">
1.285 + <cstring>unnamed</cstring>
1.286 + </property>
1.287 + <widget class="QLabel">
1.288 + <property name="name">
1.289 + <cstring>textLabel4_3_2_2</cstring>
1.290 + </property>
1.291 + <property name="text">
1.292 + <string>Storage unit</string>
1.293 + </property>
1.294 + </widget>
1.295 + <widget class="QComboBox">
1.296 + <item>
1.297 + <property name="text">
1.298 + <string>(Not selected)</string>
1.299 + </property>
1.300 + </item>
1.301 + <property name="name">
1.302 + <cstring>storage_unit_value</cstring>
1.303 + </property>
1.304 + </widget>
1.305 + <widget class="QPushButton">
1.306 + <property name="name">
1.307 + <cstring>remove_storage_unit</cstring>
1.308 + </property>
1.309 + <property name="text">
1.310 + <string>Remove</string>
1.311 + </property>
1.312 + </widget>
1.313 + </hbox>
1.314 + </widget>
1.315 + </widget>
1.316 + <widget class="QLabel" row="1" column="0" rowspan="1" colspan="3">
1.317 <property name="name">
1.318 <cstring>textLabel2</cstring>
1.319 </property>
1.320 @@ -35,93 +312,76 @@
1.321 <string><h2>Base System</h2></string>
1.322 </property>
1.323 </widget>
1.324 - <widget class="QLabel" row="1" column="7" rowspan="1" colspan="4">
1.325 + <spacer row="1" column="3">
1.326 + <property name="name">
1.327 + <cstring>spacer11</cstring>
1.328 + </property>
1.329 + <property name="orientation">
1.330 + <enum>Horizontal</enum>
1.331 + </property>
1.332 + <property name="sizeType">
1.333 + <enum>Expanding</enum>
1.334 + </property>
1.335 + <property name="sizeHint">
1.336 + <size>
1.337 + <width>130</width>
1.338 + <height>20</height>
1.339 + </size>
1.340 + </property>
1.341 + </spacer>
1.342 + <widget class="QTabWidget" row="2" column="4" rowspan="2" colspan="3">
1.343 <property name="name">
1.344 - <cstring>textLabel2_5</cstring>
1.345 + <cstring>hard_disks</cstring>
1.346 + </property>
1.347 + <widget class="QWidget">
1.348 + <property name="name">
1.349 + <cstring>tab</cstring>
1.350 + </property>
1.351 + <attribute name="title">
1.352 + <string>Disk</string>
1.353 + </attribute>
1.354 + <hbox>
1.355 + <property name="name">
1.356 + <cstring>unnamed</cstring>
1.357 + </property>
1.358 + <widget class="QLabel">
1.359 + <property name="name">
1.360 + <cstring>textLabel4_3_2</cstring>
1.361 + </property>
1.362 + <property name="text">
1.363 + <string>Hard disk drive</string>
1.364 + </property>
1.365 + </widget>
1.366 + <widget class="QComboBox">
1.367 + <item>
1.368 + <property name="text">
1.369 + <string>(Not selected)</string>
1.370 + </property>
1.371 + </item>
1.372 + <property name="name">
1.373 + <cstring>hard_disk_value</cstring>
1.374 + </property>
1.375 + </widget>
1.376 + <widget class="QPushButton">
1.377 + <property name="name">
1.378 + <cstring>remove_hard_disk</cstring>
1.379 + </property>
1.380 + <property name="text">
1.381 + <string>Remove</string>
1.382 + </property>
1.383 + </widget>
1.384 + </hbox>
1.385 + </widget>
1.386 + </widget>
1.387 + <widget class="QPushButton" row="4" column="4" rowspan="1" colspan="2">
1.388 + <property name="name">
1.389 + <cstring>add_hard_disk</cstring>
1.390 </property>
1.391 <property name="text">
1.392 - <string><h2>Hard Disks</h2></string>
1.393 - </property>
1.394 - </widget>
1.395 - <widget class="QComboBox" row="2" column="3" rowspan="1" colspan="3">
1.396 - <item>
1.397 - <property name="text">
1.398 - <string>(Not selected)</string>
1.399 - </property>
1.400 - </item>
1.401 - <property name="name">
1.402 - <cstring>base_system</cstring>
1.403 - </property>
1.404 - </widget>
1.405 - <widget class="QLabel" row="4" column="0" rowspan="1" colspan="5">
1.406 - <property name="name">
1.407 - <cstring>textLabel2_2</cstring>
1.408 - </property>
1.409 - <property name="text">
1.410 - <string><h2>Processor</h2></string>
1.411 - </property>
1.412 - </widget>
1.413 - <widget class="QLabel" row="5" column="0">
1.414 - <property name="name">
1.415 - <cstring>textLabel4_2</cstring>
1.416 - </property>
1.417 - <property name="text">
1.418 - <string>CPU</string>
1.419 - </property>
1.420 - </widget>
1.421 - <widget class="QComboBox" row="5" column="3" rowspan="1" colspan="3">
1.422 - <item>
1.423 - <property name="text">
1.424 - <string>(Not selected)</string>
1.425 - </property>
1.426 - </item>
1.427 - <property name="name">
1.428 - <cstring>cpu</cstring>
1.429 + <string>Add hard disk</string>
1.430 </property>
1.431 </widget>
1.432 - <widget class="QLabel" row="4" column="7" rowspan="1" colspan="4">
1.433 - <property name="name">
1.434 - <cstring>textLabel2_6</cstring>
1.435 - </property>
1.436 - <property name="text">
1.437 - <string><h2>Additional Storage</h2></string>
1.438 - </property>
1.439 - </widget>
1.440 - <widget class="QLabel" row="0" column="0" rowspan="1" colspan="8">
1.441 - <property name="name">
1.442 - <cstring>textLabel1</cstring>
1.443 - </property>
1.444 - <property name="text">
1.445 - <string><h1>System Configurator</h1></string>
1.446 - </property>
1.447 - </widget>
1.448 - <widget class="QComboBox" row="2" column="9" rowspan="1" colspan="2">
1.449 - <item>
1.450 - <property name="text">
1.451 - <string>(Not selected)</string>
1.452 - </property>
1.453 - </item>
1.454 - <property name="name">
1.455 - <cstring>hard_disk</cstring>
1.456 - </property>
1.457 - </widget>
1.458 - <widget class="QPushButton" row="2" column="11">
1.459 - <property name="name">
1.460 - <cstring>remove_hard_disk</cstring>
1.461 - </property>
1.462 - <property name="text">
1.463 - <string>Remove</string>
1.464 - </property>
1.465 - </widget>
1.466 - <widget class="QLabel" row="2" column="7" rowspan="1" colspan="2">
1.467 - <property name="name">
1.468 - <cstring>textLabel4_3_2</cstring>
1.469 - </property>
1.470 - <property name="text">
1.471 - <string>Hard disk drive</string>
1.472 - </property>
1.473 - </widget>
1.474 - <spacer row="3" column="10" rowspan="1" colspan="2">
1.475 + <spacer row="4" column="6">
1.476 <property name="name">
1.477 <cstring>spacer3</cstring>
1.478 </property>
1.479 @@ -138,272 +398,7 @@
1.480 </size>
1.481 </property>
1.482 </spacer>
1.483 - <widget class="QPushButton" row="13" column="0" rowspan="1" colspan="2">
1.484 - <property name="name">
1.485 - <cstring>update</cstring>
1.486 - </property>
1.487 - <property name="text">
1.488 - <string>Update</string>
1.489 - </property>
1.490 - </widget>
1.491 - <widget class="QComboBox" row="13" column="8" rowspan="1" colspan="3">
1.492 - <item>
1.493 - <property name="text">
1.494 - <string>(Not selected)</string>
1.495 - </property>
1.496 - </item>
1.497 - <property name="name">
1.498 - <cstring>mouse</cstring>
1.499 - </property>
1.500 - </widget>
1.501 - <widget class="QComboBox" row="12" column="8" rowspan="1" colspan="3">
1.502 - <item>
1.503 - <property name="text">
1.504 - <string>(Not selected)</string>
1.505 - </property>
1.506 - </item>
1.507 - <property name="name">
1.508 - <cstring>keyboard</cstring>
1.509 - </property>
1.510 - </widget>
1.511 - <widget class="QLabel" row="13" column="7">
1.512 - <property name="name">
1.513 - <cstring>textLabel4_2_3</cstring>
1.514 - </property>
1.515 - <property name="text">
1.516 - <string>Mouse</string>
1.517 - </property>
1.518 - </widget>
1.519 - <widget class="QLabel" row="15" column="7">
1.520 - <property name="name">
1.521 - <cstring>textLabel4_2_4</cstring>
1.522 - </property>
1.523 - <property name="text">
1.524 - <string>Screen</string>
1.525 - </property>
1.526 - </widget>
1.527 - <widget class="QLabel" row="7" column="0" rowspan="1" colspan="4">
1.528 - <property name="name">
1.529 - <cstring>textLabel2_3</cstring>
1.530 - </property>
1.531 - <property name="text">
1.532 - <string><h2>Memory</h2></string>
1.533 - </property>
1.534 - </widget>
1.535 - <widget class="QComboBox" row="8" column="3" rowspan="1" colspan="3">
1.536 - <item>
1.537 - <property name="text">
1.538 - <string>(Not selected)</string>
1.539 - </property>
1.540 - </item>
1.541 - <property name="name">
1.542 - <cstring>memory_unit</cstring>
1.543 - </property>
1.544 - </widget>
1.545 - <widget class="QLabel" row="11" column="0" rowspan="1" colspan="7">
1.546 - <property name="name">
1.547 - <cstring>textLabel2_4</cstring>
1.548 - </property>
1.549 - <property name="text">
1.550 - <string><h2>Price</h2></string>
1.551 - </property>
1.552 - </widget>
1.553 - <widget class="QPushButton" row="8" column="6">
1.554 - <property name="name">
1.555 - <cstring>remove_memory_unit</cstring>
1.556 - </property>
1.557 - <property name="text">
1.558 - <string>Remove</string>
1.559 - </property>
1.560 - </widget>
1.561 - <widget class="QLabel" row="8" column="0" rowspan="1" colspan="3">
1.562 - <property name="name">
1.563 - <cstring>textLabel4_3</cstring>
1.564 - </property>
1.565 - <property name="text">
1.566 - <string>Memory unit</string>
1.567 - </property>
1.568 - </widget>
1.569 - <widget class="QComboBox" row="15" column="8" rowspan="1" colspan="3">
1.570 - <item>
1.571 - <property name="text">
1.572 - <string>(Not selected)</string>
1.573 - </property>
1.574 - </item>
1.575 - <property name="name">
1.576 - <cstring>screen</cstring>
1.577 - </property>
1.578 - </widget>
1.579 - <widget class="QLabel" row="11" column="7" rowspan="1" colspan="4">
1.580 - <property name="name">
1.581 - <cstring>textLabel2_8</cstring>
1.582 - </property>
1.583 - <property name="text">
1.584 - <string><h2>Input Devices</h2></string>
1.585 - </property>
1.586 - </widget>
1.587 - <widget class="QLabel" row="14" column="7" rowspan="1" colspan="4">
1.588 - <property name="name">
1.589 - <cstring>textLabel2_9</cstring>
1.590 - </property>
1.591 - <property name="text">
1.592 - <string><h2>Display</h2></string>
1.593 - </property>
1.594 - </widget>
1.595 - <widget class="QPushButton" row="13" column="2" rowspan="1" colspan="3">
1.596 - <property name="name">
1.597 - <cstring>export</cstring>
1.598 - </property>
1.599 - <property name="text">
1.600 - <string>Export</string>
1.601 - </property>
1.602 - </widget>
1.603 - <spacer row="13" column="5" rowspan="1" colspan="2">
1.604 - <property name="name">
1.605 - <cstring>spacer6</cstring>
1.606 - </property>
1.607 - <property name="orientation">
1.608 - <enum>Horizontal</enum>
1.609 - </property>
1.610 - <property name="sizeType">
1.611 - <enum>Expanding</enum>
1.612 - </property>
1.613 - <property name="sizeHint">
1.614 - <size>
1.615 - <width>40</width>
1.616 - <height>20</height>
1.617 - </size>
1.618 - </property>
1.619 - </spacer>
1.620 - <spacer row="10" column="1">
1.621 - <property name="name">
1.622 - <cstring>spacer2</cstring>
1.623 - </property>
1.624 - <property name="orientation">
1.625 - <enum>Vertical</enum>
1.626 - </property>
1.627 - <property name="sizeType">
1.628 - <enum>Expanding</enum>
1.629 - </property>
1.630 - <property name="sizeHint">
1.631 - <size>
1.632 - <width>20</width>
1.633 - <height>170</height>
1.634 - </size>
1.635 - </property>
1.636 - </spacer>
1.637 - <widget class="QLabel" row="12" column="0" rowspan="1" colspan="7">
1.638 - <property name="name">
1.639 - <cstring>textLabel4_2_4_2</cstring>
1.640 - </property>
1.641 - <property name="text">
1.642 - <string>Total for this configuration: 0</string>
1.643 - </property>
1.644 - </widget>
1.645 - <widget class="QLabel" row="12" column="7">
1.646 - <property name="name">
1.647 - <cstring>textLabel4_2_2</cstring>
1.648 - </property>
1.649 - <property name="text">
1.650 - <string>Keyboard</string>
1.651 - </property>
1.652 - </widget>
1.653 - <widget class="QLabel" row="7" column="7" rowspan="1" colspan="4">
1.654 - <property name="name">
1.655 - <cstring>textLabel2_7</cstring>
1.656 - </property>
1.657 - <property name="text">
1.658 - <string><h2>Accessories</h2></string>
1.659 - </property>
1.660 - </widget>
1.661 - <spacer row="6" column="10" rowspan="1" colspan="2">
1.662 - <property name="name">
1.663 - <cstring>spacer4</cstring>
1.664 - </property>
1.665 - <property name="orientation">
1.666 - <enum>Horizontal</enum>
1.667 - </property>
1.668 - <property name="sizeType">
1.669 - <enum>Expanding</enum>
1.670 - </property>
1.671 - <property name="sizeHint">
1.672 - <size>
1.673 - <width>230</width>
1.674 - <height>20</height>
1.675 - </size>
1.676 - </property>
1.677 - </spacer>
1.678 - <widget class="QComboBox" row="5" column="9" rowspan="1" colspan="2">
1.679 - <item>
1.680 - <property name="text">
1.681 - <string>(Not selected)</string>
1.682 - </property>
1.683 - </item>
1.684 - <property name="name">
1.685 - <cstring>storage_unit</cstring>
1.686 - </property>
1.687 - </widget>
1.688 - <widget class="QPushButton" row="5" column="11">
1.689 - <property name="name">
1.690 - <cstring>remove_storage_unit</cstring>
1.691 - </property>
1.692 - <property name="text">
1.693 - <string>Remove</string>
1.694 - </property>
1.695 - </widget>
1.696 - <widget class="QLabel" row="5" column="7" rowspan="1" colspan="2">
1.697 - <property name="name">
1.698 - <cstring>textLabel4_3_2_2</cstring>
1.699 - </property>
1.700 - <property name="text">
1.701 - <string>Storage unit</string>
1.702 - </property>
1.703 - </widget>
1.704 - <widget class="QListBox" row="8" column="7" rowspan="2" colspan="3">
1.705 - <item>
1.706 - <property name="text">
1.707 - <string>(Not selected)</string>
1.708 - </property>
1.709 - </item>
1.710 - <property name="name">
1.711 - <cstring>accessories</cstring>
1.712 - </property>
1.713 - </widget>
1.714 - <spacer row="10" column="8">
1.715 - <property name="name">
1.716 - <cstring>spacer7</cstring>
1.717 - </property>
1.718 - <property name="orientation">
1.719 - <enum>Vertical</enum>
1.720 - </property>
1.721 - <property name="sizeType">
1.722 - <enum>Expanding</enum>
1.723 - </property>
1.724 - <property name="sizeHint">
1.725 - <size>
1.726 - <width>20</width>
1.727 - <height>90</height>
1.728 - </size>
1.729 - </property>
1.730 - </spacer>
1.731 - <spacer row="6" column="0" rowspan="1" colspan="7">
1.732 - <property name="name">
1.733 - <cstring>spacer9</cstring>
1.734 - </property>
1.735 - <property name="orientation">
1.736 - <enum>Horizontal</enum>
1.737 - </property>
1.738 - <property name="sizeType">
1.739 - <enum>Expanding</enum>
1.740 - </property>
1.741 - <property name="sizeHint">
1.742 - <size>
1.743 - <width>350</width>
1.744 - <height>20</height>
1.745 - </size>
1.746 - </property>
1.747 - </spacer>
1.748 - <spacer row="3" column="0" rowspan="1" colspan="7">
1.749 + <spacer row="4" column="0" rowspan="1" colspan="4">
1.750 <property name="name">
1.751 <cstring>spacer8</cstring>
1.752 </property>
1.753 @@ -420,82 +415,208 @@
1.754 </size>
1.755 </property>
1.756 </spacer>
1.757 - <widget class="QPushButton" row="3" column="7" rowspan="1" colspan="3">
1.758 + <widget class="QLabel" row="5" column="0" rowspan="1" colspan="3">
1.759 + <property name="name">
1.760 + <cstring>textLabel2_2</cstring>
1.761 + </property>
1.762 + <property name="text">
1.763 + <string><h2>Processor</h2></string>
1.764 + </property>
1.765 + </widget>
1.766 + <widget class="QLabel" row="9" column="4" rowspan="1" colspan="3">
1.767 <property name="name">
1.768 - <cstring>add_hard_disk</cstring>
1.769 + <cstring>textLabel2_7</cstring>
1.770 + </property>
1.771 + <property name="text">
1.772 + <string><h2>Accessories</h2></string>
1.773 + </property>
1.774 + </widget>
1.775 + <widget class="QLabel" row="9" column="0" rowspan="1" colspan="2">
1.776 + <property name="name">
1.777 + <cstring>textLabel2_3</cstring>
1.778 </property>
1.779 <property name="text">
1.780 - <string>Add hard disk</string>
1.781 + <string><h2>Memory</h2></string>
1.782 + </property>
1.783 + </widget>
1.784 + <widget class="QLabel" row="5" column="4" rowspan="1" colspan="3">
1.785 + <property name="name">
1.786 + <cstring>textLabel2_6</cstring>
1.787 + </property>
1.788 + <property name="text">
1.789 + <string><h2>Additional Storage</h2></string>
1.790 </property>
1.791 </widget>
1.792 - <widget class="QPushButton" row="6" column="7" rowspan="1" colspan="3">
1.793 + <widget class="QLabel" row="1" column="4" rowspan="1" colspan="3">
1.794 + <property name="name">
1.795 + <cstring>textLabel2_5</cstring>
1.796 + </property>
1.797 + <property name="text">
1.798 + <string><h2>Hard Disks</h2></string>
1.799 + </property>
1.800 + </widget>
1.801 + <widget class="QLabel" row="12" column="4" rowspan="1" colspan="3">
1.802 <property name="name">
1.803 - <cstring>add_storage_unit</cstring>
1.804 + <cstring>textLabel2_8</cstring>
1.805 + </property>
1.806 + <property name="text">
1.807 + <string><h2>Input Devices</h2></string>
1.808 + </property>
1.809 + </widget>
1.810 + <widget class="QLabel" row="12" column="0">
1.811 + <property name="name">
1.812 + <cstring>textLabel2_4</cstring>
1.813 </property>
1.814 <property name="text">
1.815 - <string>Add storage</string>
1.816 + <string><h2>Price</h2></string>
1.817 + </property>
1.818 + </widget>
1.819 + <widget class="QLabel" row="15" column="4" rowspan="1" colspan="2">
1.820 + <property name="name">
1.821 + <cstring>textLabel2_9</cstring>
1.822 + </property>
1.823 + <property name="text">
1.824 + <string><h2>Display</h2></string>
1.825 </property>
1.826 </widget>
1.827 - <widget class="QPushButton" row="9" column="0" rowspan="1" colspan="4">
1.828 + <widget class="QComboBox" row="6" column="1" rowspan="1" colspan="3">
1.829 + <item>
1.830 + <property name="text">
1.831 + <string>(Not selected)</string>
1.832 + </property>
1.833 + </item>
1.834 <property name="name">
1.835 - <cstring>add_memory_unit</cstring>
1.836 + <cstring>cpu</cstring>
1.837 + </property>
1.838 + </widget>
1.839 + <widget class="QLabel" row="6" column="0">
1.840 + <property name="name">
1.841 + <cstring>textLabel4_2</cstring>
1.842 </property>
1.843 <property name="text">
1.844 - <string>Add memory</string>
1.845 + <string>CPU</string>
1.846 + </property>
1.847 + </widget>
1.848 + <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3">
1.849 + <item>
1.850 + <property name="text">
1.851 + <string>(Not selected)</string>
1.852 + </property>
1.853 + </item>
1.854 + <property name="name">
1.855 + <cstring>base_system</cstring>
1.856 </property>
1.857 </widget>
1.858 - <spacer row="9" column="4" rowspan="1" colspan="3">
1.859 + <widget class="QLabel" row="2" column="0">
1.860 <property name="name">
1.861 - <cstring>spacer5</cstring>
1.862 + <cstring>textLabel4</cstring>
1.863 + </property>
1.864 + <property name="text">
1.865 + <string>Model</string>
1.866 + </property>
1.867 + </widget>
1.868 + <spacer row="7" column="3">
1.869 + <property name="name">
1.870 + <cstring>spacer22</cstring>
1.871 </property>
1.872 <property name="orientation">
1.873 - <enum>Horizontal</enum>
1.874 + <enum>Vertical</enum>
1.875 </property>
1.876 <property name="sizeType">
1.877 <enum>Expanding</enum>
1.878 </property>
1.879 <property name="sizeHint">
1.880 <size>
1.881 - <width>180</width>
1.882 - <height>20</height>
1.883 + <width>20</width>
1.884 + <height>131</height>
1.885 </size>
1.886 </property>
1.887 </spacer>
1.888 - <spacer row="1" column="5" rowspan="1" colspan="2">
1.889 + <spacer row="3" column="3">
1.890 <property name="name">
1.891 - <cstring>spacer11</cstring>
1.892 + <cstring>spacer21</cstring>
1.893 </property>
1.894 <property name="orientation">
1.895 - <enum>Horizontal</enum>
1.896 + <enum>Vertical</enum>
1.897 </property>
1.898 <property name="sizeType">
1.899 <enum>Expanding</enum>
1.900 </property>
1.901 <property name="sizeHint">
1.902 <size>
1.903 - <width>130</width>
1.904 - <height>20</height>
1.905 - </size>
1.906 - </property>
1.907 - </spacer>
1.908 - <spacer row="14" column="0" rowspan="2" colspan="7">
1.909 - <property name="name">
1.910 - <cstring>spacer10</cstring>
1.911 - </property>
1.912 - <property name="orientation">
1.913 - <enum>Horizontal</enum>
1.914 - </property>
1.915 - <property name="sizeType">
1.916 - <enum>Expanding</enum>
1.917 - </property>
1.918 - <property name="sizeHint">
1.919 - <size>
1.920 - <width>346</width>
1.921 - <height>60</height>
1.922 + <width>20</width>
1.923 + <height>131</height>
1.924 </size>
1.925 </property>
1.926 </spacer>
1.927 </grid>
1.928 </widget>
1.929 +<connections>
1.930 + <connection>
1.931 + <sender>base_system</sender>
1.932 + <signal>textChanged(const QString&)</signal>
1.933 + <receiver>configuration</receiver>
1.934 + <slot>baseSystemChanged()</slot>
1.935 + </connection>
1.936 + <connection>
1.937 + <sender>add_hard_disk</sender>
1.938 + <signal>clicked()</signal>
1.939 + <receiver>configuration</receiver>
1.940 + <slot>addHardDisk()</slot>
1.941 + </connection>
1.942 + <connection>
1.943 + <sender>add_memory_unit</sender>
1.944 + <signal>clicked()</signal>
1.945 + <receiver>configuration</receiver>
1.946 + <slot>addMemoryUnit()</slot>
1.947 + </connection>
1.948 + <connection>
1.949 + <sender>add_storage_unit</sender>
1.950 + <signal>clicked()</signal>
1.951 + <receiver>configuration</receiver>
1.952 + <slot>addStorageUnit()</slot>
1.953 + </connection>
1.954 + <connection>
1.955 + <sender>remove_hard_disk</sender>
1.956 + <signal>clicked()</signal>
1.957 + <receiver>configuration</receiver>
1.958 + <slot>removeHardDisk()</slot>
1.959 + </connection>
1.960 + <connection>
1.961 + <sender>remove_memory_unit</sender>
1.962 + <signal>clicked()</signal>
1.963 + <receiver>configuration</receiver>
1.964 + <slot>removeMemoryUnit()</slot>
1.965 + </connection>
1.966 + <connection>
1.967 + <sender>remove_storage_unit</sender>
1.968 + <signal>clicked()</signal>
1.969 + <receiver>configuration</receiver>
1.970 + <slot>removeStorageUnit()</slot>
1.971 + </connection>
1.972 + <connection>
1.973 + <sender>update</sender>
1.974 + <signal>clicked()</signal>
1.975 + <receiver>configuration</receiver>
1.976 + <slot>updateConfig()</slot>
1.977 + </connection>
1.978 + <connection>
1.979 + <sender>export</sender>
1.980 + <signal>clicked()</signal>
1.981 + <receiver>configuration</receiver>
1.982 + <slot>exportConfig()</slot>
1.983 + </connection>
1.984 +</connections>
1.985 +<slots>
1.986 + <slot>baseSystemChanged()</slot>
1.987 + <slot>removeMemoryUnit()</slot>
1.988 + <slot>addMemoryUnit()</slot>
1.989 + <slot>addStorageUnit()</slot>
1.990 + <slot>removeHardDisk()</slot>
1.991 + <slot>addHardDisk()</slot>
1.992 + <slot>removeStorageUnit()</slot>
1.993 + <slot>updateConfig()</slot>
1.994 + <slot>exportConfig()</slot>
1.995 +</slots>
1.996 <layoutdefaults spacing="6" margin="11"/>
1.997 </UI>