SettingsForm: Sound and music buttons added to dialog.
[mines3d.git] / ui / qt / SettingsForm.ui
blob82cce3bf83c5cadfb86a702394273143ce6403bd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SettingsForm</class>
4 <widget class="QDialog" name="SettingsForm">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>360</width>
10 <height>274</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Settings</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="2">
18 <widget class="QGroupBox" name="customGpb">
19 <property name="title">
20 <string>Custom</string>
21 </property>
22 <layout class="QGridLayout" name="gridLayout_2">
23 <item row="0" column="0">
24 <widget class="QLabel" name="layersLbl">
25 <property name="text">
26 <string>Layers:</string>
27 </property>
28 </widget>
29 </item>
30 <item row="0" column="1">
31 <widget class="QSpinBox" name="layersSpinBox">
32 <property name="minimum">
33 <number>1</number>
34 </property>
35 <property name="maximum">
36 <number>20</number>
37 </property>
38 </widget>
39 </item>
40 <item row="1" column="0">
41 <widget class="QLabel" name="rowsLbl">
42 <property name="text">
43 <string>Rows:</string>
44 </property>
45 </widget>
46 </item>
47 <item row="1" column="1">
48 <widget class="QSpinBox" name="rowsSpinBox">
49 <property name="minimum">
50 <number>1</number>
51 </property>
52 </widget>
53 </item>
54 <item row="2" column="0">
55 <widget class="QLabel" name="columnsLbl">
56 <property name="text">
57 <string>Columns:</string>
58 </property>
59 </widget>
60 </item>
61 <item row="2" column="1">
62 <widget class="QSpinBox" name="columnsSpinBox">
63 <property name="minimum">
64 <number>1</number>
65 </property>
66 </widget>
67 </item>
68 <item row="3" column="0">
69 <widget class="QLabel" name="minesLbl">
70 <property name="text">
71 <string>Mines:</string>
72 </property>
73 </widget>
74 </item>
75 <item row="3" column="1">
76 <widget class="QSpinBox" name="minesSpinBox">
77 <property name="minimum">
78 <number>1</number>
79 </property>
80 <property name="maximum">
81 <number>300</number>
82 </property>
83 </widget>
84 </item>
85 </layout>
86 </widget>
87 </item>
88 <item row="2" column="1" colspan="2">
89 <widget class="QDialogButtonBox" name="buttonBox">
90 <property name="sizePolicy">
91 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
92 <horstretch>0</horstretch>
93 <verstretch>0</verstretch>
94 </sizepolicy>
95 </property>
96 <property name="orientation">
97 <enum>Qt::Horizontal</enum>
98 </property>
99 <property name="standardButtons">
100 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
101 </property>
102 </widget>
103 </item>
104 <item row="0" column="1">
105 <widget class="QGroupBox" name="difficultnessGpb">
106 <property name="title">
107 <string>Difficultness</string>
108 </property>
109 <layout class="QGridLayout" name="gridLayout_3">
110 <item row="0" column="0">
111 <widget class="QRadioButton" name="rookieRadio">
112 <property name="text">
113 <string>Rookie</string>
114 </property>
115 </widget>
116 </item>
117 <item row="1" column="0">
118 <widget class="QRadioButton" name="advancedRadio">
119 <property name="text">
120 <string>Advanced</string>
121 </property>
122 </widget>
123 </item>
124 <item row="2" column="0">
125 <widget class="QRadioButton" name="suicideRadio">
126 <property name="text">
127 <string>Suicide</string>
128 </property>
129 </widget>
130 </item>
131 <item row="3" column="0">
132 <widget class="QRadioButton" name="customRadio">
133 <property name="text">
134 <string>Custom</string>
135 </property>
136 </widget>
137 </item>
138 </layout>
139 </widget>
140 </item>
141 <item row="1" column="1" colspan="2">
142 <widget class="QGroupBox" name="soundsGpb">
143 <property name="title">
144 <string>Sounds</string>
145 </property>
146 <layout class="QGridLayout" name="gridLayout_4">
147 <item row="0" column="0">
148 <widget class="QPushButton" name="soundEffectsBtn">
149 <property name="enabled">
150 <bool>true</bool>
151 </property>
152 <property name="text">
153 <string>Effects</string>
154 </property>
155 <property name="checkable">
156 <bool>true</bool>
157 </property>
158 </widget>
159 </item>
160 <item row="0" column="1">
161 <widget class="QPushButton" name="soundMusicBtn">
162 <property name="text">
163 <string>Music</string>
164 </property>
165 <property name="checkable">
166 <bool>true</bool>
167 </property>
168 </widget>
169 </item>
170 </layout>
171 </widget>
172 </item>
173 </layout>
174 </widget>
175 <tabstops>
176 <tabstop>rookieRadio</tabstop>
177 <tabstop>advancedRadio</tabstop>
178 <tabstop>suicideRadio</tabstop>
179 <tabstop>customRadio</tabstop>
180 <tabstop>layersSpinBox</tabstop>
181 <tabstop>rowsSpinBox</tabstop>
182 <tabstop>columnsSpinBox</tabstop>
183 <tabstop>minesSpinBox</tabstop>
184 <tabstop>soundEffectsBtn</tabstop>
185 <tabstop>soundMusicBtn</tabstop>
186 <tabstop>buttonBox</tabstop>
187 </tabstops>
188 <resources/>
189 <connections>
190 <connection>
191 <sender>buttonBox</sender>
192 <signal>accepted()</signal>
193 <receiver>SettingsForm</receiver>
194 <slot>accept()</slot>
195 <hints>
196 <hint type="sourcelabel">
197 <x>248</x>
198 <y>254</y>
199 </hint>
200 <hint type="destinationlabel">
201 <x>157</x>
202 <y>273</y>
203 </hint>
204 </hints>
205 </connection>
206 <connection>
207 <sender>buttonBox</sender>
208 <signal>rejected()</signal>
209 <receiver>SettingsForm</receiver>
210 <slot>reject()</slot>
211 <hints>
212 <hint type="sourcelabel">
213 <x>316</x>
214 <y>260</y>
215 </hint>
216 <hint type="destinationlabel">
217 <x>286</x>
218 <y>273</y>
219 </hint>
220 </hints>
221 </connection>
222 </connections>
223 </ui>