source: tspsg/ui/settingsdialog.ui @ 5354a01311

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