Changeset 94cd045fad in tspsg for ui/settingsdialog.ui
- Timestamp:
- May 2, 2010, 12:51:20 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 7bb19df196
- Parents:
- 2bbe924ad8
- git-author:
- Oleksii Serdiuk <contacts@…> (05/02/10 12:51:20)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:41:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ui/settingsdialog.ui
r2bbe924ad8 r94cd045fad 9 9 <property name="windowIcon"> 10 10 <iconset resource="../resources/tspsg.qrc"> 11 <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>11 <normaloff>:/images/icons/preferences-system.png</normaloff>:/images/icons/preferences-system.png</iconset> 12 12 </property> 13 13 <widget class="QWidget" name="bgGrey" native="true"> 14 <property name="geometry">15 <rect>16 <x>0</x>17 <y>0</y>18 <width>197</width>19 <height>37</height>20 </rect>21 </property>22 14 <property name="sizePolicy"> 23 24 25 26 15 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 16 <horstretch>0</horstretch> 17 <verstretch>0</verstretch> 18 </sizepolicy> 27 19 </property> 28 20 <property name="autoFillBackground"> 29 21 <bool>true</bool> 30 22 </property> 31 23 <layout class="QVBoxLayout" name="_2"> 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset>85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 24 <property name="spacing"> 25 <number>0</number> 26 </property> 27 <property name="margin"> 28 <number>0</number> 29 </property> 30 <item> 31 <widget class="Line" name="lineHorizontal"> 32 <property name="maximumSize"> 33 <size> 34 <width>16777215</width> 35 <height>2</height> 36 </size> 37 </property> 38 <property name="frameShadow"> 39 <enum>QFrame::Plain</enum> 40 </property> 41 <property name="lineWidth"> 42 <number>2</number> 43 </property> 44 <property name="orientation"> 45 <enum>Qt::Horizontal</enum> 46 </property> 47 </widget> 48 </item> 49 <item> 50 <layout class="QHBoxLayout" name="buttons"> 51 <property name="spacing"> 52 <number>6</number> 53 </property> 54 <property name="margin"> 55 <number>6</number> 56 </property> 57 <item> 58 <widget class="QToolButton" name="buttonHelp"> 59 <property name="enabled"> 60 <bool>false</bool> 61 </property> 62 <property name="cursor"> 63 <cursorShape>PointingHandCursor</cursorShape> 64 </property> 65 <property name="toolTip"> 66 <string>Help</string> 67 </property> 68 <property name="statusTip"> 69 <string>Get preferences help</string> 70 </property> 71 <property name="text"> 72 <string>Help</string> 73 </property> 74 <property name="icon"> 75 <iconset resource="../resources/tspsg.qrc"> 76 <normaloff>:/images/icons/help-hint.png</normaloff>:/images/icons/help-hint.png</iconset> 77 </property> 78 <property name="autoRaise"> 79 <bool>true</bool> 80 </property> 81 </widget> 82 </item> 83 <item> 84 <widget class="QDialogButtonBox" name="buttonBox"> 85 <property name="standardButtons"> 86 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> 87 </property> 88 </widget> 89 </item> 90 </layout> 91 </item> 100 92 </layout> 101 93 </widget> 102 94 <widget class="QWidget" name="bgWhite" native="true"> 103 <property name="geometry">104 <rect>105 <x>0</x>106 <y>0</y>107 <width>226</width>108 <height>253</height>109 </rect>110 </property>111 95 <property name="autoFillBackground"> 112 96 <bool>true</bool> 113 97 </property> 114 98 <layout class="QHBoxLayout" name="_3"> 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset>491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset>508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 99 <item> 100 <widget class="QTabWidget" name="tabWidget"> 101 <widget class="QWidget" name="tabGeneral"> 102 <attribute name="title"> 103 <string>General</string> 104 </attribute> 105 <attribute name="toolTip"> 106 <string>General TSPSG settings</string> 107 </attribute> 108 <layout class="QVBoxLayout" name="_4"> 109 <item> 110 <widget class="QCheckBox" name="cbAutosize"> 111 <property name="cursor"> 112 <cursorShape>PointingHandCursor</cursorShape> 113 </property> 114 <property name="statusTip"> 115 <string>Automatically resize rows and columns to their contents</string> 116 </property> 117 <property name="text"> 118 <string>Autosize of rows and columns</string> 119 </property> 120 </widget> 121 </item> 122 <item> 123 <widget class="QCheckBox" name="cbUseNativeDialogs"> 124 <property name="cursor"> 125 <cursorShape>PointingHandCursor</cursorShape> 126 </property> 127 <property name="statusTip"> 128 <string>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</string> 129 </property> 130 <property name="text"> 131 <string>Use native file dialogs</string> 132 </property> 133 </widget> 134 </item> 135 <item> 136 <spacer name="spacer"> 137 <property name="orientation"> 138 <enum>Qt::Vertical</enum> 139 </property> 140 <property name="sizeHint" stdset="0"> 141 <size> 142 <width>0</width> 143 <height>0</height> 144 </size> 145 </property> 146 </spacer> 147 </item> 148 </layout> 149 </widget> 150 <widget class="QWidget" name="tabTask"> 151 <attribute name="title"> 152 <string>Task</string> 153 </attribute> 154 <attribute name="toolTip"> 155 <string>Task generation and solving settings</string> 156 </attribute> 157 <layout class="QVBoxLayout" name="_9"> 158 <item> 159 <layout class="QFormLayout" name="_5"> 160 <property name="fieldGrowthPolicy"> 161 <enum>QFormLayout::ExpandingFieldsGrow</enum> 162 </property> 163 <item row="0" column="0"> 164 <widget class="QLabel" name="labelFractionalAccuracy"> 165 <property name="text"> 166 <string>Fractional accuracy:</string> 167 </property> 168 <property name="buddy"> 169 <cstring>spinFractionalAccuracy</cstring> 170 </property> 171 </widget> 172 </item> 173 <item row="0" column="1"> 174 <widget class="QSpinBox" name="spinFractionalAccuracy"> 175 <property name="cursor"> 176 <cursorShape>PointingHandCursor</cursorShape> 177 </property> 178 <property name="statusTip"> 179 <string>Accuracy of the fractional values (in decimal places)</string> 180 </property> 181 <property name="maximum"> 182 <number>6</number> 183 </property> 184 </widget> 185 </item> 186 </layout> 187 </item> 188 <item> 189 <widget class="QCheckBox" name="cbSymmetricMode"> 190 <property name="cursor"> 191 <cursorShape>PointingHandCursor</cursorShape> 192 </property> 193 <property name="statusTip"> 194 <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string> 195 </property> 196 <property name="text"> 197 <string>Symmetric mode</string> 198 </property> 199 </widget> 200 </item> 201 <item> 202 <widget class="QGroupBox" name="gbTaskGeneration"> 203 <property name="title"> 204 <string>Task generation</string> 205 </property> 206 <layout class="QVBoxLayout" name="_7"> 207 <item> 208 <layout class="QFormLayout" name="_8"> 209 <property name="fieldGrowthPolicy"> 210 <enum>QFormLayout::ExpandingFieldsGrow</enum> 211 </property> 212 <item row="0" column="0"> 213 <widget class="QLabel" name="labelRandMin"> 214 <property name="text"> 215 <string>Minimal random:</string> 216 </property> 217 <property name="buddy"> 218 <cstring>spinRandMin</cstring> 219 </property> 220 </widget> 221 </item> 222 <item row="0" column="1"> 223 <widget class="QSpinBox" name="spinRandMin"> 224 <property name="cursor"> 225 <cursorShape>PointingHandCursor</cursorShape> 226 </property> 227 <property name="statusTip"> 228 <string>Minimum for random number generation</string> 229 </property> 230 </widget> 231 </item> 232 <item row="1" column="0"> 233 <widget class="QLabel" name="labelRandMax"> 234 <property name="text"> 235 <string>Maximal random:</string> 236 </property> 237 <property name="buddy"> 238 <cstring>spinRandMax</cstring> 239 </property> 240 </widget> 241 </item> 242 <item row="1" column="1"> 243 <widget class="QSpinBox" name="spinRandMax"> 244 <property name="cursor"> 245 <cursorShape>PointingHandCursor</cursorShape> 246 </property> 247 <property name="statusTip"> 248 <string>Maximum for random number generation</string> 249 </property> 250 </widget> 251 </item> 252 </layout> 253 </item> 254 <item> 255 <widget class="QCheckBox" name="cbFractionalRandom"> 256 <property name="cursor"> 257 <cursorShape>PointingHandCursor</cursorShape> 258 </property> 259 <property name="statusTip"> 260 <string>Generate fractional random values with the Fractional accuracy</string> 261 </property> 262 <property name="text"> 263 <string>Fractional random values</string> 264 </property> 265 </widget> 266 </item> 267 </layout> 268 </widget> 269 </item> 270 <item> 271 <spacer name="spacer_2"> 272 <property name="orientation"> 273 <enum>Qt::Vertical</enum> 274 </property> 275 <property name="sizeHint" stdset="0"> 276 <size> 277 <width>10</width> 278 <height>0</height> 279 </size> 280 </property> 281 </spacer> 282 </item> 283 </layout> 284 </widget> 285 <widget class="QWidget" name="tabOutput"> 286 <attribute name="title"> 287 <string>Output</string> 288 </attribute> 289 <attribute name="toolTip"> 290 <string>Solution output settings</string> 291 </attribute> 292 <layout class="QVBoxLayout" name="_6"> 293 <item> 294 <widget class="QCheckBox" name="cbShowGraph"> 295 <property name="cursor"> 296 <cursorShape>PointingHandCursor</cursorShape> 297 </property> 298 <property name="statusTip"> 299 <string>Show graphical representation of the solution</string> 300 </property> 301 <property name="text"> 302 <string>Show solution graph</string> 303 </property> 304 </widget> 305 </item> 306 <item> 307 <layout class="QHBoxLayout" name="_10"> 308 <property name="spacing"> 309 <number>5</number> 310 </property> 311 <item> 312 <spacer name="spacer_7"> 313 <property name="orientation"> 314 <enum>Qt::Horizontal</enum> 315 </property> 316 <property name="sizeType"> 317 <enum>QSizePolicy::Fixed</enum> 318 </property> 319 <property name="sizeHint" stdset="0"> 320 <size> 321 <width>10</width> 322 <height>0</height> 323 </size> 324 </property> 325 </spacer> 326 </item> 327 <item> 328 <widget class="QLabel" name="labelGraphImageFormat"> 329 <property name="text"> 330 <string>Save solution graph as</string> 331 </property> 332 <property name="buddy"> 333 <cstring>comboGraphImageFormat</cstring> 334 </property> 335 </widget> 336 </item> 337 <item> 338 <widget class="QComboBox" name="comboGraphImageFormat"> 339 <property name="cursor"> 340 <cursorShape>PointingHandCursor</cursorShape> 341 </property> 342 <property name="statusTip"> 343 <string>What image format to use for graph when saving solution as HTML</string> 344 </property> 345 </widget> 346 </item> 347 <item> 348 <spacer name="horizontalSpacer"> 349 <property name="orientation"> 350 <enum>Qt::Horizontal</enum> 351 </property> 352 <property name="sizeHint" stdset="0"> 353 <size> 354 <width>0</width> 355 <height>0</height> 356 </size> 357 </property> 358 </spacer> 359 </item> 360 </layout> 361 </item> 362 <item> 363 <widget class="QCheckBox" name="cbShowMatrix"> 364 <property name="cursor"> 365 <cursorShape>PointingHandCursor</cursorShape> 366 </property> 367 <property name="statusTip"> 368 <string>Show solution steps' matrices for every solution step</string> 369 </property> 370 <property name="text"> 371 <string>Show solution steps' matrices</string> 372 </property> 373 </widget> 374 </item> 375 <item> 376 <layout class="QHBoxLayout" name="_12"> 377 <property name="spacing"> 378 <number>0</number> 379 </property> 380 <item> 381 <spacer name="spacer_3"> 382 <property name="orientation"> 383 <enum>Qt::Horizontal</enum> 384 </property> 385 <property name="sizeType"> 386 <enum>QSizePolicy::Fixed</enum> 387 </property> 388 <property name="sizeHint" stdset="0"> 389 <size> 390 <width>10</width> 391 <height>0</height> 392 </size> 393 </property> 394 </spacer> 395 </item> 396 <item> 397 <widget class="QCheckBox" name="cbCitiesLimit"> 398 <property name="cursor"> 399 <cursorShape>PointingHandCursor</cursorShape> 400 </property> 401 <property name="statusTip"> 402 <string>Show or hide solution steps' matrices based on number of cities in the task</string> 403 </property> 404 <property name="text"> 405 <string>Only when <=</string> 406 </property> 407 </widget> 408 </item> 409 <item> 410 <widget class="QSpinBox" name="spinCitiesLimit"> 411 <property name="cursor"> 412 <cursorShape>PointingHandCursor</cursorShape> 413 </property> 414 <property name="statusTip"> 415 <string>Maximum number of cities to show solution steps' matrices</string> 416 </property> 417 <property name="suffix"> 418 <string comment="Don't forget a space at the beginning!"> cities</string> 419 </property> 420 <property name="minimum"> 421 <number>1</number> 422 </property> 423 </widget> 424 </item> 425 <item> 426 <spacer name="spacer_4"> 427 <property name="orientation"> 428 <enum>Qt::Horizontal</enum> 429 </property> 430 <property name="sizeHint" stdset="0"> 431 <size> 432 <width>0</width> 433 <height>0</height> 434 </size> 435 </property> 436 </spacer> 437 </item> 438 </layout> 439 </item> 440 <item> 441 <widget class="QCheckBox" name="cbScrollToEnd"> 442 <property name="cursor"> 443 <cursorShape>PointingHandCursor</cursorShape> 444 </property> 445 <property name="statusTip"> 446 <string>Scroll to the end of solution output after solving</string> 447 </property> 448 <property name="text"> 449 <string>Scroll to solution end</string> 450 </property> 451 </widget> 452 </item> 453 <item> 454 <layout class="QHBoxLayout" name="_11"> 455 <item> 456 <widget class="QGroupBox" name="groupOutput"> 457 <property name="title"> 458 <string>Output font settings</string> 459 </property> 460 <layout class="QHBoxLayout" name="_13"> 461 <item> 462 <widget class="QPushButton" name="buttonFont"> 463 <property name="cursor"> 464 <cursorShape>PointingHandCursor</cursorShape> 465 </property> 466 <property name="statusTip"> 467 <string>Font face for solution output</string> 468 </property> 469 <property name="text"> 470 <string>&Font...</string> 471 </property> 472 <property name="icon"> 473 <iconset resource="../resources/tspsg.qrc"> 474 <normaloff>:/images/icons/preferences-desktop-font.png</normaloff>:/images/icons/preferences-desktop-font.png</iconset> 475 </property> 476 </widget> 477 </item> 478 <item> 479 <widget class="QPushButton" name="buttonColor"> 480 <property name="cursor"> 481 <cursorShape>PointingHandCursor</cursorShape> 482 </property> 483 <property name="statusTip"> 484 <string>Font color for solution output</string> 485 </property> 486 <property name="text"> 487 <string>&Color...</string> 488 </property> 489 <property name="icon"> 490 <iconset resource="../resources/tspsg.qrc"> 491 <normaloff>:/images/icons/format-text-color.png</normaloff>:/images/icons/format-text-color.png</iconset> 492 </property> 493 </widget> 494 </item> 495 <item> 496 <spacer name="spacer_5"> 497 <property name="orientation"> 498 <enum>Qt::Horizontal</enum> 499 </property> 500 <property name="sizeHint" stdset="0"> 501 <size> 502 <width>0</width> 503 <height>0</height> 504 </size> 505 </property> 506 </spacer> 507 </item> 508 </layout> 509 </widget> 510 </item> 511 </layout> 512 </item> 513 <item> 514 <spacer name="spacer_6"> 515 <property name="orientation"> 516 <enum>Qt::Vertical</enum> 517 </property> 518 <property name="sizeHint" stdset="0"> 519 <size> 520 <width>0</width> 521 <height>0</height> 522 </size> 523 </property> 524 </spacer> 525 </item> 526 </layout> 527 </widget> 528 </widget> 529 </item> 546 530 </layout> 547 531 </widget> … … 557 541 <slot>accept()</slot> 558 542 <hints> 559 560 561 562 563 564 565 566 543 <hint type="sourcelabel"> 544 <x>190</x> 545 <y>30</y> 546 </hint> 547 <hint type="destinationlabel"> 548 <x>306</x> 549 <y>231</y> 550 </hint> 567 551 </hints> 568 552 </connection> … … 573 557 <slot>reject()</slot> 574 558 <hints> 575 576 577 578 579 580 581 582 559 <hint type="sourcelabel"> 560 <x>190</x> 561 <y>30</y> 562 </hint> 563 <hint type="destinationlabel"> 564 <x>262</x> 565 <y>245</y> 566 </hint> 583 567 </hints> 584 568 </connection> … … 589 573 <slot>setEnabled(bool)</slot> 590 574 <hints> 591 592 593 594 595 596 597 598 575 <hint type="sourcelabel"> 576 <x>91</x> 577 <y>107</y> 578 </hint> 579 <hint type="destinationlabel"> 580 <x>113</x> 581 <y>132</y> 582 </hint> 599 583 </hints> 600 584 </connection> … … 605 589 <slot>setChecked(bool)</slot> 606 590 <hints> 607 608 609 610 611 612 613 614 591 <hint type="sourcelabel"> 592 <x>91</x> 593 <y>107</y> 594 </hint> 595 <hint type="destinationlabel"> 596 <x>113</x> 597 <y>132</y> 598 </hint> 615 599 </hints> 616 600 </connection> … … 621 605 <slot>setEnabled(bool)</slot> 622 606 <hints> 623 624 625 626 627 628 629 630 607 <hint type="sourcelabel"> 608 <x>113</x> 609 <y>132</y> 610 </hint> 611 <hint type="destinationlabel"> 612 <x>183</x> 613 <y>134</y> 614 </hint> 631 615 </hints> 632 616 </connection> … … 637 621 <slot>setEnabled(bool)</slot> 638 622 <hints> 639 640 641 642 643 644 645 646 623 <hint type="sourcelabel"> 624 <x>113</x> 625 <y>48</y> 626 </hint> 627 <hint type="destinationlabel"> 628 <x>72</x> 629 <y>73</y> 630 </hint> 647 631 </hints> 648 632 </connection> … … 653 637 <slot>setEnabled(bool)</slot> 654 638 <hints> 655 656 657 658 659 660 661 662 639 <hint type="sourcelabel"> 640 <x>113</x> 641 <y>48</y> 642 </hint> 643 <hint type="destinationlabel"> 644 <x>149</x> 645 <y>73</y> 646 </hint> 663 647 </hints> 664 648 </connection>
Note: See TracChangeset
for help on using the changeset viewer.