source: tspsg/ui/mainwindow.ui @ 003e4193be

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

Converted source files to UTF-8
Some code changes :-)

  • Property mode set to 100644
File size: 12.8 KB
Line 
1<ui version="4.0" >
2 <class>MainWindow</class>
3 <widget class="QMainWindow" name="MainWindow" >
4  <property name="geometry" >
5   <rect>
6    <x>0</x>
7    <y>0</y>
8    <width>506</width>
9    <height>396</height>
10   </rect>
11  </property>
12  <property name="windowTitle" >
13   <string>Задача коммивояжера</string>
14  </property>
15  <property name="windowIcon" >
16   <iconset resource="../resources/tspsg.qrc" >:/images/Icon.png</iconset>
17  </property>
18  <widget class="QWidget" name="centralwidget" >
19   <layout class="QGridLayout" >
20    <item row="0" column="0" >
21     <widget class="QTabWidget" name="tabWidget" >
22      <property name="sizePolicy" >
23       <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
24        <horstretch>0</horstretch>
25        <verstretch>0</verstretch>
26       </sizepolicy>
27      </property>
28      <property name="currentIndex" >
29       <number>0</number>
30      </property>
31      <widget class="QWidget" name="tabTask" >
32       <attribute name="title" >
33        <string>Задание</string>
34       </attribute>
35       <layout class="QVBoxLayout" >
36        <item>
37         <layout class="QHBoxLayout" >
38          <item>
39           <spacer>
40            <property name="orientation" >
41             <enum>Qt::Horizontal</enum>
42            </property>
43            <property name="sizeHint" >
44             <size>
45              <width>40</width>
46              <height>20</height>
47             </size>
48            </property>
49           </spacer>
50          </item>
51          <item>
52           <widget class="QLabel" name="labelVariant" >
53            <property name="text" >
54             <string>&amp;Вариант:</string>
55            </property>
56            <property name="buddy" >
57             <cstring>spinVariant</cstring>
58            </property>
59           </widget>
60          </item>
61          <item>
62           <widget class="QSpinBox" name="spinVariant" >
63            <property name="cursor" >
64             <cursorShape>PointingHandCursor</cursorShape>
65            </property>
66            <property name="minimum" >
67             <number>1</number>
68            </property>
69           </widget>
70          </item>
71          <item>
72           <widget class="QLabel" name="labelCities" >
73            <property name="text" >
74             <string>&amp;Городов:</string>
75            </property>
76            <property name="buddy" >
77             <cstring>spinCities</cstring>
78            </property>
79           </widget>
80          </item>
81          <item>
82           <widget class="QSpinBox" name="spinCities" >
83            <property name="cursor" >
84             <cursorShape>PointingHandCursor</cursorShape>
85            </property>
86            <property name="minimum" >
87             <number>3</number>
88            </property>
89            <property name="maximum" >
90             <number>5</number>
91            </property>
92            <property name="value" >
93             <number>5</number>
94            </property>
95           </widget>
96          </item>
97          <item>
98           <spacer>
99            <property name="orientation" >
100             <enum>Qt::Horizontal</enum>
101            </property>
102            <property name="sizeHint" >
103             <size>
104              <width>40</width>
105              <height>20</height>
106             </size>
107            </property>
108           </spacer>
109          </item>
110         </layout>
111        </item>
112        <item>
113         <widget class="QTableWidget" name="tableTask" >
114          <property name="selectionMode" >
115           <enum>QAbstractItemView::NoSelection</enum>
116          </property>
117          <property name="rowCount" >
118           <number>5</number>
119          </property>
120          <property name="columnCount" >
121           <number>5</number>
122          </property>
123          <row/>
124          <row/>
125          <row/>
126          <row/>
127          <row/>
128          <column/>
129          <column/>
130          <column/>
131          <column/>
132          <column/>
133         </widget>
134        </item>
135        <item>
136         <layout class="QHBoxLayout" >
137          <item>
138           <spacer>
139            <property name="orientation" >
140             <enum>Qt::Horizontal</enum>
141            </property>
142            <property name="sizeHint" >
143             <size>
144              <width>40</width>
145              <height>20</height>
146             </size>
147            </property>
148           </spacer>
149          </item>
150          <item>
151           <widget class="QPushButton" name="buttonRandom" >
152            <property name="cursor" >
153             <cursorShape>PointingHandCursor</cursorShape>
154            </property>
155            <property name="statusTip" >
156             <string>Заполнить таблицу случайными значениями</string>
157            </property>
158            <property name="text" >
159             <string>Случайно</string>
160            </property>
161           </widget>
162          </item>
163          <item>
164           <widget class="QPushButton" name="buttonSolve" >
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            <property name="icon" >
175             <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/OK.png</iconset>
176            </property>
177           </widget>
178          </item>
179         </layout>
180        </item>
181       </layout>
182      </widget>
183      <widget class="QWidget" name="tabSolution" >
184       <attribute name="title" >
185        <string>Результат</string>
186       </attribute>
187       <layout class="QVBoxLayout" >
188        <item>
189         <layout class="QHBoxLayout" >
190          <property name="spacing" >
191           <number>0</number>
192          </property>
193          <item>
194           <widget class="QTextEdit" name="textEdit" >
195            <property name="sizePolicy" >
196             <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
197              <horstretch>0</horstretch>
198              <verstretch>0</verstretch>
199             </sizepolicy>
200            </property>
201            <property name="readOnly" >
202             <bool>true</bool>
203            </property>
204           </widget>
205          </item>
206          <item>
207           <widget class="QGraphicsView" name="graphicsView" />
208          </item>
209         </layout>
210        </item>
211       </layout>
212      </widget>
213     </widget>
214    </item>
215   </layout>
216  </widget>
217  <widget class="QMenuBar" name="menubar" >
218   <property name="geometry" >
219    <rect>
220     <x>0</x>
221     <y>0</y>
222     <width>506</width>
223     <height>21</height>
224    </rect>
225   </property>
226   <widget class="QMenu" name="menuFile" >
227    <property name="windowIcon" >
228     <iconset/>
229    </property>
230    <property name="title" >
231     <string>&amp;Файл</string>
232    </property>
233    <widget class="QMenu" name="menuFileSave" >
234     <property name="title" >
235      <string>Со&amp;хранить</string>
236     </property>
237     <property name="icon" >
238      <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Save.png</iconset>
239     </property>
240     <addaction name="actionFileSaveResults" />
241     <addaction name="actionFileSaveGraph" />
242     <addaction name="actionFileSaveAll" />
243    </widget>
244    <addaction name="actionFileNew" />
245    <addaction name="actionFileOpen" />
246    <addaction name="menuFileSave" />
247    <addaction name="separator" />
248    <addaction name="actionFilePrintSetup" />
249    <addaction name="actionFilePrint" />
250    <addaction name="separator" />
251    <addaction name="actionFileExit" />
252   </widget>
253   <widget class="QMenu" name="menuSettings" >
254    <property name="title" >
255     <string>&amp;Настройки</string>
256    </property>
257    <addaction name="actionSettingsSettings" />
258   </widget>
259   <widget class="QMenu" name="menuHelp" >
260    <property name="title" >
261     <string>&amp;Помощь</string>
262    </property>
263    <addaction name="actionHelpContents" />
264    <addaction name="actionHelpContextual" />
265    <addaction name="separator" />
266    <addaction name="actionHelpAbout" />
267   </widget>
268   <addaction name="menuFile" />
269   <addaction name="menuSettings" />
270   <addaction name="menuHelp" />
271  </widget>
272  <widget class="QStatusBar" name="statusbar" />
273  <widget class="QToolBar" name="toolBar" >
274   <property name="cursor" >
275    <cursorShape>ArrowCursor</cursorShape>
276   </property>
277   <property name="iconSize" >
278    <size>
279     <width>17</width>
280     <height>18</height>
281    </size>
282   </property>
283   <attribute name="toolBarArea" >
284    <enum>TopToolBarArea</enum>
285   </attribute>
286   <attribute name="toolBarBreak" >
287    <bool>false</bool>
288   </attribute>
289   <addaction name="actionFileNew" />
290   <addaction name="separator" />
291   <addaction name="actionFileSaveAll" />
292   <addaction name="actionFileOpen" />
293   <addaction name="separator" />
294   <addaction name="actionFilePrint" />
295   <addaction name="actionSettingsSettings" />
296   <addaction name="separator" />
297   <addaction name="actionFileExit" />
298  </widget>
299  <action name="actionFilePrintSetup" >
300   <property name="icon" >
301    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/PrintSetup.png</iconset>
302   </property>
303   <property name="text" >
304    <string>&amp;Настройка печати</string>
305   </property>
306  </action>
307  <action name="actionFilePrint" >
308   <property name="icon" >
309    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Print.png</iconset>
310   </property>
311   <property name="text" >
312    <string>&amp;Печать...</string>
313   </property>
314   <property name="shortcut" >
315    <string>Ctrl+P</string>
316   </property>
317  </action>
318  <action name="actionFileSaveResults" >
319   <property name="text" >
320    <string>&amp;Ход решения</string>
321   </property>
322  </action>
323  <action name="actionFileSaveGraph" >
324   <property name="text" >
325    <string>&amp;Граф решения</string>
326   </property>
327  </action>
328  <action name="actionFileSaveAll" >
329   <property name="icon" >
330    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Save.png</iconset>
331   </property>
332   <property name="text" >
333    <string>Сохранить &amp;все</string>
334   </property>
335   <property name="shortcut" >
336    <string>Ctrl+S</string>
337   </property>
338  </action>
339  <action name="actionFileNew" >
340   <property name="icon" >
341    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Document.png</iconset>
342   </property>
343   <property name="text" >
344    <string>&amp;Создать</string>
345   </property>
346   <property name="shortcut" >
347    <string>Ctrl+N</string>
348   </property>
349  </action>
350  <action name="actionFileOpen" >
351   <property name="icon" >
352    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/OpenFolder.png</iconset>
353   </property>
354   <property name="text" >
355    <string>&amp;Открыть</string>
356   </property>
357   <property name="shortcut" >
358    <string>Ctrl+O</string>
359   </property>
360  </action>
361  <action name="actionSettingsSettings" >
362   <property name="icon" >
363    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Properties.png</iconset>
364   </property>
365   <property name="text" >
366    <string>&amp;Параметры</string>
367   </property>
368  </action>
369  <action name="actionHelpContents" >
370   <property name="icon" >
371    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/book_open.png</iconset>
372   </property>
373   <property name="text" >
374    <string>&amp;Содежание</string>
375   </property>
376  </action>
377  <action name="actionHelpContextual" >
378   <property name="icon" >
379    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Help.png</iconset>
380   </property>
381   <property name="text" >
382    <string>&amp;Контекстная справка</string>
383   </property>
384  </action>
385  <action name="actionHelpAbout" >
386   <property name="icon" >
387    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/infoBubble.png</iconset>
388   </property>
389   <property name="text" >
390    <string>&amp;Про...</string>
391   </property>
392  </action>
393  <action name="actionFileExit" >
394   <property name="icon" >
395    <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/NoAction.png</iconset>
396   </property>
397   <property name="text" >
398    <string>В&amp;ыход</string>
399   </property>
400   <property name="statusTip" >
401    <string>Выйти из программы</string>
402   </property>
403  </action>
404 </widget>
405 <resources>
406  <include location="../resources/tspsg.qrc" />
407 </resources>
408 <connections>
409  <connection>
410   <sender>actionFileExit</sender>
411   <signal>triggered()</signal>
412   <receiver>MainWindow</receiver>
413   <slot>close()</slot>
414   <hints>
415    <hint type="sourcelabel" >
416     <x>-1</x>
417     <y>-1</y>
418    </hint>
419    <hint type="destinationlabel" >
420     <x>294</x>
421     <y>229</y>
422    </hint>
423   </hints>
424  </connection>
425 </connections>
426</ui>
Note: See TracBrowser for help on using the repository browser.