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
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>MainWindow</class>
4 <widget class="QMainWindow" name="MainWindow">
5  <property name="enabled">
6   <bool>true</bool>
7  </property>
8  <property name="geometry">
9   <rect>
10    <x>0</x>
11    <y>0</y>
12    <width>225</width>
13    <height>322</height>
14   </rect>
15  </property>
16  <property name="windowTitle">
17   <string>Travelling Salesman Problem[*]</string>
18  </property>
19  <property name="windowIcon">
20   <iconset resource="../resources/tspsg.qrc">
21    <normaloff>:/images/icon.png</normaloff>:/images/icon.png</iconset>
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>
30      <x>9</x>
31      <y>9</y>
32      <width>207</width>
33      <height>248</height>
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">
53      <string>Task</string>
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">
74           <string>&amp;Variant:</string>
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">
87           <string>Number of variant</string>
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">
97           <string>&amp;Cities:</string>
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">
110           <string>Number of cities</string>
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">
141         <string>Cost of travel from city to city</string>
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">
169           <string>Fill table with random numbers</string>
170          </property>
171          <property name="text">
172           <string>Random</string>
173          </property>
174          <property name="icon">
175           <iconset resource="../resources/tspsg.qrc">
176            <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
177          </property>
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">
186           <string>Solve current task</string>
187          </property>
188          <property name="text">
189           <string>Solve</string>
190          </property>
191          <property name="icon">
192           <iconset resource="../resources/tspsg.qrc">
193            <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
194          </property>
195         </widget>
196        </item>
197       </layout>
198      </item>
199     </layout>
200    </widget>
201    <widget class="QWidget" name="tabSolution">
202     <attribute name="title">
203      <string>Solution</string>
204     </attribute>
205     <layout class="QVBoxLayout" name="verticalLayout_2">
206      <item>
207       <widget class="QTextEdit" name="solutionText">
208        <property name="enabled">
209         <bool>false</bool>
210        </property>
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>
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>
231     <width>225</width>
232     <height>22</height>
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">
242     <string>&amp;File</string>
243    </property>
244    <widget class="QMenu" name="menuFileSaveAs">
245     <property name="statusTip">
246      <string/>
247     </property>
248     <property name="title">
249      <string>Save &amp;As...</string>
250     </property>
251     <property name="icon">
252      <iconset resource="../resources/tspsg.qrc">
253       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
254     </property>
255     <addaction name="actionFileSaveAsTask"/>
256     <addaction name="actionFileSaveAsSolution"/>
257    </widget>
258    <addaction name="actionFileNew"/>
259    <addaction name="actionFileOpen"/>
260    <addaction name="actionFileSave"/>
261    <addaction name="menuFileSaveAs"/>
262    <addaction name="separator"/>
263    <addaction name="actionFileExit"/>
264   </widget>
265   <widget class="QMenu" name="menuSettings">
266    <property name="title">
267     <string>&amp;Settings</string>
268    </property>
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">
277      <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
278     </property>
279     <property name="icon">
280      <iconset resource="../resources/tspsg.qrc">
281       <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
282     </property>
283     <addaction name="actionSettingsLanguageAutodetect"/>
284     <addaction name="separator"/>
285     <addaction name="actionSettingsLanguageEnglish"/>
286    </widget>
287    <addaction name="menuSettingsLanguage"/>
288    <addaction name="separator"/>
289    <addaction name="actionSettingsPreferences"/>
290   </widget>
291   <widget class="QMenu" name="menuHelp">
292    <property name="title">
293     <string>&amp;Help</string>
294    </property>
295    <addaction name="actionHelpContents"/>
296    <addaction name="actionHelpContextual"/>
297    <addaction name="separator"/>
298    <addaction name="actionHelpAboutQt"/>
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"/>
317   <addaction name="actionFileSave"/>
318   <addaction name="separator"/>
319   <addaction name="actionSettingsPreferences"/>
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">
328    <string>Solution S&amp;teps</string>
329   </property>
330   <property name="toolTip">
331    <string>Save solution steps</string>
332   </property>
333   <property name="statusTip">
334    <string>Save solution steps only</string>
335   </property>
336  </action>
337  <action name="actionFileSaveResultGraph">
338   <property name="enabled">
339    <bool>false</bool>
340   </property>
341   <property name="text">
342    <string>Solution &amp;Graph</string>
343   </property>
344   <property name="toolTip">
345    <string>Save solution graph</string>
346   </property>
347   <property name="statusTip">
348    <string>Save solution graph only</string>
349   </property>
350  </action>
351  <action name="actionFileSaveAsSolution">
352   <property name="enabled">
353    <bool>false</bool>
354   </property>
355   <property name="text">
356    <string>&amp;Solution...</string>
357   </property>
358   <property name="iconText">
359    <string>Solution...</string>
360   </property>
361   <property name="toolTip">
362    <string>Save solution</string>
363   </property>
364   <property name="statusTip">
365    <string>Save solution steps and graph</string>
366   </property>
367  </action>
368  <action name="actionFileNew">
369   <property name="icon">
370    <iconset resource="../resources/tspsg.qrc">
371     <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
372   </property>
373   <property name="text">
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>
381   </property>
382   <property name="statusTip">
383    <string>Create new task</string>
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">
392     <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
393   </property>
394   <property name="text">
395    <string>&amp;Open...</string>
396   </property>
397   <property name="iconText">
398    <string>Open...</string>
399   </property>
400   <property name="toolTip">
401    <string>Open task</string>
402   </property>
403   <property name="statusTip">
404    <string>Open saved task</string>
405   </property>
406   <property name="shortcut">
407    <string>Ctrl+O</string>
408   </property>
409  </action>
410  <action name="actionSettingsPreferences">
411   <property name="icon">
412    <iconset resource="../resources/tspsg.qrc">
413     <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
414   </property>
415   <property name="text">
416    <string>&amp;Preferences...</string>
417   </property>
418   <property name="iconText">
419    <string>Preferences...</string>
420   </property>
421   <property name="statusTip">
422    <string>Application preferences</string>
423   </property>
424  </action>
425  <action name="actionHelpContents">
426   <property name="enabled">
427    <bool>false</bool>
428   </property>
429   <property name="icon">
430    <iconset resource="../resources/tspsg.qrc">
431     <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
432   </property>
433   <property name="text">
434    <string>&amp;Contents</string>
435   </property>
436   <property name="statusTip">
437    <string>Open help contents</string>
438   </property>
439  </action>
440  <action name="actionHelpContextual">
441   <property name="enabled">
442    <bool>false</bool>
443   </property>
444   <property name="icon">
445    <iconset resource="../resources/tspsg.qrc">
446     <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
447   </property>
448   <property name="text">
449    <string>Context &amp;Help</string>
450   </property>
451   <property name="statusTip">
452    <string>Open context help</string>
453   </property>
454  </action>
455  <action name="actionHelpAbout">
456   <property name="icon">
457    <iconset resource="../resources/tspsg.qrc">
458     <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
459   </property>
460   <property name="text">
461    <string>&amp;About...</string>
462   </property>
463   <property name="iconText">
464    <string>About...</string>
465   </property>
466   <property name="statusTip">
467    <string>About application</string>
468   </property>
469  </action>
470  <action name="actionFileExit">
471   <property name="icon">
472    <iconset resource="../resources/tspsg.qrc">
473     <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
474   </property>
475   <property name="text">
476    <string>E&amp;xit</string>
477   </property>
478   <property name="statusTip">
479    <string>Exit application</string>
480   </property>
481  </action>
482  <action name="actionFileSaveAsTask">
483   <property name="icon">
484    <iconset resource="../resources/tspsg.qrc">
485     <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
486   </property>
487   <property name="text">
488    <string>&amp;Task...</string>
489   </property>
490   <property name="iconText">
491    <string>Task...</string>
492   </property>
493   <property name="toolTip">
494    <string>Save task</string>
495   </property>
496   <property name="statusTip">
497    <string>Save task to file</string>
498   </property>
499   <property name="shortcut">
500    <string>Ctrl+S</string>
501   </property>
502  </action>
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>
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">
528    <string notr="true">English</string>
529   </property>
530   <property name="iconText">
531    <string notr="true">English</string>
532   </property>
533  </action>
534  <action name="actionFileSave">
535   <property name="enabled">
536    <bool>false</bool>
537   </property>
538   <property name="icon">
539    <iconset resource="../resources/tspsg.qrc">
540     <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
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>
552  <action name="actionHelpAboutQt">
553   <property name="icon">
554    <iconset resource="../resources/tspsg.qrc">
555     <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
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>
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.