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