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    <property name="spacing" >
0020     <number>6</number>
0021    </property>
0022    <property name="leftMargin" >
0023     <number>9</number>
0024    </property>
0025    <property name="topMargin" >
0026     <number>9</number>
0027    </property>
0028    <property name="rightMargin" >
0029     <number>9</number>
0030    </property>
0031    <property name="bottomMargin" >
0032     <number>9</number>
0033    </property>
0034    <item>
0035     <widget class="QGroupBox" name="groupBox" >
0036      <property name="whatsThis" >
0037       <string>Settings for the players in the game</string>
0038      </property>
0039      <property name="title" >
0040       <string>Players</string>
0041      </property>
0042      <layout class="QGridLayout" >
0043       <property name="leftMargin" >
0044        <number>9</number>
0045       </property>
0046       <property name="topMargin" >
0047        <number>9</number>
0048       </property>
0049       <property name="rightMargin" >
0050        <number>9</number>
0051       </property>
0052       <property name="bottomMargin" >
0053        <number>9</number>
0054       </property>
0055       <property name="horizontalSpacing" >
0056        <number>6</number>
0057       </property>
0058       <property name="verticalSpacing" >
0059        <number>6</number>
0060       </property>
0061       <item row="4" column="0" >
0062        <widget class="QLabel" name="labelPlayer4Name" >
0063         <property name="whatsThis" >
0064          <string>The name of the fourth player</string>
0065         </property>
0066         <property name="text" >
0067          <string>Player 4:</string>
0068         </property>
0069         <property name="buddy" >
0070          <cstring>playerFourName</cstring>
0071         </property>
0072        </widget>
0073       </item>
0074       <item row="4" column="2" >
0075        <widget class="QCheckBox" name="playerFourHuman" >
0076         <property name="enabled" >
0077          <bool>true</bool>
0078         </property>
0079         <property name="whatsThis" >
0080          <string>Should this player be controlled by a human</string>
0081         </property>
0082         <property name="text" >
0083          <string>Hum&amp;an?</string>
0084         </property>
0085         <property name="checked" >
0086          <bool>true</bool>
0087         </property>
0088        </widget>
0089       </item>
0090       <item row="3" column="2" >
0091        <widget class="QCheckBox" name="playerThreeHuman" >
0092         <property name="enabled" >
0093          <bool>true</bool>
0094         </property>
0095         <property name="whatsThis" >
0096          <string>Should this player be controlled by a human</string>
0097         </property>
0098         <property name="text" >
0099          <string>Hu&amp;man?</string>
0100         </property>
0101         <property name="checked" >
0102          <bool>true</bool>
0103         </property>
0104        </widget>
0105       </item>
0106       <item row="3" column="0" >
0107        <widget class="QLabel" name="labelPlayer3Name" >
0108         <property name="whatsThis" >
0109          <string>The name of the third player</string>
0110         </property>
0111         <property name="text" >
0112          <string>Player 3:</string>
0113         </property>
0114         <property name="buddy" >
0115          <cstring>playerThreeName</cstring>
0116         </property>
0117        </widget>
0118       </item>
0119       <item row="4" column="1" >
0120        <widget class="QLineEdit" name="playerFourName" />
0121       </item>
0122       <item row="3" column="1" >
0123        <widget class="QLineEdit" name="playerThreeName" />
0124       </item>
0125       <item row="2" column="1" >
0126        <widget class="QLineEdit" name="playerTwoName" />
0127       </item>
0128       <item row="2" column="0" >
0129        <widget class="QLabel" name="labelPlayer2Name" >
0130         <property name="whatsThis" >
0131          <string>The name of the second player</string>
0132         </property>
0133         <property name="text" >
0134          <string>Player 2:</string>
0135         </property>
0136         <property name="buddy" >
0137          <cstring>playerTwoName</cstring>
0138         </property>
0139        </widget>
0140       </item>
0141       <item row="0" column="1" colspan="2" >
0142        <widget class="QSpinBox" name="spinNumOfPlayers" >
0143         <property name="enabled" >
0144          <bool>true</bool>
0145         </property>
0146         <property name="sizePolicy" >
0147          <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
0148           <horstretch>0</horstretch>
0149           <verstretch>0</verstretch>
0150          </sizepolicy>
0151         </property>
0152         <property name="minimum" >
0153          <number>2</number>
0154         </property>
0155         <property name="maximum" >
0156          <number>4</number>
0157         </property>
0158        </widget>
0159       </item>
0160       <item row="1" column="2" >
0161        <widget class="QCheckBox" name="playerOneHuman" >
0162         <property name="enabled" >
0163          <bool>true</bool>
0164         </property>
0165         <property name="whatsThis" >
0166          <string>Should this player be controlled by a human</string>
0167         </property>
0168         <property name="text" >
0169          <string>&amp;Human?</string>
0170         </property>
0171         <property name="checked" >
0172          <bool>true</bool>
0173         </property>
0174        </widget>
0175       </item>
0176       <item row="0" column="0" >
0177        <widget class="QLabel" name="numOfPlayersLabel" >
0178         <property name="whatsThis" >
0179          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
0180 p, li { white-space: pre-wrap; }
0181 &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
0182 &lt;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&lt;/p>&lt;/body>&lt;/html></string>
0183         </property>
0184         <property name="text" >
0185          <string>Number of players:</string>
0186         </property>
0187         <property name="buddy" >
0188          <cstring>spinNumOfPlayers</cstring>
0189         </property>
0190        </widget>
0191       </item>
0192       <item row="1" column="1" >
0193        <widget class="QLineEdit" name="playerOneName" />
0194       </item>
0195       <item row="1" column="0" >
0196        <widget class="QLabel" name="labelPlayer1Name" >
0197         <property name="whatsThis" >
0198          <string>The name of the first player</string>
0199         </property>
0200         <property name="text" >
0201          <string>Player 1:</string>
0202         </property>
0203         <property name="buddy" >
0204          <cstring>playerOneName</cstring>
0205         </property>
0206        </widget>
0207       </item>
0208       <item row="2" column="2" >
0209        <widget class="QCheckBox" name="playerTwoHuman" >
0210         <property name="enabled" >
0211          <bool>true</bool>
0212         </property>
0213         <property name="whatsThis" >
0214          <string>Should this player be controlled by a human</string>
0215         </property>
0216         <property name="text" >
0217          <string>H&amp;uman?</string>
0218         </property>
0219         <property name="checked" >
0220          <bool>true</bool>
0221         </property>
0222        </widget>
0223       </item>
0224      </layout>
0225     </widget>
0226    </item>
0227    <item>
0228     <widget class="QGroupBox" name="groupBox_2" >
0229      <property name="whatsThis" >
0230       <string>Settings for the game board</string>
0231      </property>
0232      <property name="title" >
0233       <string>Game Board</string>
0234      </property>
0235      <layout class="QGridLayout" >
0236       <property name="leftMargin" >
0237        <number>9</number>
0238       </property>
0239       <property name="topMargin" >
0240        <number>9</number>
0241       </property>
0242       <property name="rightMargin" >
0243        <number>9</number>
0244       </property>
0245       <property name="bottomMargin" >
0246        <number>9</number>
0247       </property>
0248       <property name="horizontalSpacing" >
0249        <number>6</number>
0250       </property>
0251       <property name="verticalSpacing" >
0252        <number>6</number>
0253       </property>
0254       <item row="0" column="0" >
0255        <widget class="QLabel" name="labelWidth" >
0256         <property name="whatsThis" >
0257          <string>The number of squares the area is wide</string>
0258         </property>
0259         <property name="text" >
0260          <string>Width:</string>
0261         </property>
0262         <property name="buddy" >
0263          <cstring>spinWidth</cstring>
0264         </property>
0265        </widget>
0266       </item>
0267       <item row="1" column="1" >
0268        <widget class="QSpinBox" name="spinHeight" >
0269         <property name="sizePolicy" >
0270          <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
0271           <horstretch>0</horstretch>
0272           <verstretch>0</verstretch>
0273          </sizepolicy>
0274         </property>
0275         <property name="minimum" >
0276          <number>1</number>
0277         </property>
0278         <property name="maximum" >
0279          <number>30</number>
0280         </property>
0281         <property name="value" >
0282          <number>10</number>
0283         </property>
0284        </widget>
0285       </item>
0286       <item row="1" column="0" >
0287        <widget class="QLabel" name="labelHeight" >
0288         <property name="whatsThis" >
0289          <string>The number of squares the area is high</string>
0290         </property>
0291         <property name="text" >
0292          <string>Height:</string>
0293         </property>
0294         <property name="buddy" >
0295          <cstring>spinHeight</cstring>
0296         </property>
0297        </widget>
0298       </item>
0299       <item row="0" column="1" >
0300        <widget class="QSpinBox" name="spinWidth" >
0301         <property name="sizePolicy" >
0302          <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
0303           <horstretch>0</horstretch>
0304           <verstretch>0</verstretch>
0305          </sizepolicy>
0306         </property>
0307         <property name="minimum" >
0308          <number>2</number>
0309         </property>
0310         <property name="maximum" >
0311          <number>50</number>
0312         </property>
0313         <property name="value" >
0314          <number>10</number>
0315         </property>
0316        </widget>
0317       </item>
0318      </layout>
0319     </widget>
0320    </item>
0321    <item>
0322     <widget class="QGroupBox" name="groupBox_3" >
0323      <property name="whatsThis" >
0324       <string>Settings for the game</string>
0325      </property>
0326      <property name="title" >
0327       <string>Game Settings</string>
0328      </property>
0329      <layout class="QGridLayout" >
0330       <property name="leftMargin" >
0331        <number>9</number>
0332       </property>
0333       <property name="topMargin" >
0334        <number>9</number>
0335       </property>
0336       <property name="rightMargin" >
0337        <number>9</number>
0338       </property>
0339       <property name="bottomMargin" >
0340        <number>9</number>
0341       </property>
0342       <property name="horizontalSpacing" >
0343        <number>6</number>
0344       </property>
0345       <property name="verticalSpacing" >
0346        <number>6</number>
0347       </property>
0348       <item row="0" column="0" >
0349        <widget class="QCheckBox" name="quickStartCheck" >
0350         <property name="whatsThis" >
0351          <string>Partially fill in the board automatically before the game starts</string>
0352         </property>
0353         <property name="text" >
0354          <string>Quick start</string>
0355         </property>
0356        </widget>
0357       </item>
0358      </layout>
0359     </widget>
0360    </item>
0361    <item>
0362     <spacer>
0363      <property name="orientation" >
0364       <enum>Qt::Vertical</enum>
0365      </property>
0366      <property name="sizeHint" >
0367       <size>
0368        <width>350</width>
0369        <height>16</height>
0370       </size>
0371      </property>
0372     </spacer>
0373    </item>
0374   </layout>
0375  </widget>
0376  <tabstops>
0377   <tabstop>spinNumOfPlayers</tabstop>
0378   <tabstop>playerOneName</tabstop>
0379   <tabstop>playerOneHuman</tabstop>
0380   <tabstop>playerTwoName</tabstop>
0381   <tabstop>playerTwoHuman</tabstop>
0382   <tabstop>playerThreeName</tabstop>
0383   <tabstop>playerThreeHuman</tabstop>
0384   <tabstop>playerFourName</tabstop>
0385   <tabstop>playerFourHuman</tabstop>
0386   <tabstop>spinWidth</tabstop>
0387   <tabstop>spinHeight</tabstop>
0388  </tabstops>
0389  <resources/>
0390  <connections/>
0391 </ui>