Added "Help" button in all dialogs.
[GoMoku3D.git] / src / gui / ui / Preferences.ui
blob61b52b0c86d27882cba59259b17a31db851ee1b1
1 <ui version="4.0" >
2  <class>preferences</class>
3  <widget class="QDialog" name="preferences" >
4   <property name="windowModality" >
5    <enum>Qt::ApplicationModal</enum>
6   </property>
7   <property name="geometry" >
8    <rect>
9     <x>0</x>
10     <y>0</y>
11     <width>370</width>
12     <height>291</height>
13    </rect>
14   </property>
15   <property name="sizePolicy" >
16    <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
17     <horstretch>0</horstretch>
18     <verstretch>0</verstretch>
19    </sizepolicy>
20   </property>
21   <property name="windowTitle" >
22    <string>Preferences</string>
23   </property>
24   <layout class="QVBoxLayout" >
25    <item>
26     <widget class="QGroupBox" name="groupBox" >
27      <property name="sizePolicy" >
28       <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
29        <horstretch>0</horstretch>
30        <verstretch>0</verstretch>
31       </sizepolicy>
32      </property>
33      <property name="title" >
34       <string>General</string>
35      </property>
36      <layout class="QVBoxLayout" >
37       <item>
38        <widget class="QFrame" name="frame" >
39         <property name="sizePolicy" >
40          <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
41           <horstretch>0</horstretch>
42           <verstretch>0</verstretch>
43          </sizepolicy>
44         </property>
45         <property name="frameShape" >
46          <enum>QFrame::StyledPanel</enum>
47         </property>
48         <property name="frameShadow" >
49          <enum>QFrame::Raised</enum>
50         </property>
51         <layout class="QHBoxLayout" >
52          <item>
53           <widget class="QLabel" name="label" >
54            <property name="text" >
55             <string>Language</string>
56            </property>
57           </widget>
58          </item>
59          <item>
60           <spacer>
61            <property name="orientation" >
62             <enum>Qt::Horizontal</enum>
63            </property>
64            <property name="sizeType" >
65             <enum>QSizePolicy::MinimumExpanding</enum>
66            </property>
67            <property name="sizeHint" >
68             <size>
69              <width>40</width>
70              <height>20</height>
71             </size>
72            </property>
73           </spacer>
74          </item>
75          <item>
76           <widget class="QComboBox" name="languageBox" >
77            <item>
78             <property name="text" >
79              <string>English</string>
80             </property>
81            </item>
82            <item>
83             <property name="text" >
84              <string>Italian</string>
85             </property>
86            </item>
87           </widget>
88          </item>
89         </layout>
90        </widget>
91       </item>
92       <item>
93        <widget class="QFrame" name="frame_2" >
94         <property name="sizePolicy" >
95          <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
96           <horstretch>0</horstretch>
97           <verstretch>0</verstretch>
98          </sizepolicy>
99         </property>
100         <property name="frameShape" >
101          <enum>QFrame::StyledPanel</enum>
102         </property>
103         <property name="frameShadow" >
104          <enum>QFrame::Raised</enum>
105         </property>
106         <layout class="QHBoxLayout" >
107          <item>
108           <widget class="QLabel" name="label_2" >
109            <property name="text" >
110             <string>Background color</string>
111            </property>
112           </widget>
113          </item>
114          <item>
115           <spacer>
116            <property name="orientation" >
117             <enum>Qt::Horizontal</enum>
118            </property>
119            <property name="sizeType" >
120             <enum>QSizePolicy::MinimumExpanding</enum>
121            </property>
122            <property name="sizeHint" >
123             <size>
124              <width>40</width>
125              <height>20</height>
126             </size>
127            </property>
128           </spacer>
129          </item>
130          <item>
131           <widget class="ColorLabel" name="backgroundColor" >
132            <property name="sizePolicy" >
133             <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
134              <horstretch>0</horstretch>
135              <verstretch>0</verstretch>
136             </sizepolicy>
137            </property>
138            <property name="minimumSize" >
139             <size>
140              <width>20</width>
141              <height>20</height>
142             </size>
143            </property>
144            <property name="frameShape" >
145             <enum>QFrame::Box</enum>
146            </property>
147            <property name="text" >
148             <string/>
149            </property>
150            <property name="scaledContents" >
151             <bool>true</bool>
152            </property>
153            <property name="margin" >
154             <number>0</number>
155            </property>
156           </widget>
157          </item>
158         </layout>
159        </widget>
160       </item>
161       <item>
162        <widget class="QFrame" name="frame_3" >
163         <property name="sizePolicy" >
164          <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
165           <horstretch>0</horstretch>
166           <verstretch>0</verstretch>
167          </sizepolicy>
168         </property>
169         <property name="frameShape" >
170          <enum>QFrame::StyledPanel</enum>
171         </property>
172         <property name="frameShadow" >
173          <enum>QFrame::Raised</enum>
174         </property>
175         <layout class="QHBoxLayout" >
176          <item>
177           <widget class="QLabel" name="label_3" >
178            <property name="text" >
179             <string>Cube color</string>
180            </property>
181           </widget>
182          </item>
183          <item>
184           <spacer>
185            <property name="orientation" >
186             <enum>Qt::Horizontal</enum>
187            </property>
188            <property name="sizeType" >
189             <enum>QSizePolicy::MinimumExpanding</enum>
190            </property>
191            <property name="sizeHint" >
192             <size>
193              <width>40</width>
194              <height>20</height>
195             </size>
196            </property>
197           </spacer>
198          </item>
199          <item>
200           <widget class="ColorLabel" name="cubeColor" >
201            <property name="sizePolicy" >
202             <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
203              <horstretch>0</horstretch>
204              <verstretch>0</verstretch>
205             </sizepolicy>
206            </property>
207            <property name="minimumSize" >
208             <size>
209              <width>20</width>
210              <height>20</height>
211             </size>
212            </property>
213            <property name="frameShape" >
214             <enum>QFrame::Box</enum>
215            </property>
216            <property name="text" >
217             <string/>
218            </property>
219            <property name="scaledContents" >
220             <bool>true</bool>
221            </property>
222           </widget>
223          </item>
224         </layout>
225        </widget>
226       </item>
227       <item>
228        <widget class="QFrame" name="frame_4" >
229         <property name="frameShape" >
230          <enum>QFrame::StyledPanel</enum>
231         </property>
232         <property name="frameShadow" >
233          <enum>QFrame::Raised</enum>
234         </property>
235         <layout class="QHBoxLayout" >
236          <item>
237           <widget class="QLabel" name="label_4" >
238            <property name="text" >
239             <string>AI players delay</string>
240            </property>
241           </widget>
242          </item>
243          <item>
244           <spacer>
245            <property name="orientation" >
246             <enum>Qt::Horizontal</enum>
247            </property>
248            <property name="sizeType" >
249             <enum>QSizePolicy::MinimumExpanding</enum>
250            </property>
251            <property name="sizeHint" >
252             <size>
253              <width>40</width>
254              <height>20</height>
255             </size>
256            </property>
257           </spacer>
258          </item>
259          <item>
260           <widget class="QSpinBox" name="aiDelaySpinBox" >
261            <property name="suffix" >
262             <string> seconds</string>
263            </property>
264            <property name="maximum" >
265             <number>30</number>
266            </property>
267           </widget>
268          </item>
269         </layout>
270        </widget>
271       </item>
272      </layout>
273     </widget>
274    </item>
275    <item>
276     <layout class="QHBoxLayout" >
277      <item>
278       <widget class="QPushButton" name="helpButton" >
279        <property name="text" >
280         <string>Help</string>
281        </property>
282        <property name="autoDefault" >
283         <bool>false</bool>
284        </property>
285       </widget>
286      </item>
287      <item>
288       <spacer>
289        <property name="orientation" >
290         <enum>Qt::Horizontal</enum>
291        </property>
292        <property name="sizeHint" >
293         <size>
294          <width>40</width>
295          <height>20</height>
296         </size>
297        </property>
298       </spacer>
299      </item>
300      <item>
301       <widget class="QDialogButtonBox" name="buttonBox" >
302        <property name="orientation" >
303         <enum>Qt::Horizontal</enum>
304        </property>
305        <property name="standardButtons" >
306         <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
307        </property>
308        <property name="centerButtons" >
309         <bool>false</bool>
310        </property>
311       </widget>
312      </item>
313     </layout>
314    </item>
315   </layout>
316  </widget>
317  <customwidgets>
318   <customwidget>
319    <class>ColorLabel</class>
320    <extends>QLabel</extends>
321    <header>ColorLabel.h</header>
322   </customwidget>
323  </customwidgets>
324  <resources/>
325  <connections>
326   <connection>
327    <sender>buttonBox</sender>
328    <signal>accepted()</signal>
329    <receiver>preferences</receiver>
330    <slot>accept()</slot>
331    <hints>
332     <hint type="sourcelabel" >
333      <x>248</x>
334      <y>254</y>
335     </hint>
336     <hint type="destinationlabel" >
337      <x>157</x>
338      <y>274</y>
339     </hint>
340    </hints>
341   </connection>
342   <connection>
343    <sender>buttonBox</sender>
344    <signal>rejected()</signal>
345    <receiver>preferences</receiver>
346    <slot>reject()</slot>
347    <hints>
348     <hint type="sourcelabel" >
349      <x>316</x>
350      <y>260</y>
351     </hint>
352     <hint type="destinationlabel" >
353      <x>286</x>
354      <y>274</y>
355     </hint>
356    </hints>
357   </connection>
358  </connections>
359 </ui>