Warning, /games/knights/src/gamedialog.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>GameDialog</class>
0004  <widget class="QWidget" name="GameDialog">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>1163</width>
0010     <height>503</height>
0011    </rect>
0012   </property>
0013   <property name="sizePolicy">
0014    <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
0015     <horstretch>0</horstretch>
0016     <verstretch>0</verstretch>
0017    </sizepolicy>
0018   </property>
0019   <property name="minimumSize">
0020    <size>
0021     <width>600</width>
0022     <height>240</height>
0023    </size>
0024   </property>
0025   <layout class="QGridLayout" name="gridLayout">
0026    <item row="0" column="0">
0027     <widget class="QGroupBox" name="player1Box">
0028      <property name="title">
0029       <string>Player 1</string>
0030      </property>
0031      <layout class="QGridLayout" name="gridLayout_2">
0032       <item row="0" column="0">
0033        <widget class="QRadioButton" name="rbPlayer1Human">
0034         <property name="text">
0035          <string>Human (&amp;You)</string>
0036         </property>
0037         <property name="checked">
0038          <bool>true</bool>
0039         </property>
0040        </widget>
0041       </item>
0042       <item row="1" column="0">
0043        <widget class="QRadioButton" name="rbPlayer1Engine">
0044         <property name="text">
0045          <string>&amp;Computer engine:</string>
0046         </property>
0047        </widget>
0048       </item>
0049       <item row="1" column="1">
0050        <widget class="KComboBox" name="cbPlayer1Engine">
0051         <property name="sizePolicy">
0052          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0053           <horstretch>0</horstretch>
0054           <verstretch>0</verstretch>
0055          </sizepolicy>
0056         </property>
0057        </widget>
0058       </item>
0059       <item row="1" column="2">
0060        <widget class="QPushButton" name="pbPlayer1Engine">
0061         <property name="text">
0062          <string/>
0063         </property>
0064        </widget>
0065       </item>
0066      </layout>
0067     </widget>
0068    </item>
0069    <item row="0" column="1">
0070     <widget class="QGroupBox" name="colorGroup">
0071      <property name="sizePolicy">
0072       <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
0073        <horstretch>0</horstretch>
0074        <verstretch>0</verstretch>
0075       </sizepolicy>
0076      </property>
0077      <property name="title">
0078       <string>Player 1's Color</string>
0079      </property>
0080      <layout class="QVBoxLayout" name="verticalLayout">
0081       <item>
0082        <widget class="QRadioButton" name="colorWhite">
0083         <property name="sizePolicy">
0084          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
0085           <horstretch>0</horstretch>
0086           <verstretch>0</verstretch>
0087          </sizepolicy>
0088         </property>
0089         <property name="text">
0090          <string>White</string>
0091         </property>
0092        </widget>
0093       </item>
0094       <item>
0095        <widget class="QRadioButton" name="colorBlack">
0096         <property name="sizePolicy">
0097          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
0098           <horstretch>0</horstretch>
0099           <verstretch>0</verstretch>
0100          </sizepolicy>
0101         </property>
0102         <property name="text">
0103          <string>B&amp;lack</string>
0104         </property>
0105        </widget>
0106       </item>
0107       <item>
0108        <widget class="QRadioButton" name="colorRandom">
0109         <property name="sizePolicy">
0110          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
0111           <horstretch>0</horstretch>
0112           <verstretch>0</verstretch>
0113          </sizepolicy>
0114         </property>
0115         <property name="text">
0116          <string>Choose r&amp;andomly</string>
0117         </property>
0118         <property name="checked">
0119          <bool>true</bool>
0120         </property>
0121        </widget>
0122       </item>
0123      </layout>
0124     </widget>
0125    </item>
0126    <item row="1" column="0">
0127     <widget class="QGroupBox" name="player2Box">
0128      <property name="title">
0129       <string>Player 2</string>
0130      </property>
0131      <layout class="QGridLayout" name="gridLayout_3">
0132       <item row="0" column="0">
0133        <widget class="QRadioButton" name="rbPlayer2Human">
0134         <property name="text">
0135          <string>H&amp;uman</string>
0136         </property>
0137         <property name="checked">
0138          <bool>true</bool>
0139         </property>
0140        </widget>
0141       </item>
0142       <item row="1" column="0">
0143        <widget class="QRadioButton" name="rbPlayer2Engine">
0144         <property name="text">
0145          <string>Co&amp;mputer engine:</string>
0146         </property>
0147        </widget>
0148       </item>
0149       <item row="1" column="1">
0150        <widget class="KComboBox" name="cbPlayer2Engine">
0151         <property name="sizePolicy">
0152          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0153           <horstretch>0</horstretch>
0154           <verstretch>0</verstretch>
0155          </sizepolicy>
0156         </property>
0157        </widget>
0158       </item>
0159       <item row="1" column="2">
0160        <widget class="QToolButton" name="pbPlayer2Engine">
0161         <property name="sizePolicy">
0162          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
0163           <horstretch>0</horstretch>
0164           <verstretch>0</verstretch>
0165          </sizepolicy>
0166         </property>
0167         <property name="text">
0168          <string/>
0169         </property>
0170        </widget>
0171       </item>
0172       <item row="2" column="0">
0173        <widget class="QRadioButton" name="rbPlayer2Server">
0174         <property name="text">
0175          <string>Chess server:</string>
0176         </property>
0177        </widget>
0178       </item>
0179       <item row="2" column="1">
0180        <widget class="KHistoryComboBox" name="cbPlayer2Server">
0181         <property name="enabled">
0182          <bool>false</bool>
0183         </property>
0184         <property name="historyItems">
0185          <stringlist/>
0186         </property>
0187        </widget>
0188       </item>
0189      </layout>
0190     </widget>
0191    </item>
0192    <item row="1" column="1">
0193     <widget class="QGroupBox" name="gbTimeControl">
0194      <property name="title">
0195       <string/>
0196      </property>
0197      <property name="checkable">
0198       <bool>false</bool>
0199      </property>
0200      <property name="checked">
0201       <bool>false</bool>
0202      </property>
0203      <layout class="QGridLayout" name="gridLayout_4">
0204       <item row="0" column="0">
0205        <widget class="QCheckBox" name="cbTimeControl">
0206         <property name="text">
0207          <string>&amp;Use time control</string>
0208         </property>
0209        </widget>
0210       </item>
0211       <item row="1" column="0">
0212        <widget class="QLabel" name="lNumberOfMoves">
0213         <property name="text">
0214          <string>&amp;Time control period:</string>
0215         </property>
0216         <property name="buddy">
0217          <cstring>sbNumberOfMoves</cstring>
0218         </property>
0219        </widget>
0220       </item>
0221       <item row="1" column="1" colspan="2">
0222        <widget class="QSpinBox" name="sbNumberOfMoves">
0223         <property name="minimumSize">
0224          <size>
0225           <width>120</width>
0226           <height>0</height>
0227          </size>
0228         </property>
0229         <property name="specialValueText">
0230          <string comment="Time control mode">Timer Only</string>
0231         </property>
0232         <property name="maximum">
0233          <number>120</number>
0234         </property>
0235         <property name="value">
0236          <number>40</number>
0237         </property>
0238        </widget>
0239       </item>
0240       <item row="2" column="0">
0241        <widget class="QLabel" name="timeLimitLabel">
0242         <property name="text">
0243          <string>&amp;Initial time limit:</string>
0244         </property>
0245         <property name="buddy">
0246          <cstring>sbTimeLimit</cstring>
0247         </property>
0248        </widget>
0249       </item>
0250       <item row="2" column="1" colspan="2">
0251        <widget class="QSpinBox" name="sbTimeLimit">
0252         <property name="minimumSize">
0253          <size>
0254           <width>120</width>
0255           <height>0</height>
0256          </size>
0257         </property>
0258         <property name="minimum">
0259          <number>1</number>
0260         </property>
0261         <property name="maximum">
0262          <number>300</number>
0263         </property>
0264        </widget>
0265       </item>
0266       <item row="3" column="0">
0267        <widget class="QLabel" name="timeIncrementLabel">
0268         <property name="text">
0269          <string>I&amp;ncrement per move:</string>
0270         </property>
0271         <property name="buddy">
0272          <cstring>sbTimeIncrement</cstring>
0273         </property>
0274        </widget>
0275       </item>
0276       <item row="3" column="1" colspan="2">
0277        <widget class="QSpinBox" name="sbTimeIncrement">
0278         <property name="minimumSize">
0279          <size>
0280           <width>120</width>
0281           <height>0</height>
0282          </size>
0283         </property>
0284         <property name="maximum">
0285          <number>900</number>
0286         </property>
0287        </widget>
0288       </item>
0289      </layout>
0290     </widget>
0291    </item>
0292   </layout>
0293  </widget>
0294  <customwidgets>
0295   <customwidget>
0296    <class>KComboBox</class>
0297    <extends>QComboBox</extends>
0298    <header>kcombobox.h</header>
0299   </customwidget>
0300   <customwidget>
0301    <class>KHistoryComboBox</class>
0302    <extends>KComboBox</extends>
0303    <header>khistorycombobox.h</header>
0304   </customwidget>
0305  </customwidgets>
0306  <resources/>
0307  <connections/>
0308  <slots>
0309   <slot>sameTimeChanged(bool)</slot>
0310   <slot>timeEnabled(bool)</slot>
0311   <slot>hotseatModeToggled(bool)</slot>
0312  </slots>
0313 </ui>