source: tspsg/ui/settingsdialog.ce.ui @ 0621172ec1

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 0621172ec1 was 0621172ec1, checked in by Oleksii Serdiuk, 15 years ago

+ Status tip for font color selection button in settings.

  • Number of cities wasn't saved in wince version.
  • Property mode set to 100644
File size: 10.9 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>214</width>
10    <height>207</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="buttonColor">
198          <property name="statusTip">
199           <string>Задать цвет шрифта, используемого при печати</string>
200          </property>
201          <property name="text">
202           <string>&amp;Цвет...</string>
203          </property>
204          <property name="icon">
205           <iconset resource="../resources/tspsg.qrc">
206            <normaloff>:/images/buttons/buttons/Color.png</normaloff>:/images/buttons/buttons/Color.png</iconset>
207          </property>
208         </widget>
209        </item>
210        <item>
211         <widget class="QPushButton" name="buttonFont">
212          <property name="cursor">
213           <cursorShape>PointingHandCursor</cursorShape>
214          </property>
215          <property name="statusTip">
216           <string>Задать параметры шрифта, используемого при печати</string>
217          </property>
218          <property name="text">
219           <string>&amp;Шрифт...</string>
220          </property>
221          <property name="icon">
222           <iconset resource="../resources/tspsg.qrc">
223            <normaloff>:/images/buttons/buttons/Font.png</normaloff>:/images/buttons/buttons/Font.png</iconset>
224          </property>
225         </widget>
226        </item>
227       </layout>
228      </item>
229      <item>
230       <spacer name="verticalSpacer">
231        <property name="orientation">
232         <enum>Qt::Vertical</enum>
233        </property>
234        <property name="sizeHint" stdset="0">
235         <size>
236          <width>20</width>
237          <height>41</height>
238         </size>
239        </property>
240       </spacer>
241      </item>
242     </layout>
243    </widget>
244   </item>
245   <item>
246    <widget class="Line" name="lineHorizontal">
247     <property name="maximumSize">
248      <size>
249       <width>16777215</width>
250       <height>2</height>
251      </size>
252     </property>
253     <property name="frameShadow">
254      <enum>QFrame::Plain</enum>
255     </property>
256     <property name="lineWidth">
257      <number>2</number>
258     </property>
259     <property name="orientation">
260      <enum>Qt::Horizontal</enum>
261     </property>
262    </widget>
263   </item>
264   <item>
265    <layout class="QHBoxLayout">
266     <property name="spacing">
267      <number>6</number>
268     </property>
269     <property name="sizeConstraint">
270      <enum>QLayout::SetFixedSize</enum>
271     </property>
272     <property name="margin">
273      <number>6</number>
274     </property>
275     <item>
276      <widget class="QToolButton" name="toolButton">
277       <property name="cursor">
278        <cursorShape>PointingHandCursor</cursorShape>
279       </property>
280       <property name="toolTip">
281        <string>Справка</string>
282       </property>
283       <property name="statusTip">
284        <string>Получить помощь по настройкам</string>
285       </property>
286       <property name="text">
287        <string>Помощь</string>
288       </property>
289       <property name="icon">
290        <iconset resource="../resources/tspsg.qrc">
291         <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset>
292       </property>
293       <property name="autoRaise">
294        <bool>true</bool>
295       </property>
296      </widget>
297     </item>
298     <item>
299      <spacer name="horizontalSpacer_4">
300       <property name="orientation">
301        <enum>Qt::Horizontal</enum>
302       </property>
303       <property name="sizeHint" stdset="0">
304        <size>
305         <width>40</width>
306         <height>20</height>
307        </size>
308       </property>
309      </spacer>
310     </item>
311     <item>
312      <widget class="QPushButton" name="buttonOK">
313       <property name="cursor">
314        <cursorShape>PointingHandCursor</cursorShape>
315       </property>
316       <property name="statusTip">
317        <string>Сохранить новые параметры</string>
318       </property>
319       <property name="text">
320        <string>&amp;OK</string>
321       </property>
322       <property name="icon">
323        <iconset resource="../resources/tspsg.qrc">
324         <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset>
325       </property>
326       <property name="default">
327        <bool>true</bool>
328       </property>
329      </widget>
330     </item>
331     <item>
332      <widget class="QPushButton" name="buttonCancel">
333       <property name="cursor">
334        <cursorShape>PointingHandCursor</cursorShape>
335       </property>
336       <property name="statusTip">
337        <string>Закрыть окно без сохранения параметров</string>
338       </property>
339       <property name="text">
340        <string>&amp;Отмена</string>
341       </property>
342       <property name="icon">
343        <iconset resource="../resources/tspsg.qrc">
344         <normaloff>:/images/buttons/buttons/Critical.png</normaloff>:/images/buttons/buttons/Critical.png</iconset>
345       </property>
346      </widget>
347     </item>
348    </layout>
349   </item>
350  </layout>
351 </widget>
352 <resources>
353  <include location="../resources/tspsg.qrc"/>
354 </resources>
355 <connections/>
356</ui>
Note: See TracBrowser for help on using the repository browser.