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

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

+ Added README file.

  • Very minor ui and translation changes.
  • Property mode set to 100644
File size: 17.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">
[690f6939a7]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>
[134a9158bd]177          <property name="icon">
178           <iconset resource="../resources/tspsg.qrc">
179            <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
180          </property>
[5354a01311]181         </widget>
182        </item>
183        <item>
184         <widget class="QPushButton" name="buttonSolve">
185          <property name="cursor">
186           <cursorShape>PointingHandCursor</cursorShape>
187          </property>
188          <property name="statusTip">
[5587b87fac]189           <string>Solve current task</string>
[5354a01311]190          </property>
191          <property name="text">
[5587b87fac]192           <string>Solve</string>
[5354a01311]193          </property>
194          <property name="icon">
195           <iconset resource="../resources/tspsg.qrc">
[134a9158bd]196            <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
[5354a01311]197          </property>
198         </widget>
199        </item>
200       </layout>
201      </item>
202     </layout>
203    </widget>
204    <widget class="QWidget" name="tabSolution">
205     <attribute name="title">
[5587b87fac]206      <string>Solution</string>
[5354a01311]207     </attribute>
208     <layout class="QVBoxLayout" name="_4">
209      <item>
210       <layout class="QHBoxLayout" name="_5">
211        <property name="spacing">
212         <number>0</number>
213        </property>
214        <item>
215         <widget class="QTextEdit" name="textEdit">
216          <property name="sizePolicy">
217           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
218            <horstretch>0</horstretch>
219            <verstretch>0</verstretch>
220           </sizepolicy>
221          </property>
222          <property name="statusTip">
[5587b87fac]223           <string>Solution steps</string>
[5354a01311]224          </property>
225          <property name="readOnly">
226           <bool>true</bool>
227          </property>
228         </widget>
229        </item>
230        <item>
231         <widget class="QGraphicsView" name="graphicsView">
232          <property name="statusTip">
[5587b87fac]233           <string>Solution graph</string>
[5354a01311]234          </property>
235         </widget>
236        </item>
237       </layout>
238      </item>
239     </layout>
240    </widget>
241   </widget>
242  </widget>
243  <widget class="QMenuBar" name="menubar">
244   <property name="geometry">
245    <rect>
246     <x>0</x>
247     <y>0</y>
248     <width>234</width>
[b24a5a054a]249     <height>24</height>
[5354a01311]250    </rect>
251   </property>
252   <widget class="QMenu" name="menuFile">
253    <property name="windowIcon">
254     <iconset>
255      <normaloff/>
256     </iconset>
257    </property>
258    <property name="title">
[5587b87fac]259     <string>&amp;File</string>
[5354a01311]260    </property>
[993d5af6f6]261    <widget class="QMenu" name="menuFileSaveAs">
[5354a01311]262     <property name="statusTip">
263      <string/>
264     </property>
265     <property name="title">
[b24a5a054a]266      <string>Save &amp;As...</string>
[5354a01311]267     </property>
268     <property name="icon">
269      <iconset resource="../resources/tspsg.qrc">
[134a9158bd]270       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
[5354a01311]271     </property>
272     <addaction name="actionFileSaveTask"/>
273     <addaction name="separator"/>
274     <addaction name="actionFileSaveResultAll"/>
275     <addaction name="actionFileSaveResultMatrices"/>
276     <addaction name="actionFileSaveResultGraph"/>
277    </widget>
278    <addaction name="actionFileNew"/>
279    <addaction name="actionFileOpen"/>
[993d5af6f6]280    <addaction name="actionFileSave"/>
281    <addaction name="menuFileSaveAs"/>
[5354a01311]282    <addaction name="separator"/>
283    <addaction name="actionFileExit"/>
284   </widget>
285   <widget class="QMenu" name="menuSettings">
286    <property name="title">
[5587b87fac]287     <string>&amp;Settings</string>
[5354a01311]288    </property>
[899d1b8e15]289    <widget class="QMenu" name="menuSettingsLanguage">
290     <property name="toolTip">
291      <string>Select language</string>
292     </property>
293     <property name="statusTip">
294      <string>Select application language</string>
295     </property>
296     <property name="title">
297      <string extracomment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
298     </property>
[ac4cb71650]299     <property name="icon">
300      <iconset resource="../resources/tspsg.qrc">
[134a9158bd]301       <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
[ac4cb71650]302     </property>
[899d1b8e15]303     <addaction name="actionSettingsLanguageAutodetect"/>
[ac4cb71650]304     <addaction name="separator"/>
305     <addaction name="actionSettingsLanguageEnglish"/>
[899d1b8e15]306    </widget>
307    <addaction name="menuSettingsLanguage"/>
308    <addaction name="separator"/>
309    <addaction name="actionSettingsPreferences"/>
[5354a01311]310   </widget>
311   <widget class="QMenu" name="menuHelp">
312    <property name="title">
[5587b87fac]313     <string>&amp;Help</string>
[5354a01311]314    </property>
315    <addaction name="actionHelpContents"/>
316    <addaction name="actionHelpContextual"/>
317    <addaction name="separator"/>
[690f6939a7]318    <addaction name="actionHelpAboutQt"/>
[5354a01311]319    <addaction name="actionHelpAbout"/>
320   </widget>
321   <addaction name="menuFile"/>
322   <addaction name="menuSettings"/>
323   <addaction name="menuHelp"/>
324  </widget>
325  <widget class="QToolBar" name="toolBar">
326   <property name="cursor">
327    <cursorShape>ArrowCursor</cursorShape>
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"/>
[b24a5a054a]337   <addaction name="actionFileSave"/>
[5354a01311]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">
[b24a5a054a]348    <string>Solution S&amp;teps</string>
[5587b87fac]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">
[b24a5a054a]362    <string>Solution &amp;Graph</string>
[5587b87fac]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">
[134a9158bd]388     <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
[5354a01311]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">
407   <property name="icon">
408    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]409     <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
[5354a01311]410   </property>
411   <property name="text">
[5587b87fac]412    <string>&amp;Open...</string>
413   </property>
414   <property name="iconText">
415    <string>Open...</string>
[5354a01311]416   </property>
417   <property name="toolTip">
[5587b87fac]418    <string>Open task</string>
[5354a01311]419   </property>
420   <property name="statusTip">
[5587b87fac]421    <string>Open saved task</string>
[5354a01311]422   </property>
423   <property name="shortcut">
424    <string>Ctrl+O</string>
425   </property>
426  </action>
[899d1b8e15]427  <action name="actionSettingsPreferences">
[5354a01311]428   <property name="icon">
429    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]430     <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
[5354a01311]431   </property>
432   <property name="text">
[5587b87fac]433    <string>&amp;Preferences...</string>
434   </property>
435   <property name="iconText">
436    <string>Preferences...</string>
[5354a01311]437   </property>
438   <property name="statusTip">
[5587b87fac]439    <string>Application preferences</string>
[5354a01311]440   </property>
441  </action>
442  <action name="actionHelpContents">
[5587b87fac]443   <property name="enabled">
444    <bool>false</bool>
445   </property>
[5354a01311]446   <property name="icon">
447    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]448     <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
[5354a01311]449   </property>
450   <property name="text">
[5587b87fac]451    <string>&amp;Contents</string>
[5354a01311]452   </property>
453   <property name="statusTip">
[5587b87fac]454    <string>Open help contents</string>
[5354a01311]455   </property>
456  </action>
457  <action name="actionHelpContextual">
[5587b87fac]458   <property name="enabled">
459    <bool>false</bool>
460   </property>
[5354a01311]461   <property name="icon">
462    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]463     <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
[5354a01311]464   </property>
465   <property name="text">
[134a9158bd]466    <string>Context &amp;Help</string>
[5354a01311]467   </property>
468   <property name="statusTip">
[5587b87fac]469    <string>Open context help</string>
[5354a01311]470   </property>
471  </action>
472  <action name="actionHelpAbout">
473   <property name="icon">
474    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]475     <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
[5354a01311]476   </property>
477   <property name="text">
[5587b87fac]478    <string>&amp;About...</string>
479   </property>
480   <property name="iconText">
481    <string>About...</string>
[5354a01311]482   </property>
483   <property name="statusTip">
[5587b87fac]484    <string>About application</string>
[5354a01311]485   </property>
486  </action>
487  <action name="actionFileExit">
488   <property name="icon">
489    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]490     <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
[5354a01311]491   </property>
492   <property name="text">
[5587b87fac]493    <string>E&amp;xit</string>
[5354a01311]494   </property>
495   <property name="statusTip">
[5587b87fac]496    <string>Exit application</string>
[5354a01311]497   </property>
498  </action>
499  <action name="actionFileSaveTask">
500   <property name="icon">
501    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]502     <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
[5354a01311]503   </property>
504   <property name="text">
[5587b87fac]505    <string>&amp;Task...</string>
[5354a01311]506   </property>
507   <property name="iconText">
[5587b87fac]508    <string>Task...</string>
[5354a01311]509   </property>
510   <property name="toolTip">
[5587b87fac]511    <string>Save task</string>
[5354a01311]512   </property>
513   <property name="statusTip">
[5587b87fac]514    <string>Save task to file</string>
[5354a01311]515   </property>
516   <property name="shortcut">
517    <string>Ctrl+S</string>
518   </property>
519  </action>
[899d1b8e15]520  <action name="actionSettingsLanguageAutodetect">
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>&amp;Autodetect</string>
529   </property>
530   <property name="toolTip">
531    <string>Detect language automatically</string>
532   </property>
533   <property name="statusTip">
534    <string>Detect language automatically based on regional settings</string>
535   </property>
536  </action>
[ac4cb71650]537  <action name="actionSettingsLanguageEnglish">
538   <property name="checkable">
539    <bool>true</bool>
540   </property>
541   <property name="checked">
542    <bool>true</bool>
543   </property>
544   <property name="text">
545    <string>English</string>
546   </property>
547  </action>
[993d5af6f6]548  <action name="actionFileSave">
549   <property name="enabled">
550    <bool>false</bool>
551   </property>
552   <property name="icon">
553    <iconset resource="../resources/tspsg.qrc">
[134a9158bd]554     <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
[993d5af6f6]555   </property>
556   <property name="text">
557    <string>&amp;Save</string>
558   </property>
559   <property name="toolTip">
560    <string>Save task</string>
561   </property>
562   <property name="statusTip">
563    <string>Save current task</string>
564   </property>
565  </action>
[690f6939a7]566  <action name="actionHelpAboutQt">
567   <property name="icon">
568    <iconset resource="../resources/tspsg.qrc">
569     <normaloff>:/images/qtlogo-64.png</normaloff>:/images/qtlogo-64.png</iconset>
570   </property>
571   <property name="text">
572    <string>About &amp;Qt...</string>
573   </property>
574   <property name="iconText">
575    <string>About Qt...</string>
576   </property>
577   <property name="toolTip">
578    <string>About Qt</string>
579   </property>
580   <property name="statusTip">
581    <string>About Qt library</string>
582   </property>
583  </action>
[5354a01311]584 </widget>
585 <resources>
586  <include location="../resources/tspsg.qrc"/>
587 </resources>
588 <connections>
589  <connection>
590   <sender>actionFileExit</sender>
591   <signal>triggered()</signal>
592   <receiver>MainWindow</receiver>
593   <slot>close()</slot>
594   <hints>
595    <hint type="sourcelabel">
596     <x>-1</x>
597     <y>-1</y>
598    </hint>
599    <hint type="destinationlabel">
600     <x>251</x>
601     <y>229</y>
602    </hint>
603   </hints>
604  </connection>
605 </connections>
606</ui>
Note: See TracBrowser for help on using the repository browser.