1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>SettingsDialog</class> |
---|
4 | <widget class="QWidget" name="SettingsDialog"> |
---|
5 | <property name="geometry"> |
---|
6 | <rect> |
---|
7 | <x>0</x> |
---|
8 | <y>0</y> |
---|
9 | <width>498</width> |
---|
10 | <height>188</height> |
---|
11 | </rect> |
---|
12 | </property> |
---|
13 | <property name="windowTitle"> |
---|
14 | <string>Параметры</string> |
---|
15 | </property> |
---|
16 | <property name="windowIcon"> |
---|
17 | <iconset resource="../resources/tspsg.qrc"> |
---|
18 | <normaloff>:/images/Settings.png</normaloff>:/images/Settings.png</iconset> |
---|
19 | </property> |
---|
20 | <layout class="QVBoxLayout"> |
---|
21 | <property name="spacing"> |
---|
22 | <number>0</number> |
---|
23 | </property> |
---|
24 | <property name="margin"> |
---|
25 | <number>0</number> |
---|
26 | </property> |
---|
27 | <item> |
---|
28 | <layout class="QHBoxLayout"> |
---|
29 | <property name="spacing"> |
---|
30 | <number>0</number> |
---|
31 | </property> |
---|
32 | <item> |
---|
33 | <widget class="QLabel" name="imageSide"> |
---|
34 | <property name="minimumSize"> |
---|
35 | <size> |
---|
36 | <width>130</width> |
---|
37 | <height>0</height> |
---|
38 | </size> |
---|
39 | </property> |
---|
40 | <property name="styleSheet"> |
---|
41 | <string>background-color: #0080C0</string> |
---|
42 | </property> |
---|
43 | <property name="frameShape"> |
---|
44 | <enum>QFrame::StyledPanel</enum> |
---|
45 | </property> |
---|
46 | <property name="lineWidth"> |
---|
47 | <number>0</number> |
---|
48 | </property> |
---|
49 | <property name="text"> |
---|
50 | <string/> |
---|
51 | </property> |
---|
52 | <property name="pixmap"> |
---|
53 | <pixmap resource="../resources/tspsg.qrc">:/images/Settings.png</pixmap> |
---|
54 | </property> |
---|
55 | <property name="alignment"> |
---|
56 | <set>Qt::AlignCenter</set> |
---|
57 | </property> |
---|
58 | </widget> |
---|
59 | </item> |
---|
60 | <item> |
---|
61 | <widget class="Line" name="lineVertical"> |
---|
62 | <property name="frameShadow"> |
---|
63 | <enum>QFrame::Plain</enum> |
---|
64 | </property> |
---|
65 | <property name="lineWidth"> |
---|
66 | <number>2</number> |
---|
67 | </property> |
---|
68 | <property name="orientation"> |
---|
69 | <enum>Qt::Vertical</enum> |
---|
70 | </property> |
---|
71 | </widget> |
---|
72 | </item> |
---|
73 | <item> |
---|
74 | <widget class="QWidget" name="background" native="true"> |
---|
75 | <property name="palette"> |
---|
76 | <palette> |
---|
77 | <active> |
---|
78 | <colorrole role="Base"> |
---|
79 | <brush brushstyle="SolidPattern"> |
---|
80 | <color alpha="255"> |
---|
81 | <red>255</red> |
---|
82 | <green>255</green> |
---|
83 | <blue>255</blue> |
---|
84 | </color> |
---|
85 | </brush> |
---|
86 | </colorrole> |
---|
87 | <colorrole role="Window"> |
---|
88 | <brush brushstyle="SolidPattern"> |
---|
89 | <color alpha="255"> |
---|
90 | <red>255</red> |
---|
91 | <green>255</green> |
---|
92 | <blue>255</blue> |
---|
93 | </color> |
---|
94 | </brush> |
---|
95 | </colorrole> |
---|
96 | </active> |
---|
97 | <inactive> |
---|
98 | <colorrole role="Base"> |
---|
99 | <brush brushstyle="SolidPattern"> |
---|
100 | <color alpha="255"> |
---|
101 | <red>255</red> |
---|
102 | <green>255</green> |
---|
103 | <blue>255</blue> |
---|
104 | </color> |
---|
105 | </brush> |
---|
106 | </colorrole> |
---|
107 | <colorrole role="Window"> |
---|
108 | <brush brushstyle="SolidPattern"> |
---|
109 | <color alpha="255"> |
---|
110 | <red>255</red> |
---|
111 | <green>255</green> |
---|
112 | <blue>255</blue> |
---|
113 | </color> |
---|
114 | </brush> |
---|
115 | </colorrole> |
---|
116 | </inactive> |
---|
117 | <disabled> |
---|
118 | <colorrole role="Base"> |
---|
119 | <brush brushstyle="SolidPattern"> |
---|
120 | <color alpha="255"> |
---|
121 | <red>255</red> |
---|
122 | <green>255</green> |
---|
123 | <blue>255</blue> |
---|
124 | </color> |
---|
125 | </brush> |
---|
126 | </colorrole> |
---|
127 | <colorrole role="Window"> |
---|
128 | <brush brushstyle="SolidPattern"> |
---|
129 | <color alpha="255"> |
---|
130 | <red>255</red> |
---|
131 | <green>255</green> |
---|
132 | <blue>255</blue> |
---|
133 | </color> |
---|
134 | </brush> |
---|
135 | </colorrole> |
---|
136 | </disabled> |
---|
137 | </palette> |
---|
138 | </property> |
---|
139 | <property name="autoFillBackground"> |
---|
140 | <bool>true</bool> |
---|
141 | </property> |
---|
142 | <layout class="QVBoxLayout"> |
---|
143 | <item> |
---|
144 | <layout class="QHBoxLayout"> |
---|
145 | <property name="spacing"> |
---|
146 | <number>6</number> |
---|
147 | </property> |
---|
148 | <item> |
---|
149 | <widget class="QGroupBox" name="groupRandomSettings"> |
---|
150 | <property name="title"> |
---|
151 | <string>Случайные значения:</string> |
---|
152 | </property> |
---|
153 | <layout class="QVBoxLayout"> |
---|
154 | <item> |
---|
155 | <layout class="QHBoxLayout"> |
---|
156 | <item> |
---|
157 | <widget class="QLabel" name="labelRandMin"> |
---|
158 | <property name="sizePolicy"> |
---|
159 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
160 | <horstretch>0</horstretch> |
---|
161 | <verstretch>0</verstretch> |
---|
162 | </sizepolicy> |
---|
163 | </property> |
---|
164 | <property name="text"> |
---|
165 | <string>Ми&нимум:</string> |
---|
166 | </property> |
---|
167 | <property name="buddy"> |
---|
168 | <cstring>spinRandMin</cstring> |
---|
169 | </property> |
---|
170 | </widget> |
---|
171 | </item> |
---|
172 | <item> |
---|
173 | <widget class="QSpinBox" name="spinRandMin"> |
---|
174 | <property name="cursor"> |
---|
175 | <cursorShape>PointingHandCursor</cursorShape> |
---|
176 | </property> |
---|
177 | <property name="statusTip"> |
---|
178 | <string>Нижняя граница для генерации случайных значений</string> |
---|
179 | </property> |
---|
180 | <property name="maximum"> |
---|
181 | <number>1000</number> |
---|
182 | </property> |
---|
183 | <property name="value"> |
---|
184 | <number>1</number> |
---|
185 | </property> |
---|
186 | </widget> |
---|
187 | </item> |
---|
188 | </layout> |
---|
189 | </item> |
---|
190 | <item> |
---|
191 | <layout class="QHBoxLayout"> |
---|
192 | <item> |
---|
193 | <widget class="QLabel" name="labelRandMax"> |
---|
194 | <property name="sizePolicy"> |
---|
195 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
196 | <horstretch>0</horstretch> |
---|
197 | <verstretch>0</verstretch> |
---|
198 | </sizepolicy> |
---|
199 | </property> |
---|
200 | <property name="text"> |
---|
201 | <string>&Максимум:</string> |
---|
202 | </property> |
---|
203 | <property name="buddy"> |
---|
204 | <cstring>spinRandMax</cstring> |
---|
205 | </property> |
---|
206 | </widget> |
---|
207 | </item> |
---|
208 | <item> |
---|
209 | <widget class="QSpinBox" name="spinRandMax"> |
---|
210 | <property name="cursor"> |
---|
211 | <cursorShape>PointingHandCursor</cursorShape> |
---|
212 | </property> |
---|
213 | <property name="statusTip"> |
---|
214 | <string>Верхняя граница для генерации случайных значений</string> |
---|
215 | </property> |
---|
216 | <property name="minimum"> |
---|
217 | <number>1</number> |
---|
218 | </property> |
---|
219 | <property name="maximum"> |
---|
220 | <number>1000</number> |
---|
221 | </property> |
---|
222 | <property name="value"> |
---|
223 | <number>10</number> |
---|
224 | </property> |
---|
225 | </widget> |
---|
226 | </item> |
---|
227 | </layout> |
---|
228 | </item> |
---|
229 | </layout> |
---|
230 | </widget> |
---|
231 | </item> |
---|
232 | <item> |
---|
233 | <widget class="QGroupBox" name="groupPrintSetup"> |
---|
234 | <property name="title"> |
---|
235 | <string>Настройки печати:</string> |
---|
236 | </property> |
---|
237 | <layout class="QVBoxLayout" name="verticalLayout"> |
---|
238 | <item> |
---|
239 | <layout class="QHBoxLayout"> |
---|
240 | <item> |
---|
241 | <widget class="QLabel" name="labelLeftMargin"> |
---|
242 | <property name="sizePolicy"> |
---|
243 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
244 | <horstretch>0</horstretch> |
---|
245 | <verstretch>0</verstretch> |
---|
246 | </sizepolicy> |
---|
247 | </property> |
---|
248 | <property name="text"> |
---|
249 | <string>&Левый отступ:</string> |
---|
250 | </property> |
---|
251 | <property name="buddy"> |
---|
252 | <cstring>spinLeftMargin</cstring> |
---|
253 | </property> |
---|
254 | </widget> |
---|
255 | </item> |
---|
256 | <item> |
---|
257 | <widget class="QSpinBox" name="spinLeftMargin"> |
---|
258 | <property name="cursor"> |
---|
259 | <cursorShape>PointingHandCursor</cursorShape> |
---|
260 | </property> |
---|
261 | <property name="statusTip"> |
---|
262 | <string>Размер отступа от левого края страницы</string> |
---|
263 | </property> |
---|
264 | <property name="maximum"> |
---|
265 | <number>999</number> |
---|
266 | </property> |
---|
267 | <property name="singleStep"> |
---|
268 | <number>10</number> |
---|
269 | </property> |
---|
270 | <property name="value"> |
---|
271 | <number>100</number> |
---|
272 | </property> |
---|
273 | </widget> |
---|
274 | </item> |
---|
275 | </layout> |
---|
276 | </item> |
---|
277 | <item> |
---|
278 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
279 | <property name="spacing"> |
---|
280 | <number>0</number> |
---|
281 | </property> |
---|
282 | <item> |
---|
283 | <widget class="QPushButton" name="buttonColor"> |
---|
284 | <property name="cursor"> |
---|
285 | <cursorShape>PointingHandCursor</cursorShape> |
---|
286 | </property> |
---|
287 | <property name="text"> |
---|
288 | <string>&Цвет...</string> |
---|
289 | </property> |
---|
290 | <property name="icon"> |
---|
291 | <iconset resource="../resources/tspsg.qrc"> |
---|
292 | <normaloff>:/images/buttons/buttons/Color.png</normaloff>:/images/buttons/buttons/Color.png</iconset> |
---|
293 | </property> |
---|
294 | </widget> |
---|
295 | </item> |
---|
296 | <item> |
---|
297 | <widget class="QPushButton" name="buttonFont"> |
---|
298 | <property name="cursor"> |
---|
299 | <cursorShape>PointingHandCursor</cursorShape> |
---|
300 | </property> |
---|
301 | <property name="statusTip"> |
---|
302 | <string>Задать параметры шрифта, используемого при печати</string> |
---|
303 | </property> |
---|
304 | <property name="text"> |
---|
305 | <string>&Шрифт...</string> |
---|
306 | </property> |
---|
307 | <property name="icon"> |
---|
308 | <iconset resource="../resources/tspsg.qrc"> |
---|
309 | <normaloff>:/images/buttons/buttons/Font.png</normaloff>:/images/buttons/buttons/Font.png</iconset> |
---|
310 | </property> |
---|
311 | </widget> |
---|
312 | </item> |
---|
313 | </layout> |
---|
314 | </item> |
---|
315 | </layout> |
---|
316 | </widget> |
---|
317 | </item> |
---|
318 | </layout> |
---|
319 | </item> |
---|
320 | <item> |
---|
321 | <widget class="QCheckBox" name="cbSaveState"> |
---|
322 | <property name="cursor"> |
---|
323 | <cursorShape>PointingHandCursor</cursorShape> |
---|
324 | </property> |
---|
325 | <property name="statusTip"> |
---|
326 | <string>Восстанавливать состояние и размеры окна после перезапуска программы</string> |
---|
327 | </property> |
---|
328 | <property name="text"> |
---|
329 | <string>Сохранять состояние и положение главного окна</string> |
---|
330 | </property> |
---|
331 | </widget> |
---|
332 | </item> |
---|
333 | </layout> |
---|
334 | </widget> |
---|
335 | </item> |
---|
336 | </layout> |
---|
337 | </item> |
---|
338 | <item> |
---|
339 | <widget class="Line" name="lineHorizontal"> |
---|
340 | <property name="maximumSize"> |
---|
341 | <size> |
---|
342 | <width>16777215</width> |
---|
343 | <height>2</height> |
---|
344 | </size> |
---|
345 | </property> |
---|
346 | <property name="frameShadow"> |
---|
347 | <enum>QFrame::Plain</enum> |
---|
348 | </property> |
---|
349 | <property name="lineWidth"> |
---|
350 | <number>2</number> |
---|
351 | </property> |
---|
352 | <property name="orientation"> |
---|
353 | <enum>Qt::Horizontal</enum> |
---|
354 | </property> |
---|
355 | </widget> |
---|
356 | </item> |
---|
357 | <item> |
---|
358 | <layout class="QHBoxLayout"> |
---|
359 | <property name="spacing"> |
---|
360 | <number>6</number> |
---|
361 | </property> |
---|
362 | <property name="margin"> |
---|
363 | <number>6</number> |
---|
364 | </property> |
---|
365 | <item> |
---|
366 | <widget class="QToolButton" name="toolButton"> |
---|
367 | <property name="cursor"> |
---|
368 | <cursorShape>PointingHandCursor</cursorShape> |
---|
369 | </property> |
---|
370 | <property name="toolTip"> |
---|
371 | <string>Справка</string> |
---|
372 | </property> |
---|
373 | <property name="statusTip"> |
---|
374 | <string>Получить помощь по настройкам</string> |
---|
375 | </property> |
---|
376 | <property name="text"> |
---|
377 | <string>Помощь</string> |
---|
378 | </property> |
---|
379 | <property name="icon"> |
---|
380 | <iconset resource="../resources/tspsg.qrc"> |
---|
381 | <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset> |
---|
382 | </property> |
---|
383 | <property name="autoRaise"> |
---|
384 | <bool>true</bool> |
---|
385 | </property> |
---|
386 | </widget> |
---|
387 | </item> |
---|
388 | <item> |
---|
389 | <widget class="QLabel" name="labelHint"> |
---|
390 | <property name="sizePolicy"> |
---|
391 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
392 | <horstretch>0</horstretch> |
---|
393 | <verstretch>0</verstretch> |
---|
394 | </sizepolicy> |
---|
395 | </property> |
---|
396 | <property name="statusTip"> |
---|
397 | <string>Наведите указатель мыши на элемент диалога, чтоб получить подсказку</string> |
---|
398 | </property> |
---|
399 | <property name="text"> |
---|
400 | <string/> |
---|
401 | </property> |
---|
402 | <property name="textFormat"> |
---|
403 | <enum>Qt::PlainText</enum> |
---|
404 | </property> |
---|
405 | <property name="alignment"> |
---|
406 | <set>Qt::AlignJustify|Qt::AlignTop</set> |
---|
407 | </property> |
---|
408 | <property name="wordWrap"> |
---|
409 | <bool>true</bool> |
---|
410 | </property> |
---|
411 | </widget> |
---|
412 | </item> |
---|
413 | <item> |
---|
414 | <widget class="QPushButton" name="buttonOK"> |
---|
415 | <property name="cursor"> |
---|
416 | <cursorShape>PointingHandCursor</cursorShape> |
---|
417 | </property> |
---|
418 | <property name="statusTip"> |
---|
419 | <string>Сохранить новые параметры</string> |
---|
420 | </property> |
---|
421 | <property name="text"> |
---|
422 | <string>&OK</string> |
---|
423 | </property> |
---|
424 | <property name="icon"> |
---|
425 | <iconset resource="../resources/tspsg.qrc"> |
---|
426 | <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset> |
---|
427 | </property> |
---|
428 | <property name="default"> |
---|
429 | <bool>true</bool> |
---|
430 | </property> |
---|
431 | </widget> |
---|
432 | </item> |
---|
433 | <item> |
---|
434 | <widget class="QPushButton" name="buttonCancel"> |
---|
435 | <property name="cursor"> |
---|
436 | <cursorShape>PointingHandCursor</cursorShape> |
---|
437 | </property> |
---|
438 | <property name="statusTip"> |
---|
439 | <string>Закрыть окно без сохранения параметров</string> |
---|
440 | </property> |
---|
441 | <property name="text"> |
---|
442 | <string>&Отмена</string> |
---|
443 | </property> |
---|
444 | <property name="icon"> |
---|
445 | <iconset resource="../resources/tspsg.qrc"> |
---|
446 | <normaloff>:/images/buttons/buttons/Critical.png</normaloff>:/images/buttons/buttons/Critical.png</iconset> |
---|
447 | </property> |
---|
448 | </widget> |
---|
449 | </item> |
---|
450 | </layout> |
---|
451 | </item> |
---|
452 | </layout> |
---|
453 | </widget> |
---|
454 | <resources> |
---|
455 | <include location="../resources/tspsg.qrc"/> |
---|
456 | <include location="../resources/tspsg.qrc"/> |
---|
457 | </resources> |
---|
458 | <connections/> |
---|
459 | </ui> |
---|