simple_mtglife

annotate mainwin.ui @ 2:b01c1fd6f38c

add high res icon
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 26 Jan 2015 03:47:04 +0200
parents 6321cfa2ad62
children 7cac97dca573
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@1 16 <property name="windowIcon">
nuclear@1 17 <iconset resource="resources.qrc">
nuclear@1 18 <normaloff>:/data/icon-96px.png</normaloff>:/data/icon-96px.png</iconset>
nuclear@1 19 </property>
nuclear@0 20 <widget class="QWidget" name="centralWidget">
nuclear@0 21 <layout class="QHBoxLayout" name="horizontalLayout_3">
nuclear@0 22 <item>
nuclear@0 23 <widget class="QGroupBox" name="groupBox">
nuclear@0 24 <property name="title">
nuclear@0 25 <string>Player 1</string>
nuclear@0 26 </property>
nuclear@0 27 <layout class="QHBoxLayout" name="horizontalLayout">
nuclear@0 28 <item>
nuclear@0 29 <layout class="QVBoxLayout" name="verticalLayout_2">
nuclear@0 30 <item>
nuclear@0 31 <spacer name="verticalSpacer">
nuclear@0 32 <property name="orientation">
nuclear@0 33 <enum>Qt::Vertical</enum>
nuclear@0 34 </property>
nuclear@0 35 <property name="sizeHint" stdset="0">
nuclear@0 36 <size>
nuclear@0 37 <width>20</width>
nuclear@0 38 <height>40</height>
nuclear@0 39 </size>
nuclear@0 40 </property>
nuclear@0 41 </spacer>
nuclear@0 42 </item>
nuclear@0 43 <item>
nuclear@0 44 <widget class="QPushButton" name="bn_p1_reset">
nuclear@0 45 <property name="sizePolicy">
nuclear@0 46 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 47 <horstretch>0</horstretch>
nuclear@0 48 <verstretch>0</verstretch>
nuclear@0 49 </sizepolicy>
nuclear@0 50 </property>
nuclear@1 51 <property name="font">
nuclear@1 52 <font>
nuclear@1 53 <pointsize>20</pointsize>
nuclear@1 54 </font>
nuclear@1 55 </property>
nuclear@1 56 <property name="focusPolicy">
nuclear@1 57 <enum>Qt::NoFocus</enum>
nuclear@1 58 </property>
nuclear@0 59 <property name="text">
nuclear@0 60 <string>Reset</string>
nuclear@0 61 </property>
nuclear@0 62 </widget>
nuclear@0 63 </item>
nuclear@0 64 <item>
nuclear@0 65 <spacer name="verticalSpacer_2">
nuclear@0 66 <property name="orientation">
nuclear@0 67 <enum>Qt::Vertical</enum>
nuclear@0 68 </property>
nuclear@0 69 <property name="sizeHint" stdset="0">
nuclear@0 70 <size>
nuclear@0 71 <width>20</width>
nuclear@0 72 <height>40</height>
nuclear@0 73 </size>
nuclear@0 74 </property>
nuclear@0 75 </spacer>
nuclear@0 76 </item>
nuclear@0 77 </layout>
nuclear@0 78 </item>
nuclear@0 79 <item>
nuclear@0 80 <spacer name="horizontalSpacer">
nuclear@0 81 <property name="orientation">
nuclear@0 82 <enum>Qt::Horizontal</enum>
nuclear@0 83 </property>
nuclear@0 84 <property name="sizeHint" stdset="0">
nuclear@0 85 <size>
nuclear@0 86 <width>38</width>
nuclear@0 87 <height>20</height>
nuclear@0 88 </size>
nuclear@0 89 </property>
nuclear@0 90 </spacer>
nuclear@0 91 </item>
nuclear@0 92 <item>
nuclear@0 93 <layout class="QVBoxLayout" name="verticalLayout">
nuclear@0 94 <item>
nuclear@0 95 <widget class="QPushButton" name="bn_p1_inc10">
nuclear@0 96 <property name="font">
nuclear@0 97 <font>
nuclear@1 98 <pointsize>20</pointsize>
nuclear@0 99 </font>
nuclear@0 100 </property>
nuclear@1 101 <property name="focusPolicy">
nuclear@1 102 <enum>Qt::NoFocus</enum>
nuclear@1 103 </property>
nuclear@0 104 <property name="text">
nuclear@0 105 <string>+10</string>
nuclear@0 106 </property>
nuclear@0 107 </widget>
nuclear@0 108 </item>
nuclear@0 109 <item>
nuclear@0 110 <widget class="QPushButton" name="bn_p1_inc">
nuclear@0 111 <property name="sizePolicy">
nuclear@0 112 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 113 <horstretch>0</horstretch>
nuclear@0 114 <verstretch>0</verstretch>
nuclear@0 115 </sizepolicy>
nuclear@0 116 </property>
nuclear@0 117 <property name="font">
nuclear@0 118 <font>
nuclear@1 119 <pointsize>20</pointsize>
nuclear@0 120 </font>
nuclear@0 121 </property>
nuclear@1 122 <property name="focusPolicy">
nuclear@1 123 <enum>Qt::NoFocus</enum>
nuclear@1 124 </property>
nuclear@0 125 <property name="text">
nuclear@0 126 <string>+1</string>
nuclear@0 127 </property>
nuclear@0 128 </widget>
nuclear@0 129 </item>
nuclear@0 130 <item>
nuclear@0 131 <widget class="QSpinBox" name="spin_p1_life">
nuclear@0 132 <property name="sizePolicy">
nuclear@0 133 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 134 <horstretch>0</horstretch>
nuclear@0 135 <verstretch>0</verstretch>
nuclear@0 136 </sizepolicy>
nuclear@0 137 </property>
nuclear@0 138 <property name="font">
nuclear@0 139 <font>
nuclear@1 140 <pointsize>40</pointsize>
nuclear@0 141 </font>
nuclear@0 142 </property>
nuclear@1 143 <property name="focusPolicy">
nuclear@1 144 <enum>Qt::NoFocus</enum>
nuclear@1 145 </property>
nuclear@0 146 <property name="frame">
nuclear@0 147 <bool>true</bool>
nuclear@0 148 </property>
nuclear@0 149 <property name="alignment">
nuclear@0 150 <set>Qt::AlignCenter</set>
nuclear@0 151 </property>
nuclear@0 152 <property name="readOnly">
nuclear@0 153 <bool>true</bool>
nuclear@0 154 </property>
nuclear@0 155 <property name="buttonSymbols">
nuclear@0 156 <enum>QAbstractSpinBox::NoButtons</enum>
nuclear@0 157 </property>
nuclear@0 158 <property name="minimum">
nuclear@0 159 <number>-99</number>
nuclear@0 160 </property>
nuclear@0 161 <property name="value">
nuclear@0 162 <number>20</number>
nuclear@0 163 </property>
nuclear@0 164 </widget>
nuclear@0 165 </item>
nuclear@0 166 <item>
nuclear@0 167 <widget class="QPushButton" name="bn_p1_dec">
nuclear@0 168 <property name="sizePolicy">
nuclear@0 169 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 170 <horstretch>0</horstretch>
nuclear@0 171 <verstretch>0</verstretch>
nuclear@0 172 </sizepolicy>
nuclear@0 173 </property>
nuclear@0 174 <property name="font">
nuclear@0 175 <font>
nuclear@1 176 <pointsize>20</pointsize>
nuclear@0 177 </font>
nuclear@0 178 </property>
nuclear@1 179 <property name="focusPolicy">
nuclear@1 180 <enum>Qt::NoFocus</enum>
nuclear@1 181 </property>
nuclear@0 182 <property name="text">
nuclear@0 183 <string>-1</string>
nuclear@0 184 </property>
nuclear@0 185 </widget>
nuclear@0 186 </item>
nuclear@0 187 <item>
nuclear@0 188 <widget class="QPushButton" name="bn_p1_dec10">
nuclear@0 189 <property name="font">
nuclear@0 190 <font>
nuclear@1 191 <pointsize>20</pointsize>
nuclear@0 192 </font>
nuclear@0 193 </property>
nuclear@1 194 <property name="focusPolicy">
nuclear@1 195 <enum>Qt::NoFocus</enum>
nuclear@1 196 </property>
nuclear@0 197 <property name="text">
nuclear@0 198 <string>-10</string>
nuclear@0 199 </property>
nuclear@0 200 </widget>
nuclear@0 201 </item>
nuclear@0 202 </layout>
nuclear@0 203 </item>
nuclear@0 204 </layout>
nuclear@0 205 </widget>
nuclear@0 206 </item>
nuclear@0 207 <item>
nuclear@0 208 <widget class="QGroupBox" name="groupBox_2">
nuclear@0 209 <property name="title">
nuclear@0 210 <string>Player 2</string>
nuclear@0 211 </property>
nuclear@0 212 <layout class="QHBoxLayout" name="horizontalLayout_2">
nuclear@0 213 <item>
nuclear@0 214 <layout class="QVBoxLayout" name="verticalLayout_3">
nuclear@0 215 <item>
nuclear@0 216 <spacer name="verticalSpacer_3">
nuclear@0 217 <property name="orientation">
nuclear@0 218 <enum>Qt::Vertical</enum>
nuclear@0 219 </property>
nuclear@0 220 <property name="sizeHint" stdset="0">
nuclear@0 221 <size>
nuclear@0 222 <width>20</width>
nuclear@0 223 <height>40</height>
nuclear@0 224 </size>
nuclear@0 225 </property>
nuclear@0 226 </spacer>
nuclear@0 227 </item>
nuclear@0 228 <item>
nuclear@0 229 <widget class="QPushButton" name="bn_p2_reset">
nuclear@0 230 <property name="sizePolicy">
nuclear@0 231 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 232 <horstretch>0</horstretch>
nuclear@0 233 <verstretch>0</verstretch>
nuclear@0 234 </sizepolicy>
nuclear@0 235 </property>
nuclear@1 236 <property name="font">
nuclear@1 237 <font>
nuclear@1 238 <pointsize>20</pointsize>
nuclear@1 239 </font>
nuclear@1 240 </property>
nuclear@1 241 <property name="focusPolicy">
nuclear@1 242 <enum>Qt::NoFocus</enum>
nuclear@1 243 </property>
nuclear@0 244 <property name="text">
nuclear@0 245 <string>Reset</string>
nuclear@0 246 </property>
nuclear@0 247 </widget>
nuclear@0 248 </item>
nuclear@0 249 <item>
nuclear@0 250 <spacer name="verticalSpacer_4">
nuclear@0 251 <property name="orientation">
nuclear@0 252 <enum>Qt::Vertical</enum>
nuclear@0 253 </property>
nuclear@0 254 <property name="sizeHint" stdset="0">
nuclear@0 255 <size>
nuclear@0 256 <width>20</width>
nuclear@0 257 <height>40</height>
nuclear@0 258 </size>
nuclear@0 259 </property>
nuclear@0 260 </spacer>
nuclear@0 261 </item>
nuclear@0 262 </layout>
nuclear@0 263 </item>
nuclear@0 264 <item>
nuclear@0 265 <spacer name="horizontalSpacer_2">
nuclear@0 266 <property name="orientation">
nuclear@0 267 <enum>Qt::Horizontal</enum>
nuclear@0 268 </property>
nuclear@0 269 <property name="sizeHint" stdset="0">
nuclear@0 270 <size>
nuclear@0 271 <width>32</width>
nuclear@0 272 <height>20</height>
nuclear@0 273 </size>
nuclear@0 274 </property>
nuclear@0 275 </spacer>
nuclear@0 276 </item>
nuclear@0 277 <item>
nuclear@0 278 <layout class="QVBoxLayout" name="verticalLayout_4">
nuclear@0 279 <item>
nuclear@0 280 <widget class="QPushButton" name="bn_p2_inc10">
nuclear@0 281 <property name="font">
nuclear@0 282 <font>
nuclear@1 283 <pointsize>20</pointsize>
nuclear@0 284 </font>
nuclear@0 285 </property>
nuclear@1 286 <property name="focusPolicy">
nuclear@1 287 <enum>Qt::NoFocus</enum>
nuclear@1 288 </property>
nuclear@0 289 <property name="text">
nuclear@0 290 <string>+10</string>
nuclear@0 291 </property>
nuclear@0 292 </widget>
nuclear@0 293 </item>
nuclear@0 294 <item>
nuclear@0 295 <widget class="QPushButton" name="bn_p2_inc">
nuclear@0 296 <property name="sizePolicy">
nuclear@0 297 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 298 <horstretch>0</horstretch>
nuclear@0 299 <verstretch>0</verstretch>
nuclear@0 300 </sizepolicy>
nuclear@0 301 </property>
nuclear@0 302 <property name="font">
nuclear@0 303 <font>
nuclear@1 304 <pointsize>20</pointsize>
nuclear@0 305 </font>
nuclear@0 306 </property>
nuclear@1 307 <property name="focusPolicy">
nuclear@1 308 <enum>Qt::NoFocus</enum>
nuclear@1 309 </property>
nuclear@0 310 <property name="text">
nuclear@0 311 <string>+1</string>
nuclear@0 312 </property>
nuclear@0 313 </widget>
nuclear@0 314 </item>
nuclear@0 315 <item>
nuclear@0 316 <widget class="QSpinBox" name="spin_p2_life">
nuclear@0 317 <property name="sizePolicy">
nuclear@0 318 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 319 <horstretch>0</horstretch>
nuclear@0 320 <verstretch>0</verstretch>
nuclear@0 321 </sizepolicy>
nuclear@0 322 </property>
nuclear@0 323 <property name="font">
nuclear@0 324 <font>
nuclear@1 325 <pointsize>40</pointsize>
nuclear@0 326 </font>
nuclear@0 327 </property>
nuclear@1 328 <property name="focusPolicy">
nuclear@1 329 <enum>Qt::NoFocus</enum>
nuclear@1 330 </property>
nuclear@0 331 <property name="frame">
nuclear@0 332 <bool>true</bool>
nuclear@0 333 </property>
nuclear@0 334 <property name="alignment">
nuclear@0 335 <set>Qt::AlignCenter</set>
nuclear@0 336 </property>
nuclear@0 337 <property name="readOnly">
nuclear@0 338 <bool>true</bool>
nuclear@0 339 </property>
nuclear@0 340 <property name="buttonSymbols">
nuclear@0 341 <enum>QAbstractSpinBox::NoButtons</enum>
nuclear@0 342 </property>
nuclear@0 343 <property name="minimum">
nuclear@0 344 <number>-99</number>
nuclear@0 345 </property>
nuclear@0 346 <property name="value">
nuclear@0 347 <number>20</number>
nuclear@0 348 </property>
nuclear@0 349 </widget>
nuclear@0 350 </item>
nuclear@0 351 <item>
nuclear@0 352 <widget class="QPushButton" name="bn_p2_dec">
nuclear@0 353 <property name="sizePolicy">
nuclear@0 354 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
nuclear@0 355 <horstretch>0</horstretch>
nuclear@0 356 <verstretch>0</verstretch>
nuclear@0 357 </sizepolicy>
nuclear@0 358 </property>
nuclear@0 359 <property name="font">
nuclear@0 360 <font>
nuclear@1 361 <pointsize>20</pointsize>
nuclear@0 362 </font>
nuclear@0 363 </property>
nuclear@1 364 <property name="focusPolicy">
nuclear@1 365 <enum>Qt::NoFocus</enum>
nuclear@1 366 </property>
nuclear@0 367 <property name="text">
nuclear@0 368 <string>-1</string>
nuclear@0 369 </property>
nuclear@0 370 </widget>
nuclear@0 371 </item>
nuclear@0 372 <item>
nuclear@0 373 <widget class="QPushButton" name="bn_p2_dec10">
nuclear@0 374 <property name="font">
nuclear@0 375 <font>
nuclear@1 376 <pointsize>20</pointsize>
nuclear@0 377 </font>
nuclear@0 378 </property>
nuclear@1 379 <property name="focusPolicy">
nuclear@1 380 <enum>Qt::NoFocus</enum>
nuclear@1 381 </property>
nuclear@0 382 <property name="text">
nuclear@0 383 <string>-10</string>
nuclear@0 384 </property>
nuclear@0 385 </widget>
nuclear@0 386 </item>
nuclear@0 387 </layout>
nuclear@0 388 </item>
nuclear@0 389 </layout>
nuclear@0 390 </widget>
nuclear@0 391 </item>
nuclear@0 392 </layout>
nuclear@0 393 </widget>
nuclear@1 394 <widget class="QMenuBar" name="menuBar">
nuclear@1 395 <property name="geometry">
nuclear@1 396 <rect>
nuclear@1 397 <x>0</x>
nuclear@1 398 <y>0</y>
nuclear@1 399 <width>623</width>
nuclear@1 400 <height>20</height>
nuclear@1 401 </rect>
nuclear@1 402 </property>
nuclear@1 403 <widget class="QMenu" name="menu_file">
nuclear@1 404 <property name="title">
nuclear@1 405 <string>&amp;File</string>
nuclear@1 406 </property>
nuclear@1 407 <addaction name="action_reset"/>
nuclear@1 408 <addaction name="separator"/>
nuclear@1 409 <addaction name="action_quit"/>
nuclear@1 410 </widget>
nuclear@1 411 <widget class="QMenu" name="menu_Help">
nuclear@1 412 <property name="title">
nuclear@1 413 <string>&amp;Help</string>
nuclear@1 414 </property>
nuclear@1 415 <addaction name="action_about"/>
nuclear@1 416 </widget>
nuclear@1 417 <addaction name="menu_file"/>
nuclear@1 418 <addaction name="menu_Help"/>
nuclear@1 419 </widget>
nuclear@1 420 <action name="action_reset">
nuclear@1 421 <property name="text">
nuclear@1 422 <string>&amp;Reset</string>
nuclear@1 423 </property>
nuclear@1 424 </action>
nuclear@1 425 <action name="action_quit">
nuclear@1 426 <property name="text">
nuclear@1 427 <string>&amp;Quit</string>
nuclear@1 428 </property>
nuclear@1 429 </action>
nuclear@1 430 <action name="action_about">
nuclear@1 431 <property name="text">
nuclear@1 432 <string>&amp;About</string>
nuclear@1 433 </property>
nuclear@1 434 </action>
nuclear@0 435 </widget>
nuclear@0 436 <layoutdefault spacing="6" margin="11"/>
nuclear@1 437 <resources>
nuclear@1 438 <include location="resources.qrc"/>
nuclear@1 439 </resources>
nuclear@0 440 <connections>
nuclear@0 441 <connection>
nuclear@0 442 <sender>bn_p1_dec</sender>
nuclear@0 443 <signal>clicked()</signal>
nuclear@0 444 <receiver>spin_p1_life</receiver>
nuclear@0 445 <slot>stepDown()</slot>
nuclear@0 446 <hints>
nuclear@0 447 <hint type="sourcelabel">
nuclear@0 448 <x>209</x>
nuclear@0 449 <y>277</y>
nuclear@0 450 </hint>
nuclear@0 451 <hint type="destinationlabel">
nuclear@0 452 <x>232</x>
nuclear@0 453 <y>196</y>
nuclear@0 454 </hint>
nuclear@0 455 </hints>
nuclear@0 456 </connection>
nuclear@0 457 <connection>
nuclear@0 458 <sender>bn_p1_inc</sender>
nuclear@0 459 <signal>clicked()</signal>
nuclear@0 460 <receiver>spin_p1_life</receiver>
nuclear@0 461 <slot>stepUp()</slot>
nuclear@0 462 <hints>
nuclear@0 463 <hint type="sourcelabel">
nuclear@0 464 <x>241</x>
nuclear@0 465 <y>131</y>
nuclear@0 466 </hint>
nuclear@0 467 <hint type="destinationlabel">
nuclear@0 468 <x>251</x>
nuclear@0 469 <y>181</y>
nuclear@0 470 </hint>
nuclear@0 471 </hints>
nuclear@0 472 </connection>
nuclear@0 473 <connection>
nuclear@0 474 <sender>bn_p2_dec</sender>
nuclear@0 475 <signal>clicked()</signal>
nuclear@0 476 <receiver>spin_p2_life</receiver>
nuclear@0 477 <slot>stepDown()</slot>
nuclear@0 478 <hints>
nuclear@0 479 <hint type="sourcelabel">
nuclear@1 480 <x>600</x>
nuclear@1 481 <y>304</y>
nuclear@0 482 </hint>
nuclear@0 483 <hint type="destinationlabel">
nuclear@0 484 <x>540</x>
nuclear@0 485 <y>190</y>
nuclear@0 486 </hint>
nuclear@0 487 </hints>
nuclear@0 488 </connection>
nuclear@0 489 <connection>
nuclear@0 490 <sender>bn_p2_inc</sender>
nuclear@0 491 <signal>clicked()</signal>
nuclear@0 492 <receiver>spin_p2_life</receiver>
nuclear@0 493 <slot>stepUp()</slot>
nuclear@0 494 <hints>
nuclear@0 495 <hint type="sourcelabel">
nuclear@0 496 <x>510</x>
nuclear@0 497 <y>135</y>
nuclear@0 498 </hint>
nuclear@0 499 <hint type="destinationlabel">
nuclear@0 500 <x>506</x>
nuclear@0 501 <y>189</y>
nuclear@0 502 </hint>
nuclear@0 503 </hints>
nuclear@0 504 </connection>
nuclear@0 505 </connections>
nuclear@0 506 </ui>