source: tspsg/ui/mainwindow.ce.ui @ ac4cb71650

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

English language should always be in language menu.

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