Warning, /games/ksirk/ksirk/Dialogs/newGameDialog.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  <author>Gaƫl de Chalendar &lt;kleag@free.fr&gt;</author>
0004  <comment>Enables to choose the number of players and the game skin used</comment>
0005  <class>NewGameDialog</class>
0006  <widget class="QWidget" name="NewGameDialog">
0007   <property name="geometry">
0008    <rect>
0009     <x>0</x>
0010     <y>0</y>
0011     <width>615</width>
0012     <height>417</height>
0013    </rect>
0014   </property>
0015   <property name="windowTitle">
0016    <string>KsirK - New game properties</string>
0017   </property>
0018   <property name="sizeGripEnabled" stdset="0">
0019    <bool>true</bool>
0020   </property>
0021   <layout class="QVBoxLayout" name="verticalLayout_4">
0022    <item>
0023     <layout class="QHBoxLayout" name="horizontalLayout">
0024      <item>
0025       <layout class="QVBoxLayout" name="verticalLayout_2">
0026        <item>
0027         <widget class="QLabel" name="textLabel1">
0028          <property name="text">
0029           <string>Total number of players:</string>
0030          </property>
0031          <property name="wordWrap">
0032           <bool>false</bool>
0033          </property>
0034         </widget>
0035        </item>
0036        <item>
0037         <widget class="QSpinBox" name="playersNumberEntry">
0038          <property name="toolTip">
0039           <string>Spin this to choose the number of players.</string>
0040          </property>
0041          <property name="whatsThis">
0042           <string>A spin box to choose the number of players</string>
0043          </property>
0044         </widget>
0045        </item>
0046       </layout>
0047      </item>
0048      <item>
0049       <layout class="QVBoxLayout" name="verticalLayout">
0050        <item>
0051         <widget class="QLabel" name="localPlayersNumberLabel">
0052          <property name="text">
0053           <string>Number of local players:</string>
0054          </property>
0055         </widget>
0056        </item>
0057        <item>
0058         <widget class="QSpinBox" name="localPlayersNumberEntry"/>
0059        </item>
0060       </layout>
0061      </item>
0062      <item>
0063       <layout class="QVBoxLayout" name="verticalLayout_3">
0064        <item>
0065         <widget class="QLabel" name="tcpPortLabel">
0066          <property name="text">
0067           <string>TCP port on which to offer connections:</string>
0068          </property>
0069         </widget>
0070        </item>
0071        <item>
0072         <widget class="QSpinBox" name="tcpPortEntry">
0073          <property name="minimum">
0074           <number>1</number>
0075          </property>
0076          <property name="maximum">
0077           <number>32767</number>
0078          </property>
0079          <property name="value">
0080           <number>20000</number>
0081          </property>
0082         </widget>
0083        </item>
0084       </layout>
0085      </item>
0086     </layout>
0087    </item>
0088    <item>
0089     <widget class="Line" name="line1">
0090      <property name="frameShape">
0091       <enum>QFrame::HLine</enum>
0092      </property>
0093      <property name="frameShadow">
0094       <enum>QFrame::Sunken</enum>
0095      </property>
0096      <property name="orientation">
0097       <enum>Qt::Horizontal</enum>
0098      </property>
0099     </widget>
0100    </item>
0101    <item>
0102     <layout class="QHBoxLayout" name="horizontalLayout_4">
0103      <item>
0104       <widget class="QLabel" name="textLabel2">
0105        <property name="text">
0106         <string>Skin:</string>
0107        </property>
0108        <property name="wordWrap">
0109         <bool>false</bool>
0110        </property>
0111       </widget>
0112      </item>
0113      <item>
0114       <widget class="QComboBox" name="skinCombo">
0115        <property name="toolTip">
0116         <string>Choose the skin (map, nationalities, etc.) to use for this game.</string>
0117        </property>
0118        <property name="whatsThis">
0119         <string>A combo listing all the available skins.</string>
0120        </property>
0121       </widget>
0122      </item>
0123      <item>
0124       <widget class="KNSWidgets::Button" name="ghnsbutton">
0125        <property name="text">
0126         <string>Download New Skins...</string>
0127        </property>
0128        <property name="configFile">
0129         <string>ksirk.knsrc</string>
0130        </property>
0131       </widget>
0132      </item>
0133     </layout>
0134    </item>
0135    <item>
0136     <widget class="QLabel" name="skinDescLabel">
0137      <property name="text">
0138       <string notr="true">skinDescLabel</string>
0139      </property>
0140      <property name="alignment">
0141       <set>Qt::AlignVCenter</set>
0142      </property>
0143      <property name="wordWrap">
0144       <bool>false</bool>
0145      </property>
0146     </widget>
0147    </item>
0148    <item>
0149     <layout class="QHBoxLayout" name="horizontalLayout_3">
0150      <item>
0151       <widget class="QGroupBox" name="goalGroup">
0152        <property name="title">
0153         <string>Goal Type</string>
0154        </property>
0155        <layout class="QVBoxLayout">
0156         <item>
0157          <widget class="QRadioButton" name="radioWorld">
0158           <property name="toolTip">
0159            <string>Choose this for players to have to conquer all the world to win.</string>
0160           </property>
0161           <property name="whatsThis">
0162            <string>In this mode, a player will have to conquer all the world to win.</string>
0163           </property>
0164           <property name="text">
0165            <string>World con&amp;quest</string>
0166           </property>
0167          </widget>
0168         </item>
0169         <item>
0170          <widget class="QRadioButton" name="radioGoal">
0171           <property name="toolTip">
0172            <string>Choose this to have a goal assigned to each player.</string>
0173           </property>
0174           <property name="whatsThis">
0175            <string>In this mode, a goal will be assigned to each player, which he will have to reach in order to win.</string>
0176           </property>
0177           <property name="text">
0178            <string>Reach a goa&amp;l</string>
0179           </property>
0180           <property name="shortcut">
0181            <string/>
0182           </property>
0183           <property name="checked">
0184            <bool>true</bool>
0185           </property>
0186          </widget>
0187         </item>
0188         <item>
0189          <spacer>
0190           <property name="orientation">
0191            <enum>Qt::Vertical</enum>
0192           </property>
0193           <property name="sizeHint" stdset="0">
0194            <size>
0195             <width>20</width>
0196             <height>40</height>
0197            </size>
0198           </property>
0199          </spacer>
0200         </item>
0201        </layout>
0202       </widget>
0203      </item>
0204      <item>
0205       <widget class="QLabel" name="skinSnapshotPixmap">
0206        <property name="sizePolicy">
0207         <sizepolicy hsizetype="Ignored" vsizetype="Ignored">
0208          <horstretch>1</horstretch>
0209          <verstretch>0</verstretch>
0210         </sizepolicy>
0211        </property>
0212        <property name="text">
0213         <string/>
0214        </property>
0215        <property name="scaledContents">
0216         <bool>true</bool>
0217        </property>
0218        <property name="wordWrap">
0219         <bool>false</bool>
0220        </property>
0221       </widget>
0222      </item>
0223     </layout>
0224    </item>
0225    <item>
0226     <layout class="QHBoxLayout" name="horizontalLayout_2">
0227      <item>
0228       <widget class="QPushButton" name="cancelButton">
0229        <property name="text">
0230         <string>Cancel</string>
0231        </property>
0232       </widget>
0233      </item>
0234      <item>
0235       <spacer name="horizontalSpacer">
0236        <property name="orientation">
0237         <enum>Qt::Horizontal</enum>
0238        </property>
0239        <property name="sizeHint" stdset="0">
0240         <size>
0241          <width>40</width>
0242          <height>20</height>
0243         </size>
0244        </property>
0245       </spacer>
0246      </item>
0247      <item>
0248       <widget class="QPushButton" name="nextButton">
0249        <property name="text">
0250         <string>Next &gt;&gt;</string>
0251        </property>
0252       </widget>
0253      </item>
0254     </layout>
0255    </item>
0256   </layout>
0257  </widget>
0258  <tabstops>
0259   <tabstop>skinCombo</tabstop>
0260   <tabstop>playersNumberEntry</tabstop>
0261   <tabstop>radioWorld</tabstop>
0262   <tabstop>radioGoal</tabstop>
0263  </tabstops>
0264  <customwidgets>
0265   <customwidget>
0266    <class>KNSWidgets::Button</class>
0267    <extends>QPushButton</extends>
0268    <header>KNSWidgets/Button</header>
0269   </customwidget>
0270  </customwidgets>
0271  <resources/>
0272  <connections/>
0273 </ui>