1.1 --- a/examples/Common/QtConfigurator/Resources/config.ui Fri Nov 21 01:43:30 2008 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,664 +0,0 @@
1.4 -<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
1.5 -<class>Configurator</class>
1.6 -<widget class="QWidget">
1.7 - <property name="name">
1.8 - <cstring>configuration</cstring>
1.9 - </property>
1.10 - <property name="geometry">
1.11 - <rect>
1.12 - <x>0</x>
1.13 - <y>0</y>
1.14 - <width>1013</width>
1.15 - <height>693</height>
1.16 - </rect>
1.17 - </property>
1.18 - <property name="caption">
1.19 - <string>Form1</string>
1.20 - </property>
1.21 - <grid>
1.22 - <property name="name">
1.23 - <cstring>unnamed</cstring>
1.24 - </property>
1.25 - <widget class="QLabel" row="0" column="0" rowspan="1" colspan="5">
1.26 - <property name="name">
1.27 - <cstring>textLabel1</cstring>
1.28 - </property>
1.29 - <property name="text">
1.30 - <string><h1>System Configurator</h1></string>
1.31 - </property>
1.32 - </widget>
1.33 - <widget class="QLabel" row="1" column="0" rowspan="1" colspan="3">
1.34 - <property name="name">
1.35 - <cstring>textLabel2</cstring>
1.36 - </property>
1.37 - <property name="text">
1.38 - <string><h2>Base System</h2></string>
1.39 - </property>
1.40 - </widget>
1.41 - <spacer row="1" column="3">
1.42 - <property name="name">
1.43 - <cstring>spacer11</cstring>
1.44 - </property>
1.45 - <property name="orientation">
1.46 - <enum>Horizontal</enum>
1.47 - </property>
1.48 - <property name="sizeType">
1.49 - <enum>Expanding</enum>
1.50 - </property>
1.51 - <property name="sizeHint">
1.52 - <size>
1.53 - <width>130</width>
1.54 - <height>20</height>
1.55 - </size>
1.56 - </property>
1.57 - </spacer>
1.58 - <widget class="QLabel" row="1" column="4" rowspan="1" colspan="3">
1.59 - <property name="name">
1.60 - <cstring>textLabel2_5</cstring>
1.61 - </property>
1.62 - <property name="text">
1.63 - <string><h2>Hard Disks</h2></string>
1.64 - </property>
1.65 - </widget>
1.66 - <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3">
1.67 - <item>
1.68 - <property name="text">
1.69 - <string>(Not selected)</string>
1.70 - </property>
1.71 - </item>
1.72 - <property name="name">
1.73 - <cstring>base_system</cstring>
1.74 - </property>
1.75 - </widget>
1.76 - <widget class="QLabel" row="2" column="0">
1.77 - <property name="name">
1.78 - <cstring>textLabel4</cstring>
1.79 - </property>
1.80 - <property name="text">
1.81 - <string>Model</string>
1.82 - </property>
1.83 - </widget>
1.84 - <spacer row="3" column="3">
1.85 - <property name="name">
1.86 - <cstring>spacer21</cstring>
1.87 - </property>
1.88 - <property name="orientation">
1.89 - <enum>Vertical</enum>
1.90 - </property>
1.91 - <property name="sizeType">
1.92 - <enum>Expanding</enum>
1.93 - </property>
1.94 - <property name="sizeHint">
1.95 - <size>
1.96 - <width>20</width>
1.97 - <height>30</height>
1.98 - </size>
1.99 - </property>
1.100 - </spacer>
1.101 - <widget class="QFrame" row="2" column="4" rowspan="2" colspan="3">
1.102 - <property name="name">
1.103 - <cstring>hard_disks</cstring>
1.104 - </property>
1.105 - <property name="frameShape">
1.106 - <enum>StyledPanel</enum>
1.107 - </property>
1.108 - <property name="frameShadow">
1.109 - <enum>Raised</enum>
1.110 - </property>
1.111 - <vbox>
1.112 - <property name="name">
1.113 - <cstring>unnamed</cstring>
1.114 - </property>
1.115 - <widget class="QFrame">
1.116 - <property name="name">
1.117 - <cstring>hard_disk</cstring>
1.118 - </property>
1.119 - <property name="frameShape">
1.120 - <enum>StyledPanel</enum>
1.121 - </property>
1.122 - <property name="frameShadow">
1.123 - <enum>Raised</enum>
1.124 - </property>
1.125 - <hbox>
1.126 - <property name="name">
1.127 - <cstring>unnamed</cstring>
1.128 - </property>
1.129 - <widget class="QLabel">
1.130 - <property name="name">
1.131 - <cstring>textLabel4_3_2</cstring>
1.132 - </property>
1.133 - <property name="text">
1.134 - <string>Hard disk drive</string>
1.135 - </property>
1.136 - </widget>
1.137 - <widget class="QComboBox">
1.138 - <item>
1.139 - <property name="text">
1.140 - <string>(Not selected)</string>
1.141 - </property>
1.142 - </item>
1.143 - <property name="name">
1.144 - <cstring>hard_disk_value</cstring>
1.145 - </property>
1.146 - </widget>
1.147 - <widget class="QPushButton">
1.148 - <property name="name">
1.149 - <cstring>remove_hard_disk</cstring>
1.150 - </property>
1.151 - <property name="text">
1.152 - <string>Remove</string>
1.153 - </property>
1.154 - </widget>
1.155 - </hbox>
1.156 - </widget>
1.157 - </vbox>
1.158 - </widget>
1.159 - <widget class="QComboBox" row="6" column="1" rowspan="1" colspan="3">
1.160 - <item>
1.161 - <property name="text">
1.162 - <string>(Not selected)</string>
1.163 - </property>
1.164 - </item>
1.165 - <property name="name">
1.166 - <cstring>cpu</cstring>
1.167 - </property>
1.168 - </widget>
1.169 - <spacer row="4" column="6">
1.170 - <property name="name">
1.171 - <cstring>spacer3</cstring>
1.172 - </property>
1.173 - <property name="orientation">
1.174 - <enum>Horizontal</enum>
1.175 - </property>
1.176 - <property name="sizeType">
1.177 - <enum>Expanding</enum>
1.178 - </property>
1.179 - <property name="sizeHint">
1.180 - <size>
1.181 - <width>230</width>
1.182 - <height>20</height>
1.183 - </size>
1.184 - </property>
1.185 - </spacer>
1.186 - <spacer row="4" column="0" rowspan="1" colspan="4">
1.187 - <property name="name">
1.188 - <cstring>spacer8</cstring>
1.189 - </property>
1.190 - <property name="orientation">
1.191 - <enum>Horizontal</enum>
1.192 - </property>
1.193 - <property name="sizeType">
1.194 - <enum>Expanding</enum>
1.195 - </property>
1.196 - <property name="sizeHint">
1.197 - <size>
1.198 - <width>350</width>
1.199 - <height>20</height>
1.200 - </size>
1.201 - </property>
1.202 - </spacer>
1.203 - <widget class="QLabel" row="6" column="0">
1.204 - <property name="name">
1.205 - <cstring>textLabel4_2</cstring>
1.206 - </property>
1.207 - <property name="text">
1.208 - <string>CPU</string>
1.209 - </property>
1.210 - </widget>
1.211 - <widget class="QPushButton" row="4" column="4" rowspan="1" colspan="2">
1.212 - <property name="name">
1.213 - <cstring>add_hard_disk</cstring>
1.214 - </property>
1.215 - <property name="text">
1.216 - <string>Add hard disk</string>
1.217 - </property>
1.218 - </widget>
1.219 - <widget class="QLabel" row="5" column="4" rowspan="1" colspan="3">
1.220 - <property name="name">
1.221 - <cstring>textLabel2_6</cstring>
1.222 - </property>
1.223 - <property name="text">
1.224 - <string><h2>Additional Storage</h2></string>
1.225 - </property>
1.226 - </widget>
1.227 - <widget class="QLabel" row="5" column="0" rowspan="1" colspan="3">
1.228 - <property name="name">
1.229 - <cstring>textLabel2_2</cstring>
1.230 - </property>
1.231 - <property name="text">
1.232 - <string><h2>Processor</h2></string>
1.233 - </property>
1.234 - </widget>
1.235 - <spacer row="7" column="3">
1.236 - <property name="name">
1.237 - <cstring>spacer22</cstring>
1.238 - </property>
1.239 - <property name="orientation">
1.240 - <enum>Vertical</enum>
1.241 - </property>
1.242 - <property name="sizeType">
1.243 - <enum>Expanding</enum>
1.244 - </property>
1.245 - <property name="sizeHint">
1.246 - <size>
1.247 - <width>20</width>
1.248 - <height>30</height>
1.249 - </size>
1.250 - </property>
1.251 - </spacer>
1.252 - <widget class="QLabel" row="9" column="0" rowspan="1" colspan="2">
1.253 - <property name="name">
1.254 - <cstring>textLabel2_3</cstring>
1.255 - </property>
1.256 - <property name="text">
1.257 - <string><h2>Memory</h2></string>
1.258 - </property>
1.259 - </widget>
1.260 - <widget class="QFrame" row="10" column="0" rowspan="1" colspan="4">
1.261 - <property name="name">
1.262 - <cstring>memory_units</cstring>
1.263 - </property>
1.264 - <property name="frameShape">
1.265 - <enum>StyledPanel</enum>
1.266 - </property>
1.267 - <property name="frameShadow">
1.268 - <enum>Raised</enum>
1.269 - </property>
1.270 - <vbox>
1.271 - <property name="name">
1.272 - <cstring>unnamed</cstring>
1.273 - </property>
1.274 - <widget class="QFrame">
1.275 - <property name="name">
1.276 - <cstring>memory_unit</cstring>
1.277 - </property>
1.278 - <property name="frameShape">
1.279 - <enum>StyledPanel</enum>
1.280 - </property>
1.281 - <property name="frameShadow">
1.282 - <enum>Raised</enum>
1.283 - </property>
1.284 - <hbox>
1.285 - <property name="name">
1.286 - <cstring>unnamed</cstring>
1.287 - </property>
1.288 - <widget class="QLabel">
1.289 - <property name="name">
1.290 - <cstring>textLabel4_3</cstring>
1.291 - </property>
1.292 - <property name="text">
1.293 - <string>Memory unit</string>
1.294 - </property>
1.295 - </widget>
1.296 - <widget class="QComboBox">
1.297 - <item>
1.298 - <property name="text">
1.299 - <string>(Not selected)</string>
1.300 - </property>
1.301 - </item>
1.302 - <property name="name">
1.303 - <cstring>memory_unit_value</cstring>
1.304 - </property>
1.305 - </widget>
1.306 - <widget class="QPushButton">
1.307 - <property name="name">
1.308 - <cstring>remove_memory_unit</cstring>
1.309 - </property>
1.310 - <property name="text">
1.311 - <string>Remove</string>
1.312 - </property>
1.313 - </widget>
1.314 - </hbox>
1.315 - </widget>
1.316 - </vbox>
1.317 - </widget>
1.318 - <widget class="QLabel" row="9" column="4" rowspan="1" colspan="3">
1.319 - <property name="name">
1.320 - <cstring>textLabel2_7</cstring>
1.321 - </property>
1.322 - <property name="text">
1.323 - <string><h2>Accessories</h2></string>
1.324 - </property>
1.325 - </widget>
1.326 - <widget class="QPushButton" row="8" column="4" rowspan="1" colspan="2">
1.327 - <property name="name">
1.328 - <cstring>add_storage_unit</cstring>
1.329 - </property>
1.330 - <property name="text">
1.331 - <string>Add storage</string>
1.332 - </property>
1.333 - </widget>
1.334 - <spacer row="8" column="6">
1.335 - <property name="name">
1.336 - <cstring>spacer4</cstring>
1.337 - </property>
1.338 - <property name="orientation">
1.339 - <enum>Horizontal</enum>
1.340 - </property>
1.341 - <property name="sizeType">
1.342 - <enum>Expanding</enum>
1.343 - </property>
1.344 - <property name="sizeHint">
1.345 - <size>
1.346 - <width>230</width>
1.347 - <height>20</height>
1.348 - </size>
1.349 - </property>
1.350 - </spacer>
1.351 - <spacer row="8" column="0" rowspan="1" colspan="4">
1.352 - <property name="name">
1.353 - <cstring>spacer9</cstring>
1.354 - </property>
1.355 - <property name="orientation">
1.356 - <enum>Horizontal</enum>
1.357 - </property>
1.358 - <property name="sizeType">
1.359 - <enum>Expanding</enum>
1.360 - </property>
1.361 - <property name="sizeHint">
1.362 - <size>
1.363 - <width>350</width>
1.364 - <height>20</height>
1.365 - </size>
1.366 - </property>
1.367 - </spacer>
1.368 - <widget class="QLabel" row="13" column="4">
1.369 - <property name="name">
1.370 - <cstring>textLabel4_2_2</cstring>
1.371 - </property>
1.372 - <property name="text">
1.373 - <string>Keyboard</string>
1.374 - </property>
1.375 - </widget>
1.376 - <spacer row="14" column="3">
1.377 - <property name="name">
1.378 - <cstring>spacer6</cstring>
1.379 - </property>
1.380 - <property name="orientation">
1.381 - <enum>Horizontal</enum>
1.382 - </property>
1.383 - <property name="sizeType">
1.384 - <enum>Expanding</enum>
1.385 - </property>
1.386 - <property name="sizeHint">
1.387 - <size>
1.388 - <width>40</width>
1.389 - <height>20</height>
1.390 - </size>
1.391 - </property>
1.392 - </spacer>
1.393 - <widget class="QComboBox" row="16" column="5" rowspan="1" colspan="2">
1.394 - <item>
1.395 - <property name="text">
1.396 - <string>(Not selected)</string>
1.397 - </property>
1.398 - </item>
1.399 - <property name="name">
1.400 - <cstring>screen</cstring>
1.401 - </property>
1.402 - </widget>
1.403 - <widget class="QLabel" row="12" column="0">
1.404 - <property name="name">
1.405 - <cstring>textLabel2_4</cstring>
1.406 - </property>
1.407 - <property name="text">
1.408 - <string><h2>Price</h2></string>
1.409 - </property>
1.410 - </widget>
1.411 - <widget class="QPushButton" row="14" column="1" rowspan="1" colspan="2">
1.412 - <property name="name">
1.413 - <cstring>export</cstring>
1.414 - </property>
1.415 - <property name="text">
1.416 - <string>Export</string>
1.417 - </property>
1.418 - </widget>
1.419 - <spacer row="15" column="0" rowspan="2" colspan="4">
1.420 - <property name="name">
1.421 - <cstring>spacer10</cstring>
1.422 - </property>
1.423 - <property name="orientation">
1.424 - <enum>Horizontal</enum>
1.425 - </property>
1.426 - <property name="sizeType">
1.427 - <enum>Expanding</enum>
1.428 - </property>
1.429 - <property name="sizeHint">
1.430 - <size>
1.431 - <width>346</width>
1.432 - <height>60</height>
1.433 - </size>
1.434 - </property>
1.435 - </spacer>
1.436 - <widget class="QPushButton" row="11" column="0" rowspan="1" colspan="2">
1.437 - <property name="name">
1.438 - <cstring>add_memory_unit</cstring>
1.439 - </property>
1.440 - <property name="text">
1.441 - <string>Add memory</string>
1.442 - </property>
1.443 - </widget>
1.444 - <widget class="QLabel" row="14" column="4">
1.445 - <property name="name">
1.446 - <cstring>textLabel4_2_3</cstring>
1.447 - </property>
1.448 - <property name="text">
1.449 - <string>Mouse</string>
1.450 - </property>
1.451 - </widget>
1.452 - <widget class="QLabel" row="15" column="4" rowspan="1" colspan="2">
1.453 - <property name="name">
1.454 - <cstring>textLabel2_9</cstring>
1.455 - </property>
1.456 - <property name="text">
1.457 - <string><h2>Display</h2></string>
1.458 - </property>
1.459 - </widget>
1.460 - <spacer row="11" column="2" rowspan="1" colspan="2">
1.461 - <property name="name">
1.462 - <cstring>spacer5</cstring>
1.463 - </property>
1.464 - <property name="orientation">
1.465 - <enum>Horizontal</enum>
1.466 - </property>
1.467 - <property name="sizeType">
1.468 - <enum>Expanding</enum>
1.469 - </property>
1.470 - <property name="sizeHint">
1.471 - <size>
1.472 - <width>180</width>
1.473 - <height>20</height>
1.474 - </size>
1.475 - </property>
1.476 - </spacer>
1.477 - <widget class="QComboBox" row="13" column="5" rowspan="1" colspan="2">
1.478 - <item>
1.479 - <property name="text">
1.480 - <string>(Not selected)</string>
1.481 - </property>
1.482 - </item>
1.483 - <property name="name">
1.484 - <cstring>keyboard</cstring>
1.485 - </property>
1.486 - </widget>
1.487 - <widget class="QLabel" row="16" column="4">
1.488 - <property name="name">
1.489 - <cstring>textLabel4_2_4</cstring>
1.490 - </property>
1.491 - <property name="text">
1.492 - <string>Screen</string>
1.493 - </property>
1.494 - </widget>
1.495 - <widget class="QPushButton" row="14" column="0">
1.496 - <property name="name">
1.497 - <cstring>update</cstring>
1.498 - </property>
1.499 - <property name="text">
1.500 - <string>Update</string>
1.501 - </property>
1.502 - </widget>
1.503 - <widget class="QLabel" row="12" column="4" rowspan="1" colspan="3">
1.504 - <property name="name">
1.505 - <cstring>textLabel2_8</cstring>
1.506 - </property>
1.507 - <property name="text">
1.508 - <string><h2>Input Devices</h2></string>
1.509 - </property>
1.510 - </widget>
1.511 - <widget class="QLabel" row="13" column="0" rowspan="1" colspan="4">
1.512 - <property name="name">
1.513 - <cstring>textLabel4_2_4_2</cstring>
1.514 - </property>
1.515 - <property name="text">
1.516 - <string>Total for this configuration: 0</string>
1.517 - </property>
1.518 - </widget>
1.519 - <widget class="QComboBox" row="14" column="5" rowspan="1" colspan="2">
1.520 - <item>
1.521 - <property name="text">
1.522 - <string>(Not selected)</string>
1.523 - </property>
1.524 - </item>
1.525 - <property name="name">
1.526 - <cstring>mouse</cstring>
1.527 - </property>
1.528 - </widget>
1.529 - <widget class="QListBox" row="10" column="4" rowspan="2" colspan="2">
1.530 - <item>
1.531 - <property name="text">
1.532 - <string>(Not selected)</string>
1.533 - </property>
1.534 - </item>
1.535 - <property name="name">
1.536 - <cstring>accessories</cstring>
1.537 - </property>
1.538 - </widget>
1.539 - <widget class="QFrame" row="6" column="4" rowspan="2" colspan="3">
1.540 - <property name="name">
1.541 - <cstring>storage_units</cstring>
1.542 - </property>
1.543 - <property name="frameShape">
1.544 - <enum>StyledPanel</enum>
1.545 - </property>
1.546 - <property name="frameShadow">
1.547 - <enum>Raised</enum>
1.548 - </property>
1.549 - <vbox>
1.550 - <property name="name">
1.551 - <cstring>unnamed</cstring>
1.552 - </property>
1.553 - <widget class="QFrame">
1.554 - <property name="name">
1.555 - <cstring>storage_unit</cstring>
1.556 - </property>
1.557 - <property name="frameShape">
1.558 - <enum>StyledPanel</enum>
1.559 - </property>
1.560 - <property name="frameShadow">
1.561 - <enum>Raised</enum>
1.562 - </property>
1.563 - <hbox>
1.564 - <property name="name">
1.565 - <cstring>unnamed</cstring>
1.566 - </property>
1.567 - <widget class="QLabel">
1.568 - <property name="name">
1.569 - <cstring>textLabel4_3_2_2</cstring>
1.570 - </property>
1.571 - <property name="text">
1.572 - <string>Storage unit</string>
1.573 - </property>
1.574 - </widget>
1.575 - <widget class="QComboBox">
1.576 - <item>
1.577 - <property name="text">
1.578 - <string>(Not selected)</string>
1.579 - </property>
1.580 - </item>
1.581 - <property name="name">
1.582 - <cstring>storage_unit_value</cstring>
1.583 - </property>
1.584 - </widget>
1.585 - <widget class="QPushButton">
1.586 - <property name="name">
1.587 - <cstring>remove_storage_unit</cstring>
1.588 - </property>
1.589 - <property name="text">
1.590 - <string>Remove</string>
1.591 - </property>
1.592 - </widget>
1.593 - </hbox>
1.594 - </widget>
1.595 - </vbox>
1.596 - </widget>
1.597 - </grid>
1.598 -</widget>
1.599 -<connections>
1.600 - <connection>
1.601 - <sender>base_system</sender>
1.602 - <signal>activated(const QString&)</signal>
1.603 - <receiver>configuration</receiver>
1.604 - <slot>baseSystemChanged(const QString&)</slot>
1.605 - </connection>
1.606 - <connection>
1.607 - <sender>add_hard_disk</sender>
1.608 - <signal>clicked()</signal>
1.609 - <receiver>configuration</receiver>
1.610 - <slot>addHardDisk()</slot>
1.611 - </connection>
1.612 - <connection>
1.613 - <sender>add_memory_unit</sender>
1.614 - <signal>clicked()</signal>
1.615 - <receiver>configuration</receiver>
1.616 - <slot>addMemoryUnit()</slot>
1.617 - </connection>
1.618 - <connection>
1.619 - <sender>add_storage_unit</sender>
1.620 - <signal>clicked()</signal>
1.621 - <receiver>configuration</receiver>
1.622 - <slot>addStorageUnit()</slot>
1.623 - </connection>
1.624 - <connection>
1.625 - <sender>remove_hard_disk</sender>
1.626 - <signal>clicked()</signal>
1.627 - <receiver>configuration</receiver>
1.628 - <slot>removeHardDisk()</slot>
1.629 - </connection>
1.630 - <connection>
1.631 - <sender>remove_memory_unit</sender>
1.632 - <signal>clicked()</signal>
1.633 - <receiver>configuration</receiver>
1.634 - <slot>removeMemoryUnit()</slot>
1.635 - </connection>
1.636 - <connection>
1.637 - <sender>remove_storage_unit</sender>
1.638 - <signal>clicked()</signal>
1.639 - <receiver>configuration</receiver>
1.640 - <slot>removeStorageUnit()</slot>
1.641 - </connection>
1.642 - <connection>
1.643 - <sender>update</sender>
1.644 - <signal>clicked()</signal>
1.645 - <receiver>configuration</receiver>
1.646 - <slot>updateConfig()</slot>
1.647 - </connection>
1.648 - <connection>
1.649 - <sender>export</sender>
1.650 - <signal>clicked()</signal>
1.651 - <receiver>configuration</receiver>
1.652 - <slot>exportConfig()</slot>
1.653 - </connection>
1.654 -</connections>
1.655 -<slots>
1.656 - <slot>baseSystemChanged(const QString&)</slot>
1.657 - <slot>removeMemoryUnit()</slot>
1.658 - <slot>addMemoryUnit()</slot>
1.659 - <slot>addStorageUnit()</slot>
1.660 - <slot>removeHardDisk()</slot>
1.661 - <slot>addHardDisk()</slot>
1.662 - <slot>removeStorageUnit()</slot>
1.663 - <slot>updateConfig()</slot>
1.664 - <slot>exportConfig()</slot>
1.665 -</slots>
1.666 -<layoutdefaults spacing="6" margin="11"/>
1.667 -</UI>