source: tspsg/ui/settingsdialog.ui @ 3cadf24d00

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 3cadf24d00 was 3cadf24d00, checked in by Oleksii Serdiuk, 14 years ago
  • Property mode set to 100644
File size: 19.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <author>Lёppa: $Id$</author>
4 <class>SettingsDialog</class>
5 <widget class="QDialog" name="SettingsDialog">
6  <property name="windowTitle">
7   <string>Preferences</string>
8  </property>
9  <widget class="QWidget" name="bgGrey" native="true">
10   <property name="sizePolicy">
11    <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
12     <horstretch>0</horstretch>
13     <verstretch>0</verstretch>
14    </sizepolicy>
15   </property>
16   <property name="autoFillBackground">
17    <bool>true</bool>
18   </property>
19   <layout class="QVBoxLayout" name="_2">
20    <property name="spacing">
21     <number>0</number>
22    </property>
23    <property name="margin">
24     <number>0</number>
25    </property>
26    <item>
27     <widget class="Line" name="lineHorizontal">
28      <property name="maximumSize">
29       <size>
30        <width>16777215</width>
31        <height>2</height>
32       </size>
33      </property>
34      <property name="frameShadow">
35       <enum>QFrame::Plain</enum>
36      </property>
37      <property name="lineWidth">
38       <number>2</number>
39      </property>
40      <property name="orientation">
41       <enum>Qt::Horizontal</enum>
42      </property>
43     </widget>
44    </item>
45    <item>
46     <layout class="QHBoxLayout" name="buttons">
47      <property name="spacing">
48       <number>6</number>
49      </property>
50      <property name="margin">
51       <number>6</number>
52      </property>
53      <item>
54       <widget class="QToolButton" name="buttonHelp">
55        <property name="enabled">
56         <bool>false</bool>
57        </property>
58        <property name="cursor">
59         <cursorShape>PointingHandCursor</cursorShape>
60        </property>
61        <property name="toolTip">
62         <string>Help</string>
63        </property>
64        <property name="statusTip">
65         <string>Get preferences help</string>
66        </property>
67        <property name="text">
68         <string>Help</string>
69        </property>
70        <property name="autoRaise">
71         <bool>true</bool>
72        </property>
73       </widget>
74      </item>
75      <item>
76       <widget class="QDialogButtonBox" name="buttonBox">
77        <property name="standardButtons">
78         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
79        </property>
80       </widget>
81      </item>
82     </layout>
83    </item>
84   </layout>
85  </widget>
86  <widget class="QWidget" name="bgWhite" native="true">
87   <property name="autoFillBackground">
88    <bool>true</bool>
89   </property>
90   <layout class="QHBoxLayout" name="_3">
91    <item>
92     <widget class="QTabWidget" name="tabWidget">
93      <widget class="QWidget" name="tabGeneral">
94       <attribute name="title">
95        <string>General</string>
96       </attribute>
97       <attribute name="toolTip">
98        <string>General TSPSG settings</string>
99       </attribute>
100       <layout class="QVBoxLayout" name="_4">
101        <item>
102         <widget class="QCheckBox" name="cbAutosize">
103          <property name="cursor">
104           <cursorShape>PointingHandCursor</cursorShape>
105          </property>
106          <property name="statusTip">
107           <string>Automatically resize rows and columns to their contents</string>
108          </property>
109          <property name="text">
110           <string>Autosize of rows and columns</string>
111          </property>
112         </widget>
113        </item>
114        <item>
115         <widget class="QCheckBox" name="cbUseNativeDialogs">
116          <property name="cursor">
117           <cursorShape>PointingHandCursor</cursorShape>
118          </property>
119          <property name="statusTip">
120           <string>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</string>
121          </property>
122          <property name="text">
123           <string>Use native file dialogs</string>
124          </property>
125         </widget>
126        </item>
127        <item>
128         <spacer name="spacer">
129          <property name="orientation">
130           <enum>Qt::Vertical</enum>
131          </property>
132          <property name="sizeHint" stdset="0">
133           <size>
134            <width>0</width>
135            <height>0</height>
136           </size>
137          </property>
138         </spacer>
139        </item>
140       </layout>
141      </widget>
142      <widget class="QWidget" name="tabTask">
143       <attribute name="title">
144        <string>Task</string>
145       </attribute>
146       <attribute name="toolTip">
147        <string>Task generation and solving settings</string>
148       </attribute>
149       <layout class="QVBoxLayout" name="_9">
150        <item>
151         <layout class="QFormLayout" name="_5">
152          <property name="fieldGrowthPolicy">
153           <enum>QFormLayout::ExpandingFieldsGrow</enum>
154          </property>
155          <item row="0" column="0">
156           <widget class="QLabel" name="labelFractionalAccuracy">
157            <property name="text">
158             <string>Fractional accuracy:</string>
159            </property>
160            <property name="buddy">
161             <cstring>spinFractionalAccuracy</cstring>
162            </property>
163           </widget>
164          </item>
165          <item row="0" column="1">
166           <widget class="QSpinBox" name="spinFractionalAccuracy">
167            <property name="cursor">
168             <cursorShape>PointingHandCursor</cursorShape>
169            </property>
170            <property name="statusTip">
171             <string>Accuracy of the fractional values (in decimal places)</string>
172            </property>
173            <property name="maximum">
174             <number>6</number>
175            </property>
176           </widget>
177          </item>
178         </layout>
179        </item>
180        <item>
181         <widget class="QCheckBox" name="cbSymmetricMode">
182          <property name="cursor">
183           <cursorShape>PointingHandCursor</cursorShape>
184          </property>
185          <property name="statusTip">
186           <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string>
187          </property>
188          <property name="text">
189           <string>Symmetric mode</string>
190          </property>
191         </widget>
192        </item>
193        <item>
194         <widget class="QGroupBox" name="gbTaskGeneration">
195          <property name="title">
196           <string>Task generation</string>
197          </property>
198          <layout class="QVBoxLayout" name="_7">
199           <item>
200            <layout class="QFormLayout" name="_8">
201             <property name="fieldGrowthPolicy">
202              <enum>QFormLayout::ExpandingFieldsGrow</enum>
203             </property>
204             <item row="0" column="0">
205              <widget class="QLabel" name="labelRandMin">
206               <property name="text">
207                <string>Minimal random:</string>
208               </property>
209               <property name="buddy">
210                <cstring>spinRandMin</cstring>
211               </property>
212              </widget>
213             </item>
214             <item row="0" column="1">
215              <widget class="QSpinBox" name="spinRandMin">
216               <property name="cursor">
217                <cursorShape>PointingHandCursor</cursorShape>
218               </property>
219               <property name="statusTip">
220                <string>Minimum for random number generation</string>
221               </property>
222              </widget>
223             </item>
224             <item row="1" column="0">
225              <widget class="QLabel" name="labelRandMax">
226               <property name="text">
227                <string>Maximal random:</string>
228               </property>
229               <property name="buddy">
230                <cstring>spinRandMax</cstring>
231               </property>
232              </widget>
233             </item>
234             <item row="1" column="1">
235              <widget class="QSpinBox" name="spinRandMax">
236               <property name="cursor">
237                <cursorShape>PointingHandCursor</cursorShape>
238               </property>
239               <property name="statusTip">
240                <string>Maximum for random number generation</string>
241               </property>
242              </widget>
243             </item>
244            </layout>
245           </item>
246           <item>
247            <widget class="QCheckBox" name="cbFractionalRandom">
248             <property name="cursor">
249              <cursorShape>PointingHandCursor</cursorShape>
250             </property>
251             <property name="statusTip">
252              <string>Generate fractional random values with the Fractional accuracy</string>
253             </property>
254             <property name="text">
255              <string>Fractional random values</string>
256             </property>
257            </widget>
258           </item>
259          </layout>
260         </widget>
261        </item>
262        <item>
263         <spacer name="spacer_2">
264          <property name="orientation">
265           <enum>Qt::Vertical</enum>
266          </property>
267          <property name="sizeHint" stdset="0">
268           <size>
269            <width>10</width>
270            <height>0</height>
271           </size>
272          </property>
273         </spacer>
274        </item>
275       </layout>
276      </widget>
277      <widget class="QWidget" name="tabOutput">
278       <attribute name="title">
279        <string>Output</string>
280       </attribute>
281       <attribute name="toolTip">
282        <string>Solution output settings</string>
283       </attribute>
284       <layout class="QVBoxLayout" name="_6">
285        <item>
286         <widget class="QCheckBox" name="cbShowGraph">
287          <property name="cursor">
288           <cursorShape>PointingHandCursor</cursorShape>
289          </property>
290          <property name="statusTip">
291           <string>Show graphical representation of the solution</string>
292          </property>
293          <property name="text">
294           <string>Show solution graph</string>
295          </property>
296         </widget>
297        </item>
298        <item>
299         <layout class="QHBoxLayout" name="_10">
300          <property name="spacing">
301           <number>5</number>
302          </property>
303          <item>
304           <spacer name="spacer_7">
305            <property name="orientation">
306             <enum>Qt::Horizontal</enum>
307            </property>
308            <property name="sizeType">
309             <enum>QSizePolicy::Fixed</enum>
310            </property>
311            <property name="sizeHint" stdset="0">
312             <size>
313              <width>10</width>
314              <height>0</height>
315             </size>
316            </property>
317           </spacer>
318          </item>
319          <item>
320           <widget class="QLabel" name="labelGraphImageFormat">
321            <property name="text">
322             <string>Save solution graph as</string>
323            </property>
324            <property name="buddy">
325             <cstring>comboGraphImageFormat</cstring>
326            </property>
327           </widget>
328          </item>
329          <item>
330           <widget class="QComboBox" name="comboGraphImageFormat">
331            <property name="cursor">
332             <cursorShape>PointingHandCursor</cursorShape>
333            </property>
334            <property name="statusTip">
335             <string>What image format to use for graph when saving solution as HTML</string>
336            </property>
337           </widget>
338          </item>
339          <item>
340           <spacer name="horizontalSpacer">
341            <property name="orientation">
342             <enum>Qt::Horizontal</enum>
343            </property>
344            <property name="sizeHint" stdset="0">
345             <size>
346              <width>0</width>
347              <height>0</height>
348             </size>
349            </property>
350           </spacer>
351          </item>
352         </layout>
353        </item>
354        <item>
355         <widget class="QCheckBox" name="cbShowMatrix">
356          <property name="cursor">
357           <cursorShape>PointingHandCursor</cursorShape>
358          </property>
359          <property name="statusTip">
360           <string>Show solution steps' matrices for every solution step</string>
361          </property>
362          <property name="text">
363           <string>Show solution steps' matrices</string>
364          </property>
365         </widget>
366        </item>
367        <item>
368         <layout class="QHBoxLayout" name="_12">
369          <property name="spacing">
370           <number>0</number>
371          </property>
372          <item>
373           <spacer name="spacer_3">
374            <property name="orientation">
375             <enum>Qt::Horizontal</enum>
376            </property>
377            <property name="sizeType">
378             <enum>QSizePolicy::Fixed</enum>
379            </property>
380            <property name="sizeHint" stdset="0">
381             <size>
382              <width>10</width>
383              <height>0</height>
384             </size>
385            </property>
386           </spacer>
387          </item>
388          <item>
389           <widget class="QCheckBox" name="cbCitiesLimit">
390            <property name="cursor">
391             <cursorShape>PointingHandCursor</cursorShape>
392            </property>
393            <property name="statusTip">
394             <string>Show or hide solution steps' matrices based on number of cities in the task</string>
395            </property>
396            <property name="text">
397             <string>Only when &lt;=</string>
398            </property>
399           </widget>
400          </item>
401          <item>
402           <widget class="QSpinBox" name="spinCitiesLimit">
403            <property name="cursor">
404             <cursorShape>PointingHandCursor</cursorShape>
405            </property>
406            <property name="statusTip">
407             <string>Maximum number of cities to show solution steps' matrices</string>
408            </property>
409            <property name="suffix">
410             <string comment="Don't forget a space at the beginning!"> cities</string>
411            </property>
412            <property name="minimum">
413             <number>1</number>
414            </property>
415           </widget>
416          </item>
417          <item>
418           <spacer name="spacer_4">
419            <property name="orientation">
420             <enum>Qt::Horizontal</enum>
421            </property>
422            <property name="sizeHint" stdset="0">
423             <size>
424              <width>0</width>
425              <height>0</height>
426             </size>
427            </property>
428           </spacer>
429          </item>
430         </layout>
431        </item>
432        <item>
433         <widget class="QCheckBox" name="cbScrollToEnd">
434          <property name="cursor">
435           <cursorShape>PointingHandCursor</cursorShape>
436          </property>
437          <property name="statusTip">
438           <string>Scroll to the end of solution output after solving</string>
439          </property>
440          <property name="text">
441           <string>Scroll to solution end</string>
442          </property>
443         </widget>
444        </item>
445        <item>
446         <layout class="QHBoxLayout" name="_11">
447          <item>
448           <widget class="QGroupBox" name="groupOutput">
449            <property name="title">
450             <string>Output font settings</string>
451            </property>
452            <layout class="QHBoxLayout" name="_13">
453             <item>
454              <widget class="QPushButton" name="buttonFont">
455               <property name="cursor">
456                <cursorShape>PointingHandCursor</cursorShape>
457               </property>
458               <property name="statusTip">
459                <string>Font face for solution output</string>
460               </property>
461               <property name="text">
462                <string>&amp;Font...</string>
463               </property>
464              </widget>
465             </item>
466             <item>
467              <widget class="QPushButton" name="buttonColor">
468               <property name="cursor">
469                <cursorShape>PointingHandCursor</cursorShape>
470               </property>
471               <property name="statusTip">
472                <string>Font color for solution output</string>
473               </property>
474               <property name="text">
475                <string>&amp;Color...</string>
476               </property>
477              </widget>
478             </item>
479             <item>
480              <spacer name="spacer_5">
481               <property name="orientation">
482                <enum>Qt::Horizontal</enum>
483               </property>
484               <property name="sizeHint" stdset="0">
485                <size>
486                 <width>0</width>
487                 <height>0</height>
488                </size>
489               </property>
490              </spacer>
491             </item>
492            </layout>
493           </widget>
494          </item>
495         </layout>
496        </item>
497        <item>
498         <spacer name="spacer_6">
499          <property name="orientation">
500           <enum>Qt::Vertical</enum>
501          </property>
502          <property name="sizeHint" stdset="0">
503           <size>
504            <width>0</width>
505            <height>0</height>
506           </size>
507          </property>
508         </spacer>
509        </item>
510       </layout>
511      </widget>
512     </widget>
513    </item>
514   </layout>
515  </widget>
516 </widget>
517 <resources/>
518 <connections>
519  <connection>
520   <sender>buttonBox</sender>
521   <signal>accepted()</signal>
522   <receiver>SettingsDialog</receiver>
523   <slot>accept()</slot>
524   <hints>
525    <hint type="sourcelabel">
526     <x>190</x>
527     <y>30</y>
528    </hint>
529    <hint type="destinationlabel">
530     <x>306</x>
531     <y>231</y>
532    </hint>
533   </hints>
534  </connection>
535  <connection>
536   <sender>buttonBox</sender>
537   <signal>rejected()</signal>
538   <receiver>SettingsDialog</receiver>
539   <slot>reject()</slot>
540   <hints>
541    <hint type="sourcelabel">
542     <x>190</x>
543     <y>30</y>
544    </hint>
545    <hint type="destinationlabel">
546     <x>262</x>
547     <y>245</y>
548    </hint>
549   </hints>
550  </connection>
551  <connection>
552   <sender>cbShowMatrix</sender>
553   <signal>toggled(bool)</signal>
554   <receiver>cbCitiesLimit</receiver>
555   <slot>setEnabled(bool)</slot>
556   <hints>
557    <hint type="sourcelabel">
558     <x>91</x>
559     <y>107</y>
560    </hint>
561    <hint type="destinationlabel">
562     <x>113</x>
563     <y>132</y>
564    </hint>
565   </hints>
566  </connection>
567  <connection>
568   <sender>cbShowMatrix</sender>
569   <signal>toggled(bool)</signal>
570   <receiver>cbCitiesLimit</receiver>
571   <slot>setChecked(bool)</slot>
572   <hints>
573    <hint type="sourcelabel">
574     <x>91</x>
575     <y>107</y>
576    </hint>
577    <hint type="destinationlabel">
578     <x>113</x>
579     <y>132</y>
580    </hint>
581   </hints>
582  </connection>
583  <connection>
584   <sender>cbCitiesLimit</sender>
585   <signal>toggled(bool)</signal>
586   <receiver>spinCitiesLimit</receiver>
587   <slot>setEnabled(bool)</slot>
588   <hints>
589    <hint type="sourcelabel">
590     <x>113</x>
591     <y>132</y>
592    </hint>
593    <hint type="destinationlabel">
594     <x>183</x>
595     <y>134</y>
596    </hint>
597   </hints>
598  </connection>
599  <connection>
600   <sender>cbShowGraph</sender>
601   <signal>toggled(bool)</signal>
602   <receiver>labelGraphImageFormat</receiver>
603   <slot>setEnabled(bool)</slot>
604   <hints>
605    <hint type="sourcelabel">
606     <x>113</x>
607     <y>48</y>
608    </hint>
609    <hint type="destinationlabel">
610     <x>72</x>
611     <y>73</y>
612    </hint>
613   </hints>
614  </connection>
615  <connection>
616   <sender>cbShowGraph</sender>
617   <signal>toggled(bool)</signal>
618   <receiver>comboGraphImageFormat</receiver>
619   <slot>setEnabled(bool)</slot>
620   <hints>
621    <hint type="sourcelabel">
622     <x>113</x>
623     <y>48</y>
624    </hint>
625    <hint type="destinationlabel">
626     <x>149</x>
627     <y>73</y>
628    </hint>
629   </hints>
630  </connection>
631 </connections>
632</ui>
Note: See TracBrowser for help on using the repository browser.