[17] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>MainWindow</class> |
---|
| 4 | <widget class="QMainWindow" name="MainWindow"> |
---|
[27] | 5 | <property name="enabled"> |
---|
| 6 | <bool>true</bool> |
---|
| 7 | </property> |
---|
[17] | 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"> |
---|
[27] | 17 | <string>Travelling salesman problem</string> |
---|
[17] | 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"> |
---|
[27] | 56 | <string>Task</string> |
---|
[17] | 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"> |
---|
[27] | 77 | <string>&Variant:</string> |
---|
[17] | 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"> |
---|
[27] | 90 | <string>Number of variant</string> |
---|
[17] | 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"> |
---|
[27] | 100 | <string>&Cities:</string> |
---|
[17] | 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"> |
---|
[27] | 113 | <string>Number of cities</string> |
---|
[17] | 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"> |
---|
[27] | 144 | <string>Cost of travel from city to city</string> |
---|
[17] | 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"> |
---|
[27] | 172 | <string>Fill table with random numbers</string> |
---|
[17] | 173 | </property> |
---|
| 174 | <property name="text"> |
---|
[27] | 175 | <string>Random</string> |
---|
[17] | 176 | </property> |
---|
| 177 | </widget> |
---|
| 178 | </item> |
---|
| 179 | <item> |
---|
| 180 | <widget class="QPushButton" name="buttonSolve"> |
---|
| 181 | <property name="cursor"> |
---|
| 182 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 183 | </property> |
---|
| 184 | <property name="statusTip"> |
---|
[27] | 185 | <string>Solve current task</string> |
---|
[17] | 186 | </property> |
---|
| 187 | <property name="text"> |
---|
[27] | 188 | <string>Solve</string> |
---|
[17] | 189 | </property> |
---|
| 190 | <property name="icon"> |
---|
| 191 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 192 | <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset> |
---|
| 193 | </property> |
---|
| 194 | </widget> |
---|
| 195 | </item> |
---|
| 196 | </layout> |
---|
| 197 | </item> |
---|
| 198 | </layout> |
---|
| 199 | </widget> |
---|
| 200 | <widget class="QWidget" name="tabSolution"> |
---|
| 201 | <attribute name="title"> |
---|
[27] | 202 | <string>Solution</string> |
---|
[17] | 203 | </attribute> |
---|
| 204 | <layout class="QVBoxLayout" name="_4"> |
---|
| 205 | <item> |
---|
| 206 | <layout class="QHBoxLayout" name="_5"> |
---|
| 207 | <property name="spacing"> |
---|
| 208 | <number>0</number> |
---|
| 209 | </property> |
---|
| 210 | <item> |
---|
| 211 | <widget class="QTextEdit" name="textEdit"> |
---|
| 212 | <property name="sizePolicy"> |
---|
| 213 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
---|
| 214 | <horstretch>0</horstretch> |
---|
| 215 | <verstretch>0</verstretch> |
---|
| 216 | </sizepolicy> |
---|
| 217 | </property> |
---|
| 218 | <property name="statusTip"> |
---|
[27] | 219 | <string>Solution steps</string> |
---|
[17] | 220 | </property> |
---|
| 221 | <property name="readOnly"> |
---|
| 222 | <bool>true</bool> |
---|
| 223 | </property> |
---|
| 224 | </widget> |
---|
| 225 | </item> |
---|
| 226 | <item> |
---|
| 227 | <widget class="QGraphicsView" name="graphicsView"> |
---|
| 228 | <property name="statusTip"> |
---|
[27] | 229 | <string>Solution graph</string> |
---|
[17] | 230 | </property> |
---|
| 231 | </widget> |
---|
| 232 | </item> |
---|
| 233 | </layout> |
---|
| 234 | </item> |
---|
| 235 | </layout> |
---|
| 236 | </widget> |
---|
| 237 | </widget> |
---|
| 238 | </widget> |
---|
| 239 | <widget class="QMenuBar" name="menubar"> |
---|
| 240 | <property name="geometry"> |
---|
| 241 | <rect> |
---|
| 242 | <x>0</x> |
---|
| 243 | <y>0</y> |
---|
| 244 | <width>234</width> |
---|
| 245 | <height>22</height> |
---|
| 246 | </rect> |
---|
| 247 | </property> |
---|
| 248 | <widget class="QMenu" name="menuFile"> |
---|
| 249 | <property name="windowIcon"> |
---|
| 250 | <iconset> |
---|
| 251 | <normaloff/> |
---|
| 252 | </iconset> |
---|
| 253 | </property> |
---|
| 254 | <property name="title"> |
---|
[27] | 255 | <string>&File</string> |
---|
[17] | 256 | </property> |
---|
[31] | 257 | <widget class="QMenu" name="menuFileSaveAs"> |
---|
[17] | 258 | <property name="statusTip"> |
---|
| 259 | <string/> |
---|
| 260 | </property> |
---|
| 261 | <property name="title"> |
---|
[31] | 262 | <string>Save &as...</string> |
---|
[17] | 263 | </property> |
---|
| 264 | <property name="icon"> |
---|
| 265 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 266 | <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset> |
---|
| 267 | </property> |
---|
| 268 | <addaction name="actionFileSaveTask"/> |
---|
| 269 | <addaction name="separator"/> |
---|
| 270 | <addaction name="actionFileSaveResultAll"/> |
---|
| 271 | <addaction name="actionFileSaveResultMatrices"/> |
---|
| 272 | <addaction name="actionFileSaveResultGraph"/> |
---|
| 273 | </widget> |
---|
| 274 | <addaction name="actionFileNew"/> |
---|
| 275 | <addaction name="actionFileOpen"/> |
---|
[31] | 276 | <addaction name="actionFileSave"/> |
---|
| 277 | <addaction name="menuFileSaveAs"/> |
---|
[17] | 278 | <addaction name="separator"/> |
---|
| 279 | <addaction name="actionFileExit"/> |
---|
| 280 | </widget> |
---|
| 281 | <widget class="QMenu" name="menuSettings"> |
---|
| 282 | <property name="title"> |
---|
[27] | 283 | <string>&Settings</string> |
---|
[17] | 284 | </property> |
---|
[29] | 285 | <widget class="QMenu" name="menuSettingsLanguage"> |
---|
| 286 | <property name="toolTip"> |
---|
| 287 | <string>Select language</string> |
---|
| 288 | </property> |
---|
| 289 | <property name="statusTip"> |
---|
| 290 | <string>Select application language</string> |
---|
| 291 | </property> |
---|
| 292 | <property name="title"> |
---|
| 293 | <string extracomment="Please, append " / Language" when translating this string.">&Language</string> |
---|
| 294 | </property> |
---|
[30] | 295 | <property name="icon"> |
---|
| 296 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 297 | <normaloff>:/images/buttons/buttons/Web.png</normaloff>:/images/buttons/buttons/Web.png</iconset> |
---|
| 298 | </property> |
---|
[29] | 299 | <addaction name="actionSettingsLanguageAutodetect"/> |
---|
[30] | 300 | <addaction name="separator"/> |
---|
| 301 | <addaction name="actionSettingsLanguageEnglish"/> |
---|
[29] | 302 | </widget> |
---|
| 303 | <addaction name="menuSettingsLanguage"/> |
---|
| 304 | <addaction name="separator"/> |
---|
| 305 | <addaction name="actionSettingsPreferences"/> |
---|
[17] | 306 | </widget> |
---|
| 307 | <widget class="QMenu" name="menuHelp"> |
---|
| 308 | <property name="title"> |
---|
[27] | 309 | <string>&Help</string> |
---|
[17] | 310 | </property> |
---|
| 311 | <addaction name="actionHelpContents"/> |
---|
| 312 | <addaction name="actionHelpContextual"/> |
---|
| 313 | <addaction name="separator"/> |
---|
| 314 | <addaction name="actionHelpAbout"/> |
---|
| 315 | </widget> |
---|
| 316 | <addaction name="menuFile"/> |
---|
| 317 | <addaction name="menuSettings"/> |
---|
| 318 | <addaction name="menuHelp"/> |
---|
| 319 | </widget> |
---|
| 320 | <widget class="QToolBar" name="toolBar"> |
---|
| 321 | <property name="cursor"> |
---|
| 322 | <cursorShape>ArrowCursor</cursorShape> |
---|
| 323 | </property> |
---|
| 324 | <property name="iconSize"> |
---|
| 325 | <size> |
---|
| 326 | <width>17</width> |
---|
| 327 | <height>18</height> |
---|
| 328 | </size> |
---|
| 329 | </property> |
---|
| 330 | <attribute name="toolBarArea"> |
---|
| 331 | <enum>TopToolBarArea</enum> |
---|
| 332 | </attribute> |
---|
| 333 | <attribute name="toolBarBreak"> |
---|
| 334 | <bool>false</bool> |
---|
| 335 | </attribute> |
---|
| 336 | <addaction name="actionFileNew"/> |
---|
| 337 | <addaction name="actionFileOpen"/> |
---|
| 338 | <addaction name="actionFileSaveTask"/> |
---|
| 339 | <addaction name="separator"/> |
---|
[29] | 340 | <addaction name="actionSettingsPreferences"/> |
---|
[17] | 341 | <addaction name="separator"/> |
---|
| 342 | <addaction name="actionFileExit"/> |
---|
| 343 | </widget> |
---|
| 344 | <action name="actionFileSaveResultMatrices"> |
---|
| 345 | <property name="enabled"> |
---|
| 346 | <bool>false</bool> |
---|
| 347 | </property> |
---|
| 348 | <property name="text"> |
---|
[27] | 349 | <string>Solution st&eps</string> |
---|
[17] | 350 | </property> |
---|
[27] | 351 | <property name="toolTip"> |
---|
| 352 | <string>Save solution steps</string> |
---|
| 353 | </property> |
---|
[17] | 354 | <property name="statusTip"> |
---|
[27] | 355 | <string>Save solution steps only</string> |
---|
[17] | 356 | </property> |
---|
| 357 | </action> |
---|
| 358 | <action name="actionFileSaveResultGraph"> |
---|
| 359 | <property name="enabled"> |
---|
| 360 | <bool>false</bool> |
---|
| 361 | </property> |
---|
| 362 | <property name="text"> |
---|
[27] | 363 | <string>Solution &graph</string> |
---|
[17] | 364 | </property> |
---|
[27] | 365 | <property name="toolTip"> |
---|
| 366 | <string>Save solution graph</string> |
---|
| 367 | </property> |
---|
[17] | 368 | <property name="statusTip"> |
---|
[27] | 369 | <string>Save solution graph only</string> |
---|
[17] | 370 | </property> |
---|
| 371 | </action> |
---|
| 372 | <action name="actionFileSaveResultAll"> |
---|
| 373 | <property name="enabled"> |
---|
| 374 | <bool>false</bool> |
---|
| 375 | </property> |
---|
| 376 | <property name="text"> |
---|
[27] | 377 | <string>&Solution</string> |
---|
[17] | 378 | </property> |
---|
[27] | 379 | <property name="toolTip"> |
---|
| 380 | <string>Save solution</string> |
---|
| 381 | </property> |
---|
[17] | 382 | <property name="statusTip"> |
---|
[27] | 383 | <string>Save solution steps and graph</string> |
---|
[17] | 384 | </property> |
---|
| 385 | </action> |
---|
| 386 | <action name="actionFileNew"> |
---|
| 387 | <property name="icon"> |
---|
| 388 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 389 | <normaloff>:/images/buttons/buttons/Document.png</normaloff>:/images/buttons/buttons/Document.png</iconset> |
---|
| 390 | </property> |
---|
| 391 | <property name="text"> |
---|
[27] | 392 | <string>&New</string> |
---|
[17] | 393 | </property> |
---|
[27] | 394 | <property name="iconText"> |
---|
| 395 | <string>New</string> |
---|
| 396 | </property> |
---|
| 397 | <property name="toolTip"> |
---|
| 398 | <string>New task</string> |
---|
| 399 | </property> |
---|
[17] | 400 | <property name="statusTip"> |
---|
[27] | 401 | <string>Create new task</string> |
---|
[17] | 402 | </property> |
---|
| 403 | <property name="shortcut"> |
---|
| 404 | <string>Ctrl+N</string> |
---|
| 405 | </property> |
---|
| 406 | </action> |
---|
| 407 | <action name="actionFileOpen"> |
---|
| 408 | <property name="icon"> |
---|
| 409 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 410 | <normaloff>:/images/buttons/buttons/OpenFolder.png</normaloff>:/images/buttons/buttons/OpenFolder.png</iconset> |
---|
| 411 | </property> |
---|
| 412 | <property name="text"> |
---|
[27] | 413 | <string>&Open...</string> |
---|
[17] | 414 | </property> |
---|
[27] | 415 | <property name="iconText"> |
---|
| 416 | <string>Open...</string> |
---|
| 417 | </property> |
---|
[17] | 418 | <property name="toolTip"> |
---|
[27] | 419 | <string>Open task</string> |
---|
[17] | 420 | </property> |
---|
| 421 | <property name="statusTip"> |
---|
[27] | 422 | <string>Open saved task</string> |
---|
[17] | 423 | </property> |
---|
| 424 | <property name="shortcut"> |
---|
| 425 | <string>Ctrl+O</string> |
---|
| 426 | </property> |
---|
| 427 | </action> |
---|
[29] | 428 | <action name="actionSettingsPreferences"> |
---|
[17] | 429 | <property name="icon"> |
---|
| 430 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 431 | <normaloff>:/images/buttons/buttons/Properties.png</normaloff>:/images/buttons/buttons/Properties.png</iconset> |
---|
| 432 | </property> |
---|
| 433 | <property name="text"> |
---|
[27] | 434 | <string>&Preferences...</string> |
---|
[17] | 435 | </property> |
---|
[27] | 436 | <property name="iconText"> |
---|
| 437 | <string>Preferences...</string> |
---|
| 438 | </property> |
---|
[17] | 439 | <property name="statusTip"> |
---|
[27] | 440 | <string>Application preferences</string> |
---|
[17] | 441 | </property> |
---|
| 442 | </action> |
---|
| 443 | <action name="actionHelpContents"> |
---|
[27] | 444 | <property name="enabled"> |
---|
| 445 | <bool>false</bool> |
---|
| 446 | </property> |
---|
[17] | 447 | <property name="icon"> |
---|
| 448 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 449 | <normaloff>:/images/buttons/buttons/book_open.png</normaloff>:/images/buttons/buttons/book_open.png</iconset> |
---|
| 450 | </property> |
---|
| 451 | <property name="text"> |
---|
[27] | 452 | <string>&Contents</string> |
---|
[17] | 453 | </property> |
---|
| 454 | <property name="statusTip"> |
---|
[27] | 455 | <string>Open help contents</string> |
---|
[17] | 456 | </property> |
---|
| 457 | </action> |
---|
| 458 | <action name="actionHelpContextual"> |
---|
[27] | 459 | <property name="enabled"> |
---|
| 460 | <bool>false</bool> |
---|
| 461 | </property> |
---|
[17] | 462 | <property name="icon"> |
---|
| 463 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 464 | <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset> |
---|
| 465 | </property> |
---|
| 466 | <property name="text"> |
---|
[27] | 467 | <string>&Context help</string> |
---|
[17] | 468 | </property> |
---|
| 469 | <property name="statusTip"> |
---|
[27] | 470 | <string>Open context help</string> |
---|
[17] | 471 | </property> |
---|
| 472 | </action> |
---|
| 473 | <action name="actionHelpAbout"> |
---|
| 474 | <property name="icon"> |
---|
| 475 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 476 | <normaloff>:/images/buttons/buttons/infoBubble.png</normaloff>:/images/buttons/buttons/infoBubble.png</iconset> |
---|
| 477 | </property> |
---|
| 478 | <property name="text"> |
---|
[27] | 479 | <string>&About...</string> |
---|
[17] | 480 | </property> |
---|
[27] | 481 | <property name="iconText"> |
---|
| 482 | <string>About...</string> |
---|
| 483 | </property> |
---|
[17] | 484 | <property name="statusTip"> |
---|
[27] | 485 | <string>About application</string> |
---|
[17] | 486 | </property> |
---|
| 487 | </action> |
---|
| 488 | <action name="actionFileExit"> |
---|
| 489 | <property name="icon"> |
---|
| 490 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 491 | <normaloff>:/images/buttons/buttons/NoAction.png</normaloff>:/images/buttons/buttons/NoAction.png</iconset> |
---|
| 492 | </property> |
---|
| 493 | <property name="text"> |
---|
[27] | 494 | <string>E&xit</string> |
---|
[17] | 495 | </property> |
---|
| 496 | <property name="statusTip"> |
---|
[27] | 497 | <string>Exit application</string> |
---|
[17] | 498 | </property> |
---|
| 499 | </action> |
---|
| 500 | <action name="actionFileSaveTask"> |
---|
| 501 | <property name="icon"> |
---|
| 502 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 503 | <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset> |
---|
| 504 | </property> |
---|
| 505 | <property name="text"> |
---|
[27] | 506 | <string>&Task...</string> |
---|
[17] | 507 | </property> |
---|
| 508 | <property name="iconText"> |
---|
[27] | 509 | <string>Task...</string> |
---|
[17] | 510 | </property> |
---|
| 511 | <property name="toolTip"> |
---|
[27] | 512 | <string>Save task</string> |
---|
[17] | 513 | </property> |
---|
| 514 | <property name="statusTip"> |
---|
[27] | 515 | <string>Save task to file</string> |
---|
[17] | 516 | </property> |
---|
| 517 | <property name="shortcut"> |
---|
| 518 | <string>Ctrl+S</string> |
---|
| 519 | </property> |
---|
| 520 | </action> |
---|
[29] | 521 | <action name="actionSettingsLanguageAutodetect"> |
---|
| 522 | <property name="checkable"> |
---|
| 523 | <bool>true</bool> |
---|
| 524 | </property> |
---|
| 525 | <property name="checked"> |
---|
| 526 | <bool>true</bool> |
---|
| 527 | </property> |
---|
| 528 | <property name="text"> |
---|
| 529 | <string>&Autodetect</string> |
---|
| 530 | </property> |
---|
| 531 | <property name="toolTip"> |
---|
| 532 | <string>Detect language automatically</string> |
---|
| 533 | </property> |
---|
| 534 | <property name="statusTip"> |
---|
| 535 | <string>Detect language automatically based on regional settings</string> |
---|
| 536 | </property> |
---|
| 537 | </action> |
---|
[30] | 538 | <action name="actionSettingsLanguageEnglish"> |
---|
| 539 | <property name="checkable"> |
---|
| 540 | <bool>true</bool> |
---|
| 541 | </property> |
---|
| 542 | <property name="checked"> |
---|
| 543 | <bool>true</bool> |
---|
| 544 | </property> |
---|
| 545 | <property name="text"> |
---|
| 546 | <string>English</string> |
---|
| 547 | </property> |
---|
| 548 | </action> |
---|
[31] | 549 | <action name="actionFileSave"> |
---|
| 550 | <property name="enabled"> |
---|
| 551 | <bool>false</bool> |
---|
| 552 | </property> |
---|
| 553 | <property name="icon"> |
---|
| 554 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 555 | <normaloff>:/images/buttons/buttons/Save.png</normaloff>:/images/buttons/buttons/Save.png</iconset> |
---|
| 556 | </property> |
---|
| 557 | <property name="text"> |
---|
| 558 | <string>&Save</string> |
---|
| 559 | </property> |
---|
| 560 | <property name="toolTip"> |
---|
| 561 | <string>Save task</string> |
---|
| 562 | </property> |
---|
| 563 | <property name="statusTip"> |
---|
| 564 | <string>Save current task</string> |
---|
| 565 | </property> |
---|
| 566 | </action> |
---|
[17] | 567 | </widget> |
---|
| 568 | <resources> |
---|
| 569 | <include location="../resources/tspsg.qrc"/> |
---|
| 570 | </resources> |
---|
| 571 | <connections> |
---|
| 572 | <connection> |
---|
| 573 | <sender>actionFileExit</sender> |
---|
| 574 | <signal>triggered()</signal> |
---|
| 575 | <receiver>MainWindow</receiver> |
---|
| 576 | <slot>close()</slot> |
---|
| 577 | <hints> |
---|
| 578 | <hint type="sourcelabel"> |
---|
| 579 | <x>-1</x> |
---|
| 580 | <y>-1</y> |
---|
| 581 | </hint> |
---|
| 582 | <hint type="destinationlabel"> |
---|
| 583 | <x>251</x> |
---|
| 584 | <y>229</y> |
---|
| 585 | </hint> |
---|
| 586 | </hints> |
---|
| 587 | </connection> |
---|
| 588 | </connections> |
---|
| 589 | </ui> |
---|