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

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

Fixed wrong signal sender in mainwindow.ce.ui.

  • Property mode set to 100644
File size: 19.3 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>247</width>
13    <height>339</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>221</width>
33      <height>261</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="value">
116           <number>5</number>
117          </property>
118         </widget>
119        </item>
120        <item>
121         <spacer>
122          <property name="orientation">
123           <enum>Qt::Horizontal</enum>
124          </property>
125          <property name="sizeHint" stdset="0">
126           <size>
127            <width>40</width>
128            <height>20</height>
129           </size>
130          </property>
131         </spacer>
132        </item>
133       </layout>
134      </item>
135      <item>
136       <widget class="QTableView" name="taskView">
137        <property name="statusTip">
138         <string>Cost of travel from city to city</string>
139        </property>
140        <property name="selectionMode">
141         <enum>QAbstractItemView::NoSelection</enum>
142        </property>
143       </widget>
144      </item>
145      <item>
146       <layout class="QHBoxLayout" name="_3">
147        <item>
148         <spacer>
149          <property name="orientation">
150           <enum>Qt::Horizontal</enum>
151          </property>
152          <property name="sizeHint" stdset="0">
153           <size>
154            <width>40</width>
155            <height>20</height>
156           </size>
157          </property>
158         </spacer>
159        </item>
160        <item>
161         <widget class="QPushButton" name="buttonRandom">
162          <property name="cursor">
163           <cursorShape>PointingHandCursor</cursorShape>
164          </property>
165          <property name="statusTip">
166           <string>Fill table with random numbers</string>
167          </property>
168          <property name="text">
169           <string>Random</string>
170          </property>
171          <property name="icon">
172           <iconset resource="../resources/tspsg.qrc">
173            <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
174          </property>
175         </widget>
176        </item>
177        <item>
178         <widget class="QPushButton" name="buttonSolve">
179          <property name="cursor">
180           <cursorShape>PointingHandCursor</cursorShape>
181          </property>
182          <property name="statusTip">
183           <string>Solve current task</string>
184          </property>
185          <property name="text">
186           <string>Solve</string>
187          </property>
188          <property name="icon">
189           <iconset resource="../resources/tspsg.qrc">
190            <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
191          </property>
192         </widget>
193        </item>
194       </layout>
195      </item>
196     </layout>
197    </widget>
198    <widget class="QWidget" name="tabSolution">
199     <attribute name="title">
200      <string>Solution</string>
201     </attribute>
202     <layout class="QVBoxLayout" name="verticalLayout_2">
203      <item>
204       <widget class="QTextEdit" name="solutionText">
205        <property name="enabled">
206         <bool>false</bool>
207        </property>
208        <property name="statusTip">
209         <string>Solution steps</string>
210        </property>
211        <property name="readOnly">
212         <bool>true</bool>
213        </property>
214        <property name="textInteractionFlags">
215         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
216        </property>
217       </widget>
218      </item>
219      <item>
220       <layout class="QHBoxLayout" name="horizontalLayout">
221        <item>
222         <widget class="QPushButton" name="buttonSaveSolution">
223          <property name="enabled">
224           <bool>false</bool>
225          </property>
226          <property name="cursor">
227           <cursorShape>PointingHandCursor</cursorShape>
228          </property>
229          <property name="statusTip">
230           <string>Save solution to a file</string>
231          </property>
232          <property name="text">
233           <string>Save Solution</string>
234          </property>
235          <property name="icon">
236           <iconset resource="../resources/tspsg.qrc">
237            <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
238          </property>
239         </widget>
240        </item>
241        <item>
242         <spacer name="horizontalSpacer">
243          <property name="orientation">
244           <enum>Qt::Horizontal</enum>
245          </property>
246          <property name="sizeHint" stdset="0">
247           <size>
248            <width>40</width>
249            <height>20</height>
250           </size>
251          </property>
252         </spacer>
253        </item>
254        <item>
255         <widget class="QPushButton" name="buttonBackToTask">
256          <property name="cursor">
257           <cursorShape>PointingHandCursor</cursorShape>
258          </property>
259          <property name="statusTip">
260           <string>Go back to Task tab</string>
261          </property>
262          <property name="text">
263           <string>Back to Task</string>
264          </property>
265          <property name="icon">
266           <iconset resource="../resources/tspsg.qrc">
267            <normaloff>:/images/icons/back.png</normaloff>:/images/icons/back.png</iconset>
268          </property>
269         </widget>
270        </item>
271       </layout>
272      </item>
273     </layout>
274    </widget>
275   </widget>
276  </widget>
277  <widget class="QMenuBar" name="menubar">
278   <property name="geometry">
279    <rect>
280     <x>0</x>
281     <y>0</y>
282     <width>247</width>
283     <height>22</height>
284    </rect>
285   </property>
286   <widget class="QMenu" name="menuFile">
287    <property name="windowIcon">
288     <iconset>
289      <normaloff/>
290     </iconset>
291    </property>
292    <property name="title">
293     <string>&amp;File</string>
294    </property>
295    <widget class="QMenu" name="menuFileSaveAs">
296     <property name="statusTip">
297      <string/>
298     </property>
299     <property name="title">
300      <string>Save &amp;As</string>
301     </property>
302     <property name="icon">
303      <iconset resource="../resources/tspsg.qrc">
304       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
305     </property>
306     <addaction name="actionFileSaveAsTask"/>
307     <addaction name="actionFileSaveAsSolution"/>
308    </widget>
309    <addaction name="actionFileNew"/>
310    <addaction name="actionFileOpen"/>
311    <addaction name="actionFileSave"/>
312    <addaction name="menuFileSaveAs"/>
313    <addaction name="separator"/>
314    <addaction name="actionFileExit"/>
315   </widget>
316   <widget class="QMenu" name="menuSettings">
317    <property name="title">
318     <string>&amp;Settings</string>
319    </property>
320    <widget class="QMenu" name="menuSettingsLanguage">
321     <property name="toolTip">
322      <string>Select language</string>
323     </property>
324     <property name="statusTip">
325      <string>Select application language</string>
326     </property>
327     <property name="title">
328      <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
329     </property>
330     <property name="icon">
331      <iconset resource="../resources/tspsg.qrc">
332       <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
333     </property>
334     <addaction name="actionSettingsLanguageAutodetect"/>
335     <addaction name="separator"/>
336     <addaction name="actionSettingsLanguageEnglish"/>
337    </widget>
338    <addaction name="menuSettingsLanguage"/>
339    <addaction name="separator"/>
340    <addaction name="actionSettingsPreferences"/>
341   </widget>
342   <widget class="QMenu" name="menuHelp">
343    <property name="title">
344     <string>&amp;Help</string>
345    </property>
346    <addaction name="actionHelpContents"/>
347    <addaction name="actionHelpContextual"/>
348    <addaction name="separator"/>
349    <addaction name="actionHelpAboutQt"/>
350    <addaction name="actionHelpAbout"/>
351   </widget>
352   <addaction name="menuFile"/>
353   <addaction name="menuSettings"/>
354   <addaction name="menuHelp"/>
355  </widget>
356  <widget class="QToolBar" name="toolBar">
357   <property name="cursor">
358    <cursorShape>ArrowCursor</cursorShape>
359   </property>
360   <attribute name="toolBarArea">
361    <enum>TopToolBarArea</enum>
362   </attribute>
363   <attribute name="toolBarBreak">
364    <bool>false</bool>
365   </attribute>
366   <addaction name="actionFileNew"/>
367   <addaction name="actionFileOpen"/>
368   <addaction name="actionFileSave"/>
369   <addaction name="separator"/>
370   <addaction name="actionSettingsPreferences"/>
371   <addaction name="separator"/>
372   <addaction name="actionFileExit"/>
373  </widget>
374  <action name="actionFileSaveResultMatrices">
375   <property name="enabled">
376    <bool>false</bool>
377   </property>
378   <property name="text">
379    <string>Solution S&amp;teps</string>
380   </property>
381   <property name="toolTip">
382    <string>Save solution steps</string>
383   </property>
384   <property name="statusTip">
385    <string>Save solution steps only</string>
386   </property>
387  </action>
388  <action name="actionFileSaveResultGraph">
389   <property name="enabled">
390    <bool>false</bool>
391   </property>
392   <property name="text">
393    <string>Solution &amp;Graph</string>
394   </property>
395   <property name="toolTip">
396    <string>Save solution graph</string>
397   </property>
398   <property name="statusTip">
399    <string>Save solution graph only</string>
400   </property>
401  </action>
402  <action name="actionFileSaveAsSolution">
403   <property name="enabled">
404    <bool>false</bool>
405   </property>
406   <property name="text">
407    <string>&amp;Solution...</string>
408   </property>
409   <property name="iconText">
410    <string>Solution...</string>
411   </property>
412   <property name="toolTip">
413    <string>Save solution</string>
414   </property>
415   <property name="statusTip">
416    <string>Save solution to a file</string>
417   </property>
418  </action>
419  <action name="actionFileNew">
420   <property name="icon">
421    <iconset resource="../resources/tspsg.qrc">
422     <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
423   </property>
424   <property name="text">
425    <string>&amp;New</string>
426   </property>
427   <property name="iconText">
428    <string>New</string>
429   </property>
430   <property name="toolTip">
431    <string>New task</string>
432   </property>
433   <property name="statusTip">
434    <string>Create new task</string>
435   </property>
436   <property name="shortcut">
437    <string>Ctrl+N</string>
438   </property>
439  </action>
440  <action name="actionFileOpen">
441   <property name="icon">
442    <iconset resource="../resources/tspsg.qrc">
443     <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
444   </property>
445   <property name="text">
446    <string>&amp;Open...</string>
447   </property>
448   <property name="iconText">
449    <string>Open...</string>
450   </property>
451   <property name="toolTip">
452    <string>Open task</string>
453   </property>
454   <property name="statusTip">
455    <string>Open saved task</string>
456   </property>
457   <property name="shortcut">
458    <string>Ctrl+O</string>
459   </property>
460  </action>
461  <action name="actionSettingsPreferences">
462   <property name="icon">
463    <iconset resource="../resources/tspsg.qrc">
464     <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
465   </property>
466   <property name="text">
467    <string>&amp;Preferences...</string>
468   </property>
469   <property name="iconText">
470    <string>Preferences...</string>
471   </property>
472   <property name="statusTip">
473    <string>Application preferences</string>
474   </property>
475  </action>
476  <action name="actionHelpContents">
477   <property name="enabled">
478    <bool>false</bool>
479   </property>
480   <property name="icon">
481    <iconset resource="../resources/tspsg.qrc">
482     <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
483   </property>
484   <property name="text">
485    <string>&amp;Contents</string>
486   </property>
487   <property name="statusTip">
488    <string>Open help contents</string>
489   </property>
490   <property name="shortcut">
491    <string>Ctrl+F1</string>
492   </property>
493  </action>
494  <action name="actionHelpContextual">
495   <property name="enabled">
496    <bool>false</bool>
497   </property>
498   <property name="icon">
499    <iconset resource="../resources/tspsg.qrc">
500     <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
501   </property>
502   <property name="text">
503    <string>Context &amp;Help</string>
504   </property>
505   <property name="statusTip">
506    <string>Open context help</string>
507   </property>
508   <property name="shortcut">
509    <string>F1</string>
510   </property>
511  </action>
512  <action name="actionHelpAbout">
513   <property name="icon">
514    <iconset resource="../resources/tspsg.qrc">
515     <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
516   </property>
517   <property name="text">
518    <string>&amp;About...</string>
519   </property>
520   <property name="iconText">
521    <string>About...</string>
522   </property>
523   <property name="statusTip">
524    <string>About application</string>
525   </property>
526  </action>
527  <action name="actionFileExit">
528   <property name="icon">
529    <iconset resource="../resources/tspsg.qrc">
530     <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
531   </property>
532   <property name="text">
533    <string>E&amp;xit</string>
534   </property>
535   <property name="statusTip">
536    <string>Exit application</string>
537   </property>
538  </action>
539  <action name="actionFileSaveAsTask">
540   <property name="icon">
541    <iconset resource="../resources/tspsg.qrc">
542     <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
543   </property>
544   <property name="text">
545    <string>&amp;Task...</string>
546   </property>
547   <property name="iconText">
548    <string>Task...</string>
549   </property>
550   <property name="toolTip">
551    <string>Save task</string>
552   </property>
553   <property name="statusTip">
554    <string>Save task to file</string>
555   </property>
556  </action>
557  <action name="actionSettingsLanguageAutodetect">
558   <property name="checkable">
559    <bool>true</bool>
560   </property>
561   <property name="checked">
562    <bool>true</bool>
563   </property>
564   <property name="text">
565    <string>&amp;Autodetect</string>
566   </property>
567   <property name="toolTip">
568    <string>Detect language automatically</string>
569   </property>
570   <property name="statusTip">
571    <string>Detect language automatically based on regional settings</string>
572   </property>
573  </action>
574  <action name="actionSettingsLanguageEnglish">
575   <property name="checkable">
576    <bool>true</bool>
577   </property>
578   <property name="checked">
579    <bool>true</bool>
580   </property>
581   <property name="text">
582    <string notr="true">&amp;English</string>
583   </property>
584   <property name="iconText">
585    <string notr="true">English</string>
586   </property>
587  </action>
588  <action name="actionFileSave">
589   <property name="icon">
590    <iconset resource="../resources/tspsg.qrc">
591     <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
592   </property>
593   <property name="text">
594    <string>&amp;Save</string>
595   </property>
596   <property name="toolTip">
597    <string>Save task</string>
598   </property>
599   <property name="statusTip">
600    <string>Save current task</string>
601   </property>
602   <property name="shortcut">
603    <string>Ctrl+S</string>
604   </property>
605  </action>
606  <action name="actionHelpAboutQt">
607   <property name="icon">
608    <iconset resource="../resources/tspsg.qrc">
609     <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
610   </property>
611   <property name="text">
612    <string>About &amp;Qt...</string>
613   </property>
614   <property name="iconText">
615    <string>About Qt...</string>
616   </property>
617   <property name="toolTip">
618    <string>About Qt</string>
619   </property>
620   <property name="statusTip">
621    <string>About Qt library</string>
622   </property>
623  </action>
624 </widget>
625 <resources>
626  <include location="../resources/tspsg.qrc"/>
627 </resources>
628 <connections>
629  <connection>
630   <sender>actionFileExit</sender>
631   <signal>triggered()</signal>
632   <receiver>MainWindow</receiver>
633   <slot>close()</slot>
634   <hints>
635    <hint type="sourcelabel">
636     <x>-1</x>
637     <y>-1</y>
638    </hint>
639    <hint type="destinationlabel">
640     <x>251</x>
641     <y>229</y>
642    </hint>
643   </hints>
644  </connection>
645  <connection>
646   <sender>buttonSaveSolution</sender>
647   <signal>clicked()</signal>
648   <receiver>actionFileSaveAsSolution</receiver>
649   <slot>trigger()</slot>
650   <hints>
651    <hint type="sourcelabel">
652     <x>102</x>
653     <y>785</y>
654    </hint>
655    <hint type="destinationlabel">
656     <x>-1</x>
657     <y>-1</y>
658    </hint>
659   </hints>
660  </connection>
661 </connections>
662</ui>
Note: See TracBrowser for help on using the repository browser.