Warning, /games/ksquares/src/newgamewidget.ui is written in an unsupported language. File is not indexed.
0001 <ui version="4.0" > 0002 <class>NewGameWidget</class> 0003 <widget class="QWidget" name="NewGameWidget" > 0004 <property name="geometry" > 0005 <rect> 0006 <x>0</x> 0007 <y>0</y> 0008 <width>368</width> 0009 <height>370</height> 0010 </rect> 0011 </property> 0012 <property name="windowTitle" > 0013 <string>New Game</string> 0014 </property> 0015 <property name="layoutDirection" > 0016 <enum>Qt::LeftToRight</enum> 0017 </property> 0018 <layout class="QVBoxLayout" > 0019 <item> 0020 <widget class="QGroupBox" name="groupBox" > 0021 <property name="whatsThis" > 0022 <string>Settings for the players in the game</string> 0023 </property> 0024 <property name="title" > 0025 <string>Players</string> 0026 </property> 0027 <layout class="QGridLayout" > 0028 <item row="4" column="0" > 0029 <widget class="QLabel" name="labelPlayer4Name" > 0030 <property name="whatsThis" > 0031 <string>The name of the fourth player</string> 0032 </property> 0033 <property name="text" > 0034 <string>Player 4:</string> 0035 </property> 0036 <property name="buddy" > 0037 <cstring>playerFourName</cstring> 0038 </property> 0039 </widget> 0040 </item> 0041 <item row="4" column="2" > 0042 <widget class="QCheckBox" name="playerFourHuman" > 0043 <property name="enabled" > 0044 <bool>true</bool> 0045 </property> 0046 <property name="whatsThis" > 0047 <string>Should this player be controlled by a human</string> 0048 </property> 0049 <property name="text" > 0050 <string>Hum&an?</string> 0051 </property> 0052 <property name="checked" > 0053 <bool>true</bool> 0054 </property> 0055 </widget> 0056 </item> 0057 <item row="3" column="2" > 0058 <widget class="QCheckBox" name="playerThreeHuman" > 0059 <property name="enabled" > 0060 <bool>true</bool> 0061 </property> 0062 <property name="whatsThis" > 0063 <string>Should this player be controlled by a human</string> 0064 </property> 0065 <property name="text" > 0066 <string>Hu&man?</string> 0067 </property> 0068 <property name="checked" > 0069 <bool>true</bool> 0070 </property> 0071 </widget> 0072 </item> 0073 <item row="3" column="0" > 0074 <widget class="QLabel" name="labelPlayer3Name" > 0075 <property name="whatsThis" > 0076 <string>The name of the third player</string> 0077 </property> 0078 <property name="text" > 0079 <string>Player 3:</string> 0080 </property> 0081 <property name="buddy" > 0082 <cstring>playerThreeName</cstring> 0083 </property> 0084 </widget> 0085 </item> 0086 <item row="4" column="1" > 0087 <widget class="QLineEdit" name="playerFourName" /> 0088 </item> 0089 <item row="3" column="1" > 0090 <widget class="QLineEdit" name="playerThreeName" /> 0091 </item> 0092 <item row="2" column="1" > 0093 <widget class="QLineEdit" name="playerTwoName" /> 0094 </item> 0095 <item row="2" column="0" > 0096 <widget class="QLabel" name="labelPlayer2Name" > 0097 <property name="whatsThis" > 0098 <string>The name of the second player</string> 0099 </property> 0100 <property name="text" > 0101 <string>Player 2:</string> 0102 </property> 0103 <property name="buddy" > 0104 <cstring>playerTwoName</cstring> 0105 </property> 0106 </widget> 0107 </item> 0108 <item row="0" column="1" colspan="2" > 0109 <widget class="QSpinBox" name="spinNumOfPlayers" > 0110 <property name="enabled" > 0111 <bool>true</bool> 0112 </property> 0113 <property name="sizePolicy" > 0114 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 0115 <horstretch>0</horstretch> 0116 <verstretch>0</verstretch> 0117 </sizepolicy> 0118 </property> 0119 <property name="minimum" > 0120 <number>2</number> 0121 </property> 0122 <property name="maximum" > 0123 <number>4</number> 0124 </property> 0125 </widget> 0126 </item> 0127 <item row="1" column="2" > 0128 <widget class="QCheckBox" name="playerOneHuman" > 0129 <property name="enabled" > 0130 <bool>true</bool> 0131 </property> 0132 <property name="whatsThis" > 0133 <string>Should this player be controlled by a human</string> 0134 </property> 0135 <property name="text" > 0136 <string>&Human?</string> 0137 </property> 0138 <property name="checked" > 0139 <bool>true</bool> 0140 </property> 0141 </widget> 0142 </item> 0143 <item row="0" column="0" > 0144 <widget class="QLabel" name="numOfPlayersLabel" > 0145 <property name="whatsThis" > 0146 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0147 p, li { white-space: pre-wrap; } 0148 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> 0149 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">How many players will be in the game</p></body></html></string> 0150 </property> 0151 <property name="text" > 0152 <string>Number of players:</string> 0153 </property> 0154 <property name="buddy" > 0155 <cstring>spinNumOfPlayers</cstring> 0156 </property> 0157 </widget> 0158 </item> 0159 <item row="1" column="1" > 0160 <widget class="QLineEdit" name="playerOneName" /> 0161 </item> 0162 <item row="1" column="0" > 0163 <widget class="QLabel" name="labelPlayer1Name" > 0164 <property name="whatsThis" > 0165 <string>The name of the first player</string> 0166 </property> 0167 <property name="text" > 0168 <string>Player 1:</string> 0169 </property> 0170 <property name="buddy" > 0171 <cstring>playerOneName</cstring> 0172 </property> 0173 </widget> 0174 </item> 0175 <item row="2" column="2" > 0176 <widget class="QCheckBox" name="playerTwoHuman" > 0177 <property name="enabled" > 0178 <bool>true</bool> 0179 </property> 0180 <property name="whatsThis" > 0181 <string>Should this player be controlled by a human</string> 0182 </property> 0183 <property name="text" > 0184 <string>H&uman?</string> 0185 </property> 0186 <property name="checked" > 0187 <bool>true</bool> 0188 </property> 0189 </widget> 0190 </item> 0191 </layout> 0192 </widget> 0193 </item> 0194 <item> 0195 <widget class="QGroupBox" name="groupBox_2" > 0196 <property name="whatsThis" > 0197 <string>Settings for the game board</string> 0198 </property> 0199 <property name="title" > 0200 <string>Game Board</string> 0201 </property> 0202 <layout class="QGridLayout" > 0203 <item row="0" column="0" > 0204 <widget class="QLabel" name="labelWidth" > 0205 <property name="whatsThis" > 0206 <string>The number of squares the area is wide</string> 0207 </property> 0208 <property name="text" > 0209 <string>Width:</string> 0210 </property> 0211 <property name="buddy" > 0212 <cstring>spinWidth</cstring> 0213 </property> 0214 </widget> 0215 </item> 0216 <item row="1" column="1" > 0217 <widget class="QSpinBox" name="spinHeight" > 0218 <property name="sizePolicy" > 0219 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 0220 <horstretch>0</horstretch> 0221 <verstretch>0</verstretch> 0222 </sizepolicy> 0223 </property> 0224 <property name="minimum" > 0225 <number>1</number> 0226 </property> 0227 <property name="maximum" > 0228 <number>30</number> 0229 </property> 0230 <property name="value" > 0231 <number>10</number> 0232 </property> 0233 </widget> 0234 </item> 0235 <item row="1" column="0" > 0236 <widget class="QLabel" name="labelHeight" > 0237 <property name="whatsThis" > 0238 <string>The number of squares the area is high</string> 0239 </property> 0240 <property name="text" > 0241 <string>Height:</string> 0242 </property> 0243 <property name="buddy" > 0244 <cstring>spinHeight</cstring> 0245 </property> 0246 </widget> 0247 </item> 0248 <item row="0" column="1" > 0249 <widget class="QSpinBox" name="spinWidth" > 0250 <property name="sizePolicy" > 0251 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 0252 <horstretch>0</horstretch> 0253 <verstretch>0</verstretch> 0254 </sizepolicy> 0255 </property> 0256 <property name="minimum" > 0257 <number>2</number> 0258 </property> 0259 <property name="maximum" > 0260 <number>50</number> 0261 </property> 0262 <property name="value" > 0263 <number>10</number> 0264 </property> 0265 </widget> 0266 </item> 0267 </layout> 0268 </widget> 0269 </item> 0270 <item> 0271 <widget class="QGroupBox" name="groupBox_3" > 0272 <property name="whatsThis" > 0273 <string>Settings for the game</string> 0274 </property> 0275 <property name="title" > 0276 <string>Game Settings</string> 0277 </property> 0278 <layout class="QGridLayout" > 0279 <item row="0" column="0" > 0280 <widget class="QCheckBox" name="quickStartCheck" > 0281 <property name="whatsThis" > 0282 <string>Partially fill in the board automatically before the game starts</string> 0283 </property> 0284 <property name="text" > 0285 <string>Quick start</string> 0286 </property> 0287 </widget> 0288 </item> 0289 </layout> 0290 </widget> 0291 </item> 0292 <item> 0293 <spacer> 0294 <property name="orientation" > 0295 <enum>Qt::Vertical</enum> 0296 </property> 0297 <property name="sizeHint" > 0298 <size> 0299 <width>350</width> 0300 <height>16</height> 0301 </size> 0302 </property> 0303 </spacer> 0304 </item> 0305 </layout> 0306 </widget> 0307 <tabstops> 0308 <tabstop>spinNumOfPlayers</tabstop> 0309 <tabstop>playerOneName</tabstop> 0310 <tabstop>playerOneHuman</tabstop> 0311 <tabstop>playerTwoName</tabstop> 0312 <tabstop>playerTwoHuman</tabstop> 0313 <tabstop>playerThreeName</tabstop> 0314 <tabstop>playerThreeHuman</tabstop> 0315 <tabstop>playerFourName</tabstop> 0316 <tabstop>playerFourHuman</tabstop> 0317 <tabstop>spinWidth</tabstop> 0318 <tabstop>spinHeight</tabstop> 0319 </tabstops> 0320 <resources/> 0321 <connections/> 0322 </ui>