source: tspsg/ui/mainwindow.ce.ui @ 5354a01311

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

+ Windows CE (WM6, actually, but should work on other versions) support:

  • added optimized for wince forms (recommended minimal resolution is 240x320);
  • removed unsupported under wince features from menus (e.g., printing);
  • added preprocessor directives to remove code for unsupported under wince features.
  • Fixed wrong encoding in some files to UTF-8.
  • Updated copyright and e-mail.
  • Property mode set to 100644
File size: 15.0 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="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>234</width>
10    <height>292</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Задача коммивояжера</string>
15  </property>
16  <property name="windowIcon">
17   <iconset resource="../resources/tspsg.qrc">
18    <normaloff>:/images/Icon.png</normaloff>:/images/Icon.png</iconset>
19  </property>
20  <widget class="QWidget" name="centralwidget">
21   <property name="enabled">
22    <bool>true</bool>
23   </property>
24   <widget class="QTabWidget" name="tabWidget">
25    <property name="enabled">
26     <bool>true</bool>
27    </property>
28    <property name="geometry">
29     <rect>
30      <x>0</x>
31      <y>0</y>
32      <width>235</width>
33      <height>240</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>Задача</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;Вариант:</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>Номер варианта</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;Городов:</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>Количество городов, которые обходит коммивояжер</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>Стоимости переходов/переездов из города в город</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>Заполнить таблицу случайными значениями</string>
170          </property>
171          <property name="text">
172           <string>Случайно</string>
173          </property>
174         </widget>
175        </item>
176        <item>
177         <widget class="QPushButton" name="buttonSolve">
178          <property name="cursor">
179           <cursorShape>PointingHandCursor</cursorShape>
180          </property>
181          <property name="statusTip">
182           <string>Решить текущую задачу</string>
183          </property>
184          <property name="text">
185           <string>Решить</string>
186          </property>
187          <property name="icon">
188           <iconset resource="../resources/tspsg.qrc">
189            <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset>
190          </property>
191         </widget>
192        </item>
193       </layout>
194      </item>
195     </layout>
196    </widget>
197    <widget class="QWidget" name="tabSolution">
198     <attribute name="title">
199      <string>Решение</string>
200     </attribute>
201     <layout class="QVBoxLayout" name="_4">
202      <item>
203       <layout class="QHBoxLayout" name="_5">
204        <property name="spacing">
205         <number>0</number>
206        </property>
207        <item>
208         <widget class="QTextEdit" name="textEdit">
209          <property name="sizePolicy">
210           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
211            <horstretch>0</horstretch>
212            <verstretch>0</verstretch>
213           </sizepolicy>
214          </property>
215          <property name="statusTip">
216           <string>Ход решения</string>
217          </property>
218          <property name="readOnly">
219           <bool>true</bool>
220          </property>
221         </widget>
222        </item>
223        <item>
224         <widget class="QGraphicsView" name="graphicsView">
225          <property name="statusTip">
226           <string>Граф решения</string>
227          </property>
228         </widget>
229        </item>
230       </layout>
231      </item>
232     </layout>
233    </widget>
234   </widget>
235  </widget>
236  <widget class="QMenuBar" name="menubar">
237   <property name="geometry">
238    <rect>
239     <x>0</x>
240     <y>0</y>
241     <width>234</width>
242     <height>22</height>
243    </rect>
244   </property>
245   <widget class="QMenu" name="menuFile">
246    <property name="windowIcon">
247     <iconset>
248      <normaloff/>
249     </iconset>
250    </property>
251    <property name="title">
252     <string>&amp;Файл</string>
253    </property>
254    <widget class="QMenu" name="menuFileSave">
255     <property name="statusTip">
256      <string/>
257     </property>
258     <property name="title">
259      <string>Со&amp;хранить</string>
260     </property>
261     <property name="icon">
262      <iconset resource="../resources/tspsg.qrc">
263       <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset>
264     </property>
265     <addaction name="actionFileSaveTask"/>
266     <addaction name="separator"/>
267     <addaction name="actionFileSaveResultAll"/>
268     <addaction name="actionFileSaveResultMatrices"/>
269     <addaction name="actionFileSaveResultGraph"/>
270    </widget>
271    <addaction name="actionFileNew"/>
272    <addaction name="actionFileOpen"/>
273    <addaction name="menuFileSave"/>
274    <addaction name="separator"/>
275    <addaction name="actionFileExit"/>
276   </widget>
277   <widget class="QMenu" name="menuSettings">
278    <property name="title">
279     <string>&amp;Настройки</string>
280    </property>
281    <addaction name="actionSettingsSettings"/>
282   </widget>
283   <widget class="QMenu" name="menuHelp">
284    <property name="title">
285     <string>&amp;Помощь</string>
286    </property>
287    <addaction name="actionHelpContents"/>
288    <addaction name="actionHelpContextual"/>
289    <addaction name="separator"/>
290    <addaction name="actionHelpAbout"/>
291   </widget>
292   <addaction name="menuFile"/>
293   <addaction name="menuSettings"/>
294   <addaction name="menuHelp"/>
295  </widget>
296  <widget class="QToolBar" name="toolBar">
297   <property name="cursor">
298    <cursorShape>ArrowCursor</cursorShape>
299   </property>
300   <property name="iconSize">
301    <size>
302     <width>17</width>
303     <height>18</height>
304    </size>
305   </property>
306   <attribute name="toolBarArea">
307    <enum>TopToolBarArea</enum>
308   </attribute>
309   <attribute name="toolBarBreak">
310    <bool>false</bool>
311   </attribute>
312   <addaction name="actionFileNew"/>
313   <addaction name="actionFileOpen"/>
314   <addaction name="actionFileSaveTask"/>
315   <addaction name="separator"/>
316   <addaction name="actionSettingsSettings"/>
317   <addaction name="separator"/>
318   <addaction name="actionFileExit"/>
319  </widget>
320  <action name="actionFileSaveResultMatrices">
321   <property name="enabled">
322    <bool>false</bool>
323   </property>
324   <property name="text">
325    <string>&amp;Ход решения</string>
326   </property>
327   <property name="statusTip">
328    <string>Сохранить только хоод решения</string>
329   </property>
330  </action>
331  <action name="actionFileSaveResultGraph">
332   <property name="enabled">
333    <bool>false</bool>
334   </property>
335   <property name="text">
336    <string>&amp;Граф решения</string>
337   </property>
338   <property name="statusTip">
339    <string>Сохранить только граф решения</string>
340   </property>
341  </action>
342  <action name="actionFileSaveResultAll">
343   <property name="enabled">
344    <bool>false</bool>
345   </property>
346   <property name="text">
347    <string>&amp;Решение</string>
348   </property>
349   <property name="statusTip">
350    <string>Сохранить ход и граф решения</string>
351   </property>
352   <property name="shortcut">
353    <string>Ctrl+S</string>
354   </property>
355  </action>
356  <action name="actionFileNew">
357   <property name="icon">
358    <iconset resource="../resources/tspsg.qrc">
359     <normaloff>:/images/buttons/buttons/Document.png</normaloff>:/images/buttons/buttons/Document.png</iconset>
360   </property>
361   <property name="text">
362    <string>&amp;Создать</string>
363   </property>
364   <property name="statusTip">
365    <string>Создать новую задачу</string>
366   </property>
367   <property name="shortcut">
368    <string>Ctrl+N</string>
369   </property>
370  </action>
371  <action name="actionFileOpen">
372   <property name="icon">
373    <iconset resource="../resources/tspsg.qrc">
374     <normaloff>:/images/buttons/buttons/OpenFolder.png</normaloff>:/images/buttons/buttons/OpenFolder.png</iconset>
375   </property>
376   <property name="text">
377    <string>&amp;Открыть</string>
378   </property>
379   <property name="toolTip">
380    <string>Открыть задачу</string>
381   </property>
382   <property name="statusTip">
383    <string>Открыть сохраненное условие задачи</string>
384   </property>
385   <property name="shortcut">
386    <string>Ctrl+O</string>
387   </property>
388  </action>
389  <action name="actionSettingsSettings">
390   <property name="icon">
391    <iconset resource="../resources/tspsg.qrc">
392     <normaloff>:/images/buttons/buttons/Properties.png</normaloff>:/images/buttons/buttons/Properties.png</iconset>
393   </property>
394   <property name="text">
395    <string>&amp;Параметры</string>
396   </property>
397   <property name="statusTip">
398    <string>Настройка параметров программмы</string>
399   </property>
400  </action>
401  <action name="actionHelpContents">
402   <property name="icon">
403    <iconset resource="../resources/tspsg.qrc">
404     <normaloff>:/images/buttons/buttons/book_open.png</normaloff>:/images/buttons/buttons/book_open.png</iconset>
405   </property>
406   <property name="text">
407    <string>&amp;Содежание</string>
408   </property>
409   <property name="statusTip">
410    <string>Вызвать справку по программе</string>
411   </property>
412  </action>
413  <action name="actionHelpContextual">
414   <property name="icon">
415    <iconset resource="../resources/tspsg.qrc">
416     <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset>
417   </property>
418   <property name="text">
419    <string>&amp;Контекстная справка</string>
420   </property>
421   <property name="statusTip">
422    <string>Вызвать контекстную справку</string>
423   </property>
424  </action>
425  <action name="actionHelpAbout">
426   <property name="icon">
427    <iconset resource="../resources/tspsg.qrc">
428     <normaloff>:/images/buttons/buttons/infoBubble.png</normaloff>:/images/buttons/buttons/infoBubble.png</iconset>
429   </property>
430   <property name="text">
431    <string>&amp;Про...</string>
432   </property>
433   <property name="statusTip">
434    <string>Получить информацию о программе</string>
435   </property>
436  </action>
437  <action name="actionFileExit">
438   <property name="icon">
439    <iconset resource="../resources/tspsg.qrc">
440     <normaloff>:/images/buttons/buttons/NoAction.png</normaloff>:/images/buttons/buttons/NoAction.png</iconset>
441   </property>
442   <property name="text">
443    <string>В&amp;ыход</string>
444   </property>
445   <property name="statusTip">
446    <string>Выйти из программы</string>
447   </property>
448  </action>
449  <action name="actionFileSaveTask">
450   <property name="icon">
451    <iconset resource="../resources/tspsg.qrc">
452     <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset>
453   </property>
454   <property name="text">
455    <string>&amp;Задачу</string>
456   </property>
457   <property name="iconText">
458    <string>Сохранить</string>
459   </property>
460   <property name="toolTip">
461    <string>Сохранить задачу</string>
462   </property>
463   <property name="statusTip">
464    <string>Сохранить условие задачи в файл</string>
465   </property>
466   <property name="shortcut">
467    <string>Ctrl+S</string>
468   </property>
469  </action>
470 </widget>
471 <resources>
472  <include location="../resources/tspsg.qrc"/>
473 </resources>
474 <connections>
475  <connection>
476   <sender>actionFileExit</sender>
477   <signal>triggered()</signal>
478   <receiver>MainWindow</receiver>
479   <slot>close()</slot>
480   <hints>
481    <hint type="sourcelabel">
482     <x>-1</x>
483     <y>-1</y>
484    </hint>
485    <hint type="destinationlabel">
486     <x>251</x>
487     <y>229</y>
488    </hint>
489   </hints>
490  </connection>
491 </connections>
492</ui>
Note: See TracBrowser for help on using the repository browser.