2 <class>NewGameDialog</class>
3 <widget class="QDialog" name="NewGameDialog" >
4 <property name="geometry" >
12 <property name="windowTitle" >
13 <string>New game</string>
15 <property name="sizeGripEnabled" >
18 <layout class="QVBoxLayout" >
19 <property name="margin" >
22 <property name="spacing" >
26 <layout class="QHBoxLayout" >
27 <property name="margin" >
30 <property name="spacing" >
34 <widget class="QLabel" name="textLabel_1" >
35 <property name="text" >
36 <string>&Variant:</string>
38 <property name="buddy" >
39 <cstring>cmbVariant</cstring>
45 <property name="orientation" >
46 <enum>Qt::Horizontal</enum>
48 <property name="sizeHint" >
57 <widget class="QComboBox" name="cmbVariant" >
58 <property name="sizePolicy" >
60 <hsizetype>7</hsizetype>
61 <vsizetype>0</vsizetype>
62 <horstretch>1</horstretch>
63 <verstretch>0</verstretch>
71 <widget class="QGroupBox" name="groupBox" >
72 <property name="title" >
73 <string>&Starting position</string>
75 <layout class="QVBoxLayout" >
76 <property name="margin" >
79 <property name="spacing" >
83 <widget class="QRadioButton" name="rdStandard" >
84 <property name="enabled" >
87 <property name="text" >
88 <string>S&tandard</string>
90 <property name="shortcut" >
91 <string>Alt+T</string>
93 <property name="checked" >
99 <widget class="QRadioButton" name="rdCurrent" >
100 <property name="enabled" >
103 <property name="text" >
104 <string>C&urrent</string>
106 <property name="shortcut" >
107 <string>Alt+U</string>
112 <widget class="QRadioButton" name="rdCustom" >
113 <property name="text" >
114 <string>Cu&stom</string>
119 <layout class="QHBoxLayout" >
120 <property name="margin" >
123 <property name="spacing" >
128 <property name="orientation" >
129 <enum>Qt::Horizontal</enum>
131 <property name="sizeType" >
132 <enum>QSizePolicy::Minimum</enum>
134 <property name="sizeHint" >
143 <widget class="QWidget" native="1" name="widgetCustom" >
144 <property name="enabled" >
147 <property name="sizePolicy" >
149 <hsizetype>7</hsizetype>
150 <vsizetype>5</vsizetype>
151 <horstretch>0</horstretch>
152 <verstretch>0</verstretch>
164 <property name="orientation" >
165 <enum>Qt::Vertical</enum>
167 <property name="sizeHint" >
176 <widget class="QDialogButtonBox" name="buttonBox" >
177 <property name="orientation" >
178 <enum>Qt::Horizontal</enum>
180 <property name="standardButtons" >
181 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
187 <layoutdefault spacing="6" margin="11" />
188 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
192 <sender>buttonBox</sender>
193 <signal>accepted()</signal>
194 <receiver>NewGameDialog</receiver>
195 <slot>accept()</slot>
197 <hint type="sourcelabel" >
201 <hint type="destinationlabel" >
208 <sender>buttonBox</sender>
209 <signal>rejected()</signal>
210 <receiver>NewGameDialog</receiver>
211 <slot>reject()</slot>
213 <hint type="sourcelabel" >
217 <hint type="destinationlabel" >
224 <sender>rdCustom</sender>
225 <signal>toggled(bool)</signal>
226 <receiver>widgetCustom</receiver>
227 <slot>setEnabled(bool)</slot>
229 <hint type="sourcelabel" >
233 <hint type="destinationlabel" >