Changeset ff8d0488a0 in tspsg
- Timestamp:
- Jul 13, 2012, 11:53:21 PM (12 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- a09f31733a
- Parents:
- 356169a3d3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/settingsdialog.cpp
r356169a3d3 rff8d0488a0 72 72 cbHQGraph->setCursor(QCursor(Qt::PointingHandCursor)); 73 73 74 box = static_cast<QBoxLayout *>(tabOutput ->layout());74 box = static_cast<QBoxLayout *>(tabOutputGeneral->layout()); 75 75 hbox = new QHBoxLayout(); 76 76 hbox->addSpacing(10); -
ui/settingsdialog.ui
r356169a3d3 rff8d0488a0 146 146 <size> 147 147 <width>0</width> 148 <height> 0</height>148 <height>1</height> 149 149 </size> 150 150 </property> … … 280 280 <property name="sizeHint" stdset="0"> 281 281 <size> 282 <width> 10</width>283 <height> 0</height>282 <width>0</width> 283 <height>1</height> 284 284 </size> 285 285 </property> … … 295 295 <string>Solution output settings</string> 296 296 </attribute> 297 <layout class="QVBoxLayout" name="_6"> 298 <item> 299 <widget class="QCheckBox" name="cbGenerateGraph"> 300 <property name="cursor"> 301 <cursorShape>PointingHandCursor</cursorShape> 302 </property> 303 <property name="statusTip"> 304 <string>Generate graphical representation of the solution</string> 305 </property> 306 <property name="text"> 307 <string>Generate solution graph</string> 308 </property> 297 <layout class="QVBoxLayout" name="verticalLayout_2"> 298 <item> 299 <widget class="QTabWidget" name="outputTabWidget"> 300 <widget class="QWidget" name="tabOutputGeneral"> 301 <attribute name="title"> 302 <string>General</string> 303 </attribute> 304 <layout class="QVBoxLayout" name="_6"> 305 <item> 306 <widget class="QCheckBox" name="cbGenerateGraph"> 307 <property name="cursor"> 308 <cursorShape>PointingHandCursor</cursorShape> 309 </property> 310 <property name="statusTip"> 311 <string>Generate graphical representation of the solution</string> 312 </property> 313 <property name="text"> 314 <string>Generate solution graph</string> 315 </property> 316 </widget> 317 </item> 318 <item> 319 <layout class="QHBoxLayout" name="_10"> 320 <property name="spacing"> 321 <number>5</number> 322 </property> 323 <item> 324 <spacer name="spacer_7"> 325 <property name="orientation"> 326 <enum>Qt::Horizontal</enum> 327 </property> 328 <property name="sizeType"> 329 <enum>QSizePolicy::Fixed</enum> 330 </property> 331 <property name="sizeHint" stdset="0"> 332 <size> 333 <width>10</width> 334 <height>0</height> 335 </size> 336 </property> 337 </spacer> 338 </item> 339 <item> 340 <widget class="QLabel" name="labelGraphImageFormat"> 341 <property name="text"> 342 <string>Save solution graph as</string> 343 </property> 344 <property name="buddy"> 345 <cstring>comboGraphImageFormat</cstring> 346 </property> 347 </widget> 348 </item> 349 <item> 350 <widget class="QComboBox" name="comboGraphImageFormat"> 351 <property name="cursor"> 352 <cursorShape>PointingHandCursor</cursorShape> 353 </property> 354 <property name="statusTip"> 355 <string>What image format to use for graph when saving solution as HTML</string> 356 </property> 357 </widget> 358 </item> 359 <item> 360 <spacer name="spacer_11"> 361 <property name="orientation"> 362 <enum>Qt::Horizontal</enum> 363 </property> 364 <property name="sizeHint" stdset="0"> 365 <size> 366 <width>1</width> 367 <height>0</height> 368 </size> 369 </property> 370 </spacer> 371 </item> 372 </layout> 373 </item> 374 <item> 375 <layout class="QHBoxLayout" name="_14"> 376 <item> 377 <spacer name="spacer_8"> 378 <property name="orientation"> 379 <enum>Qt::Horizontal</enum> 380 </property> 381 <property name="sizeType"> 382 <enum>QSizePolicy::Fixed</enum> 383 </property> 384 <property name="sizeHint" stdset="0"> 385 <size> 386 <width>10</width> 387 <height>0</height> 388 </size> 389 </property> 390 </spacer> 391 </item> 392 <item> 393 <widget class="QCheckBox" name="cbEmbedGraphIntoHTML"> 394 <property name="cursor"> 395 <cursorShape>PointingHandCursor</cursorShape> 396 </property> 397 <property name="statusTip"> 398 <string>Save solution graph inside HTML using data URI scheme (not supported by IE 7 and lower)</string> 399 </property> 400 <property name="text"> 401 <string>Embed solution graph into HTML</string> 402 </property> 403 </widget> 404 </item> 405 </layout> 406 </item> 407 <item> 408 <widget class="QCheckBox" name="cbShowMatrix"> 409 <property name="cursor"> 410 <cursorShape>PointingHandCursor</cursorShape> 411 </property> 412 <property name="statusTip"> 413 <string>Show solution steps' matrices for every solution step</string> 414 </property> 415 <property name="text"> 416 <string>Show solution steps' matrices</string> 417 </property> 418 </widget> 419 </item> 420 <item> 421 <layout class="QHBoxLayout" name="_12"> 422 <property name="spacing"> 423 <number>0</number> 424 </property> 425 <item> 426 <spacer name="spacer_3"> 427 <property name="orientation"> 428 <enum>Qt::Horizontal</enum> 429 </property> 430 <property name="sizeType"> 431 <enum>QSizePolicy::Fixed</enum> 432 </property> 433 <property name="sizeHint" stdset="0"> 434 <size> 435 <width>10</width> 436 <height>0</height> 437 </size> 438 </property> 439 </spacer> 440 </item> 441 <item> 442 <widget class="QCheckBox" name="cbCitiesLimit"> 443 <property name="cursor"> 444 <cursorShape>PointingHandCursor</cursorShape> 445 </property> 446 <property name="statusTip"> 447 <string>Show or hide solution steps' matrices based on number of cities in the task</string> 448 </property> 449 <property name="text"> 450 <string>Only when <=</string> 451 </property> 452 </widget> 453 </item> 454 <item> 455 <widget class="QSpinBox" name="spinCitiesLimit"> 456 <property name="cursor"> 457 <cursorShape>PointingHandCursor</cursorShape> 458 </property> 459 <property name="statusTip"> 460 <string>Maximum number of cities to show solution steps' matrices</string> 461 </property> 462 <property name="suffix"> 463 <string comment="Don't forget a space at the beginning!"> cities</string> 464 </property> 465 <property name="minimum"> 466 <number>1</number> 467 </property> 468 </widget> 469 </item> 470 <item> 471 <spacer name="spacer_4"> 472 <property name="orientation"> 473 <enum>Qt::Horizontal</enum> 474 </property> 475 <property name="sizeHint" stdset="0"> 476 <size> 477 <width>1</width> 478 <height>0</height> 479 </size> 480 </property> 481 </spacer> 482 </item> 483 </layout> 484 </item> 485 <item> 486 <widget class="QCheckBox" name="cbScrollToEnd"> 487 <property name="cursor"> 488 <cursorShape>PointingHandCursor</cursorShape> 489 </property> 490 <property name="statusTip"> 491 <string>Scroll to the end of solution output after solving</string> 492 </property> 493 <property name="text"> 494 <string>Scroll to solution end</string> 495 </property> 496 </widget> 497 </item> 498 <item> 499 <spacer name="spacer_6"> 500 <property name="orientation"> 501 <enum>Qt::Vertical</enum> 502 </property> 503 <property name="sizeHint" stdset="0"> 504 <size> 505 <width>0</width> 506 <height>1</height> 507 </size> 508 </property> 509 </spacer> 510 </item> 511 </layout> 512 </widget> 513 <widget class="QWidget" name="tabOutputColors"> 514 <attribute name="title"> 515 <string comment="Needs double & or it won't be displayed!">Font && Colors</string> 516 </attribute> 517 <layout class="QVBoxLayout" name="_11"> 518 <item> 519 <layout class="QHBoxLayout" name="_13"> 520 <item> 521 <widget class="QPushButton" name="buttonFont"> 522 <property name="cursor"> 523 <cursorShape>PointingHandCursor</cursorShape> 524 </property> 525 <property name="statusTip"> 526 <string>Font face for solution output</string> 527 </property> 528 <property name="text"> 529 <string>&Font...</string> 530 </property> 531 </widget> 532 </item> 533 <item> 534 <widget class="QPushButton" name="buttonColor"> 535 <property name="cursor"> 536 <cursorShape>PointingHandCursor</cursorShape> 537 </property> 538 <property name="statusTip"> 539 <string>Font color for solution output</string> 540 </property> 541 <property name="text"> 542 <string>&Color...</string> 543 </property> 544 </widget> 545 </item> 546 <item> 547 <spacer name="spacer_5"> 548 <property name="orientation"> 549 <enum>Qt::Horizontal</enum> 550 </property> 551 <property name="sizeHint" stdset="0"> 552 <size> 553 <width>1</width> 554 <height>0</height> 555 </size> 556 </property> 557 </spacer> 558 </item> 559 </layout> 560 </item> 561 <item> 562 <spacer name="spacer_9"> 563 <property name="orientation"> 564 <enum>Qt::Vertical</enum> 565 </property> 566 <property name="sizeHint" stdset="0"> 567 <size> 568 <width>0</width> 569 <height>1</height> 570 </size> 571 </property> 572 </spacer> 573 </item> 574 </layout> 575 </widget> 309 576 </widget> 310 </item>311 <item>312 <layout class="QHBoxLayout" name="_10">313 <property name="spacing">314 <number>5</number>315 </property>316 <item>317 <spacer name="spacer_7">318 <property name="orientation">319 <enum>Qt::Horizontal</enum>320 </property>321 <property name="sizeType">322 <enum>QSizePolicy::Fixed</enum>323 </property>324 <property name="sizeHint" stdset="0">325 <size>326 <width>10</width>327 <height>0</height>328 </size>329 </property>330 </spacer>331 </item>332 <item>333 <widget class="QLabel" name="labelGraphImageFormat">334 <property name="text">335 <string>Save solution graph as</string>336 </property>337 <property name="buddy">338 <cstring>comboGraphImageFormat</cstring>339 </property>340 </widget>341 </item>342 <item>343 <widget class="QComboBox" name="comboGraphImageFormat">344 <property name="cursor">345 <cursorShape>PointingHandCursor</cursorShape>346 </property>347 <property name="statusTip">348 <string>What image format to use for graph when saving solution as HTML</string>349 </property>350 </widget>351 </item>352 <item>353 <spacer name="horizontalSpacer">354 <property name="orientation">355 <enum>Qt::Horizontal</enum>356 </property>357 <property name="sizeHint" stdset="0">358 <size>359 <width>0</width>360 <height>0</height>361 </size>362 </property>363 </spacer>364 </item>365 </layout>366 </item>367 <item>368 <layout class="QHBoxLayout" name="_14">369 <item>370 <spacer name="spacer_8">371 <property name="orientation">372 <enum>Qt::Horizontal</enum>373 </property>374 <property name="sizeType">375 <enum>QSizePolicy::Fixed</enum>376 </property>377 <property name="sizeHint" stdset="0">378 <size>379 <width>10</width>380 <height>0</height>381 </size>382 </property>383 </spacer>384 </item>385 <item>386 <widget class="QCheckBox" name="cbEmbedGraphIntoHTML">387 <property name="cursor">388 <cursorShape>PointingHandCursor</cursorShape>389 </property>390 <property name="statusTip">391 <string>Save solution graph inside HTML using data URI scheme (not supported by IE 7 and lower)</string>392 </property>393 <property name="text">394 <string>Embed solution graph into HTML</string>395 </property>396 </widget>397 </item>398 </layout>399 </item>400 <item>401 <widget class="QCheckBox" name="cbShowMatrix">402 <property name="cursor">403 <cursorShape>PointingHandCursor</cursorShape>404 </property>405 <property name="statusTip">406 <string>Show solution steps' matrices for every solution step</string>407 </property>408 <property name="text">409 <string>Show solution steps' matrices</string>410 </property>411 </widget>412 </item>413 <item>414 <layout class="QHBoxLayout" name="_12">415 <property name="spacing">416 <number>0</number>417 </property>418 <item>419 <spacer name="spacer_3">420 <property name="orientation">421 <enum>Qt::Horizontal</enum>422 </property>423 <property name="sizeType">424 <enum>QSizePolicy::Fixed</enum>425 </property>426 <property name="sizeHint" stdset="0">427 <size>428 <width>10</width>429 <height>0</height>430 </size>431 </property>432 </spacer>433 </item>434 <item>435 <widget class="QCheckBox" name="cbCitiesLimit">436 <property name="cursor">437 <cursorShape>PointingHandCursor</cursorShape>438 </property>439 <property name="statusTip">440 <string>Show or hide solution steps' matrices based on number of cities in the task</string>441 </property>442 <property name="text">443 <string>Only when <=</string>444 </property>445 </widget>446 </item>447 <item>448 <widget class="QSpinBox" name="spinCitiesLimit">449 <property name="cursor">450 <cursorShape>PointingHandCursor</cursorShape>451 </property>452 <property name="statusTip">453 <string>Maximum number of cities to show solution steps' matrices</string>454 </property>455 <property name="suffix">456 <string comment="Don't forget a space at the beginning!"> cities</string>457 </property>458 <property name="minimum">459 <number>1</number>460 </property>461 </widget>462 </item>463 <item>464 <spacer name="spacer_4">465 <property name="orientation">466 <enum>Qt::Horizontal</enum>467 </property>468 <property name="sizeHint" stdset="0">469 <size>470 <width>0</width>471 <height>0</height>472 </size>473 </property>474 </spacer>475 </item>476 </layout>477 </item>478 <item>479 <widget class="QCheckBox" name="cbScrollToEnd">480 <property name="cursor">481 <cursorShape>PointingHandCursor</cursorShape>482 </property>483 <property name="statusTip">484 <string>Scroll to the end of solution output after solving</string>485 </property>486 <property name="text">487 <string>Scroll to solution end</string>488 </property>489 </widget>490 </item>491 <item>492 <layout class="QHBoxLayout" name="_11">493 <item>494 <widget class="QGroupBox" name="groupOutput">495 <property name="title">496 <string>Output font settings</string>497 </property>498 <layout class="QHBoxLayout" name="_13">499 <item>500 <widget class="QPushButton" name="buttonFont">501 <property name="cursor">502 <cursorShape>PointingHandCursor</cursorShape>503 </property>504 <property name="statusTip">505 <string>Font face for solution output</string>506 </property>507 <property name="text">508 <string>&Font...</string>509 </property>510 </widget>511 </item>512 <item>513 <widget class="QPushButton" name="buttonColor">514 <property name="cursor">515 <cursorShape>PointingHandCursor</cursorShape>516 </property>517 <property name="statusTip">518 <string>Font color for solution output</string>519 </property>520 <property name="text">521 <string>&Color...</string>522 </property>523 </widget>524 </item>525 <item>526 <spacer name="spacer_5">527 <property name="orientation">528 <enum>Qt::Horizontal</enum>529 </property>530 <property name="sizeHint" stdset="0">531 <size>532 <width>0</width>533 <height>0</height>534 </size>535 </property>536 </spacer>537 </item>538 </layout>539 </widget>540 </item>541 </layout>542 </item>543 <item>544 <spacer name="spacer_6">545 <property name="orientation">546 <enum>Qt::Vertical</enum>547 </property>548 <property name="sizeHint" stdset="0">549 <size>550 <width>0</width>551 <height>0</height>552 </size>553 </property>554 </spacer>555 577 </item> 556 578 </layout>
Note: See TracChangeset
for help on using the changeset viewer.