source: tspsg/ui/settingsdialog.ui @ 019894f5ef

0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 019894f5ef was 019894f5ef, checked in by Oleksii Serdiuk, 13 years ago
  • Made some small corrections to different texts.
  • FIX: Icons in toolbar configuration dialog didn't follow style and one of them wasn't shown.
  • Property mode set to 100644
File size: 21.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="cbSaveLastUsed">
116          <property name="cursor">
117           <cursorShape>PointingHandCursor</cursorShape>
118          </property>
119          <property name="statusTip">
120           <string>Remember the last used directory when opening and saving files</string>
121          </property>
122          <property name="text">
123           <string>Remember last used directories</string>
124          </property>
125         </widget>
126        </item>
127        <item>
128         <widget class="QCheckBox" name="cbUseNativeDialogs">
129          <property name="cursor">
130           <cursorShape>PointingHandCursor</cursorShape>
131          </property>
132          <property name="statusTip">
133           <string>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</string>
134          </property>
135          <property name="text">
136           <string>Use native file dialogs</string>
137          </property>
138         </widget>
139        </item>
140        <item>
141         <spacer name="spacer">
142          <property name="orientation">
143           <enum>Qt::Vertical</enum>
144          </property>
145          <property name="sizeHint" stdset="0">
146           <size>
147            <width>0</width>
148            <height>0</height>
149           </size>
150          </property>
151         </spacer>
152        </item>
153       </layout>
154      </widget>
155      <widget class="QWidget" name="tabTask">
156       <attribute name="title">
157        <string>Task</string>
158       </attribute>
159       <attribute name="toolTip">
160        <string>Task generation and solving settings</string>
161       </attribute>
162       <layout class="QVBoxLayout" name="_9">
163        <item>
164         <layout class="QFormLayout" name="_5">
165          <property name="fieldGrowthPolicy">
166           <enum>QFormLayout::ExpandingFieldsGrow</enum>
167          </property>
168          <item row="0" column="0">
169           <widget class="QLabel" name="labelFractionalAccuracy">
170            <property name="text">
171             <string>Fractional accuracy:</string>
172            </property>
173            <property name="buddy">
174             <cstring>spinFractionalAccuracy</cstring>
175            </property>
176           </widget>
177          </item>
178          <item row="0" column="1">
179           <widget class="QSpinBox" name="spinFractionalAccuracy">
180            <property name="cursor">
181             <cursorShape>PointingHandCursor</cursorShape>
182            </property>
183            <property name="statusTip">
184             <string>Accuracy of the fractional values (in decimal places)</string>
185            </property>
186            <property name="maximum">
187             <number>6</number>
188            </property>
189           </widget>
190          </item>
191         </layout>
192        </item>
193        <item>
194         <widget class="QCheckBox" name="cbSymmetricMode">
195          <property name="cursor">
196           <cursorShape>PointingHandCursor</cursorShape>
197          </property>
198          <property name="statusTip">
199           <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string>
200          </property>
201          <property name="text">
202           <string>Symmetric mode</string>
203          </property>
204         </widget>
205        </item>
206        <item>
207         <widget class="QGroupBox" name="gbTaskGeneration">
208          <property name="title">
209           <string>Task generation</string>
210          </property>
211          <layout class="QVBoxLayout" name="_7">
212           <item>
213            <layout class="QFormLayout" name="_8">
214             <property name="fieldGrowthPolicy">
215              <enum>QFormLayout::ExpandingFieldsGrow</enum>
216             </property>
217             <item row="0" column="0">
218              <widget class="QLabel" name="labelRandMin">
219               <property name="text">
220                <string>Minimal random:</string>
221               </property>
222               <property name="buddy">
223                <cstring>spinRandMin</cstring>
224               </property>
225              </widget>
226             </item>
227             <item row="0" column="1">
228              <widget class="QSpinBox" name="spinRandMin">
229               <property name="cursor">
230                <cursorShape>PointingHandCursor</cursorShape>
231               </property>
232               <property name="statusTip">
233                <string>Minimum for random number generation</string>
234               </property>
235              </widget>
236             </item>
237             <item row="1" column="0">
238              <widget class="QLabel" name="labelRandMax">
239               <property name="text">
240                <string>Maximal random:</string>
241               </property>
242               <property name="buddy">
243                <cstring>spinRandMax</cstring>
244               </property>
245              </widget>
246             </item>
247             <item row="1" column="1">
248              <widget class="QSpinBox" name="spinRandMax">
249               <property name="cursor">
250                <cursorShape>PointingHandCursor</cursorShape>
251               </property>
252               <property name="statusTip">
253                <string>Maximum for random number generation</string>
254               </property>
255              </widget>
256             </item>
257            </layout>
258           </item>
259           <item>
260            <widget class="QCheckBox" name="cbFractionalRandom">
261             <property name="cursor">
262              <cursorShape>PointingHandCursor</cursorShape>
263             </property>
264             <property name="statusTip">
265              <string>Generate fractional random values with the Fractional accuracy</string>
266             </property>
267             <property name="text">
268              <string>Fractional random values</string>
269             </property>
270            </widget>
271           </item>
272          </layout>
273         </widget>
274        </item>
275        <item>
276         <spacer name="spacer_2">
277          <property name="orientation">
278           <enum>Qt::Vertical</enum>
279          </property>
280          <property name="sizeHint" stdset="0">
281           <size>
282            <width>10</width>
283            <height>0</height>
284           </size>
285          </property>
286         </spacer>
287        </item>
288       </layout>
289      </widget>
290      <widget class="QWidget" name="tabOutput">
291       <attribute name="title">
292        <string>Output</string>
293       </attribute>
294       <attribute name="toolTip">
295        <string>Solution output settings</string>
296       </attribute>
297       <layout class="QVBoxLayout" name="_6">
298        <item>
299         <widget class="QCheckBox" name="cbGenerateGraph">
300          <property name="cursor">
301           <cursorShape>PointingHandCursor</cursorShape>
302          </property>
303          <property name="statusTip">
304           <string>Generate graphical representation of the solution</string>
305          </property>
306          <property name="text">
307           <string>Generate solution graph</string>
308          </property>
309         </widget>
310        </item>
311        <item>
312         <layout class="QHBoxLayout" name="_10">
313          <property name="spacing">
314           <number>5</number>
315          </property>
316          <item>
317           <spacer name="spacer_7">
318            <property name="orientation">
319             <enum>Qt::Horizontal</enum>
320            </property>
321            <property name="sizeType">
322             <enum>QSizePolicy::Fixed</enum>
323            </property>
324            <property name="sizeHint" stdset="0">
325             <size>
326              <width>10</width>
327              <height>0</height>
328             </size>
329            </property>
330           </spacer>
331          </item>
332          <item>
333           <widget class="QLabel" name="labelGraphImageFormat">
334            <property name="text">
335             <string>Save solution graph as</string>
336            </property>
337            <property name="buddy">
338             <cstring>comboGraphImageFormat</cstring>
339            </property>
340           </widget>
341          </item>
342          <item>
343           <widget class="QComboBox" name="comboGraphImageFormat">
344            <property name="cursor">
345             <cursorShape>PointingHandCursor</cursorShape>
346            </property>
347            <property name="statusTip">
348             <string>What image format to use for graph when saving solution as HTML</string>
349            </property>
350           </widget>
351          </item>
352          <item>
353           <spacer name="horizontalSpacer">
354            <property name="orientation">
355             <enum>Qt::Horizontal</enum>
356            </property>
357            <property name="sizeHint" stdset="0">
358             <size>
359              <width>0</width>
360              <height>0</height>
361             </size>
362            </property>
363           </spacer>
364          </item>
365         </layout>
366        </item>
367        <item>
368         <layout class="QHBoxLayout" name="_14">
369          <item>
370           <spacer name="spacer_8">
371            <property name="orientation">
372             <enum>Qt::Horizontal</enum>
373            </property>
374            <property name="sizeType">
375             <enum>QSizePolicy::Fixed</enum>
376            </property>
377            <property name="sizeHint" stdset="0">
378             <size>
379              <width>10</width>
380              <height>0</height>
381             </size>
382            </property>
383           </spacer>
384          </item>
385          <item>
386           <widget class="QCheckBox" name="cbEmbedGraphIntoHTML">
387            <property name="cursor">
388             <cursorShape>PointingHandCursor</cursorShape>
389            </property>
390            <property name="statusTip">
391             <string>Save solution graph inside HTML using data URI scheme (not supported by IE 7 and lower)</string>
392            </property>
393            <property name="text">
394             <string>Embed solution graph into HTML</string>
395            </property>
396           </widget>
397          </item>
398         </layout>
399        </item>
400        <item>
401         <widget class="QCheckBox" name="cbShowMatrix">
402          <property name="cursor">
403           <cursorShape>PointingHandCursor</cursorShape>
404          </property>
405          <property name="statusTip">
406           <string>Show solution steps' matrices for every solution step</string>
407          </property>
408          <property name="text">
409           <string>Show solution steps' matrices</string>
410          </property>
411         </widget>
412        </item>
413        <item>
414         <layout class="QHBoxLayout" name="_12">
415          <property name="spacing">
416           <number>0</number>
417          </property>
418          <item>
419           <spacer name="spacer_3">
420            <property name="orientation">
421             <enum>Qt::Horizontal</enum>
422            </property>
423            <property name="sizeType">
424             <enum>QSizePolicy::Fixed</enum>
425            </property>
426            <property name="sizeHint" stdset="0">
427             <size>
428              <width>10</width>
429              <height>0</height>
430             </size>
431            </property>
432           </spacer>
433          </item>
434          <item>
435           <widget class="QCheckBox" name="cbCitiesLimit">
436            <property name="cursor">
437             <cursorShape>PointingHandCursor</cursorShape>
438            </property>
439            <property name="statusTip">
440             <string>Show or hide solution steps' matrices based on number of cities in the task</string>
441            </property>
442            <property name="text">
443             <string>Only when &lt;=</string>
444            </property>
445           </widget>
446          </item>
447          <item>
448           <widget class="QSpinBox" name="spinCitiesLimit">
449            <property name="cursor">
450             <cursorShape>PointingHandCursor</cursorShape>
451            </property>
452            <property name="statusTip">
453             <string>Maximum number of cities to show solution steps' matrices</string>
454            </property>
455            <property name="suffix">
456             <string comment="Don't forget a space at the beginning!"> cities</string>
457            </property>
458            <property name="minimum">
459             <number>1</number>
460            </property>
461           </widget>
462          </item>
463          <item>
464           <spacer name="spacer_4">
465            <property name="orientation">
466             <enum>Qt::Horizontal</enum>
467            </property>
468            <property name="sizeHint" stdset="0">
469             <size>
470              <width>0</width>
471              <height>0</height>
472             </size>
473            </property>
474           </spacer>
475          </item>
476         </layout>
477        </item>
478        <item>
479         <widget class="QCheckBox" name="cbScrollToEnd">
480          <property name="cursor">
481           <cursorShape>PointingHandCursor</cursorShape>
482          </property>
483          <property name="statusTip">
484           <string>Scroll to the end of solution output after solving</string>
485          </property>
486          <property name="text">
487           <string>Scroll to solution end</string>
488          </property>
489         </widget>
490        </item>
491        <item>
492         <layout class="QHBoxLayout" name="_11">
493          <item>
494           <widget class="QGroupBox" name="groupOutput">
495            <property name="title">
496             <string>Output font settings</string>
497            </property>
498            <layout class="QHBoxLayout" name="_13">
499             <item>
500              <widget class="QPushButton" name="buttonFont">
501               <property name="cursor">
502                <cursorShape>PointingHandCursor</cursorShape>
503               </property>
504               <property name="statusTip">
505                <string>Font face for solution output</string>
506               </property>
507               <property name="text">
508                <string>&amp;Font...</string>
509               </property>
510              </widget>
511             </item>
512             <item>
513              <widget class="QPushButton" name="buttonColor">
514               <property name="cursor">
515                <cursorShape>PointingHandCursor</cursorShape>
516               </property>
517               <property name="statusTip">
518                <string>Font color for solution output</string>
519               </property>
520               <property name="text">
521                <string>&amp;Color...</string>
522               </property>
523              </widget>
524             </item>
525             <item>
526              <spacer name="spacer_5">
527               <property name="orientation">
528                <enum>Qt::Horizontal</enum>
529               </property>
530               <property name="sizeHint" stdset="0">
531                <size>
532                 <width>0</width>
533                 <height>0</height>
534                </size>
535               </property>
536              </spacer>
537             </item>
538            </layout>
539           </widget>
540          </item>
541         </layout>
542        </item>
543        <item>
544         <spacer name="spacer_6">
545          <property name="orientation">
546           <enum>Qt::Vertical</enum>
547          </property>
548          <property name="sizeHint" stdset="0">
549           <size>
550            <width>0</width>
551            <height>0</height>
552           </size>
553          </property>
554         </spacer>
555        </item>
556       </layout>
557      </widget>
558     </widget>
559    </item>
560   </layout>
561  </widget>
562 </widget>
563 <resources/>
564 <connections>
565  <connection>
566   <sender>buttonBox</sender>
567   <signal>accepted()</signal>
568   <receiver>SettingsDialog</receiver>
569   <slot>accept()</slot>
570   <hints>
571    <hint type="sourcelabel">
572     <x>190</x>
573     <y>30</y>
574    </hint>
575    <hint type="destinationlabel">
576     <x>306</x>
577     <y>231</y>
578    </hint>
579   </hints>
580  </connection>
581  <connection>
582   <sender>buttonBox</sender>
583   <signal>rejected()</signal>
584   <receiver>SettingsDialog</receiver>
585   <slot>reject()</slot>
586   <hints>
587    <hint type="sourcelabel">
588     <x>190</x>
589     <y>30</y>
590    </hint>
591    <hint type="destinationlabel">
592     <x>262</x>
593     <y>245</y>
594    </hint>
595   </hints>
596  </connection>
597  <connection>
598   <sender>cbShowMatrix</sender>
599   <signal>toggled(bool)</signal>
600   <receiver>cbCitiesLimit</receiver>
601   <slot>setEnabled(bool)</slot>
602   <hints>
603    <hint type="sourcelabel">
604     <x>91</x>
605     <y>107</y>
606    </hint>
607    <hint type="destinationlabel">
608     <x>113</x>
609     <y>132</y>
610    </hint>
611   </hints>
612  </connection>
613  <connection>
614   <sender>cbShowMatrix</sender>
615   <signal>toggled(bool)</signal>
616   <receiver>cbCitiesLimit</receiver>
617   <slot>setChecked(bool)</slot>
618   <hints>
619    <hint type="sourcelabel">
620     <x>91</x>
621     <y>107</y>
622    </hint>
623    <hint type="destinationlabel">
624     <x>113</x>
625     <y>132</y>
626    </hint>
627   </hints>
628  </connection>
629  <connection>
630   <sender>cbCitiesLimit</sender>
631   <signal>toggled(bool)</signal>
632   <receiver>spinCitiesLimit</receiver>
633   <slot>setEnabled(bool)</slot>
634   <hints>
635    <hint type="sourcelabel">
636     <x>113</x>
637     <y>132</y>
638    </hint>
639    <hint type="destinationlabel">
640     <x>183</x>
641     <y>134</y>
642    </hint>
643   </hints>
644  </connection>
645  <connection>
646   <sender>cbGenerateGraph</sender>
647   <signal>toggled(bool)</signal>
648   <receiver>labelGraphImageFormat</receiver>
649   <slot>setEnabled(bool)</slot>
650   <hints>
651    <hint type="sourcelabel">
652     <x>113</x>
653     <y>48</y>
654    </hint>
655    <hint type="destinationlabel">
656     <x>72</x>
657     <y>73</y>
658    </hint>
659   </hints>
660  </connection>
661  <connection>
662   <sender>cbGenerateGraph</sender>
663   <signal>toggled(bool)</signal>
664   <receiver>comboGraphImageFormat</receiver>
665   <slot>setEnabled(bool)</slot>
666   <hints>
667    <hint type="sourcelabel">
668     <x>113</x>
669     <y>48</y>
670    </hint>
671    <hint type="destinationlabel">
672     <x>149</x>
673     <y>73</y>
674    </hint>
675   </hints>
676  </connection>
677  <connection>
678   <sender>cbGenerateGraph</sender>
679   <signal>toggled(bool)</signal>
680   <receiver>cbEmbedGraphIntoHTML</receiver>
681   <slot>setEnabled(bool)</slot>
682   <hints>
683    <hint type="sourcelabel">
684     <x>128</x>
685     <y>45</y>
686    </hint>
687    <hint type="destinationlabel">
688     <x>136</x>
689     <y>103</y>
690    </hint>
691   </hints>
692  </connection>
693 </connections>
694</ui>
Note: See TracBrowser for help on using the repository browser.