simple_mtglife
diff mainwin.ui @ 0:6321cfa2ad62
initial
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 23 Jan 2015 15:24:27 +0200 |
parents | |
children | d76fb2ffe7f5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mainwin.ui Fri Jan 23 15:24:27 2015 +0200 1.3 @@ -0,0 +1,413 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<ui version="4.0"> 1.6 + <class>MainWin</class> 1.7 + <widget class="QMainWindow" name="MainWin"> 1.8 + <property name="geometry"> 1.9 + <rect> 1.10 + <x>0</x> 1.11 + <y>0</y> 1.12 + <width>623</width> 1.13 + <height>380</height> 1.14 + </rect> 1.15 + </property> 1.16 + <property name="windowTitle"> 1.17 + <string>MainWin</string> 1.18 + </property> 1.19 + <widget class="QWidget" name="centralWidget"> 1.20 + <layout class="QHBoxLayout" name="horizontalLayout_3"> 1.21 + <item> 1.22 + <widget class="QGroupBox" name="groupBox"> 1.23 + <property name="title"> 1.24 + <string>Player 1</string> 1.25 + </property> 1.26 + <layout class="QHBoxLayout" name="horizontalLayout"> 1.27 + <item> 1.28 + <layout class="QVBoxLayout" name="verticalLayout_2"> 1.29 + <item> 1.30 + <spacer name="verticalSpacer"> 1.31 + <property name="orientation"> 1.32 + <enum>Qt::Vertical</enum> 1.33 + </property> 1.34 + <property name="sizeHint" stdset="0"> 1.35 + <size> 1.36 + <width>20</width> 1.37 + <height>40</height> 1.38 + </size> 1.39 + </property> 1.40 + </spacer> 1.41 + </item> 1.42 + <item> 1.43 + <widget class="QPushButton" name="bn_p1_reset"> 1.44 + <property name="sizePolicy"> 1.45 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.46 + <horstretch>0</horstretch> 1.47 + <verstretch>0</verstretch> 1.48 + </sizepolicy> 1.49 + </property> 1.50 + <property name="text"> 1.51 + <string>Reset</string> 1.52 + </property> 1.53 + </widget> 1.54 + </item> 1.55 + <item> 1.56 + <spacer name="verticalSpacer_2"> 1.57 + <property name="orientation"> 1.58 + <enum>Qt::Vertical</enum> 1.59 + </property> 1.60 + <property name="sizeHint" stdset="0"> 1.61 + <size> 1.62 + <width>20</width> 1.63 + <height>40</height> 1.64 + </size> 1.65 + </property> 1.66 + </spacer> 1.67 + </item> 1.68 + </layout> 1.69 + </item> 1.70 + <item> 1.71 + <spacer name="horizontalSpacer"> 1.72 + <property name="orientation"> 1.73 + <enum>Qt::Horizontal</enum> 1.74 + </property> 1.75 + <property name="sizeHint" stdset="0"> 1.76 + <size> 1.77 + <width>38</width> 1.78 + <height>20</height> 1.79 + </size> 1.80 + </property> 1.81 + </spacer> 1.82 + </item> 1.83 + <item> 1.84 + <layout class="QVBoxLayout" name="verticalLayout"> 1.85 + <item> 1.86 + <widget class="QPushButton" name="bn_p1_inc10"> 1.87 + <property name="font"> 1.88 + <font> 1.89 + <pointsize>24</pointsize> 1.90 + </font> 1.91 + </property> 1.92 + <property name="text"> 1.93 + <string>+10</string> 1.94 + </property> 1.95 + </widget> 1.96 + </item> 1.97 + <item> 1.98 + <widget class="QPushButton" name="bn_p1_inc"> 1.99 + <property name="sizePolicy"> 1.100 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.101 + <horstretch>0</horstretch> 1.102 + <verstretch>0</verstretch> 1.103 + </sizepolicy> 1.104 + </property> 1.105 + <property name="font"> 1.106 + <font> 1.107 + <pointsize>24</pointsize> 1.108 + </font> 1.109 + </property> 1.110 + <property name="text"> 1.111 + <string>+1</string> 1.112 + </property> 1.113 + </widget> 1.114 + </item> 1.115 + <item> 1.116 + <widget class="QSpinBox" name="spin_p1_life"> 1.117 + <property name="sizePolicy"> 1.118 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.119 + <horstretch>0</horstretch> 1.120 + <verstretch>0</verstretch> 1.121 + </sizepolicy> 1.122 + </property> 1.123 + <property name="font"> 1.124 + <font> 1.125 + <pointsize>50</pointsize> 1.126 + </font> 1.127 + </property> 1.128 + <property name="frame"> 1.129 + <bool>true</bool> 1.130 + </property> 1.131 + <property name="alignment"> 1.132 + <set>Qt::AlignCenter</set> 1.133 + </property> 1.134 + <property name="readOnly"> 1.135 + <bool>true</bool> 1.136 + </property> 1.137 + <property name="buttonSymbols"> 1.138 + <enum>QAbstractSpinBox::NoButtons</enum> 1.139 + </property> 1.140 + <property name="minimum"> 1.141 + <number>-99</number> 1.142 + </property> 1.143 + <property name="value"> 1.144 + <number>20</number> 1.145 + </property> 1.146 + </widget> 1.147 + </item> 1.148 + <item> 1.149 + <widget class="QPushButton" name="bn_p1_dec"> 1.150 + <property name="sizePolicy"> 1.151 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.152 + <horstretch>0</horstretch> 1.153 + <verstretch>0</verstretch> 1.154 + </sizepolicy> 1.155 + </property> 1.156 + <property name="font"> 1.157 + <font> 1.158 + <pointsize>24</pointsize> 1.159 + </font> 1.160 + </property> 1.161 + <property name="text"> 1.162 + <string>-1</string> 1.163 + </property> 1.164 + </widget> 1.165 + </item> 1.166 + <item> 1.167 + <widget class="QPushButton" name="bn_p1_dec10"> 1.168 + <property name="font"> 1.169 + <font> 1.170 + <pointsize>24</pointsize> 1.171 + </font> 1.172 + </property> 1.173 + <property name="text"> 1.174 + <string>-10</string> 1.175 + </property> 1.176 + </widget> 1.177 + </item> 1.178 + </layout> 1.179 + </item> 1.180 + </layout> 1.181 + </widget> 1.182 + </item> 1.183 + <item> 1.184 + <widget class="QGroupBox" name="groupBox_2"> 1.185 + <property name="title"> 1.186 + <string>Player 2</string> 1.187 + </property> 1.188 + <layout class="QHBoxLayout" name="horizontalLayout_2"> 1.189 + <item> 1.190 + <layout class="QVBoxLayout" name="verticalLayout_3"> 1.191 + <item> 1.192 + <spacer name="verticalSpacer_3"> 1.193 + <property name="orientation"> 1.194 + <enum>Qt::Vertical</enum> 1.195 + </property> 1.196 + <property name="sizeHint" stdset="0"> 1.197 + <size> 1.198 + <width>20</width> 1.199 + <height>40</height> 1.200 + </size> 1.201 + </property> 1.202 + </spacer> 1.203 + </item> 1.204 + <item> 1.205 + <widget class="QPushButton" name="bn_p2_reset"> 1.206 + <property name="sizePolicy"> 1.207 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.208 + <horstretch>0</horstretch> 1.209 + <verstretch>0</verstretch> 1.210 + </sizepolicy> 1.211 + </property> 1.212 + <property name="text"> 1.213 + <string>Reset</string> 1.214 + </property> 1.215 + </widget> 1.216 + </item> 1.217 + <item> 1.218 + <spacer name="verticalSpacer_4"> 1.219 + <property name="orientation"> 1.220 + <enum>Qt::Vertical</enum> 1.221 + </property> 1.222 + <property name="sizeHint" stdset="0"> 1.223 + <size> 1.224 + <width>20</width> 1.225 + <height>40</height> 1.226 + </size> 1.227 + </property> 1.228 + </spacer> 1.229 + </item> 1.230 + </layout> 1.231 + </item> 1.232 + <item> 1.233 + <spacer name="horizontalSpacer_2"> 1.234 + <property name="orientation"> 1.235 + <enum>Qt::Horizontal</enum> 1.236 + </property> 1.237 + <property name="sizeHint" stdset="0"> 1.238 + <size> 1.239 + <width>32</width> 1.240 + <height>20</height> 1.241 + </size> 1.242 + </property> 1.243 + </spacer> 1.244 + </item> 1.245 + <item> 1.246 + <layout class="QVBoxLayout" name="verticalLayout_4"> 1.247 + <item> 1.248 + <widget class="QPushButton" name="bn_p2_inc10"> 1.249 + <property name="font"> 1.250 + <font> 1.251 + <pointsize>24</pointsize> 1.252 + </font> 1.253 + </property> 1.254 + <property name="text"> 1.255 + <string>+10</string> 1.256 + </property> 1.257 + </widget> 1.258 + </item> 1.259 + <item> 1.260 + <widget class="QPushButton" name="bn_p2_inc"> 1.261 + <property name="sizePolicy"> 1.262 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.263 + <horstretch>0</horstretch> 1.264 + <verstretch>0</verstretch> 1.265 + </sizepolicy> 1.266 + </property> 1.267 + <property name="font"> 1.268 + <font> 1.269 + <pointsize>24</pointsize> 1.270 + </font> 1.271 + </property> 1.272 + <property name="text"> 1.273 + <string>+1</string> 1.274 + </property> 1.275 + </widget> 1.276 + </item> 1.277 + <item> 1.278 + <widget class="QSpinBox" name="spin_p2_life"> 1.279 + <property name="sizePolicy"> 1.280 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.281 + <horstretch>0</horstretch> 1.282 + <verstretch>0</verstretch> 1.283 + </sizepolicy> 1.284 + </property> 1.285 + <property name="font"> 1.286 + <font> 1.287 + <pointsize>50</pointsize> 1.288 + </font> 1.289 + </property> 1.290 + <property name="frame"> 1.291 + <bool>true</bool> 1.292 + </property> 1.293 + <property name="alignment"> 1.294 + <set>Qt::AlignCenter</set> 1.295 + </property> 1.296 + <property name="readOnly"> 1.297 + <bool>true</bool> 1.298 + </property> 1.299 + <property name="buttonSymbols"> 1.300 + <enum>QAbstractSpinBox::NoButtons</enum> 1.301 + </property> 1.302 + <property name="minimum"> 1.303 + <number>-99</number> 1.304 + </property> 1.305 + <property name="value"> 1.306 + <number>20</number> 1.307 + </property> 1.308 + </widget> 1.309 + </item> 1.310 + <item> 1.311 + <widget class="QPushButton" name="bn_p2_dec"> 1.312 + <property name="sizePolicy"> 1.313 + <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 1.314 + <horstretch>0</horstretch> 1.315 + <verstretch>0</verstretch> 1.316 + </sizepolicy> 1.317 + </property> 1.318 + <property name="font"> 1.319 + <font> 1.320 + <pointsize>24</pointsize> 1.321 + </font> 1.322 + </property> 1.323 + <property name="text"> 1.324 + <string>-1</string> 1.325 + </property> 1.326 + </widget> 1.327 + </item> 1.328 + <item> 1.329 + <widget class="QPushButton" name="bn_p2_dec10"> 1.330 + <property name="font"> 1.331 + <font> 1.332 + <pointsize>24</pointsize> 1.333 + </font> 1.334 + </property> 1.335 + <property name="text"> 1.336 + <string>-10</string> 1.337 + </property> 1.338 + </widget> 1.339 + </item> 1.340 + </layout> 1.341 + </item> 1.342 + </layout> 1.343 + </widget> 1.344 + </item> 1.345 + </layout> 1.346 + </widget> 1.347 + </widget> 1.348 + <layoutdefault spacing="6" margin="11"/> 1.349 + <resources/> 1.350 + <connections> 1.351 + <connection> 1.352 + <sender>bn_p1_dec</sender> 1.353 + <signal>clicked()</signal> 1.354 + <receiver>spin_p1_life</receiver> 1.355 + <slot>stepDown()</slot> 1.356 + <hints> 1.357 + <hint type="sourcelabel"> 1.358 + <x>209</x> 1.359 + <y>277</y> 1.360 + </hint> 1.361 + <hint type="destinationlabel"> 1.362 + <x>232</x> 1.363 + <y>196</y> 1.364 + </hint> 1.365 + </hints> 1.366 + </connection> 1.367 + <connection> 1.368 + <sender>bn_p1_inc</sender> 1.369 + <signal>clicked()</signal> 1.370 + <receiver>spin_p1_life</receiver> 1.371 + <slot>stepUp()</slot> 1.372 + <hints> 1.373 + <hint type="sourcelabel"> 1.374 + <x>241</x> 1.375 + <y>131</y> 1.376 + </hint> 1.377 + <hint type="destinationlabel"> 1.378 + <x>251</x> 1.379 + <y>181</y> 1.380 + </hint> 1.381 + </hints> 1.382 + </connection> 1.383 + <connection> 1.384 + <sender>bn_p2_dec</sender> 1.385 + <signal>clicked()</signal> 1.386 + <receiver>spin_p2_life</receiver> 1.387 + <slot>stepDown()</slot> 1.388 + <hints> 1.389 + <hint type="sourcelabel"> 1.390 + <x>536</x> 1.391 + <y>252</y> 1.392 + </hint> 1.393 + <hint type="destinationlabel"> 1.394 + <x>540</x> 1.395 + <y>190</y> 1.396 + </hint> 1.397 + </hints> 1.398 + </connection> 1.399 + <connection> 1.400 + <sender>bn_p2_inc</sender> 1.401 + <signal>clicked()</signal> 1.402 + <receiver>spin_p2_life</receiver> 1.403 + <slot>stepUp()</slot> 1.404 + <hints> 1.405 + <hint type="sourcelabel"> 1.406 + <x>510</x> 1.407 + <y>135</y> 1.408 + </hint> 1.409 + <hint type="destinationlabel"> 1.410 + <x>506</x> 1.411 + <y>189</y> 1.412 + </hint> 1.413 + </hints> 1.414 + </connection> 1.415 + </connections> 1.416 +</ui>