Relaxed Move comparison.
[tagua/yd.git] / src / ui / newgamedialog.ui
blob58db015358e86d7a64d5281dc1d81f770abe8375
1 <ui version="4.0" >
2  <class>NewGameDialog</class>
3  <widget class="QDialog" name="NewGameDialog" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>470</width>
9     <height>261</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>New game</string>
14   </property>
15   <property name="sizeGripEnabled" >
16    <bool>true</bool>
17   </property>
18   <layout class="QVBoxLayout" >
19    <property name="margin" >
20     <number>9</number>
21    </property>
22    <property name="spacing" >
23     <number>6</number>
24    </property>
25    <item>
26     <layout class="QHBoxLayout" >
27      <property name="margin" >
28       <number>0</number>
29      </property>
30      <property name="spacing" >
31       <number>6</number>
32      </property>
33      <item>
34       <widget class="QLabel" name="textLabel_1" >
35        <property name="text" >
36         <string>&amp;Variant:</string>
37        </property>
38        <property name="buddy" >
39         <cstring>cmbVariant</cstring>
40        </property>
41       </widget>
42      </item>
43      <item>
44       <spacer>
45        <property name="orientation" >
46         <enum>Qt::Horizontal</enum>
47        </property>
48        <property name="sizeHint" >
49         <size>
50          <width>20</width>
51          <height>10</height>
52         </size>
53        </property>
54       </spacer>
55      </item>
56      <item>
57       <widget class="QComboBox" name="cmbVariant" >
58        <property name="sizePolicy" >
59         <sizepolicy>
60          <hsizetype>7</hsizetype>
61          <vsizetype>0</vsizetype>
62          <horstretch>1</horstretch>
63          <verstretch>0</verstretch>
64         </sizepolicy>
65        </property>
66       </widget>
67      </item>
68     </layout>
69    </item>
70    <item>
71     <widget class="QGroupBox" name="groupBox" >
72      <property name="title" >
73       <string>&amp;Starting position</string>
74      </property>
75      <layout class="QVBoxLayout" >
76       <property name="margin" >
77        <number>9</number>
78       </property>
79       <property name="spacing" >
80        <number>6</number>
81       </property>
82       <item>
83        <widget class="QRadioButton" name="rdStandard" >
84         <property name="enabled" >
85          <bool>true</bool>
86         </property>
87         <property name="text" >
88          <string>S&amp;tandard</string>
89         </property>
90         <property name="shortcut" >
91          <string>Alt+T</string>
92         </property>
93         <property name="checked" >
94          <bool>true</bool>
95         </property>
96        </widget>
97       </item>
98       <item>
99        <widget class="QRadioButton" name="rdCurrent" >
100         <property name="enabled" >
101          <bool>true</bool>
102         </property>
103         <property name="text" >
104          <string>C&amp;urrent</string>
105         </property>
106         <property name="shortcut" >
107          <string>Alt+U</string>
108         </property>
109        </widget>
110       </item>
111       <item>
112        <widget class="QRadioButton" name="rdCustom" >
113         <property name="text" >
114          <string>Cu&amp;stom</string>
115         </property>
116        </widget>
117       </item>
118       <item>
119        <layout class="QHBoxLayout" >
120         <property name="margin" >
121          <number>0</number>
122         </property>
123         <property name="spacing" >
124          <number>6</number>
125         </property>
126         <item>
127          <spacer>
128           <property name="orientation" >
129            <enum>Qt::Horizontal</enum>
130           </property>
131           <property name="sizeType" >
132            <enum>QSizePolicy::Minimum</enum>
133           </property>
134           <property name="sizeHint" >
135            <size>
136             <width>21</width>
137             <height>20</height>
138            </size>
139           </property>
140          </spacer>
141         </item>
142         <item>
143          <widget class="QWidget" native="1" name="widgetCustom" >
144           <property name="enabled" >
145            <bool>false</bool>
146           </property>
147           <property name="sizePolicy" >
148            <sizepolicy>
149             <hsizetype>7</hsizetype>
150             <vsizetype>5</vsizetype>
151             <horstretch>0</horstretch>
152             <verstretch>0</verstretch>
153            </sizepolicy>
154           </property>
155          </widget>
156         </item>
157        </layout>
158       </item>
159      </layout>
160     </widget>
161    </item>
162    <item>
163     <spacer>
164      <property name="orientation" >
165       <enum>Qt::Vertical</enum>
166      </property>
167      <property name="sizeHint" >
168       <size>
169        <width>452</width>
170        <height>61</height>
171       </size>
172      </property>
173     </spacer>
174    </item>
175    <item>
176     <widget class="QDialogButtonBox" name="buttonBox" >
177      <property name="orientation" >
178       <enum>Qt::Horizontal</enum>
179      </property>
180      <property name="standardButtons" >
181       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
182      </property>
183     </widget>
184    </item>
185   </layout>
186  </widget>
187  <layoutdefault spacing="6" margin="11" />
188  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
189  <resources/>
190  <connections>
191   <connection>
192    <sender>buttonBox</sender>
193    <signal>accepted()</signal>
194    <receiver>NewGameDialog</receiver>
195    <slot>accept()</slot>
196    <hints>
197     <hint type="sourcelabel" >
198      <x>310</x>
199      <y>349</y>
200     </hint>
201     <hint type="destinationlabel" >
202      <x>286</x>
203      <y>198</y>
204     </hint>
205    </hints>
206   </connection>
207   <connection>
208    <sender>buttonBox</sender>
209    <signal>rejected()</signal>
210    <receiver>NewGameDialog</receiver>
211    <slot>reject()</slot>
212    <hints>
213     <hint type="sourcelabel" >
214      <x>211</x>
215      <y>349</y>
216     </hint>
217     <hint type="destinationlabel" >
218      <x>176</x>
219      <y>230</y>
220     </hint>
221    </hints>
222   </connection>
223   <connection>
224    <sender>rdCustom</sender>
225    <signal>toggled(bool)</signal>
226    <receiver>widgetCustom</receiver>
227    <slot>setEnabled(bool)</slot>
228    <hints>
229     <hint type="sourcelabel" >
230      <x>59</x>
231      <y>126</y>
232     </hint>
233     <hint type="destinationlabel" >
234      <x>59</x>
235      <y>150</y>
236     </hint>
237    </hints>
238   </connection>
239  </connections>
240 </ui>