simple_mtglife

annotate mainwin.ui @ 0:6321cfa2ad62

initial
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 23 Jan 2015 15:24:27 +0200
parents
children d76fb2ffe7f5
rev   line source
nuclear@0 1 <?xml version="1.0" encoding="UTF-8"?>
nuclear@0 2 <ui version="4.0">
nuclear@0 3 <class>MainWin</class>
nuclear@0 4 <widget class="QMainWindow" name="MainWin">
nuclear@0 5 <property name="geometry">
nuclear@0 6 <rect>
nuclear@0 7 <x>0</x>
nuclear@0 8 <y>0</y>
nuclear@0 9 <width>623</width>
nuclear@0 10 <height>380</height>
nuclear@0 11 </rect>
nuclear@0 12 </property>
nuclear@0 13 <property name="windowTitle">
nuclear@0 14 <string>MainWin</string>
nuclear@0 15 </property>
nuclear@0 16 <widget class="QWidget" name="centralWidget">
nuclear@0 17 <layout class="QHBoxLayout" name="horizontalLayout_3">
nuclear@0 18 <item>
nuclear@0 19 <widget class="QGroupBox" name="groupBox">
nuclear@0 20 <property name="title">
nuclear@0 21 <string>Player 1</string>
nuclear@0 22 </property>
nuclear@0 23 <layout class="QHBoxLayout" name="horizontalLayout">
nuclear@0 24 <item>
nuclear@0 25 <layout class="QVBoxLayout" name="verticalLayout_2">
nuclear@0 26 <item>
nuclear@0 27 <spacer name="verticalSpacer">
nuclear@0 28 <property name="orientation">
nuclear@0 29 <enum>Qt::Vertical</enum>
nuclear@0 30 </property>
nuclear@0 31 <property name="sizeHint" stdset="0">
nuclear@0 32 <size>
nuclear@0 33 <width>20</width>
nuclear@0 34 <height>40</height>
nuclear@0 35 </size>
nuclear@0 36 </property>
nuclear@0 37 </spacer>
nuclear@0 38 </item>
nuclear@0 39 <item>
nuclear@0 40 <widget class="QPushButton" name="bn_p1_reset">
nuclear@0 41 <property name="sizePolicy">
nuclear@0 42 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 43 <horstretch>0</horstretch>
nuclear@0 44 <verstretch>0</verstretch>
nuclear@0 45 </sizepolicy>
nuclear@0 46 </property>
nuclear@0 47 <property name="text">
nuclear@0 48 <string>Reset</string>
nuclear@0 49 </property>
nuclear@0 50 </widget>
nuclear@0 51 </item>
nuclear@0 52 <item>
nuclear@0 53 <spacer name="verticalSpacer_2">
nuclear@0 54 <property name="orientation">
nuclear@0 55 <enum>Qt::Vertical</enum>
nuclear@0 56 </property>
nuclear@0 57 <property name="sizeHint" stdset="0">
nuclear@0 58 <size>
nuclear@0 59 <width>20</width>
nuclear@0 60 <height>40</height>
nuclear@0 61 </size>
nuclear@0 62 </property>
nuclear@0 63 </spacer>
nuclear@0 64 </item>
nuclear@0 65 </layout>
nuclear@0 66 </item>
nuclear@0 67 <item>
nuclear@0 68 <spacer name="horizontalSpacer">
nuclear@0 69 <property name="orientation">
nuclear@0 70 <enum>Qt::Horizontal</enum>
nuclear@0 71 </property>
nuclear@0 72 <property name="sizeHint" stdset="0">
nuclear@0 73 <size>
nuclear@0 74 <width>38</width>
nuclear@0 75 <height>20</height>
nuclear@0 76 </size>
nuclear@0 77 </property>
nuclear@0 78 </spacer>
nuclear@0 79 </item>
nuclear@0 80 <item>
nuclear@0 81 <layout class="QVBoxLayout" name="verticalLayout">
nuclear@0 82 <item>
nuclear@0 83 <widget class="QPushButton" name="bn_p1_inc10">
nuclear@0 84 <property name="font">
nuclear@0 85 <font>
nuclear@0 86 <pointsize>24</pointsize>
nuclear@0 87 </font>
nuclear@0 88 </property>
nuclear@0 89 <property name="text">
nuclear@0 90 <string>+10</string>
nuclear@0 91 </property>
nuclear@0 92 </widget>
nuclear@0 93 </item>
nuclear@0 94 <item>
nuclear@0 95 <widget class="QPushButton" name="bn_p1_inc">
nuclear@0 96 <property name="sizePolicy">
nuclear@0 97 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 98 <horstretch>0</horstretch>
nuclear@0 99 <verstretch>0</verstretch>
nuclear@0 100 </sizepolicy>
nuclear@0 101 </property>
nuclear@0 102 <property name="font">
nuclear@0 103 <font>
nuclear@0 104 <pointsize>24</pointsize>
nuclear@0 105 </font>
nuclear@0 106 </property>
nuclear@0 107 <property name="text">
nuclear@0 108 <string>+1</string>
nuclear@0 109 </property>
nuclear@0 110 </widget>
nuclear@0 111 </item>
nuclear@0 112 <item>
nuclear@0 113 <widget class="QSpinBox" name="spin_p1_life">
nuclear@0 114 <property name="sizePolicy">
nuclear@0 115 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 116 <horstretch>0</horstretch>
nuclear@0 117 <verstretch>0</verstretch>
nuclear@0 118 </sizepolicy>
nuclear@0 119 </property>
nuclear@0 120 <property name="font">
nuclear@0 121 <font>
nuclear@0 122 <pointsize>50</pointsize>
nuclear@0 123 </font>
nuclear@0 124 </property>
nuclear@0 125 <property name="frame">
nuclear@0 126 <bool>true</bool>
nuclear@0 127 </property>
nuclear@0 128 <property name="alignment">
nuclear@0 129 <set>Qt::AlignCenter</set>
nuclear@0 130 </property>
nuclear@0 131 <property name="readOnly">
nuclear@0 132 <bool>true</bool>
nuclear@0 133 </property>
nuclear@0 134 <property name="buttonSymbols">
nuclear@0 135 <enum>QAbstractSpinBox::NoButtons</enum>
nuclear@0 136 </property>
nuclear@0 137 <property name="minimum">
nuclear@0 138 <number>-99</number>
nuclear@0 139 </property>
nuclear@0 140 <property name="value">
nuclear@0 141 <number>20</number>
nuclear@0 142 </property>
nuclear@0 143 </widget>
nuclear@0 144 </item>
nuclear@0 145 <item>
nuclear@0 146 <widget class="QPushButton" name="bn_p1_dec">
nuclear@0 147 <property name="sizePolicy">
nuclear@0 148 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 149 <horstretch>0</horstretch>
nuclear@0 150 <verstretch>0</verstretch>
nuclear@0 151 </sizepolicy>
nuclear@0 152 </property>
nuclear@0 153 <property name="font">
nuclear@0 154 <font>
nuclear@0 155 <pointsize>24</pointsize>
nuclear@0 156 </font>
nuclear@0 157 </property>
nuclear@0 158 <property name="text">
nuclear@0 159 <string>-1</string>
nuclear@0 160 </property>
nuclear@0 161 </widget>
nuclear@0 162 </item>
nuclear@0 163 <item>
nuclear@0 164 <widget class="QPushButton" name="bn_p1_dec10">
nuclear@0 165 <property name="font">
nuclear@0 166 <font>
nuclear@0 167 <pointsize>24</pointsize>
nuclear@0 168 </font>
nuclear@0 169 </property>
nuclear@0 170 <property name="text">
nuclear@0 171 <string>-10</string>
nuclear@0 172 </property>
nuclear@0 173 </widget>
nuclear@0 174 </item>
nuclear@0 175 </layout>
nuclear@0 176 </item>
nuclear@0 177 </layout>
nuclear@0 178 </widget>
nuclear@0 179 </item>
nuclear@0 180 <item>
nuclear@0 181 <widget class="QGroupBox" name="groupBox_2">
nuclear@0 182 <property name="title">
nuclear@0 183 <string>Player 2</string>
nuclear@0 184 </property>
nuclear@0 185 <layout class="QHBoxLayout" name="horizontalLayout_2">
nuclear@0 186 <item>
nuclear@0 187 <layout class="QVBoxLayout" name="verticalLayout_3">
nuclear@0 188 <item>
nuclear@0 189 <spacer name="verticalSpacer_3">
nuclear@0 190 <property name="orientation">
nuclear@0 191 <enum>Qt::Vertical</enum>
nuclear@0 192 </property>
nuclear@0 193 <property name="sizeHint" stdset="0">
nuclear@0 194 <size>
nuclear@0 195 <width>20</width>
nuclear@0 196 <height>40</height>
nuclear@0 197 </size>
nuclear@0 198 </property>
nuclear@0 199 </spacer>
nuclear@0 200 </item>
nuclear@0 201 <item>
nuclear@0 202 <widget class="QPushButton" name="bn_p2_reset">
nuclear@0 203 <property name="sizePolicy">
nuclear@0 204 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 205 <horstretch>0</horstretch>
nuclear@0 206 <verstretch>0</verstretch>
nuclear@0 207 </sizepolicy>
nuclear@0 208 </property>
nuclear@0 209 <property name="text">
nuclear@0 210 <string>Reset</string>
nuclear@0 211 </property>
nuclear@0 212 </widget>
nuclear@0 213 </item>
nuclear@0 214 <item>
nuclear@0 215 <spacer name="verticalSpacer_4">
nuclear@0 216 <property name="orientation">
nuclear@0 217 <enum>Qt::Vertical</enum>
nuclear@0 218 </property>
nuclear@0 219 <property name="sizeHint" stdset="0">
nuclear@0 220 <size>
nuclear@0 221 <width>20</width>
nuclear@0 222 <height>40</height>
nuclear@0 223 </size>
nuclear@0 224 </property>
nuclear@0 225 </spacer>
nuclear@0 226 </item>
nuclear@0 227 </layout>
nuclear@0 228 </item>
nuclear@0 229 <item>
nuclear@0 230 <spacer name="horizontalSpacer_2">
nuclear@0 231 <property name="orientation">
nuclear@0 232 <enum>Qt::Horizontal</enum>
nuclear@0 233 </property>
nuclear@0 234 <property name="sizeHint" stdset="0">
nuclear@0 235 <size>
nuclear@0 236 <width>32</width>
nuclear@0 237 <height>20</height>
nuclear@0 238 </size>
nuclear@0 239 </property>
nuclear@0 240 </spacer>
nuclear@0 241 </item>
nuclear@0 242 <item>
nuclear@0 243 <layout class="QVBoxLayout" name="verticalLayout_4">
nuclear@0 244 <item>
nuclear@0 245 <widget class="QPushButton" name="bn_p2_inc10">
nuclear@0 246 <property name="font">
nuclear@0 247 <font>
nuclear@0 248 <pointsize>24</pointsize>
nuclear@0 249 </font>
nuclear@0 250 </property>
nuclear@0 251 <property name="text">
nuclear@0 252 <string>+10</string>
nuclear@0 253 </property>
nuclear@0 254 </widget>
nuclear@0 255 </item>
nuclear@0 256 <item>
nuclear@0 257 <widget class="QPushButton" name="bn_p2_inc">
nuclear@0 258 <property name="sizePolicy">
nuclear@0 259 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 260 <horstretch>0</horstretch>
nuclear@0 261 <verstretch>0</verstretch>
nuclear@0 262 </sizepolicy>
nuclear@0 263 </property>
nuclear@0 264 <property name="font">
nuclear@0 265 <font>
nuclear@0 266 <pointsize>24</pointsize>
nuclear@0 267 </font>
nuclear@0 268 </property>
nuclear@0 269 <property name="text">
nuclear@0 270 <string>+1</string>
nuclear@0 271 </property>
nuclear@0 272 </widget>
nuclear@0 273 </item>
nuclear@0 274 <item>
nuclear@0 275 <widget class="QSpinBox" name="spin_p2_life">
nuclear@0 276 <property name="sizePolicy">
nuclear@0 277 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 278 <horstretch>0</horstretch>
nuclear@0 279 <verstretch>0</verstretch>
nuclear@0 280 </sizepolicy>
nuclear@0 281 </property>
nuclear@0 282 <property name="font">
nuclear@0 283 <font>
nuclear@0 284 <pointsize>50</pointsize>
nuclear@0 285 </font>
nuclear@0 286 </property>
nuclear@0 287 <property name="frame">
nuclear@0 288 <bool>true</bool>
nuclear@0 289 </property>
nuclear@0 290 <property name="alignment">
nuclear@0 291 <set>Qt::AlignCenter</set>
nuclear@0 292 </property>
nuclear@0 293 <property name="readOnly">
nuclear@0 294 <bool>true</bool>
nuclear@0 295 </property>
nuclear@0 296 <property name="buttonSymbols">
nuclear@0 297 <enum>QAbstractSpinBox::NoButtons</enum>
nuclear@0 298 </property>
nuclear@0 299 <property name="minimum">
nuclear@0 300 <number>-99</number>
nuclear@0 301 </property>
nuclear@0 302 <property name="value">
nuclear@0 303 <number>20</number>
nuclear@0 304 </property>
nuclear@0 305 </widget>
nuclear@0 306 </item>
nuclear@0 307 <item>
nuclear@0 308 <widget class="QPushButton" name="bn_p2_dec">
nuclear@0 309 <property name="sizePolicy">
nuclear@0 310 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 311 <horstretch>0</horstretch>
nuclear@0 312 <verstretch>0</verstretch>
nuclear@0 313 </sizepolicy>
nuclear@0 314 </property>
nuclear@0 315 <property name="font">
nuclear@0 316 <font>
nuclear@0 317 <pointsize>24</pointsize>
nuclear@0 318 </font>
nuclear@0 319 </property>
nuclear@0 320 <property name="text">
nuclear@0 321 <string>-1</string>
nuclear@0 322 </property>
nuclear@0 323 </widget>
nuclear@0 324 </item>
nuclear@0 325 <item>
nuclear@0 326 <widget class="QPushButton" name="bn_p2_dec10">
nuclear@0 327 <property name="font">
nuclear@0 328 <font>
nuclear@0 329 <pointsize>24</pointsize>
nuclear@0 330 </font>
nuclear@0 331 </property>
nuclear@0 332 <property name="text">
nuclear@0 333 <string>-10</string>
nuclear@0 334 </property>
nuclear@0 335 </widget>
nuclear@0 336 </item>
nuclear@0 337 </layout>
nuclear@0 338 </item>
nuclear@0 339 </layout>
nuclear@0 340 </widget>
nuclear@0 341 </item>
nuclear@0 342 </layout>
nuclear@0 343 </widget>
nuclear@0 344 </widget>
nuclear@0 345 <layoutdefault spacing="6" margin="11"/>
nuclear@0 346 <resources/>
nuclear@0 347 <connections>
nuclear@0 348 <connection>
nuclear@0 349 <sender>bn_p1_dec</sender>
nuclear@0 350 <signal>clicked()</signal>
nuclear@0 351 <receiver>spin_p1_life</receiver>
nuclear@0 352 <slot>stepDown()</slot>
nuclear@0 353 <hints>
nuclear@0 354 <hint type="sourcelabel">
nuclear@0 355 <x>209</x>
nuclear@0 356 <y>277</y>
nuclear@0 357 </hint>
nuclear@0 358 <hint type="destinationlabel">
nuclear@0 359 <x>232</x>
nuclear@0 360 <y>196</y>
nuclear@0 361 </hint>
nuclear@0 362 </hints>
nuclear@0 363 </connection>
nuclear@0 364 <connection>
nuclear@0 365 <sender>bn_p1_inc</sender>
nuclear@0 366 <signal>clicked()</signal>
nuclear@0 367 <receiver>spin_p1_life</receiver>
nuclear@0 368 <slot>stepUp()</slot>
nuclear@0 369 <hints>
nuclear@0 370 <hint type="sourcelabel">
nuclear@0 371 <x>241</x>
nuclear@0 372 <y>131</y>
nuclear@0 373 </hint>
nuclear@0 374 <hint type="destinationlabel">
nuclear@0 375 <x>251</x>
nuclear@0 376 <y>181</y>
nuclear@0 377 </hint>
nuclear@0 378 </hints>
nuclear@0 379 </connection>
nuclear@0 380 <connection>
nuclear@0 381 <sender>bn_p2_dec</sender>
nuclear@0 382 <signal>clicked()</signal>
nuclear@0 383 <receiver>spin_p2_life</receiver>
nuclear@0 384 <slot>stepDown()</slot>
nuclear@0 385 <hints>
nuclear@0 386 <hint type="sourcelabel">
nuclear@0 387 <x>536</x>
nuclear@0 388 <y>252</y>
nuclear@0 389 </hint>
nuclear@0 390 <hint type="destinationlabel">
nuclear@0 391 <x>540</x>
nuclear@0 392 <y>190</y>
nuclear@0 393 </hint>
nuclear@0 394 </hints>
nuclear@0 395 </connection>
nuclear@0 396 <connection>
nuclear@0 397 <sender>bn_p2_inc</sender>
nuclear@0 398 <signal>clicked()</signal>
nuclear@0 399 <receiver>spin_p2_life</receiver>
nuclear@0 400 <slot>stepUp()</slot>
nuclear@0 401 <hints>
nuclear@0 402 <hint type="sourcelabel">
nuclear@0 403 <x>510</x>
nuclear@0 404 <y>135</y>
nuclear@0 405 </hint>
nuclear@0 406 <hint type="destinationlabel">
nuclear@0 407 <x>506</x>
nuclear@0 408 <y>189</y>
nuclear@0 409 </hint>
nuclear@0 410 </hints>
nuclear@0 411 </connection>
nuclear@0 412 </connections>
nuclear@0 413 </ui>