Changeset 5354a01311 in tspsg for ui/mainwindow.ui
- Timestamp:
- Jun 15, 2009, 5:10:25 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 5fce561905
- Parents:
- bcfd415fe2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ui/mainwindow.ui
rbcfd415fe2 r5354a01311 1 <ui version="4.0" > 1 <?xml version="1.0" encoding="UTF-8"?> 2 <ui version="4.0"> 2 3 <class>MainWindow</class> 3 <widget class="QMainWindow" name="MainWindow" 4 <property name="geometry" 4 <widget class="QMainWindow" name="MainWindow"> 5 <property name="geometry"> 5 6 <rect> 6 7 <x>0</x> … … 10 11 </rect> 11 12 </property> 12 <property name="windowTitle" 13 <property name="windowTitle"> 13 14 <string>Задача коммивояжера</string> 14 15 </property> 15 <property name="windowIcon" > 16 <iconset resource="../resources/tspsg.qrc" >:/images/Icon.png</iconset> 16 <property name="windowIcon"> 17 <iconset resource="../resources/tspsg.qrc"> 18 <normaloff>:/images/Icon.png</normaloff>:/images/Icon.png</iconset> 17 19 </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">20 <widget class="QWidget" name="centralwidget"> 21 <layout class="QGridLayout"> 22 <item row="0" column="0"> 23 <widget class="QTabWidget" name="tabWidget"> 24 <property name="sizePolicy"> 25 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 24 26 <horstretch>0</horstretch> 25 27 <verstretch>0</verstretch> 26 28 </sizepolicy> 27 29 </property> 28 <property name="currentIndex" 30 <property name="currentIndex"> 29 31 <number>0</number> 30 32 </property> 31 <widget class="QWidget" name="tabTask" 32 <attribute name="title" 33 <widget class="QWidget" name="tabTask"> 34 <attribute name="title"> 33 35 <string>Задача</string> 34 36 </attribute> 35 <layout class="QVBoxLayout" 37 <layout class="QVBoxLayout"> 36 38 <item> 37 <layout class="QHBoxLayout" 39 <layout class="QHBoxLayout"> 38 40 <item> 39 41 <spacer> 40 <property name="orientation" 42 <property name="orientation"> 41 43 <enum>Qt::Horizontal</enum> 42 44 </property> 43 <property name="sizeHint" >45 <property name="sizeHint" stdset="0"> 44 46 <size> 45 47 <width>40</width> … … 50 52 </item> 51 53 <item> 52 <widget class="QLabel" name="labelVariant" 53 <property name="text" 54 <widget class="QLabel" name="labelVariant"> 55 <property name="text"> 54 56 <string>&Вариант:</string> 55 57 </property> 56 <property name="buddy" 58 <property name="buddy"> 57 59 <cstring>spinVariant</cstring> 58 60 </property> … … 60 62 </item> 61 63 <item> 62 <widget class="QSpinBox" name="spinVariant" 63 <property name="cursor" 64 <widget class="QSpinBox" name="spinVariant"> 65 <property name="cursor"> 64 66 <cursorShape>PointingHandCursor</cursorShape> 65 67 </property> 66 <property name="statusTip" 68 <property name="statusTip"> 67 69 <string>Номер варианта</string> 68 70 </property> 69 <property name="minimum" 71 <property name="minimum"> 70 72 <number>1</number> 71 73 </property> … … 73 75 </item> 74 76 <item> 75 <widget class="QLabel" name="labelCities" 76 <property name="text" 77 <widget class="QLabel" name="labelCities"> 78 <property name="text"> 77 79 <string>&Городов:</string> 78 80 </property> 79 <property name="buddy" 81 <property name="buddy"> 80 82 <cstring>spinCities</cstring> 81 83 </property> … … 83 85 </item> 84 86 <item> 85 <widget class="QSpinBox" name="spinCities" 86 <property name="cursor" 87 <widget class="QSpinBox" name="spinCities"> 88 <property name="cursor"> 87 89 <cursorShape>PointingHandCursor</cursorShape> 88 90 </property> 89 <property name="statusTip" 91 <property name="statusTip"> 90 92 <string>Количество городов, которые обходит коммивояжер</string> 91 93 </property> 92 <property name="minimum" 94 <property name="minimum"> 93 95 <number>3</number> 94 96 </property> 95 <property name="maximum" 97 <property name="maximum"> 96 98 <number>5</number> 97 99 </property> 98 <property name="value" 100 <property name="value"> 99 101 <number>5</number> 100 102 </property> … … 103 105 <item> 104 106 <spacer> 105 <property name="orientation" 107 <property name="orientation"> 106 108 <enum>Qt::Horizontal</enum> 107 109 </property> 108 <property name="sizeHint" >110 <property name="sizeHint" stdset="0"> 109 111 <size> 110 112 <width>40</width> … … 117 119 </item> 118 120 <item> 119 <widget class="QTableView" name="taskView" 120 <property name="statusTip" 121 <widget class="QTableView" name="taskView"> 122 <property name="statusTip"> 121 123 <string>Стоимости переходов/переездов из города в город</string> 122 124 </property> 123 <property name="selectionMode" 125 <property name="selectionMode"> 124 126 <enum>QAbstractItemView::NoSelection</enum> 125 127 </property> … … 127 129 </item> 128 130 <item> 129 <layout class="QHBoxLayout" 131 <layout class="QHBoxLayout"> 130 132 <item> 131 133 <spacer> 132 <property name="orientation" 134 <property name="orientation"> 133 135 <enum>Qt::Horizontal</enum> 134 136 </property> 135 <property name="sizeHint" >137 <property name="sizeHint" stdset="0"> 136 138 <size> 137 139 <width>40</width> … … 142 144 </item> 143 145 <item> 144 <widget class="QPushButton" name="buttonRandom" 145 <property name="cursor" 146 <widget class="QPushButton" name="buttonRandom"> 147 <property name="cursor"> 146 148 <cursorShape>PointingHandCursor</cursorShape> 147 149 </property> 148 <property name="statusTip" 150 <property name="statusTip"> 149 151 <string>Заполнить таблицу случайными значениями</string> 150 152 </property> 151 <property name="text" 153 <property name="text"> 152 154 <string>Случайно</string> 153 155 </property> … … 155 157 </item> 156 158 <item> 157 <widget class="QPushButton" name="buttonSolve" 158 <property name="cursor" 159 <widget class="QPushButton" name="buttonSolve"> 160 <property name="cursor"> 159 161 <cursorShape>PointingHandCursor</cursorShape> 160 162 </property> 161 <property name="statusTip" 163 <property name="statusTip"> 162 164 <string>Решить текущую задачу</string> 163 165 </property> 164 <property name="text" 166 <property name="text"> 165 167 <string>Решить</string> 166 168 </property> 167 <property name="icon" > 168 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/OK.png</iconset> 169 <property name="icon"> 170 <iconset resource="../resources/tspsg.qrc"> 171 <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset> 169 172 </property> 170 173 </widget> … … 174 177 </layout> 175 178 </widget> 176 <widget class="QWidget" name="tabSolution" 177 <attribute name="title" 179 <widget class="QWidget" name="tabSolution"> 180 <attribute name="title"> 178 181 <string>Решение</string> 179 182 </attribute> 180 <layout class="QVBoxLayout" 183 <layout class="QVBoxLayout"> 181 184 <item> 182 <layout class="QHBoxLayout" 183 <property name="spacing" 185 <layout class="QHBoxLayout"> 186 <property name="spacing"> 184 187 <number>0</number> 185 188 </property> 186 189 <item> 187 <widget class="QTextEdit" name="textEdit" 188 <property name="sizePolicy" 189 <sizepolicy vsizetype="Expanding" hsizetype="Fixed">190 <widget class="QTextEdit" name="textEdit"> 191 <property name="sizePolicy"> 192 <sizepolicy hsizetype="Fixed" vsizetype="Expanding"> 190 193 <horstretch>0</horstretch> 191 194 <verstretch>0</verstretch> 192 195 </sizepolicy> 193 196 </property> 194 <property name="statusTip" 197 <property name="statusTip"> 195 198 <string>Ход решения</string> 196 199 </property> 197 <property name="readOnly" 200 <property name="readOnly"> 198 201 <bool>true</bool> 199 202 </property> … … 201 204 </item> 202 205 <item> 203 <widget class="QGraphicsView" name="graphicsView" 204 <property name="statusTip" 206 <widget class="QGraphicsView" name="graphicsView"> 207 <property name="statusTip"> 205 208 <string>Граф решения</string> 206 209 </property> … … 215 218 </layout> 216 219 </widget> 217 <widget class="QMenuBar" name="menubar" 218 <property name="geometry" 220 <widget class="QMenuBar" name="menubar"> 221 <property name="geometry"> 219 222 <rect> 220 223 <x>0</x> 221 224 <y>0</y> 222 225 <width>640</width> 223 <height>2 1</height>226 <height>22</height> 224 227 </rect> 225 228 </property> 226 <widget class="QMenu" name="menuFile" > 227 <property name="windowIcon" > 228 <iconset/> 229 <widget class="QMenu" name="menuFile"> 230 <property name="windowIcon"> 231 <iconset> 232 <normaloff/> 233 </iconset> 229 234 </property> 230 <property name="title" 235 <property name="title"> 231 236 <string>&Файл</string> 232 237 </property> 233 <widget class="QMenu" name="menuFileSave" 234 <property name="statusTip" 238 <widget class="QMenu" name="menuFileSave"> 239 <property name="statusTip"> 235 240 <string/> 236 241 </property> 237 <property name="title" 242 <property name="title"> 238 243 <string>Со&хранить</string> 239 244 </property> 240 <property name="icon" > 241 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Save.png</iconset> 245 <property name="icon"> 246 <iconset resource="../resources/tspsg.qrc"> 247 <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset> 242 248 </property> 243 <addaction name="actionFileSaveTask" 244 <addaction name="separator" 245 <addaction name="actionFileSaveResultAll" 246 <addaction name="actionFileSaveResultMatrices" 247 <addaction name="actionFileSaveResultGraph" 249 <addaction name="actionFileSaveTask"/> 250 <addaction name="separator"/> 251 <addaction name="actionFileSaveResultAll"/> 252 <addaction name="actionFileSaveResultMatrices"/> 253 <addaction name="actionFileSaveResultGraph"/> 248 254 </widget> 249 <addaction name="actionFileNew" 250 <addaction name="actionFileOpen" 251 <addaction name="menuFileSave" 252 <addaction name="separator" 253 <addaction name="actionFilePrintSetup" 254 <addaction name="actionFilePrint" 255 <addaction name="separator" 256 <addaction name="actionFileExit" 255 <addaction name="actionFileNew"/> 256 <addaction name="actionFileOpen"/> 257 <addaction name="menuFileSave"/> 258 <addaction name="separator"/> 259 <addaction name="actionFilePrintSetup"/> 260 <addaction name="actionFilePrint"/> 261 <addaction name="separator"/> 262 <addaction name="actionFileExit"/> 257 263 </widget> 258 <widget class="QMenu" name="menuSettings" 259 <property name="title" 264 <widget class="QMenu" name="menuSettings"> 265 <property name="title"> 260 266 <string>&Настройки</string> 261 267 </property> 262 <addaction name="actionSettingsSettings" 268 <addaction name="actionSettingsSettings"/> 263 269 </widget> 264 <widget class="QMenu" name="menuHelp" 265 <property name="title" 270 <widget class="QMenu" name="menuHelp"> 271 <property name="title"> 266 272 <string>&Помощь</string> 267 273 </property> 268 <addaction name="actionHelpContents" 269 <addaction name="actionHelpContextual" 270 <addaction name="separator" 271 <addaction name="actionHelpAbout" 274 <addaction name="actionHelpContents"/> 275 <addaction name="actionHelpContextual"/> 276 <addaction name="separator"/> 277 <addaction name="actionHelpAbout"/> 272 278 </widget> 273 <addaction name="menuFile" 274 <addaction name="menuSettings" 275 <addaction name="menuHelp" 279 <addaction name="menuFile"/> 280 <addaction name="menuSettings"/> 281 <addaction name="menuHelp"/> 276 282 </widget> 277 <widget class="QStatusBar" name="statusbar" 278 <widget class="QToolBar" name="toolBar" 279 <property name="cursor" 283 <widget class="QStatusBar" name="statusbar"/> 284 <widget class="QToolBar" name="toolBar"> 285 <property name="cursor"> 280 286 <cursorShape>ArrowCursor</cursorShape> 281 287 </property> 282 <property name="iconSize" 288 <property name="iconSize"> 283 289 <size> 284 290 <width>17</width> … … 286 292 </size> 287 293 </property> 288 <attribute name="toolBarArea" 294 <attribute name="toolBarArea"> 289 295 <enum>TopToolBarArea</enum> 290 296 </attribute> 291 <attribute name="toolBarBreak" 297 <attribute name="toolBarBreak"> 292 298 <bool>false</bool> 293 299 </attribute> 294 <addaction name="actionFileNew" 295 <addaction name="actionFileOpen" 296 <addaction name="actionFileSaveTask" 297 <addaction name="separator" 298 <addaction name="actionFilePrint" 299 <addaction name="actionSettingsSettings" 300 <addaction name="separator" 301 <addaction name="actionFileExit" 300 <addaction name="actionFileNew"/> 301 <addaction name="actionFileOpen"/> 302 <addaction name="actionFileSaveTask"/> 303 <addaction name="separator"/> 304 <addaction name="actionFilePrint"/> 305 <addaction name="actionSettingsSettings"/> 306 <addaction name="separator"/> 307 <addaction name="actionFileExit"/> 302 308 </widget> 303 <action name="actionFilePrintSetup" > 304 <property name="icon" > 305 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/PrintSetup.png</iconset> 306 </property> 307 <property name="text" > 309 <action name="actionFilePrintSetup"> 310 <property name="icon"> 311 <iconset resource="../resources/tspsg.qrc"> 312 <normaloff>:/images/buttons/buttons/PrintSetup.png</normaloff>:/images/buttons/buttons/PrintSetup.png</iconset> 313 </property> 314 <property name="text"> 308 315 <string>&Настройка печати</string> 309 316 </property> 310 <property name="statusTip" 317 <property name="statusTip"> 311 318 <string>Настроить принтер для печати</string> 312 319 </property> 313 320 </action> 314 <action name="actionFilePrint" 315 <property name="enabled" 321 <action name="actionFilePrint"> 322 <property name="enabled"> 316 323 <bool>false</bool> 317 324 </property> 318 <property name="icon" > 319 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Print.png</iconset> 320 </property> 321 <property name="text" > 325 <property name="icon"> 326 <iconset resource="../resources/tspsg.qrc"> 327 <normaloff>:/images/buttons/buttons/Print.png</normaloff>:/images/buttons/buttons/Print.png</iconset> 328 </property> 329 <property name="text"> 322 330 <string>&Печать...</string> 323 331 </property> 324 <property name="statusTip" 332 <property name="statusTip"> 325 333 <string>Распечатать результаты решения</string> 326 334 </property> 327 <property name="shortcut" 335 <property name="shortcut"> 328 336 <string>Ctrl+P</string> 329 337 </property> 330 338 </action> 331 <action name="actionFileSaveResultMatrices" 332 <property name="enabled" 339 <action name="actionFileSaveResultMatrices"> 340 <property name="enabled"> 333 341 <bool>false</bool> 334 342 </property> 335 <property name="text" 343 <property name="text"> 336 344 <string>&Ход решения</string> 337 345 </property> 338 <property name="statusTip" 346 <property name="statusTip"> 339 347 <string>Сохранить только хоод решения</string> 340 348 </property> 341 349 </action> 342 <action name="actionFileSaveResultGraph" 343 <property name="enabled" 350 <action name="actionFileSaveResultGraph"> 351 <property name="enabled"> 344 352 <bool>false</bool> 345 353 </property> 346 <property name="text" 354 <property name="text"> 347 355 <string>&Граф решения</string> 348 356 </property> 349 <property name="statusTip" 357 <property name="statusTip"> 350 358 <string>Сохранить только граф решения</string> 351 359 </property> 352 360 </action> 353 <action name="actionFileSaveResultAll" 354 <property name="enabled" 361 <action name="actionFileSaveResultAll"> 362 <property name="enabled"> 355 363 <bool>false</bool> 356 364 </property> 357 <property name="text" 365 <property name="text"> 358 366 <string>&Решение</string> 359 367 </property> 360 <property name="statusTip" 368 <property name="statusTip"> 361 369 <string>Сохранить ход и граф решения</string> 362 370 </property> 363 <property name="shortcut" 371 <property name="shortcut"> 364 372 <string>Ctrl+S</string> 365 373 </property> 366 374 </action> 367 <action name="actionFileNew" > 368 <property name="icon" > 369 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Document.png</iconset> 370 </property> 371 <property name="text" > 375 <action name="actionFileNew"> 376 <property name="icon"> 377 <iconset resource="../resources/tspsg.qrc"> 378 <normaloff>:/images/buttons/buttons/Document.png</normaloff>:/images/buttons/buttons/Document.png</iconset> 379 </property> 380 <property name="text"> 372 381 <string>&Создать</string> 373 382 </property> 374 <property name="statusTip" 383 <property name="statusTip"> 375 384 <string>Создать новую задачу</string> 376 385 </property> 377 <property name="shortcut" 386 <property name="shortcut"> 378 387 <string>Ctrl+N</string> 379 388 </property> 380 389 </action> 381 <action name="actionFileOpen" > 382 <property name="icon" > 383 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/OpenFolder.png</iconset> 384 </property> 385 <property name="text" > 390 <action name="actionFileOpen"> 391 <property name="icon"> 392 <iconset resource="../resources/tspsg.qrc"> 393 <normaloff>:/images/buttons/buttons/OpenFolder.png</normaloff>:/images/buttons/buttons/OpenFolder.png</iconset> 394 </property> 395 <property name="text"> 386 396 <string>&Открыть</string> 387 397 </property> 388 <property name="toolTip" 398 <property name="toolTip"> 389 399 <string>Открыть задачу</string> 390 400 </property> 391 <property name="statusTip" 401 <property name="statusTip"> 392 402 <string>Открыть сохраненное условие задачи</string> 393 403 </property> 394 <property name="shortcut" 404 <property name="shortcut"> 395 405 <string>Ctrl+O</string> 396 406 </property> 397 407 </action> 398 <action name="actionSettingsSettings" > 399 <property name="icon" > 400 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Properties.png</iconset> 401 </property> 402 <property name="text" > 408 <action name="actionSettingsSettings"> 409 <property name="icon"> 410 <iconset resource="../resources/tspsg.qrc"> 411 <normaloff>:/images/buttons/buttons/Properties.png</normaloff>:/images/buttons/buttons/Properties.png</iconset> 412 </property> 413 <property name="text"> 403 414 <string>&Параметры</string> 404 415 </property> 405 <property name="statusTip" 416 <property name="statusTip"> 406 417 <string>Настройка параметров программмы</string> 407 418 </property> 408 419 </action> 409 <action name="actionHelpContents" > 410 <property name="icon" > 411 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/book_open.png</iconset> 412 </property> 413 <property name="text" > 420 <action name="actionHelpContents"> 421 <property name="icon"> 422 <iconset resource="../resources/tspsg.qrc"> 423 <normaloff>:/images/buttons/buttons/book_open.png</normaloff>:/images/buttons/buttons/book_open.png</iconset> 424 </property> 425 <property name="text"> 414 426 <string>&Содежание</string> 415 427 </property> 416 <property name="statusTip" 428 <property name="statusTip"> 417 429 <string>Вызвать справку по программе</string> 418 430 </property> 419 431 </action> 420 <action name="actionHelpContextual" > 421 <property name="icon" > 422 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Help.png</iconset> 423 </property> 424 <property name="text" > 432 <action name="actionHelpContextual"> 433 <property name="icon"> 434 <iconset resource="../resources/tspsg.qrc"> 435 <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset> 436 </property> 437 <property name="text"> 425 438 <string>&Контекстная справка</string> 426 439 </property> 427 <property name="statusTip" 440 <property name="statusTip"> 428 441 <string>Вызвать контекстную справку</string> 429 442 </property> 430 443 </action> 431 <action name="actionHelpAbout" > 432 <property name="icon" > 433 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/infoBubble.png</iconset> 434 </property> 435 <property name="text" > 444 <action name="actionHelpAbout"> 445 <property name="icon"> 446 <iconset resource="../resources/tspsg.qrc"> 447 <normaloff>:/images/buttons/buttons/infoBubble.png</normaloff>:/images/buttons/buttons/infoBubble.png</iconset> 448 </property> 449 <property name="text"> 436 450 <string>&Про...</string> 437 451 </property> 438 <property name="statusTip" 452 <property name="statusTip"> 439 453 <string>Получить информацию о программе</string> 440 454 </property> 441 455 </action> 442 <action name="actionFileExit" > 443 <property name="icon" > 444 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/NoAction.png</iconset> 445 </property> 446 <property name="text" > 456 <action name="actionFileExit"> 457 <property name="icon"> 458 <iconset resource="../resources/tspsg.qrc"> 459 <normaloff>:/images/buttons/buttons/NoAction.png</normaloff>:/images/buttons/buttons/NoAction.png</iconset> 460 </property> 461 <property name="text"> 447 462 <string>В&ыход</string> 448 463 </property> 449 <property name="statusTip" 464 <property name="statusTip"> 450 465 <string>Выйти из программы</string> 451 466 </property> 452 467 </action> 453 <action name="actionFileSaveTask" > 454 <property name="icon" > 455 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Save.png</iconset> 456 </property> 457 <property name="text" > 468 <action name="actionFileSaveTask"> 469 <property name="icon"> 470 <iconset resource="../resources/tspsg.qrc"> 471 <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset> 472 </property> 473 <property name="text"> 458 474 <string>&Задачу</string> 459 475 </property> 460 <property name="iconText" 476 <property name="iconText"> 461 477 <string>Сохранить</string> 462 478 </property> 463 <property name="toolTip" 479 <property name="toolTip"> 464 480 <string>Сохранить задачу</string> 465 481 </property> 466 <property name="statusTip" 482 <property name="statusTip"> 467 483 <string>Сохранить условие задачи в файл</string> 468 484 </property> 469 <property name="shortcut" 485 <property name="shortcut"> 470 486 <string>Ctrl+S</string> 471 487 </property> … … 473 489 </widget> 474 490 <resources> 475 <include location="../resources/tspsg.qrc" 491 <include location="../resources/tspsg.qrc"/> 476 492 </resources> 477 493 <connections> … … 482 498 <slot>close()</slot> 483 499 <hints> 484 <hint type="sourcelabel" 500 <hint type="sourcelabel"> 485 501 <x>-1</x> 486 502 <y>-1</y> 487 503 </hint> 488 <hint type="destinationlabel" 504 <hint type="destinationlabel"> 489 505 <x>294</x> 490 506 <y>229</y>
Note: See TracChangeset
for help on using the changeset viewer.