source: tspsg-svn/trunk/ui/settingsdialog.ce.ui @ 17

Last change on this file since 17 was 17, checked in by laleppa, 15 years ago

+ Windows CE (WM6, actually, but should work on other versions) support:

  • added optimized for wince forms (recommended minimal resolution is 240x320);
  • removed unsupported under wince features from menus (e.g., printing);
  • added preprocessor directives to remove code for unsupported under wince features.
  • Fixed wrong encoding in some files to UTF-8.
  • Updated copyright and e-mail.
File size: 11.8 KB
Line 
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>229</width>
10    <height>264</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" name="verticalLayout_2">
21   <property name="spacing">
22    <number>0</number>
23   </property>
24   <property name="margin">
25    <number>0</number>
26   </property>
27   <item>
28    <widget class="QWidget" name="background" native="true">
29     <property name="palette">
30      <palette>
31       <active>
32        <colorrole role="Base">
33         <brush brushstyle="SolidPattern">
34          <color alpha="255">
35           <red>255</red>
36           <green>255</green>
37           <blue>255</blue>
38          </color>
39         </brush>
40        </colorrole>
41        <colorrole role="Window">
42         <brush brushstyle="SolidPattern">
43          <color alpha="255">
44           <red>255</red>
45           <green>255</green>
46           <blue>255</blue>
47          </color>
48         </brush>
49        </colorrole>
50       </active>
51       <inactive>
52        <colorrole role="Base">
53         <brush brushstyle="SolidPattern">
54          <color alpha="255">
55           <red>255</red>
56           <green>255</green>
57           <blue>255</blue>
58          </color>
59         </brush>
60        </colorrole>
61        <colorrole role="Window">
62         <brush brushstyle="SolidPattern">
63          <color alpha="255">
64           <red>255</red>
65           <green>255</green>
66           <blue>255</blue>
67          </color>
68         </brush>
69        </colorrole>
70       </inactive>
71       <disabled>
72        <colorrole role="Base">
73         <brush brushstyle="SolidPattern">
74          <color alpha="255">
75           <red>255</red>
76           <green>255</green>
77           <blue>255</blue>
78          </color>
79         </brush>
80        </colorrole>
81        <colorrole role="Window">
82         <brush brushstyle="SolidPattern">
83          <color alpha="255">
84           <red>255</red>
85           <green>255</green>
86           <blue>255</blue>
87          </color>
88         </brush>
89        </colorrole>
90       </disabled>
91      </palette>
92     </property>
93     <property name="autoFillBackground">
94      <bool>true</bool>
95     </property>
96     <layout class="QVBoxLayout" name="verticalLayout">
97      <item>
98       <widget class="QGroupBox" name="groupRandomSettings">
99        <property name="title">
100         <string>Случайные значения:</string>
101        </property>
102        <layout class="QVBoxLayout">
103         <item>
104          <layout class="QHBoxLayout">
105           <item>
106            <widget class="QLabel" name="labelRandMin">
107             <property name="sizePolicy">
108              <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
109               <horstretch>0</horstretch>
110               <verstretch>0</verstretch>
111              </sizepolicy>
112             </property>
113             <property name="text">
114              <string>Ми&amp;нимум:</string>
115             </property>
116             <property name="buddy">
117              <cstring>spinRandMin</cstring>
118             </property>
119            </widget>
120           </item>
121           <item>
122            <widget class="QSpinBox" name="spinRandMin">
123             <property name="cursor">
124              <cursorShape>PointingHandCursor</cursorShape>
125             </property>
126             <property name="statusTip">
127              <string>Нижняя граница для генерации случайных значений</string>
128             </property>
129             <property name="maximum">
130              <number>1000</number>
131             </property>
132             <property name="value">
133              <number>1</number>
134             </property>
135            </widget>
136           </item>
137          </layout>
138         </item>
139         <item>
140          <layout class="QHBoxLayout">
141           <item>
142            <widget class="QLabel" name="labelRandMax">
143             <property name="sizePolicy">
144              <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
145               <horstretch>0</horstretch>
146               <verstretch>0</verstretch>
147              </sizepolicy>
148             </property>
149             <property name="text">
150              <string>&amp;Максимум:</string>
151             </property>
152             <property name="buddy">
153              <cstring>spinRandMax</cstring>
154             </property>
155            </widget>
156           </item>
157           <item>
158            <widget class="QSpinBox" name="spinRandMax">
159             <property name="cursor">
160              <cursorShape>PointingHandCursor</cursorShape>
161             </property>
162             <property name="statusTip">
163              <string>Верхняя граница для генерации случайных значений</string>
164             </property>
165             <property name="minimum">
166              <number>1</number>
167             </property>
168             <property name="maximum">
169              <number>1000</number>
170             </property>
171             <property name="value">
172              <number>10</number>
173             </property>
174            </widget>
175           </item>
176          </layout>
177         </item>
178        </layout>
179       </widget>
180      </item>
181      <item>
182       <layout class="QHBoxLayout" name="horizontalLayout_2">
183        <item>
184         <spacer name="horizontalSpacer_3">
185          <property name="orientation">
186           <enum>Qt::Horizontal</enum>
187          </property>
188          <property name="sizeHint" stdset="0">
189           <size>
190            <width>40</width>
191            <height>20</height>
192           </size>
193          </property>
194         </spacer>
195        </item>
196        <item>
197         <widget class="QPushButton" name="buttonFont">
198          <property name="cursor">
199           <cursorShape>PointingHandCursor</cursorShape>
200          </property>
201          <property name="statusTip">
202           <string>Задать параметры шрифта, используемого при печати</string>
203          </property>
204          <property name="text">
205           <string>&amp;Шрифт...</string>
206          </property>
207          <property name="icon">
208           <iconset resource="../resources/tspsg.qrc">
209            <normaloff>:/images/buttons/buttons/Font.png</normaloff>:/images/buttons/buttons/Font.png</iconset>
210          </property>
211         </widget>
212        </item>
213       </layout>
214      </item>
215      <item>
216       <spacer name="verticalSpacer">
217        <property name="orientation">
218         <enum>Qt::Vertical</enum>
219        </property>
220        <property name="sizeHint" stdset="0">
221         <size>
222          <width>20</width>
223          <height>41</height>
224         </size>
225        </property>
226       </spacer>
227      </item>
228      <item>
229       <layout class="QHBoxLayout" name="horizontalLayout">
230        <item>
231         <spacer name="horizontalSpacer">
232          <property name="orientation">
233           <enum>Qt::Horizontal</enum>
234          </property>
235          <property name="sizeHint" stdset="0">
236           <size>
237            <width>40</width>
238            <height>20</height>
239           </size>
240          </property>
241         </spacer>
242        </item>
243        <item>
244         <widget class="QCheckBox" name="checkBox">
245          <property name="cursor">
246           <cursorShape>PointingHandCursor</cursorShape>
247          </property>
248          <property name="statusTip">
249           <string>Восстанавливать состояние и размеры окна после перезапуска программы</string>
250          </property>
251          <property name="text">
252           <string>Сохранять состояние и
253положение главного окна</string>
254          </property>
255          <property name="checked">
256           <bool>false</bool>
257          </property>
258         </widget>
259        </item>
260        <item>
261         <spacer name="horizontalSpacer_2">
262          <property name="orientation">
263           <enum>Qt::Horizontal</enum>
264          </property>
265          <property name="sizeHint" stdset="0">
266           <size>
267            <width>40</width>
268            <height>20</height>
269           </size>
270          </property>
271         </spacer>
272        </item>
273       </layout>
274      </item>
275     </layout>
276    </widget>
277   </item>
278   <item>
279    <widget class="Line" name="lineHorizontal">
280     <property name="maximumSize">
281      <size>
282       <width>16777215</width>
283       <height>2</height>
284      </size>
285     </property>
286     <property name="frameShadow">
287      <enum>QFrame::Plain</enum>
288     </property>
289     <property name="lineWidth">
290      <number>2</number>
291     </property>
292     <property name="orientation">
293      <enum>Qt::Horizontal</enum>
294     </property>
295    </widget>
296   </item>
297   <item>
298    <layout class="QHBoxLayout">
299     <property name="spacing">
300      <number>6</number>
301     </property>
302     <property name="sizeConstraint">
303      <enum>QLayout::SetFixedSize</enum>
304     </property>
305     <property name="margin">
306      <number>6</number>
307     </property>
308     <item>
309      <widget class="QToolButton" name="toolButton">
310       <property name="cursor">
311        <cursorShape>PointingHandCursor</cursorShape>
312       </property>
313       <property name="toolTip">
314        <string>Справка</string>
315       </property>
316       <property name="statusTip">
317        <string>Получить помощь по настройкам</string>
318       </property>
319       <property name="text">
320        <string>Помощь</string>
321       </property>
322       <property name="icon">
323        <iconset resource="../resources/tspsg.qrc">
324         <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset>
325       </property>
326       <property name="autoRaise">
327        <bool>true</bool>
328       </property>
329      </widget>
330     </item>
331     <item>
332      <spacer name="horizontalSpacer_4">
333       <property name="orientation">
334        <enum>Qt::Horizontal</enum>
335       </property>
336       <property name="sizeHint" stdset="0">
337        <size>
338         <width>40</width>
339         <height>20</height>
340        </size>
341       </property>
342      </spacer>
343     </item>
344     <item>
345      <widget class="QPushButton" name="buttonOK">
346       <property name="cursor">
347        <cursorShape>PointingHandCursor</cursorShape>
348       </property>
349       <property name="statusTip">
350        <string>Сохранить новые параметры</string>
351       </property>
352       <property name="text">
353        <string>&amp;OK</string>
354       </property>
355       <property name="icon">
356        <iconset resource="../resources/tspsg.qrc">
357         <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset>
358       </property>
359       <property name="default">
360        <bool>true</bool>
361       </property>
362      </widget>
363     </item>
364     <item>
365      <widget class="QPushButton" name="buttonCancel">
366       <property name="cursor">
367        <cursorShape>PointingHandCursor</cursorShape>
368       </property>
369       <property name="statusTip">
370        <string>Закрыть окно без сохранения параметров</string>
371       </property>
372       <property name="text">
373        <string>&amp;Отмена</string>
374       </property>
375       <property name="icon">
376        <iconset resource="../resources/tspsg.qrc">
377         <normaloff>:/images/buttons/buttons/Critical.png</normaloff>:/images/buttons/buttons/Critical.png</iconset>
378       </property>
379      </widget>
380     </item>
381    </layout>
382   </item>
383  </layout>
384 </widget>
385 <resources>
386  <include location="../resources/tspsg.qrc"/>
387 </resources>
388 <connections/>
389</ui>
Note: See TracBrowser for help on using the repository browser.