source: tspsg/ui/settingsdialog.ui @ 134a9158bd

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 134a9158bd was 134a9158bd, checked in by Oleksii Serdiuk, 15 years ago
  • Now we use Oxygen Icons under LGPL license:
    • icons are of higher quality;
    • icons are nicer;
    • icons are LGPL :-)
  • "Toolbar too smal to be usable" problem on hi-res (VGA, WVGA, ...) wince devices fixed.
  • Property mode set to 100644
File size: 14.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>448</width>
10    <height>174</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Preferences</string>
15  </property>
16  <property name="windowIcon">
17   <iconset resource="../resources/tspsg.qrc">
18    <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.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/icons/preferences_system.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>Random values:</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>&amp;Minimal:</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>Minimum for random number generation</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>Ma&amp;ximal:</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>Maximum for random number generation</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>Print settings:</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>&amp;Left margin:</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>Left border margin for page</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="statusTip">
288                  <string>Font color for printing</string>
289                 </property>
290                 <property name="text">
291                  <string>&amp;Color...</string>
292                 </property>
293                 <property name="icon">
294                  <iconset resource="../resources/tspsg.qrc">
295                   <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset>
296                 </property>
297                </widget>
298               </item>
299               <item>
300                <widget class="QPushButton" name="buttonFont">
301                 <property name="cursor">
302                  <cursorShape>PointingHandCursor</cursorShape>
303                 </property>
304                 <property name="statusTip">
305                  <string>Font face for printing</string>
306                 </property>
307                 <property name="text">
308                  <string>&amp;Font...</string>
309                 </property>
310                 <property name="icon">
311                  <iconset resource="../resources/tspsg.qrc">
312                   <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset>
313                 </property>
314                </widget>
315               </item>
316              </layout>
317             </item>
318            </layout>
319           </widget>
320          </item>
321         </layout>
322        </item>
323        <item>
324         <widget class="QCheckBox" name="cbSaveState">
325          <property name="cursor">
326           <cursorShape>PointingHandCursor</cursorShape>
327          </property>
328          <property name="statusTip">
329           <string>Restore main window state and position on application restart</string>
330          </property>
331          <property name="text">
332           <string>Save main window state and position</string>
333          </property>
334         </widget>
335        </item>
336       </layout>
337      </widget>
338     </item>
339    </layout>
340   </item>
341   <item>
342    <widget class="Line" name="lineHorizontal">
343     <property name="maximumSize">
344      <size>
345       <width>16777215</width>
346       <height>2</height>
347      </size>
348     </property>
349     <property name="frameShadow">
350      <enum>QFrame::Plain</enum>
351     </property>
352     <property name="lineWidth">
353      <number>2</number>
354     </property>
355     <property name="orientation">
356      <enum>Qt::Horizontal</enum>
357     </property>
358    </widget>
359   </item>
360   <item>
361    <layout class="QHBoxLayout">
362     <property name="spacing">
363      <number>6</number>
364     </property>
365     <property name="margin">
366      <number>6</number>
367     </property>
368     <item>
369      <widget class="QToolButton" name="buttonHelp">
370       <property name="enabled">
371        <bool>false</bool>
372       </property>
373       <property name="cursor">
374        <cursorShape>PointingHandCursor</cursorShape>
375       </property>
376       <property name="toolTip">
377        <string>Help</string>
378       </property>
379       <property name="statusTip">
380        <string>Get preferences help</string>
381       </property>
382       <property name="text">
383        <string>Help</string>
384       </property>
385       <property name="icon">
386        <iconset resource="../resources/tspsg.qrc">
387         <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset>
388       </property>
389       <property name="autoRaise">
390        <bool>true</bool>
391       </property>
392      </widget>
393     </item>
394     <item>
395      <widget class="QLabel" name="labelHint">
396       <property name="sizePolicy">
397        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
398         <horstretch>0</horstretch>
399         <verstretch>0</verstretch>
400        </sizepolicy>
401       </property>
402       <property name="statusTip">
403        <string>Hover mouse pointer over dialog elements to get additional help</string>
404       </property>
405       <property name="text">
406        <string/>
407       </property>
408       <property name="textFormat">
409        <enum>Qt::PlainText</enum>
410       </property>
411       <property name="alignment">
412        <set>Qt::AlignJustify|Qt::AlignTop</set>
413       </property>
414       <property name="wordWrap">
415        <bool>true</bool>
416       </property>
417      </widget>
418     </item>
419     <item>
420      <widget class="QPushButton" name="buttonOK">
421       <property name="cursor">
422        <cursorShape>PointingHandCursor</cursorShape>
423       </property>
424       <property name="statusTip">
425        <string>Save new preferences</string>
426       </property>
427       <property name="text">
428        <string>&amp;OK</string>
429       </property>
430       <property name="icon">
431        <iconset resource="../resources/tspsg.qrc">
432         <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
433       </property>
434       <property name="default">
435        <bool>true</bool>
436       </property>
437      </widget>
438     </item>
439     <item>
440      <widget class="QPushButton" name="buttonCancel">
441       <property name="cursor">
442        <cursorShape>PointingHandCursor</cursorShape>
443       </property>
444       <property name="statusTip">
445        <string>Close without saving preferences</string>
446       </property>
447       <property name="text">
448        <string>&amp;Cancel</string>
449       </property>
450       <property name="icon">
451        <iconset resource="../resources/tspsg.qrc">
452         <normaloff>:/images/icons/button_cancel.png</normaloff>:/images/icons/button_cancel.png</iconset>
453       </property>
454      </widget>
455     </item>
456    </layout>
457   </item>
458  </layout>
459 </widget>
460 <resources>
461  <include location="../resources/tspsg.qrc"/>
462 </resources>
463 <connections/>
464</ui>
Note: See TracBrowser for help on using the repository browser.