source: tspsg/ui/mainwindow.ce.ui @ 6b3d3c1bbb

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

English language in languages list should not be translatable.

  • Property mode set to 100644
File size: 17.2 KB
RevLine 
[5354a01311]1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>MainWindow</class>
4 <widget class="QMainWindow" name="MainWindow">
[5587b87fac]5  <property name="enabled">
6   <bool>true</bool>
7  </property>
[5354a01311]8  <property name="geometry">
9   <rect>
10    <x>0</x>
11    <y>0</y>
[430bd7f7e9]12    <width>225</width>
13    <height>322</height>
[5354a01311]14   </rect>
15  </property>
16  <property name="windowTitle">
[b424a7e320]17   <string>Travelling Salesman Problem[*]</string>
[5354a01311]18  </property>
19  <property name="windowIcon">
20   <iconset resource="../resources/tspsg.qrc">
[b424a7e320]21    <normaloff>:/images/icon.png</normaloff>:/images/icon.png</iconset>
[5354a01311]22  </property>
23  <widget class="QWidget" name="centralwidget">
24   <widget class="QTabWidget" name="tabWidget">
25    <property name="enabled">
26     <bool>true</bool>
27    </property>
28    <property name="geometry">
29     <rect>
[430bd7f7e9]30      <x>9</x>
31      <y>9</y>
32      <width>207</width>
33      <height>248</height>
[5354a01311]34     </rect>
35    </property>
36    <property name="sizePolicy">
37     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
38      <horstretch>0</horstretch>
39      <verstretch>0</verstretch>
40     </sizepolicy>
41    </property>
42    <property name="tabPosition">
43     <enum>QTabWidget::North</enum>
44    </property>
45    <property name="tabShape">
46     <enum>QTabWidget::Rounded</enum>
47    </property>
48    <property name="currentIndex">
49     <number>0</number>
50    </property>
51    <widget class="QWidget" name="tabTask">
52     <attribute name="title">
[5587b87fac]53      <string>Task</string>
[5354a01311]54     </attribute>
55     <layout class="QVBoxLayout" name="verticalLayout">
56      <item>
57       <layout class="QHBoxLayout" name="_2">
58        <item>
59         <spacer>
60          <property name="orientation">
61           <enum>Qt::Horizontal</enum>
62          </property>
63          <property name="sizeHint" stdset="0">
64           <size>
65            <width>40</width>
66            <height>20</height>
67           </size>
68          </property>
69         </spacer>
70        </item>
71        <item>
72         <widget class="QLabel" name="labelVariant">
73          <property name="text">
[5587b87fac]74           <string>&amp;Variant:</string>
[5354a01311]75          </property>
76          <property name="buddy">
77           <cstring>spinVariant</cstring>
78          </property>
79         </widget>
80        </item>
81        <item>
82         <widget class="QSpinBox" name="spinVariant">
83          <property name="cursor">
84           <cursorShape>PointingHandCursor</cursorShape>
85          </property>
86          <property name="statusTip">
[5587b87fac]87           <string>Number of variant</string>
[5354a01311]88          </property>
89          <property name="minimum">
90           <number>1</number>
91          </property>
92         </widget>
93        </item>
94        <item>
95         <widget class="QLabel" name="labelCities">
96          <property name="text">
[5587b87fac]97           <string>&amp;Cities:</string>
[5354a01311]98          </property>
99          <property name="buddy">
100           <cstring>spinCities</cstring>
101          </property>
102         </widget>
103        </item>
104        <item>
105         <widget class="QSpinBox" name="spinCities">
106          <property name="cursor">
107           <cursorShape>PointingHandCursor</cursorShape>
108          </property>
109          <property name="statusTip">
[5587b87fac]110           <string>Number of cities</string>
[5354a01311]111          </property>
112          <property name="minimum">
113           <number>3</number>
114          </property>
115          <property name="maximum">
116           <number>5</number>
117          </property>
118          <property name="value">
119           <number>5</number>
120          </property>
121         </widget>
122        </item>
123        <item>
124         <spacer>
125          <property name="orientation">
126           <enum>Qt::Horizontal</enum>
127          </property>
128          <property name="sizeHint" stdset="0">
129           <size>
130            <width>40</width>
131            <height>20</height>
132           </size>
133          </property>
134         </spacer>
135        </item>
136       </layout>
137      </item>
138      <item>
139       <widget class="QTableView" name="taskView">
140        <property name="statusTip">
[5587b87fac]141         <string>Cost of travel from city to city</string>
[5354a01311]142        </property>
143        <property name="selectionMode">
144         <enum>QAbstractItemView::NoSelection</enum>
145        </property>
146       </widget>
147      </item>
148      <item>
149       <layout class="QHBoxLayout" name="_3">
150        <item>
151         <spacer>
152          <property name="orientation">
153           <enum>Qt::Horizontal</enum>
154          </property>
155          <property name="sizeHint" stdset="0">
156           <size>
157            <width>40</width>
158            <height>20</height>
159           </size>
160          </property>
161         </spacer>
162        </item>
163        <item>
164         <widget class="QPushButton" name="buttonRandom">
165          <property name="cursor">
166           <cursorShape>PointingHandCursor</cursorShape>
167          </property>
168          <property name="statusTip">
[5587b87fac]169           <string>Fill table with random numbers</string>
[5354a01311]170          </property>
171          <property name="text">
[5587b87fac]172           <string>Random</string>
[5354a01311]173          </property>
[134a9158bd]174          <property name="icon">
175           <iconset resource="../resources/tspsg.qrc">
176            <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
177          </property>
[5354a01311]178         </widget>
179        </item>
180        <item>
181         <widget class="QPushButton" name="buttonSolve">
182          <property name="cursor">
183           <cursorShape>PointingHandCursor</cursorShape>
184          </property>
185          <property name="statusTip">
[5587b87fac]186           <string>Solve current task</string>
[5354a01311]187          </property>
188          <property name="text">
[5587b87fac]189           <string>Solve</string>
[5354a01311]190          </property>
191          <property name="icon">
192           <iconset resource="../resources/tspsg.qrc">
[134a9158bd]193            <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
[5354a01311]194          </property>
195         </widget>
196        </item>
197       </layout>
198      </item>
199     </layout>
200    </widget>
201    <widget class="QWidget" name="tabSolution">
202     <attribute name="title">
[5587b87fac]203      <string>Solution</string>
[5354a01311]204     </attribute>
[430bd7f7e9]205     <layout class="QVBoxLayout" name="verticalLayout_2">
[5354a01311]206      <item>
[430bd7f7e9]207       <widget class="QTextEdit" name="solutionText">
208        <property name="enabled">
209         <bool>false</bool>
[5354a01311]210        </property>
[430bd7f7e9]211        <property name="statusTip">
212         <string>Solution steps</string>
213        </property>
214        <property name="readOnly">
215         <bool>true</bool>
216        </property>
217        <property name="textInteractionFlags">
218         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
219        </property>
220       </widget>
[5354a01311]221      </item>
222     </layout>
223    </widget>
224   </widget>
225  </widget>
226  <widget class="QMenuBar" name="menubar">
227   <property name="geometry">
228    <rect>
229     <x>0</x>
230     <y>0</y>
[430bd7f7e9]231     <width>225</width>
232     <height>22</height>
[5354a01311]233    </rect>
234   </property>
235   <widget class="QMenu" name="menuFile">
236    <property name="windowIcon">
237     <iconset>
238      <normaloff/>
239     </iconset>
240    </property>
241    <property name="title">
[5587b87fac]242     <string>&amp;File</string>
[5354a01311]243    </property>
[993d5af6f6]244    <widget class="QMenu" name="menuFileSaveAs">
[5354a01311]245     <property name="statusTip">
246      <string/>
247     </property>
248     <property name="title">
[b24a5a054a]249      <string>Save &amp;As...</string>
[5354a01311]250     </property>
251     <property name="icon">
252      <iconset resource="../resources/tspsg.qrc">
[134a9158bd]253       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
[5354a01311]254     </property>
[430bd7f7e9]255     <addaction name="actionFileSaveAsTask"/>
256     <addaction name="actionFileSaveAsSolution"/>
[5354a01311]257    </widget>
258    <addaction name="actionFileNew"/>
259    <addaction name="actionFileOpen"/>
[993d5af6f6]260    <addaction name="actionFileSave"/>
261    <addaction name="menuFileSaveAs"/>
[5354a01311]262    <addaction name="separator"/>
263    <addaction name="actionFileExit"/>
264   </widget>
265   <widget class="QMenu" name="menuSettings">
266    <property name="title">
[5587b87fac]267     <string>&amp;Settings</string>
[5354a01311]268    </property>
[899d1b8e15]269    <widget class="QMenu" name="menuSettingsLanguage">
270     <property name="toolTip">
271      <string>Select language</string>
272     </property>
273     <property name="statusTip">
274      <string>Select application language</string>
275     </property>
276     <property name="title">
[430bd7f7e9]277      <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
[899d1b8e15]278     </property>
[ac4cb71650]279     <property name="icon">
280      <iconset resource="../resources/tspsg.qrc">
[134a9158bd]281       <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
[ac4cb71650]282     </property>
[899d1b8e15]283     <addaction name="actionSettingsLanguageAutodetect"/>
[ac4cb71650]284     <addaction name="separator"/>
285     <addaction name="actionSettingsLanguageEnglish"/>
[899d1b8e15]286    </widget>
287    <addaction name="menuSettingsLanguage"/>
288    <addaction name="separator"/>
289    <addaction name="actionSettingsPreferences"/>
[5354a01311]290   </widget>
291   <widget class="QMenu" name="menuHelp">
292    <property name="title">
[5587b87fac]293     <string>&amp;Help</string>
[5354a01311]294    </property>
295    <addaction name="actionHelpContents"/>
296    <addaction name="actionHelpContextual"/>
297    <addaction name="separator"/>
[690f6939a7]298    <addaction name="actionHelpAboutQt"/>
[5354a01311]299    <addaction name="actionHelpAbout"/>
300   </widget>
301   <addaction name="menuFile"/>
302   <addaction name="menuSettings"/>
303   <addaction name="menuHelp"/>
304  </widget>
305  <widget class="QToolBar" name="toolBar">
306   <property name="cursor">
307    <cursorShape>ArrowCursor</cursorShape>
308   </property>
309   <attribute name="toolBarArea">
310    <enum>TopToolBarArea</enum>
311   </attribute>
312   <attribute name="toolBarBreak">
313    <bool>false</bool>
314   </attribute>
315   <addaction name="actionFileNew"/>
316   <addaction name="actionFileOpen"/>
[b24a5a054a]317   <addaction name="actionFileSave"/>
[5354a01311]318   <addaction name="separator"/>
[899d1b8e15]319   <addaction name="actionSettingsPreferences"/>
[5354a01311]320   <addaction name="separator"/>
321   <addaction name="actionFileExit"/>
322  </widget>
323  <action name="actionFileSaveResultMatrices">
324   <property name="enabled">
325    <bool>false</bool>
326   </property>
327   <property name="text">
[b24a5a054a]328    <string>Solution S&amp;teps</string>
[5587b87fac]329   </property>
330   <property name="toolTip">
331    <string>Save solution steps</string>
[5354a01311]332   </property>
333   <property name="statusTip">
[5587b87fac]334    <string>Save solution steps only</string>
[5354a01311]335   </property>
336  </action>
337  <action name="actionFileSaveResultGraph">
338   <property name="enabled">
339    <bool>false</bool>
340   </property>
341   <property name="text">
[b24a5a054a]342    <string>Solution &amp;Graph</string>
[5587b87fac]343   </property>
344   <property name="toolTip">
345    <string>Save solution graph</string>
[5354a01311]346   </property>
347   <property name="statusTip">
[5587b87fac]348    <string>Save solution graph only</string>
[5354a01311]349   </property>
350  </action>
[430bd7f7e9]351  <action name="actionFileSaveAsSolution">
[5354a01311]352   <property name="enabled">
353    <bool>false</bool>
354   </property>
355   <property name="text">
[430bd7f7e9]356    <string>&amp;Solution...</string>
357   </property>
358   <property name="iconText">
359    <string>Solution...</string>
[5587b87fac]360   </property>
361   <property name="toolTip">
362    <string>Save solution</string>
[5354a01311]363   </property>
364   <property name="statusTip">
[5587b87fac]365    <string>Save solution steps and graph</string>
[5354a01311]366   </property>
367  </action>
368  <action name="actionFileNew">
369   <property name="icon">
370    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]371     <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
[5354a01311]372   </property>
373   <property name="text">
[5587b87fac]374    <string>&amp;New</string>
375   </property>
376   <property name="iconText">
377    <string>New</string>
378   </property>
379   <property name="toolTip">
380    <string>New task</string>
[5354a01311]381   </property>
382   <property name="statusTip">
[5587b87fac]383    <string>Create new task</string>
[5354a01311]384   </property>
385   <property name="shortcut">
386    <string>Ctrl+N</string>
387   </property>
388  </action>
389  <action name="actionFileOpen">
390   <property name="icon">
391    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]392     <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
[5354a01311]393   </property>
394   <property name="text">
[5587b87fac]395    <string>&amp;Open...</string>
396   </property>
397   <property name="iconText">
398    <string>Open...</string>
[5354a01311]399   </property>
400   <property name="toolTip">
[5587b87fac]401    <string>Open task</string>
[5354a01311]402   </property>
403   <property name="statusTip">
[5587b87fac]404    <string>Open saved task</string>
[5354a01311]405   </property>
406   <property name="shortcut">
407    <string>Ctrl+O</string>
408   </property>
409  </action>
[899d1b8e15]410  <action name="actionSettingsPreferences">
[5354a01311]411   <property name="icon">
412    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]413     <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
[5354a01311]414   </property>
415   <property name="text">
[5587b87fac]416    <string>&amp;Preferences...</string>
417   </property>
418   <property name="iconText">
419    <string>Preferences...</string>
[5354a01311]420   </property>
421   <property name="statusTip">
[5587b87fac]422    <string>Application preferences</string>
[5354a01311]423   </property>
424  </action>
425  <action name="actionHelpContents">
[5587b87fac]426   <property name="enabled">
427    <bool>false</bool>
428   </property>
[5354a01311]429   <property name="icon">
430    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]431     <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
[5354a01311]432   </property>
433   <property name="text">
[5587b87fac]434    <string>&amp;Contents</string>
[5354a01311]435   </property>
436   <property name="statusTip">
[5587b87fac]437    <string>Open help contents</string>
[5354a01311]438   </property>
439  </action>
440  <action name="actionHelpContextual">
[5587b87fac]441   <property name="enabled">
442    <bool>false</bool>
443   </property>
[5354a01311]444   <property name="icon">
445    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]446     <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
[5354a01311]447   </property>
448   <property name="text">
[134a9158bd]449    <string>Context &amp;Help</string>
[5354a01311]450   </property>
451   <property name="statusTip">
[5587b87fac]452    <string>Open context help</string>
[5354a01311]453   </property>
454  </action>
455  <action name="actionHelpAbout">
456   <property name="icon">
457    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]458     <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
[5354a01311]459   </property>
460   <property name="text">
[5587b87fac]461    <string>&amp;About...</string>
462   </property>
463   <property name="iconText">
464    <string>About...</string>
[5354a01311]465   </property>
466   <property name="statusTip">
[5587b87fac]467    <string>About application</string>
[5354a01311]468   </property>
469  </action>
470  <action name="actionFileExit">
471   <property name="icon">
472    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]473     <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
[5354a01311]474   </property>
475   <property name="text">
[5587b87fac]476    <string>E&amp;xit</string>
[5354a01311]477   </property>
478   <property name="statusTip">
[5587b87fac]479    <string>Exit application</string>
[5354a01311]480   </property>
481  </action>
[430bd7f7e9]482  <action name="actionFileSaveAsTask">
[5354a01311]483   <property name="icon">
484    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]485     <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
[5354a01311]486   </property>
487   <property name="text">
[5587b87fac]488    <string>&amp;Task...</string>
[5354a01311]489   </property>
490   <property name="iconText">
[5587b87fac]491    <string>Task...</string>
[5354a01311]492   </property>
493   <property name="toolTip">
[5587b87fac]494    <string>Save task</string>
[5354a01311]495   </property>
496   <property name="statusTip">
[5587b87fac]497    <string>Save task to file</string>
[5354a01311]498   </property>
499   <property name="shortcut">
500    <string>Ctrl+S</string>
501   </property>
502  </action>
[899d1b8e15]503  <action name="actionSettingsLanguageAutodetect">
504   <property name="checkable">
505    <bool>true</bool>
506   </property>
507   <property name="checked">
508    <bool>true</bool>
509   </property>
510   <property name="text">
511    <string>&amp;Autodetect</string>
512   </property>
513   <property name="toolTip">
514    <string>Detect language automatically</string>
515   </property>
516   <property name="statusTip">
517    <string>Detect language automatically based on regional settings</string>
518   </property>
519  </action>
[ac4cb71650]520  <action name="actionSettingsLanguageEnglish">
521   <property name="checkable">
522    <bool>true</bool>
523   </property>
524   <property name="checked">
525    <bool>true</bool>
526   </property>
527   <property name="text">
[6b3d3c1bbb]528    <string notr="true">English</string>
529   </property>
530   <property name="iconText">
531    <string notr="true">English</string>
[ac4cb71650]532   </property>
533  </action>
[993d5af6f6]534  <action name="actionFileSave">
535   <property name="enabled">
536    <bool>false</bool>
537   </property>
538   <property name="icon">
539    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]540     <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
[993d5af6f6]541   </property>
542   <property name="text">
543    <string>&amp;Save</string>
544   </property>
545   <property name="toolTip">
546    <string>Save task</string>
547   </property>
548   <property name="statusTip">
549    <string>Save current task</string>
550   </property>
551  </action>
[690f6939a7]552  <action name="actionHelpAboutQt">
553   <property name="icon">
554    <iconset resource="../resources/tspsg.qrc">
[430bd7f7e9]555     <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
[690f6939a7]556   </property>
557   <property name="text">
558    <string>About &amp;Qt...</string>
559   </property>
560   <property name="iconText">
561    <string>About Qt...</string>
562   </property>
563   <property name="toolTip">
564    <string>About Qt</string>
565   </property>
566   <property name="statusTip">
567    <string>About Qt library</string>
568   </property>
569  </action>
[5354a01311]570 </widget>
571 <resources>
572  <include location="../resources/tspsg.qrc"/>
573 </resources>
574 <connections>
575  <connection>
576   <sender>actionFileExit</sender>
577   <signal>triggered()</signal>
578   <receiver>MainWindow</receiver>
579   <slot>close()</slot>
580   <hints>
581    <hint type="sourcelabel">
582     <x>-1</x>
583     <y>-1</y>
584    </hint>
585    <hint type="destinationlabel">
586     <x>251</x>
587     <y>229</y>
588    </hint>
589   </hints>
590  </connection>
591 </connections>
592</ui>
Note: See TracBrowser for help on using the repository browser.