Changeset 317ba0432e in tspsg
- Timestamp:
- Apr 19, 2010, 10:33:02 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- b574c383b7
- Parents:
- a23f4c292f
- git-author:
- Oleksii Serdiuk <contacts@…> (04/19/10 22:33:02)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:41:27)
- Files:
-
- 10 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog.txt
ra23f4c292f r317ba0432e 3 3 =========================================== 4 4 5 $Id$6 $URL$7 5 8 6 TSPSG v0.1.2 alpha 2 (build 100) … … 92 90 * Multilinguality: English, Russian and Ukrainian languages. 93 91 * Linux/UNIX, Windows and Windows Mobile support. 92 93 94 $Id$ 95 $URL$ -
INSTALL.txt
ra23f4c292f r317ba0432e 2 2 TSPSG Installation Guide 3 3 ========================== 4 5 $Id$6 $URL$7 4 8 5 Thank you for trying TSPSG. This document will guide you through the … … 312 309 [1] http://sourceware.org/bugzilla/show_bug.cgi?id=10165 313 310 [2] https://www.symbiansigned.com/app/page/public/openSignedOnline.do 311 312 313 $Id$ 314 $URL$ -
README.txt
ra23f4c292f r317ba0432e 1 TSPSG: TSP Solver and Generator 1 ================================= 2 TSPSG: TSP Solver and Generator 3 ================================= 4 2 5 Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name> 3 4 $Id$5 $URL$6 6 7 7 TSPSG is intended to generate and solve Travelling Salesman Problem … … 32 32 33 33 Third parties: 34 * This software is created using opensource version of Qt toolkit,35 see http://qt.nokia.com/36 * The icons used in this software are part of Oxygen Icons project37 licensed according to the GNU Lesser General Public License,38 see http://www.oxygen-icons.org/39 34 35 * This software is created using opensource version of Qt toolkit, 36 see http://qt.nokia.com/ 37 38 * The icons used in this software are part of Oxygen Icons project 39 licensed according to the GNU Lesser General Public License, 40 see http://www.oxygen-icons.org/ 41 42 43 $Id$ 44 $URL$ -
l10n/tspsg_en.ts
ra23f4c292f r317ba0432e 12 12 </message> 13 13 <message> 14 <location filename="../src/mainwindow.cpp" line="7 27"/>14 <location filename="../src/mainwindow.cpp" line="798"/> 15 15 <source>LANGNAME</source> 16 16 <comment>Please, provide a native name of your translation language here.</comment> … … 143 143 <message> 144 144 <location filename="../ui/mainwindow.ui" line="15"/> 145 <location filename="../src/mainwindow.cpp" line="9 23"/>145 <location filename="../src/mainwindow.cpp" line="994"/> 146 146 <source>Travelling Salesman Problem</source> 147 147 <translation type="unfinished"></translation> 148 148 </message> 149 149 <message> 150 <location filename="../src/mainwindow.cpp" line=" 790"/>151 <location filename="../src/mainwindow.cpp" line=" 792"/>150 <location filename="../src/mainwindow.cpp" line="861"/> 151 <location filename="../src/mainwindow.cpp" line="863"/> 152 152 <source>Language Change</source> 153 153 <translation type="unfinished"></translation> 154 154 </message> 155 155 <message> 156 <location filename="../src/mainwindow.cpp" line="8 04"/>156 <location filename="../src/mainwindow.cpp" line="875"/> 157 157 <source>Unsaved Changes</source> 158 158 <translation type="unfinished"></translation> … … 172 172 <location filename="../src/mainwindow.cpp" line="137"/> 173 173 <location filename="../src/mainwindow.cpp" line="201"/> 174 <location filename="../src/mainwindow.cpp" line="9 00"/>174 <location filename="../src/mainwindow.cpp" line="971"/> 175 175 <source>All Files</source> 176 176 <translation type="unfinished"></translation> … … 213 213 </message> 214 214 <message> 215 <location filename="../src/mainwindow.cpp" line="5 22"/>215 <location filename="../src/mainwindow.cpp" line="541"/> 216 216 <source>Generating step %v</source> 217 217 <translation type="unfinished"></translation> 218 218 </message> 219 219 <message> 220 <location filename="../src/mainwindow.cpp" line="5 36"/>220 <location filename="../src/mainwindow.cpp" line="565"/> 221 221 <source>Selected candidate for branching: %1.</source> 222 222 <translation type="unfinished"></translation> 223 223 </message> 224 224 <message> 225 <location filename="../src/mainwindow.cpp" line="5 36"/>226 <location filename="../src/mainwindow.cpp" line="5 43"/>225 <location filename="../src/mainwindow.cpp" line="565"/> 226 <location filename="../src/mainwindow.cpp" line="572"/> 227 227 <source>(%1;%2)</source> 228 228 <translation type="unfinished"></translation> 229 229 </message> 230 230 <message numerus="yes"> 231 <location filename="../src/mainwindow.cpp" line="5 45"/>231 <location filename="../src/mainwindow.cpp" line="575"/> 232 232 <source>%n alternate candidate(s) for branching: %1.</source> 233 233 <translation> … … 237 237 </message> 238 238 <message> 239 <location filename="../src/mainwindow.cpp" line="5 57"/>239 <location filename="../src/mainwindow.cpp" line="589"/> 240 240 <source>Generating footer</source> 241 241 <translation type="unfinished"></translation> 242 242 </message> 243 243 <message numerus="yes"> 244 <location filename="../src/mainwindow.cpp" line=" 566"/>244 <location filename="../src/mainwindow.cpp" line="604"/> 245 245 <source>The price is <b>%n</b> unit(s).</source> 246 246 <translation> … … 250 250 </message> 251 251 <message> 252 <location filename="../src/mainwindow.cpp" line="580"/> 252 <location filename="../src/mainwindow.cpp" line="544"/> 253 <location filename="../src/mainwindow.cpp" line="624"/> 253 254 <source>Cleaning up...</source> 254 255 <translation type="unfinished"></translation> 255 256 </message> 256 257 <message> 257 <location filename="../src/mainwindow.cpp" line="8 04"/>258 <location filename="../src/mainwindow.cpp" line="875"/> 258 259 <source>Would you like to save changes in the current task?</source> 259 260 <translation type="unfinished"></translation> 260 261 </message> 261 262 <message> 262 <location filename="../src/mainwindow.cpp" line=" 890"/>263 <location filename="../src/mainwindow.cpp" line=" 893"/>263 <location filename="../src/mainwindow.cpp" line="961"/> 264 <location filename="../src/mainwindow.cpp" line="964"/> 264 265 <source>Check for %1 updates</source> 265 266 <translation type="unfinished"></translation> 266 267 </message> 267 268 <message> 268 <location filename="../src/mainwindow.cpp" line=" 899"/>269 <location filename="../src/mainwindow.cpp" line="970"/> 269 270 <source>%1 Task File</source> 270 271 <translation type="unfinished"></translation> … … 400 401 </message> 401 402 <message> 402 <location filename="../src/mainwindow.cpp" line="516"/> 403 <location filename="../src/mainwindow.cpp" line="523"/> 404 <location filename="../src/mainwindow.cpp" line="536"/> 405 <source>Solution of Variant #%1 Task</source> 406 <translation type="unfinished"></translation> 407 </message> 408 <message> 409 <location filename="../src/mainwindow.cpp" line="530"/> 403 410 <source>Variant #%1</source> 404 411 <translation type="unfinished"></translation> 405 412 </message> 406 413 <message> 407 <location filename="../src/mainwindow.cpp" line="5 17"/>414 <location filename="../src/mainwindow.cpp" line="532"/> 408 415 <source>Task:</source> 409 416 <translation type="unfinished"></translation> 410 417 </message> 411 418 <message> 412 <location filename="../src/mainwindow.cpp" line="515"/> 413 <location filename="../src/mainwindow.cpp" line="519"/> 414 <source>Solution of Variant #%1 task</source> 415 <translation type="unfinished"></translation> 416 </message> 417 <message> 418 <location filename="../src/mainwindow.cpp" line="532"/> 419 <location filename="../src/mainwindow.cpp" line="560"/> 419 420 <source>Step #%1</source> 420 421 <translation type="unfinished"></translation> 421 422 </message> 422 423 <message> 423 <location filename="../src/mainwindow.cpp" line="5 61"/>424 <location filename="../src/mainwindow.cpp" line="595"/> 424 425 <source>Optimal path:</source> 425 426 <translation type="unfinished"></translation> 426 427 </message> 427 428 <message> 428 <location filename="../src/mainwindow.cpp" line="5 63"/>429 <location filename="../src/mainwindow.cpp" line="597"/> 429 430 <source>Resulting path:</source> 430 431 <translation type="unfinished"></translation> 431 432 </message> 432 433 <message> 433 <location filename="../src/mainwindow.cpp" line=" 568"/>434 <location filename="../src/mainwindow.cpp" line="606"/> 434 435 <source>The price is <b>%1</b> units.</source> 435 436 <translation type="unfinished"></translation> 436 437 </message> 437 438 <message> 438 <location filename="../src/mainwindow.cpp" line=" 571"/>439 <location filename="../src/mainwindow.cpp" line="611"/> 439 440 <source><b>WARNING!!!</b><br>This result is a record, but it may not be optimal.<br>Iterations need to be continued to check whether this result is optimal or get an optimal one.</source> 440 441 <translation type="unfinished"></translation> 441 442 </message> 442 443 <message> 443 <location filename="../src/mainwindow.cpp" line=" 790"/>444 <location filename="../src/mainwindow.cpp" line=" 792"/>444 <location filename="../src/mainwindow.cpp" line="861"/> 445 <location filename="../src/mainwindow.cpp" line="863"/> 445 446 <source>Unable to load the translation language. 446 447 Falling back to autodetection.</source> … … 448 449 </message> 449 450 <message> 450 <location filename="../src/mainwindow.cpp" line=" 867"/>451 <location filename="../src/mainwindow.cpp" line="938"/> 451 452 <source>Set application language to %1</source> 452 453 <translation type="unfinished"></translation> 453 454 </message> 454 455 <message> 455 <location filename="../src/mainwindow.cpp" line=" 888"/>456 <location filename="../src/mainwindow.cpp" line="959"/> 456 457 <source>Check for &Updates...</source> 457 458 <translation type="unfinished"></translation> 458 459 </message> 459 460 <message> 460 <location filename="../src/mainwindow.cpp" line="9 08"/>461 <location filename="../src/mainwindow.cpp" line="979"/> 461 462 <source>Task Save</source> 462 463 <translation type="unfinished"></translation> … … 478 479 <location filename="../src/mainwindow.cpp" line="179"/> 479 480 <location filename="../src/mainwindow.cpp" line="297"/> 480 <location filename="../src/mainwindow.h" line="1 13"/>481 <location filename="../src/mainwindow.h" line="122"/> 481 482 <source>Untitled</source> 482 483 <translation type="unfinished"></translation> … … 543 544 </message> 544 545 <message> 545 <location filename="../ui/mainwindow.ui" line="20 4"/>546 <location filename="../ui/mainwindow.ui" line="3 58"/>546 <location filename="../ui/mainwindow.ui" line="207"/> 547 <location filename="../ui/mainwindow.ui" line="361"/> 547 548 <source>Save solution to a file</source> 548 549 <translation type="unfinished"></translation> 549 550 </message> 550 551 <message> 551 <location filename="../ui/mainwindow.ui" line="2 07"/>552 <location filename="../ui/mainwindow.ui" line="210"/> 552 553 <source>Save Solution</source> 553 554 <translation type="unfinished"></translation> 554 555 </message> 555 556 <message> 556 <location filename="../ui/mainwindow.ui" line="23 4"/>557 <location filename="../ui/mainwindow.ui" line="237"/> 557 558 <source>Go back to Task tab</source> 558 559 <translation type="unfinished"></translation> 559 560 </message> 560 561 <message> 561 <location filename="../ui/mainwindow.ui" line="2 37"/>562 <location filename="../ui/mainwindow.ui" line="240"/> 562 563 <source>Back to Task</source> 563 564 <translation type="unfinished"></translation> 564 565 </message> 565 566 <message> 566 <location filename="../ui/mainwindow.ui" line="26 6"/>567 <location filename="../ui/mainwindow.ui" line="269"/> 567 568 <source>&File</source> 568 569 <translation type="unfinished"></translation> 569 570 </message> 570 571 <message> 571 <location filename="../ui/mainwindow.ui" line=" 298"/>572 <location filename="../ui/mainwindow.ui" line="301"/> 572 573 <source>&Language</source> 573 574 <comment>Please, append " / Language" when translating this string.</comment> … … 575 576 </message> 576 577 <message> 577 <location filename="../ui/mainwindow.ui" line="43 6"/>578 <location filename="../ui/mainwindow.ui" line="439"/> 578 579 <source>Context &Help</source> 579 580 <translation type="unfinished"></translation> 580 581 </message> 581 582 <message> 582 <location filename="../ui/mainwindow.ui" line="45 1"/>583 <location filename="../ui/mainwindow.ui" line="454"/> 583 584 <source>&About TSPSG...</source> 584 585 <translation type="unfinished"></translation> 585 586 </message> 586 587 <message> 587 <location filename="../ui/mainwindow.ui" line="5 17"/>588 <location filename="../ui/mainwindow.ui" line="520"/> 588 589 <source>&Save</source> 589 590 <translation type="unfinished"></translation> 590 591 </message> 591 592 <message> 592 <location filename="../ui/mainwindow.ui" line="2 88"/>593 <location filename="../ui/mainwindow.ui" line="291"/> 593 594 <source>&Settings</source> 594 595 <translation type="unfinished"></translation> 595 596 </message> 596 597 <message> 597 <location filename="../ui/mainwindow.ui" line="31 4"/>598 <location filename="../ui/mainwindow.ui" line="317"/> 598 599 <source>&Help</source> 599 600 <translation type="unfinished"></translation> 600 601 </message> 601 602 <message> 603 <location filename="../ui/mainwindow.ui" line="358"/> 604 <source>Save solution</source> 605 <translation type="unfinished"></translation> 606 </message> 607 <message> 608 <location filename="../ui/mainwindow.ui" line="370"/> 609 <source>&New</source> 610 <translation type="unfinished"></translation> 611 </message> 612 <message> 613 <location filename="../ui/mainwindow.ui" line="373"/> 614 <source>New task</source> 615 <translation type="unfinished"></translation> 616 </message> 617 <message> 618 <location filename="../ui/mainwindow.ui" line="376"/> 619 <source>Create new task</source> 620 <translation type="unfinished"></translation> 621 </message> 622 <message> 623 <location filename="../ui/mainwindow.ui" line="379"/> 624 <source>Ctrl+N</source> 625 <translation type="unfinished"></translation> 626 </message> 627 <message> 628 <location filename="../ui/mainwindow.ui" line="388"/> 629 <source>&Open...</source> 630 <translation type="unfinished"></translation> 631 </message> 632 <message> 633 <location filename="../ui/mainwindow.ui" line="391"/> 634 <source>Open task</source> 635 <translation type="unfinished"></translation> 636 </message> 637 <message> 638 <location filename="../ui/mainwindow.ui" line="394"/> 639 <source>Open saved task</source> 640 <translation type="unfinished"></translation> 641 </message> 642 <message> 643 <location filename="../ui/mainwindow.ui" line="397"/> 644 <source>Ctrl+O</source> 645 <translation type="unfinished"></translation> 646 </message> 647 <message> 648 <location filename="../ui/mainwindow.ui" line="406"/> 649 <source>&Preferences...</source> 650 <translation type="unfinished"></translation> 651 </message> 652 <message> 653 <location filename="../ui/mainwindow.ui" line="409"/> 654 <source>Application preferences</source> 655 <translation type="unfinished"></translation> 656 </message> 657 <message> 658 <location filename="../ui/mainwindow.ui" line="421"/> 659 <source>&Contents</source> 660 <translation type="unfinished"></translation> 661 </message> 662 <message> 663 <location filename="../ui/mainwindow.ui" line="424"/> 664 <source>Open help contents</source> 665 <translation type="unfinished"></translation> 666 </message> 667 <message> 668 <location filename="../ui/mainwindow.ui" line="427"/> 669 <source>Ctrl+F1</source> 670 <translation type="unfinished"></translation> 671 </message> 672 <message> 673 <location filename="../ui/mainwindow.ui" line="442"/> 674 <source>Open context help</source> 675 <translation type="unfinished"></translation> 676 </message> 677 <message> 678 <location filename="../ui/mainwindow.ui" line="445"/> 679 <source>F1</source> 680 <translation type="unfinished"></translation> 681 </message> 682 <message> 683 <location filename="../ui/mainwindow.ui" line="457"/> 684 <source>About application</source> 685 <translation type="unfinished"></translation> 686 </message> 687 <message> 688 <location filename="../ui/mainwindow.ui" line="466"/> 689 <source>E&xit</source> 690 <translation type="unfinished"></translation> 691 </message> 692 <message> 693 <location filename="../ui/mainwindow.ui" line="469"/> 694 <source>Exit application</source> 695 <translation type="unfinished"></translation> 696 </message> 697 <message> 698 <location filename="../ui/mainwindow.ui" line="474"/> 699 <source>&Task...</source> 700 <translation type="unfinished"></translation> 701 </message> 702 <message> 703 <location filename="../ui/mainwindow.ui" line="477"/> 704 <location filename="../ui/mainwindow.ui" line="523"/> 705 <source>Save task</source> 706 <translation type="unfinished"></translation> 707 </message> 708 <message> 709 <location filename="../ui/mainwindow.ui" line="480"/> 710 <source>Save task to file</source> 711 <translation type="unfinished"></translation> 712 </message> 713 <message> 714 <location filename="../ui/mainwindow.ui" line="529"/> 715 <source>Ctrl+S</source> 716 <translation type="unfinished"></translation> 717 </message> 718 <message> 719 <location filename="../ui/mainwindow.ui" line="491"/> 720 <source>&Autodetect</source> 721 <translation type="unfinished"></translation> 722 </message> 723 <message> 724 <location filename="../ui/mainwindow.ui" line="526"/> 725 <source>Save current task</source> 726 <translation type="unfinished"></translation> 727 </message> 728 <message> 729 <location filename="../ui/mainwindow.ui" line="538"/> 730 <source>About &Qt...</source> 731 <translation type="unfinished"></translation> 732 </message> 733 <message> 734 <location filename="../ui/mainwindow.ui" line="541"/> 735 <source>About Qt library</source> 736 <translation type="unfinished"></translation> 737 </message> 738 <message> 739 <location filename="../ui/mainwindow.ui" line="295"/> 740 <source>Select language</source> 741 <translation type="unfinished"></translation> 742 </message> 743 <message> 744 <location filename="../ui/mainwindow.ui" line="273"/> 745 <source>Save &As</source> 746 <translation type="unfinished"></translation> 747 </message> 748 <message> 749 <location filename="../ui/mainwindow.ui" line="298"/> 750 <source>Select application language</source> 751 <translation type="unfinished"></translation> 752 </message> 753 <message> 754 <location filename="../src/mainwindow.cpp" line="949"/> 755 <source>&Print...</source> 756 <translation type="unfinished"></translation> 757 </message> 758 <message> 759 <location filename="../src/mainwindow.cpp" line="956"/> 760 <source>Ctrl+P</source> 761 <translation type="unfinished"></translation> 762 </message> 763 <message> 602 764 <location filename="../ui/mainwindow.ui" line="355"/> 603 <source>Save solution</source>604 <translation type="unfinished"></translation>605 </message>606 <message>607 <location filename="../ui/mainwindow.ui" line="367"/>608 <source>&New</source>609 <translation type="unfinished"></translation>610 </message>611 <message>612 <location filename="../ui/mainwindow.ui" line="370"/>613 <source>New task</source>614 <translation type="unfinished"></translation>615 </message>616 <message>617 <location filename="../ui/mainwindow.ui" line="373"/>618 <source>Create new task</source>619 <translation type="unfinished"></translation>620 </message>621 <message>622 <location filename="../ui/mainwindow.ui" line="376"/>623 <source>Ctrl+N</source>624 <translation type="unfinished"></translation>625 </message>626 <message>627 <location filename="../ui/mainwindow.ui" line="385"/>628 <source>&Open...</source>629 <translation type="unfinished"></translation>630 </message>631 <message>632 <location filename="../ui/mainwindow.ui" line="388"/>633 <source>Open task</source>634 <translation type="unfinished"></translation>635 </message>636 <message>637 <location filename="../ui/mainwindow.ui" line="391"/>638 <source>Open saved task</source>639 <translation type="unfinished"></translation>640 </message>641 <message>642 <location filename="../ui/mainwindow.ui" line="394"/>643 <source>Ctrl+O</source>644 <translation type="unfinished"></translation>645 </message>646 <message>647 <location filename="../ui/mainwindow.ui" line="403"/>648 <source>&Preferences...</source>649 <translation type="unfinished"></translation>650 </message>651 <message>652 <location filename="../ui/mainwindow.ui" line="406"/>653 <source>Application preferences</source>654 <translation type="unfinished"></translation>655 </message>656 <message>657 <location filename="../ui/mainwindow.ui" line="418"/>658 <source>&Contents</source>659 <translation type="unfinished"></translation>660 </message>661 <message>662 <location filename="../ui/mainwindow.ui" line="421"/>663 <source>Open help contents</source>664 <translation type="unfinished"></translation>665 </message>666 <message>667 <location filename="../ui/mainwindow.ui" line="424"/>668 <source>Ctrl+F1</source>669 <translation type="unfinished"></translation>670 </message>671 <message>672 <location filename="../ui/mainwindow.ui" line="439"/>673 <source>Open context help</source>674 <translation type="unfinished"></translation>675 </message>676 <message>677 <location filename="../ui/mainwindow.ui" line="442"/>678 <source>F1</source>679 <translation type="unfinished"></translation>680 </message>681 <message>682 <location filename="../ui/mainwindow.ui" line="454"/>683 <source>About application</source>684 <translation type="unfinished"></translation>685 </message>686 <message>687 <location filename="../ui/mainwindow.ui" line="463"/>688 <source>E&xit</source>689 <translation type="unfinished"></translation>690 </message>691 <message>692 <location filename="../ui/mainwindow.ui" line="466"/>693 <source>Exit application</source>694 <translation type="unfinished"></translation>695 </message>696 <message>697 <location filename="../ui/mainwindow.ui" line="471"/>698 <source>&Task...</source>699 <translation type="unfinished"></translation>700 </message>701 <message>702 <location filename="../ui/mainwindow.ui" line="474"/>703 <location filename="../ui/mainwindow.ui" line="520"/>704 <source>Save task</source>705 <translation type="unfinished"></translation>706 </message>707 <message>708 <location filename="../ui/mainwindow.ui" line="477"/>709 <source>Save task to file</source>710 <translation type="unfinished"></translation>711 </message>712 <message>713 <location filename="../ui/mainwindow.ui" line="526"/>714 <source>Ctrl+S</source>715 <translation type="unfinished"></translation>716 </message>717 <message>718 <location filename="../ui/mainwindow.ui" line="488"/>719 <source>&Autodetect</source>720 <translation type="unfinished"></translation>721 </message>722 <message>723 <location filename="../ui/mainwindow.ui" line="523"/>724 <source>Save current task</source>725 <translation type="unfinished"></translation>726 </message>727 <message>728 <location filename="../ui/mainwindow.ui" line="535"/>729 <source>About &Qt...</source>730 <translation type="unfinished"></translation>731 </message>732 <message>733 <location filename="../ui/mainwindow.ui" line="538"/>734 <source>About Qt library</source>735 <translation type="unfinished"></translation>736 </message>737 <message>738 <location filename="../ui/mainwindow.ui" line="292"/>739 <source>Select language</source>740 <translation type="unfinished"></translation>741 </message>742 <message>743 <location filename="../ui/mainwindow.ui" line="270"/>744 <source>Save &As</source>745 <translation type="unfinished"></translation>746 </message>747 <message>748 <location filename="../ui/mainwindow.ui" line="295"/>749 <source>Select application language</source>750 <translation type="unfinished"></translation>751 </message>752 <message>753 <location filename="../src/mainwindow.cpp" line="878"/>754 <source>&Print...</source>755 <translation type="unfinished"></translation>756 </message>757 <message>758 <location filename="../src/mainwindow.cpp" line="885"/>759 <source>Ctrl+P</source>760 <translation type="unfinished"></translation>761 </message>762 <message>763 <location filename="../ui/mainwindow.ui" line="352"/>764 765 <source>&Solution...</source> 765 766 <translation type="unfinished"></translation> 766 767 </message> 767 768 <message> 768 <location filename="../ui/mainwindow.ui" line="49 1"/>769 <location filename="../ui/mainwindow.ui" line="494"/> 769 770 <source>Detect language automatically</source> 770 771 <translation type="unfinished"></translation> 771 772 </message> 772 773 <message> 773 <location filename="../ui/mainwindow.ui" line="33 1"/>774 <location filename="../ui/mainwindow.ui" line="334"/> 774 775 <source>Toolbar</source> 775 776 <translation type="unfinished"></translation> 776 777 </message> 777 778 <message> 778 <location filename="../src/mainwindow.cpp" line=" 870"/>779 <location filename="../src/mainwindow.cpp" line="941"/> 779 780 <source>P&rint Preview...</source> 780 781 <translation type="unfinished"></translation> 781 782 </message> 782 783 <message> 783 <location filename="../src/mainwindow.cpp" line=" 872"/>784 <location filename="../src/mainwindow.cpp" line="943"/> 784 785 <source>Preview solution results</source> 785 786 <translation type="unfinished"></translation> 786 787 </message> 787 788 <message> 788 <location filename="../src/mainwindow.cpp" line=" 875"/>789 <location filename="../src/mainwindow.cpp" line="946"/> 789 790 <source>Preview current solution results before printing</source> 790 791 <translation type="unfinished"></translation> 791 792 </message> 792 793 <message> 793 <location filename="../src/mainwindow.cpp" line=" 880"/>794 <location filename="../src/mainwindow.cpp" line="951"/> 794 795 <source>Print solution</source> 795 796 <translation type="unfinished"></translation> 796 797 </message> 797 798 <message> 798 <location filename="../src/mainwindow.cpp" line=" 883"/>799 <location filename="../src/mainwindow.cpp" line="954"/> 799 800 <source>Print current solution results</source> 800 801 <translation type="unfinished"></translation> 801 802 </message> 802 803 <message> 803 <location filename="../ui/mainwindow.ui" line="49 4"/>804 <location filename="../ui/mainwindow.ui" line="497"/> 804 805 <source>Detect language automatically based on regional settings</source> 805 806 <translation type="unfinished"></translation> … … 814 815 </message> 815 816 <message> 816 <location filename="../ui/settingsdialog.ui" line=" 226"/>817 <location filename="../ui/settingsdialog.ui" line="152"/> 817 818 <source>Task</source> 818 819 <translation type="unfinished"></translation> 819 820 </message> 820 821 <message> 821 <location filename="../ui/settingsdialog.ui" line=" 229"/>822 <location filename="../ui/settingsdialog.ui" line="155"/> 822 823 <source>Task generation and solving settings</source> 823 824 <translation type="unfinished"></translation> 824 825 </message> 825 826 <message> 826 <location filename="../ui/settingsdialog.ui" line=" 240"/>827 <location filename="../ui/settingsdialog.ui" line="166"/> 827 828 <source>Fractional accuracy:</source> 828 829 <translation type="unfinished"></translation> 829 830 </message> 830 831 <message> 831 <location filename="../ui/settingsdialog.ui" line=" 250"/>832 <location filename="../ui/settingsdialog.ui" line="176"/> 832 833 <source>Accuracy of the fractional values (in decimal places)</source> 833 834 <translation type="unfinished"></translation> 834 835 </message> 835 836 <message> 836 <location filename="../ui/settingsdialog.ui" line=" 265"/>837 <location filename="../ui/settingsdialog.ui" line="191"/> 837 838 <source>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</source> 838 839 <translation type="unfinished"></translation> 839 840 </message> 840 841 <message> 841 <location filename="../ui/settingsdialog.ui" line=" 268"/>842 <location filename="../ui/settingsdialog.ui" line="194"/> 842 843 <source>Symmetric mode</source> 843 844 <translation type="unfinished"></translation> 844 845 </message> 845 846 <message> 846 <location filename="../ui/settingsdialog.ui" line="2 86"/>847 <location filename="../ui/settingsdialog.ui" line="212"/> 847 848 <source>Minimal random:</source> 848 849 <translation type="unfinished"></translation> 849 850 </message> 850 851 <message> 852 <location filename="../ui/settingsdialog.ui" line="225"/> 853 <source>Minimum for random number generation</source> 854 <translation type="unfinished"></translation> 855 </message> 856 <message> 857 <location filename="../ui/settingsdialog.ui" line="232"/> 858 <source>Maximal random:</source> 859 <translation type="unfinished"></translation> 860 </message> 861 <message> 862 <location filename="../ui/settingsdialog.ui" line="245"/> 863 <source>Maximum for random number generation</source> 864 <translation type="unfinished"></translation> 865 </message> 866 <message> 867 <location filename="../ui/settingsdialog.ui" line="257"/> 868 <source>Generate fractional random values with the Fractional accuracy</source> 869 <translation type="unfinished"></translation> 870 </message> 871 <message> 872 <location filename="../ui/settingsdialog.ui" line="383"/> 873 <source>Output font settings</source> 874 <translation type="unfinished"></translation> 875 </message> 876 <message> 877 <location filename="../ui/settingsdialog.ui" line="412"/> 878 <source>&Color...</source> 879 <translation type="unfinished"></translation> 880 </message> 881 <message> 882 <location filename="../ui/settingsdialog.ui" line="115"/> 883 <source>Automatically resize rows and columns to their contents</source> 884 <translation type="unfinished"></translation> 885 </message> 886 <message> 887 <location filename="../ui/settingsdialog.ui" line="103"/> 888 <source>General</source> 889 <translation type="unfinished"></translation> 890 </message> 891 <message> 892 <location filename="../ui/settingsdialog.ui" line="106"/> 893 <source>General TSPSG settings</source> 894 <translation type="unfinished"></translation> 895 </message> 896 <message> 897 <location filename="../ui/settingsdialog.ui" line="118"/> 898 <source>Autosize of rows and columns</source> 899 <translation type="unfinished"></translation> 900 </message> 901 <message> 902 <location filename="../ui/settingsdialog.ui" line="128"/> 903 <source>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</source> 904 <translation type="unfinished"></translation> 905 </message> 906 <message> 907 <location filename="../ui/settingsdialog.ui" line="201"/> 908 <source>Task generation</source> 909 <translation type="unfinished"></translation> 910 </message> 911 <message> 912 <location filename="../ui/settingsdialog.ui" line="284"/> 913 <source>Output</source> 914 <translation type="unfinished"></translation> 915 </message> 916 <message> 917 <location filename="../ui/settingsdialog.ui" line="287"/> 918 <source>Solution output settings</source> 919 <translation type="unfinished"></translation> 920 </message> 921 <message> 922 <location filename="../ui/settingsdialog.ui" line="296"/> 923 <source>Show solution steps' matrices for every solution step</source> 924 <translation type="unfinished"></translation> 925 </message> 926 <message> 851 927 <location filename="../ui/settingsdialog.ui" line="299"/> 852 <source>Minimum for random number generation</source>853 <translation type="unfinished"></translation>854 </message>855 <message>856 <location filename="../ui/settingsdialog.ui" line="306"/>857 <source>Maximal random:</source>858 <translation type="unfinished"></translation>859 </message>860 <message>861 <location filename="../ui/settingsdialog.ui" line="319"/>862 <source>Maximum for random number generation</source>863 <translation type="unfinished"></translation>864 </message>865 <message>866 <location filename="../ui/settingsdialog.ui" line="331"/>867 <source>Generate fractional random values with the Fractional accuracy</source>868 <translation type="unfinished"></translation>869 </message>870 <message>871 <location filename="../ui/settingsdialog.ui" line="457"/>872 <source>Output font settings</source>873 <translation type="unfinished"></translation>874 </message>875 <message>876 <location filename="../ui/settingsdialog.ui" line="486"/>877 <source>&Color...</source>878 <translation type="unfinished"></translation>879 </message>880 <message>881 <location filename="../ui/settingsdialog.ui" line="189"/>882 <source>Automatically resize rows and columns to their contents</source>883 <translation type="unfinished"></translation>884 </message>885 <message>886 <location filename="../ui/settingsdialog.ui" line="177"/>887 <source>General</source>888 <translation type="unfinished"></translation>889 </message>890 <message>891 <location filename="../ui/settingsdialog.ui" line="180"/>892 <source>General TSPSG settings</source>893 <translation type="unfinished"></translation>894 </message>895 <message>896 <location filename="../ui/settingsdialog.ui" line="192"/>897 <source>Autosize of rows and columns</source>898 <translation type="unfinished"></translation>899 </message>900 <message>901 <location filename="../ui/settingsdialog.ui" line="202"/>902 <source>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</source>903 <translation type="unfinished"></translation>904 </message>905 <message>906 <location filename="../ui/settingsdialog.ui" line="275"/>907 <source>Task generation</source>908 <translation type="unfinished"></translation>909 </message>910 <message>911 <location filename="../ui/settingsdialog.ui" line="358"/>912 <source>Output</source>913 <translation type="unfinished"></translation>914 </message>915 <message>916 <location filename="../ui/settingsdialog.ui" line="361"/>917 <source>Solution output settings</source>918 <translation type="unfinished"></translation>919 </message>920 <message>921 <location filename="../ui/settingsdialog.ui" line="370"/>922 <source>Show solution steps' matrices for every solution step</source>923 <translation type="unfinished"></translation>924 </message>925 <message>926 <location filename="../ui/settingsdialog.ui" line="373"/>927 928 <source>Show solution steps' matrices</source> 928 929 <translation type="unfinished"></translation> 929 930 </message> 930 931 <message> 931 <location filename="../ui/settingsdialog.ui" line=" 404"/>932 <location filename="../ui/settingsdialog.ui" line="330"/> 932 933 <source>Show or hide solution steps' matrices based on number of cities in the task</source> 933 934 <translation type="unfinished"></translation> 934 935 </message> 935 936 <message> 936 <location filename="../ui/settingsdialog.ui" line=" 414"/>937 <location filename="../ui/settingsdialog.ui" line="340"/> 937 938 <source>Maximum number of cities to show solution steps' matrices</source> 938 939 <translation type="unfinished"></translation> 939 940 </message> 940 941 <message> 941 <location filename="../ui/settingsdialog.ui" line=" 466"/>942 <location filename="../ui/settingsdialog.ui" line="392"/> 942 943 <source>Font face for solution output</source> 943 944 <translation type="unfinished"></translation> 944 945 </message> 945 946 <message> 946 <location filename="../ui/settingsdialog.ui" line="4 83"/>947 <location filename="../ui/settingsdialog.ui" line="409"/> 947 948 <source>Font color for solution output</source> 948 949 <translation type="unfinished"></translation> 949 950 </message> 950 951 <message> 951 <location filename="../ui/settingsdialog.ui" line=" 334"/>952 <location filename="../ui/settingsdialog.ui" line="260"/> 952 953 <source>Fractional random values</source> 953 954 <translation type="unfinished"></translation> 954 955 </message> 955 956 <message> 956 <location filename="../ui/settingsdialog.ui" line=" 445"/>957 <location filename="../ui/settingsdialog.ui" line="371"/> 957 958 <source>Scroll to the end of solution output after solving</source> 958 959 <translation type="unfinished"></translation> 959 960 </message> 960 961 <message> 961 <location filename="../ui/settingsdialog.ui" line=" 448"/>962 <location filename="../ui/settingsdialog.ui" line="374"/> 962 963 <source>Scroll to solution end</source> 963 964 <translation type="unfinished"></translation> 964 965 </message> 965 966 <message> 966 <location filename="../ui/settingsdialog.ui" line=" 205"/>967 <location filename="../ui/settingsdialog.ui" line="131"/> 967 968 <source>Use native file dialogs</source> 968 969 <translation type="unfinished"></translation> 969 970 </message> 970 971 <message> 971 <location filename="../ui/settingsdialog.ui" line=" 407"/>972 <location filename="../ui/settingsdialog.ui" line="333"/> 972 973 <source>Only when <=</source> 973 974 <translation>Only when ≤</translation> 974 975 </message> 975 976 <message> 976 <location filename="../ui/settingsdialog.ui" line=" 417"/>977 <location filename="../ui/settingsdialog.ui" line="343"/> 977 978 <source> cities</source> 978 979 <comment>Don't forget a space at the beginning!</comment> … … 980 981 </message> 981 982 <message> 982 <location filename="../ui/settingsdialog.ui" line=" 469"/>983 <location filename="../ui/settingsdialog.ui" line="395"/> 983 984 <source>&Font...</source> 984 985 <translation type="unfinished"></translation> 985 986 </message> 986 987 <message> 987 <location filename="../ui/settingsdialog.ui" line=" 103"/>988 <location filename="../ui/settingsdialog.ui" line=" 109"/>988 <location filename="../ui/settingsdialog.ui" line="66"/> 989 <location filename="../ui/settingsdialog.ui" line="72"/> 989 990 <source>Help</source> 990 991 <translation type="unfinished"></translation> 991 992 </message> 992 993 <message> 993 <location filename="../ui/settingsdialog.ui" line=" 106"/>994 <location filename="../ui/settingsdialog.ui" line="69"/> 994 995 <source>Get preferences help</source> 995 996 <translation type="unfinished"></translation> … … 1006 1007 </message> 1007 1008 <message> 1008 <location filename="../src/settingsdialog.cpp" line=" 83"/>1009 <location filename="../src/settingsdialog.cpp" line="91"/> 1009 1010 <source>Use translucent effect on the Main Window under Windows Vista and 7</source> 1010 1011 <translation type="unfinished"></translation> 1011 1012 </message> 1012 1013 <message> 1013 <location filename="../src/settingsdialog.cpp" line=" 85"/>1014 <location filename="../src/settingsdialog.cpp" line="93"/> 1014 1015 <source>Use translucency effects</source> 1015 1016 <translation type="unfinished"></translation> 1016 1017 </message> 1017 1018 <message> 1018 <location filename="../src/settingsdialog.cpp" line=" 93"/>1019 <location filename="../src/settingsdialog.cpp" line="101"/> 1019 1020 <source>Restore main window state and position on application restart</source> 1020 1021 <translation type="unfinished"></translation> 1021 1022 </message> 1022 1023 <message> 1023 <location filename="../src/settingsdialog.cpp" line=" 95"/>1024 <location filename="../src/settingsdialog.cpp" line="103"/> 1024 1025 <source>Save main window state and position</source> 1025 1026 <translation type="unfinished"></translation> 1026 1027 </message> 1027 1028 <message> 1028 <location filename="../src/settingsdialog.cpp" line="1 17"/>1029 <location filename="../src/settingsdialog.cpp" line="125"/> 1029 1030 <source>Hover mouse pointer over dialog elements to get additional help</source> 1030 1031 <translation type="unfinished"></translation> 1031 1032 </message> 1032 1033 <message> 1033 <location filename="../src/settingsdialog.cpp" line="2 39"/>1034 <location filename="../src/settingsdialog.cpp" line="2 45"/>1034 <location filename="../src/settingsdialog.cpp" line="247"/> 1035 <location filename="../src/settingsdialog.cpp" line="253"/> 1035 1036 <source>Settings Reset</source> 1036 1037 <translation type="unfinished"></translation> 1037 1038 </message> 1038 1039 <message> 1039 <location filename="../src/settingsdialog.cpp" line="2 39"/>1040 <location filename="../src/settingsdialog.cpp" line="247"/> 1040 1041 <source>Do you really want to <b>reset all application settings to their defaults</b>?</source> 1041 1042 <translation type="unfinished"></translation> 1042 1043 </message> 1043 1044 <message> 1044 <location filename="../src/settingsdialog.cpp" line="2 45"/>1045 <location filename="../src/settingsdialog.cpp" line="253"/> 1045 1046 <source>All settings where successfully reset to their defaults. 1046 1047 It is recommended to restart the application now.</source> -
l10n/tspsg_ru.ts
ra23f4c292f r317ba0432e 12 12 </message> 13 13 <message> 14 <location filename="../src/mainwindow.cpp" line="7 27"/>14 <location filename="../src/mainwindow.cpp" line="798"/> 15 15 <source>LANGNAME</source> 16 16 <comment>Please, provide a native name of your translation language here.</comment> … … 150 150 <message> 151 151 <location filename="../ui/mainwindow.ui" line="15"/> 152 <location filename="../src/mainwindow.cpp" line="9 23"/>152 <location filename="../src/mainwindow.cpp" line="994"/> 153 153 <source>Travelling Salesman Problem</source> 154 154 <translation>Задача коммивояжера</translation> 155 155 </message> 156 156 <message> 157 <location filename="../src/mainwindow.cpp" line="8 04"/>157 <location filename="../src/mainwindow.cpp" line="875"/> 158 158 <source>Unsaved Changes</source> 159 159 <translation>Несохраненные изменения</translation> … … 167 167 <location filename="../src/mainwindow.cpp" line="137"/> 168 168 <location filename="../src/mainwindow.cpp" line="201"/> 169 <location filename="../src/mainwindow.cpp" line="9 00"/>169 <location filename="../src/mainwindow.cpp" line="971"/> 170 170 <source>All Files</source> 171 171 <translation>Все файлы</translation> … … 178 178 </message> 179 179 <message> 180 <location filename="../src/mainwindow.cpp" line=" 790"/>181 <location filename="../src/mainwindow.cpp" line=" 792"/>180 <location filename="../src/mainwindow.cpp" line="861"/> 181 <location filename="../src/mainwindow.cpp" line="863"/> 182 182 <source>Language Change</source> 183 183 <translation>Смена языка</translation> … … 199 199 </message> 200 200 <message> 201 <location filename="../src/mainwindow.cpp" line="5 36"/>201 <location filename="../src/mainwindow.cpp" line="565"/> 202 202 <source>Selected candidate for branching: %1.</source> 203 203 <translation>Выбранный кандидат для ветвления: %1.</translation> 204 204 </message> 205 205 <message> 206 <location filename="../src/mainwindow.cpp" line="5 36"/>207 <location filename="../src/mainwindow.cpp" line="5 43"/>206 <location filename="../src/mainwindow.cpp" line="565"/> 207 <location filename="../src/mainwindow.cpp" line="572"/> 208 208 <source>(%1;%2)</source> 209 209 <translation></translation> 210 210 </message> 211 211 <message numerus="yes"> 212 <location filename="../src/mainwindow.cpp" line="5 45"/>212 <location filename="../src/mainwindow.cpp" line="575"/> 213 213 <source>%n alternate candidate(s) for branching: %1.</source> 214 214 <translation> … … 219 219 </message> 220 220 <message numerus="yes"> 221 <location filename="../src/mainwindow.cpp" line=" 566"/>221 <location filename="../src/mainwindow.cpp" line="604"/> 222 222 <source>The price is <b>%n</b> unit(s).</source> 223 223 <translation> … … 228 228 </message> 229 229 <message> 230 <location filename="../src/mainwindow.cpp" line=" 890"/>231 <location filename="../src/mainwindow.cpp" line=" 893"/>230 <location filename="../src/mainwindow.cpp" line="961"/> 231 <location filename="../src/mainwindow.cpp" line="964"/> 232 232 <source>Check for %1 updates</source> 233 233 <translation>Проверить обновления %1</translation> 234 234 </message> 235 235 <message> 236 <location filename="../src/mainwindow.cpp" line=" 899"/>236 <location filename="../src/mainwindow.cpp" line="970"/> 237 237 <source>%1 Task File</source> 238 238 <translation>Файл условия %1</translation> … … 354 354 </message> 355 355 <message> 356 <location filename="../src/mainwindow.cpp" line="516"/> 356 <location filename="../src/mainwindow.cpp" line="523"/> 357 <location filename="../src/mainwindow.cpp" line="536"/> 358 <source>Solution of Variant #%1 Task</source> 359 <translation>Решение варианта №%1</translation> 360 </message> 361 <message> 362 <location filename="../src/mainwindow.cpp" line="530"/> 357 363 <source>Variant #%1</source> 358 364 <translation>Вариант №%1</translation> 359 365 </message> 360 366 <message> 361 <location filename="../src/mainwindow.cpp" line="5 17"/>367 <location filename="../src/mainwindow.cpp" line="532"/> 362 368 <source>Task:</source> 363 369 <translation>Условие:</translation> 364 </message>365 <message>366 <location filename="../src/mainwindow.cpp" line="515"/>367 <location filename="../src/mainwindow.cpp" line="519"/>368 <source>Solution of Variant #%1 task</source>369 <translation>Решение варианта №%1</translation>370 370 </message> 371 371 <message> … … 410 410 </message> 411 411 <message> 412 <location filename="../src/mainwindow.cpp" line="5 22"/>412 <location filename="../src/mainwindow.cpp" line="541"/> 413 413 <source>Generating step %v</source> 414 414 <translation>Генерация шага %v</translation> 415 415 </message> 416 416 <message> 417 <location filename="../src/mainwindow.cpp" line="5 32"/>417 <location filename="../src/mainwindow.cpp" line="560"/> 418 418 <source>Step #%1</source> 419 419 <translation>Шаг №%1</translation> 420 420 </message> 421 421 <message> 422 <location filename="../src/mainwindow.cpp" line="5 57"/>422 <location filename="../src/mainwindow.cpp" line="589"/> 423 423 <source>Generating footer</source> 424 424 <translation>Генерация окончания</translation> 425 425 </message> 426 426 <message> 427 <location filename="../src/mainwindow.cpp" line="5 61"/>427 <location filename="../src/mainwindow.cpp" line="595"/> 428 428 <source>Optimal path:</source> 429 429 <translation>Оптимальный путь:</translation> 430 430 </message> 431 431 <message> 432 <location filename="../src/mainwindow.cpp" line="5 63"/>432 <location filename="../src/mainwindow.cpp" line="597"/> 433 433 <source>Resulting path:</source> 434 434 <translation>Найденный путь:</translation> 435 435 </message> 436 436 <message> 437 <location filename="../src/mainwindow.cpp" line=" 568"/>437 <location filename="../src/mainwindow.cpp" line="606"/> 438 438 <source>The price is <b>%1</b> units.</source> 439 439 <translation>Стоимость - <b>%1</b> единиц.</translation> 440 440 </message> 441 441 <message> 442 <location filename="../src/mainwindow.cpp" line=" 571"/>442 <location filename="../src/mainwindow.cpp" line="611"/> 443 443 <source><b>WARNING!!!</b><br>This result is a record, but it may not be optimal.<br>Iterations need to be continued to check whether this result is optimal or get an optimal one.</source> 444 444 <translation><b>ВНИМАНИЕ!!!</b><br>Найденное решение является рекордом, но может оказаться не оптимальным.<br>Для получения оптимального решения, или проверки текущего на оптимальность, требуется продолжить итерации.</translation> 445 445 </message> 446 446 <message> 447 <location filename="../src/mainwindow.cpp" line="580"/> 447 <location filename="../src/mainwindow.cpp" line="544"/> 448 <location filename="../src/mainwindow.cpp" line="624"/> 448 449 <source>Cleaning up...</source> 449 450 <translation>Очистка...</translation> 450 451 </message> 451 452 <message> 452 <location filename="../src/mainwindow.cpp" line=" 790"/>453 <location filename="../src/mainwindow.cpp" line=" 792"/>453 <location filename="../src/mainwindow.cpp" line="861"/> 454 <location filename="../src/mainwindow.cpp" line="863"/> 454 455 <source>Unable to load the translation language. 455 456 Falling back to autodetection.</source> … … 458 459 </message> 459 460 <message> 460 <location filename="../src/mainwindow.cpp" line="8 04"/>461 <location filename="../src/mainwindow.cpp" line="875"/> 461 462 <source>Would you like to save changes in the current task?</source> 462 463 <translation>Желаете сохранить изменения в текущей задаче?</translation> 463 464 </message> 464 465 <message> 465 <location filename="../src/mainwindow.cpp" line=" 867"/>466 <location filename="../src/mainwindow.cpp" line="938"/> 466 467 <source>Set application language to %1</source> 467 468 <translation>Изменить язык приложения на %1</translation> 468 469 </message> 469 470 <message> 470 <location filename="../src/mainwindow.cpp" line=" 888"/>471 <location filename="../src/mainwindow.cpp" line="959"/> 471 472 <source>Check for &Updates...</source> 472 473 <translation>Проверить &обновления...</translation> 473 474 </message> 474 475 <message> 475 <location filename="../src/mainwindow.cpp" line="9 08"/>476 <location filename="../src/mainwindow.cpp" line="979"/> 476 477 <source>Task Save</source> 477 478 <translation>Сохранение условия</translation> … … 495 496 <location filename="../src/mainwindow.cpp" line="179"/> 496 497 <location filename="../src/mainwindow.cpp" line="297"/> 497 <location filename="../src/mainwindow.h" line="1 13"/>498 <location filename="../src/mainwindow.h" line="122"/> 498 499 <source>Untitled</source> 499 500 <translation>Без имени</translation> … … 560 561 </message> 561 562 <message> 562 <location filename="../ui/mainwindow.ui" line="20 4"/>563 <location filename="../ui/mainwindow.ui" line="3 58"/>563 <location filename="../ui/mainwindow.ui" line="207"/> 564 <location filename="../ui/mainwindow.ui" line="361"/> 564 565 <source>Save solution to a file</source> 565 566 <translation>Сохранить решение в файл</translation> 566 567 </message> 567 568 <message> 568 <location filename="../ui/mainwindow.ui" line="2 07"/>569 <location filename="../ui/mainwindow.ui" line="210"/> 569 570 <source>Save Solution</source> 570 571 <translation>Сохранить</translation> 571 572 </message> 572 573 <message> 573 <location filename="../ui/mainwindow.ui" line="23 4"/>574 <location filename="../ui/mainwindow.ui" line="237"/> 574 575 <source>Go back to Task tab</source> 575 576 <translation>Вернуться к закладке "Условие"</translation> 576 577 </message> 577 578 <message> 578 <location filename="../ui/mainwindow.ui" line="2 37"/>579 <location filename="../ui/mainwindow.ui" line="240"/> 579 580 <source>Back to Task</source> 580 581 <translation>К условию</translation> 581 582 </message> 582 583 <message> 583 <location filename="../ui/mainwindow.ui" line="26 6"/>584 <location filename="../ui/mainwindow.ui" line="269"/> 584 585 <source>&File</source> 585 586 <translation>&Файл</translation> 586 587 </message> 587 588 <message> 588 <location filename="../ui/mainwindow.ui" line=" 298"/>589 <location filename="../ui/mainwindow.ui" line="301"/> 589 590 <source>&Language</source> 590 591 <comment>Please, append " / Language" when translating this string.</comment> … … 592 593 </message> 593 594 <message> 594 <location filename="../ui/mainwindow.ui" line="43 6"/>595 <location filename="../ui/mainwindow.ui" line="439"/> 595 596 <source>Context &Help</source> 596 597 <translation>&Контекстная справка</translation> 597 598 </message> 598 599 <message> 599 <location filename="../ui/mainwindow.ui" line="45 1"/>600 <location filename="../ui/mainwindow.ui" line="454"/> 600 601 <source>&About TSPSG...</source> 601 602 <translation>&Про TSPSG...</translation> 602 603 </message> 603 604 <message> 604 <location filename="../ui/mainwindow.ui" line="5 17"/>605 <location filename="../ui/mainwindow.ui" line="520"/> 605 606 <source>&Save</source> 606 607 <translation>Со&хранить</translation> 607 608 </message> 608 609 <message> 609 <location filename="../ui/mainwindow.ui" line="2 88"/>610 <location filename="../ui/mainwindow.ui" line="291"/> 610 611 <source>&Settings</source> 611 612 <translation>&Настройки</translation> 612 613 </message> 613 614 <message> 614 <location filename="../ui/mainwindow.ui" line="31 4"/>615 <location filename="../ui/mainwindow.ui" line="317"/> 615 616 <source>&Help</source> 616 617 <translation>&Помощь</translation> 617 618 </message> 618 619 <message> 619 <location filename="../ui/mainwindow.ui" line="35 5"/>620 <location filename="../ui/mainwindow.ui" line="358"/> 620 621 <source>Save solution</source> 621 622 <translation>Сохранить решение</translation> 622 623 </message> 623 624 <message> 624 <location filename="../ui/mainwindow.ui" line="3 67"/>625 <location filename="../ui/mainwindow.ui" line="370"/> 625 626 <source>&New</source> 626 627 <translation>&Создать</translation> 627 628 </message> 628 629 <message> 629 <location filename="../ui/mainwindow.ui" line="37 0"/>630 <location filename="../ui/mainwindow.ui" line="373"/> 630 631 <source>New task</source> 631 632 <translation>Создать задачу</translation> 632 633 </message> 633 634 <message> 634 <location filename="../ui/mainwindow.ui" line="37 3"/>635 <location filename="../ui/mainwindow.ui" line="376"/> 635 636 <source>Create new task</source> 636 637 <translation>Создать новую задачу</translation> 637 638 </message> 638 639 <message> 639 <location filename="../ui/mainwindow.ui" line="37 6"/>640 <location filename="../ui/mainwindow.ui" line="379"/> 640 641 <source>Ctrl+N</source> 641 642 <translation></translation> 642 643 </message> 643 644 <message> 644 <location filename="../ui/mainwindow.ui" line="38 5"/>645 <location filename="../ui/mainwindow.ui" line="388"/> 645 646 <source>&Open...</source> 646 647 <translation>&Открыть...</translation> 647 648 </message> 648 649 <message> 649 <location filename="../ui/mainwindow.ui" line="3 88"/>650 <location filename="../ui/mainwindow.ui" line="391"/> 650 651 <source>Open task</source> 651 652 <translation>Открыть условие</translation> 652 653 </message> 653 654 <message> 654 <location filename="../ui/mainwindow.ui" line="39 1"/>655 <location filename="../ui/mainwindow.ui" line="394"/> 655 656 <source>Open saved task</source> 656 657 <translation>Открыть сохраненное условие задачи</translation> 657 658 </message> 658 659 <message> 659 <location filename="../ui/mainwindow.ui" line="39 4"/>660 <location filename="../ui/mainwindow.ui" line="397"/> 660 661 <source>Ctrl+O</source> 661 662 <translation></translation> 662 663 </message> 663 664 <message> 664 <location filename="../ui/mainwindow.ui" line="40 3"/>665 <location filename="../ui/mainwindow.ui" line="406"/> 665 666 <source>&Preferences...</source> 666 667 <translation>&Параметры...</translation> 667 668 </message> 668 669 <message> 669 <location filename="../ui/mainwindow.ui" line="40 6"/>670 <location filename="../ui/mainwindow.ui" line="409"/> 670 671 <source>Application preferences</source> 671 672 <translation>Настройка параметров программмы</translation> 672 673 </message> 673 674 <message> 674 <location filename="../ui/mainwindow.ui" line="4 18"/>675 <location filename="../ui/mainwindow.ui" line="421"/> 675 676 <source>&Contents</source> 676 677 <translation>&Содежание</translation> 677 678 </message> 678 679 <message> 679 <location filename="../ui/mainwindow.ui" line="42 1"/>680 <location filename="../ui/mainwindow.ui" line="424"/> 680 681 <source>Open help contents</source> 681 682 <translation>Вызвать справку программы</translation> 682 683 </message> 683 684 <message> 684 <location filename="../ui/mainwindow.ui" line="42 4"/>685 <location filename="../ui/mainwindow.ui" line="427"/> 685 686 <source>Ctrl+F1</source> 686 687 <translation></translation> 687 688 </message> 688 689 <message> 689 <location filename="../ui/mainwindow.ui" line="4 39"/>690 <location filename="../ui/mainwindow.ui" line="442"/> 690 691 <source>Open context help</source> 691 692 <translation>Вызвать контекстную справку</translation> 692 693 </message> 693 694 <message> 694 <location filename="../ui/mainwindow.ui" line="44 2"/>695 <location filename="../ui/mainwindow.ui" line="445"/> 695 696 <source>F1</source> 696 697 <translation></translation> 697 698 </message> 698 699 <message> 699 <location filename="../ui/mainwindow.ui" line="45 4"/>700 <location filename="../ui/mainwindow.ui" line="457"/> 700 701 <source>About application</source> 701 702 <translation>О программе</translation> 702 703 </message> 703 704 <message> 704 <location filename="../ui/mainwindow.ui" line="46 3"/>705 <location filename="../ui/mainwindow.ui" line="466"/> 705 706 <source>E&xit</source> 706 707 <translation>В&ыход</translation> 707 708 </message> 708 709 <message> 709 <location filename="../ui/mainwindow.ui" line="46 6"/>710 <location filename="../ui/mainwindow.ui" line="469"/> 710 711 <source>Exit application</source> 711 712 <translation>Выйти из приложения</translation> 712 713 </message> 713 714 <message> 714 <location filename="../ui/mainwindow.ui" line="47 1"/>715 <location filename="../ui/mainwindow.ui" line="474"/> 715 716 <source>&Task...</source> 716 717 <translation>&Условие...</translation> 717 718 </message> 718 719 <message> 719 <location filename="../ui/mainwindow.ui" line="47 4"/>720 <location filename="../ui/mainwindow.ui" line="52 0"/>720 <location filename="../ui/mainwindow.ui" line="477"/> 721 <location filename="../ui/mainwindow.ui" line="523"/> 721 722 <source>Save task</source> 722 723 <translation>Сохранить условие</translation> 723 724 </message> 724 725 <message> 725 <location filename="../ui/mainwindow.ui" line="4 77"/>726 <location filename="../ui/mainwindow.ui" line="480"/> 726 727 <source>Save task to file</source> 727 728 <translation>Сохранить условие задачи в файл</translation> 728 729 </message> 729 730 <message> 730 <location filename="../ui/mainwindow.ui" line="52 6"/>731 <location filename="../ui/mainwindow.ui" line="529"/> 731 732 <source>Ctrl+S</source> 732 733 <translation></translation> 733 734 </message> 734 735 <message> 735 <location filename="../ui/mainwindow.ui" line="4 88"/>736 <location filename="../ui/mainwindow.ui" line="491"/> 736 737 <source>&Autodetect</source> 737 738 <translation>&Автоопределение</translation> 738 739 </message> 739 740 <message> 740 <location filename="../ui/mainwindow.ui" line="52 3"/>741 <location filename="../ui/mainwindow.ui" line="526"/> 741 742 <source>Save current task</source> 742 743 <translation>Сохранить текущее условие</translation> 743 744 </message> 744 745 <message> 745 <location filename="../ui/mainwindow.ui" line="53 5"/>746 <location filename="../ui/mainwindow.ui" line="538"/> 746 747 <source>About &Qt...</source> 747 748 <translation>Про &Qt...</translation> 748 749 </message> 749 750 <message> 750 <location filename="../ui/mainwindow.ui" line="5 38"/>751 <location filename="../ui/mainwindow.ui" line="541"/> 751 752 <source>About Qt library</source> 752 753 <translation>Про библиотеку Qt</translation> 753 754 </message> 754 755 <message> 755 <location filename="../ui/mainwindow.ui" line="29 2"/>756 <location filename="../ui/mainwindow.ui" line="295"/> 756 757 <source>Select language</source> 757 758 <translation>Выбор языка</translation> 758 759 </message> 759 760 <message> 760 <location filename="../ui/mainwindow.ui" line="27 0"/>761 <location filename="../ui/mainwindow.ui" line="273"/> 761 762 <source>Save &As</source> 762 763 <translation>Сохранить &как</translation> 763 764 </message> 764 765 <message> 765 <location filename="../ui/mainwindow.ui" line="29 5"/>766 <location filename="../ui/mainwindow.ui" line="298"/> 766 767 <source>Select application language</source> 767 768 <translation>Выбрать язык приложения</translation> 768 769 </message> 769 770 <message> 770 <location filename="../ui/mainwindow.ui" line="33 1"/>771 <location filename="../ui/mainwindow.ui" line="334"/> 771 772 <source>Toolbar</source> 772 773 <translation>Панель инструментов</translation> 773 774 </message> 774 775 <message> 775 <location filename="../src/mainwindow.cpp" line=" 870"/>776 <location filename="../src/mainwindow.cpp" line="941"/> 776 777 <source>P&rint Preview...</source> 777 778 <translation>П&редварительный просмотр...</translation> 778 779 </message> 779 780 <message> 780 <location filename="../src/mainwindow.cpp" line=" 872"/>781 <location filename="../src/mainwindow.cpp" line="943"/> 781 782 <source>Preview solution results</source> 782 783 <translation>Предварительный просмотр результатов решения</translation> 783 784 </message> 784 785 <message> 785 <location filename="../src/mainwindow.cpp" line=" 875"/>786 <location filename="../src/mainwindow.cpp" line="946"/> 786 787 <source>Preview current solution results before printing</source> 787 788 <translation>Предварительный просмотр результатов решения перед печатью</translation> 788 789 </message> 789 790 <message> 790 <location filename="../src/mainwindow.cpp" line=" 878"/>791 <location filename="../src/mainwindow.cpp" line="949"/> 791 792 <source>&Print...</source> 792 793 <translation>&Печать...</translation> 793 794 </message> 794 795 <message> 795 <location filename="../src/mainwindow.cpp" line=" 880"/>796 <location filename="../src/mainwindow.cpp" line="951"/> 796 797 <source>Print solution</source> 797 798 <translation>Печать решения</translation> 798 799 </message> 799 800 <message> 800 <location filename="../src/mainwindow.cpp" line=" 883"/>801 <location filename="../src/mainwindow.cpp" line="954"/> 801 802 <source>Print current solution results</source> 802 803 <translation>Распечатать текущие результаты решения</translation> 803 804 </message> 804 805 <message> 805 <location filename="../src/mainwindow.cpp" line=" 885"/>806 <location filename="../src/mainwindow.cpp" line="956"/> 806 807 <source>Ctrl+P</source> 807 808 <translation></translation> 808 809 </message> 809 810 <message> 810 <location filename="../ui/mainwindow.ui" line="35 2"/>811 <location filename="../ui/mainwindow.ui" line="355"/> 811 812 <source>&Solution...</source> 812 813 <translation>&Решение...</translation> 813 814 </message> 814 815 <message> 815 <location filename="../ui/mainwindow.ui" line="49 1"/>816 <location filename="../ui/mainwindow.ui" line="494"/> 816 817 <source>Detect language automatically</source> 817 818 <translation>Определять язык автоматически</translation> 818 819 </message> 819 820 <message> 820 <location filename="../ui/mainwindow.ui" line="49 4"/>821 <location filename="../ui/mainwindow.ui" line="497"/> 821 822 <source>Detect language automatically based on regional settings</source> 822 823 <translation>Определять язык автоматически, основываясь на региональных настройках</translation> … … 831 832 </message> 832 833 <message> 833 <location filename="../ui/settingsdialog.ui" line=" 226"/>834 <location filename="../ui/settingsdialog.ui" line="152"/> 834 835 <source>Task</source> 835 836 <translation>Задача</translation> 836 837 </message> 837 838 <message> 838 <location filename="../ui/settingsdialog.ui" line=" 229"/>839 <location filename="../ui/settingsdialog.ui" line="155"/> 839 840 <source>Task generation and solving settings</source> 840 841 <translation>Настройки генерации и решения задач</translation> 841 842 </message> 842 843 <message> 843 <location filename="../ui/settingsdialog.ui" line=" 240"/>844 <location filename="../ui/settingsdialog.ui" line="166"/> 844 845 <source>Fractional accuracy:</source> 845 846 <translation>Точность дробных чисел:</translation> 846 847 </message> 847 848 <message> 848 <location filename="../ui/settingsdialog.ui" line=" 250"/>849 <location filename="../ui/settingsdialog.ui" line="176"/> 849 850 <source>Accuracy of the fractional values (in decimal places)</source> 850 851 <translation>Точность дробных чисел (в знаках после запятой)</translation> 851 852 </message> 852 853 <message> 853 <location filename="../ui/settingsdialog.ui" line="2 99"/>854 <location filename="../ui/settingsdialog.ui" line="225"/> 854 855 <source>Minimum for random number generation</source> 855 856 <translation>Нижняя граница для генерации случайных значений</translation> 856 857 </message> 857 858 <message> 858 <location filename="../ui/settingsdialog.ui" line=" 319"/>859 <location filename="../ui/settingsdialog.ui" line="245"/> 859 860 <source>Maximum for random number generation</source> 860 861 <translation>Верхняя граница для генерации случайных значений</translation> 861 862 </message> 862 863 <message> 863 <location filename="../ui/settingsdialog.ui" line=" 331"/>864 <location filename="../ui/settingsdialog.ui" line="257"/> 864 865 <source>Generate fractional random values with the Fractional accuracy</source> 865 866 <translation>Генерировать дробные случайные числа с заданной выше точностью</translation> 866 867 </message> 867 868 <message> 868 <location filename="../ui/settingsdialog.ui" line=" 457"/>869 <location filename="../ui/settingsdialog.ui" line="383"/> 869 870 <source>Output font settings</source> 870 871 <translation>Параметры шрифта</translation> 871 872 </message> 872 873 <message> 873 <location filename="../ui/settingsdialog.ui" line="4 86"/>874 <location filename="../ui/settingsdialog.ui" line="412"/> 874 875 <source>&Color...</source> 875 876 <translation>&Цвет...</translation> 876 877 </message> 877 878 <message> 878 <location filename="../ui/settingsdialog.ui" line="1 89"/>879 <location filename="../ui/settingsdialog.ui" line="115"/> 879 880 <source>Automatically resize rows and columns to their contents</source> 880 881 <translation>Автоматически подганять размер строк и колонок под их содержание</translation> 881 882 </message> 882 883 <message> 883 <location filename="../ui/settingsdialog.ui" line="1 77"/>884 <location filename="../ui/settingsdialog.ui" line="103"/> 884 885 <source>General</source> 885 886 <translation>Общие</translation> 886 887 </message> 887 888 <message> 888 <location filename="../ui/settingsdialog.ui" line="1 80"/>889 <location filename="../ui/settingsdialog.ui" line="106"/> 889 890 <source>General TSPSG settings</source> 890 891 <translation>Общие настройки TSPSG</translation> 891 892 </message> 892 893 <message> 893 <location filename="../ui/settingsdialog.ui" line="1 92"/>894 <location filename="../ui/settingsdialog.ui" line="118"/> 894 895 <source>Autosize of rows and columns</source> 895 896 <translation>Авторазмер строк и колонок</translation> 896 897 </message> 897 898 <message> 898 <location filename="../ui/settingsdialog.ui" line=" 202"/>899 <location filename="../ui/settingsdialog.ui" line="128"/> 899 900 <source>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</source> 900 901 <translation>Использовать системные диалоги открытия и сохранения файла</translation> 901 902 </message> 902 903 <message> 903 <location filename="../ui/settingsdialog.ui" line="2 75"/>904 <location filename="../ui/settingsdialog.ui" line="201"/> 904 905 <source>Task generation</source> 905 906 <translation>Генерация задач</translation> 906 907 </message> 907 908 <message> 908 <location filename="../ui/settingsdialog.ui" line=" 358"/>909 <location filename="../ui/settingsdialog.ui" line="284"/> 909 910 <source>Output</source> 910 911 <translation>Вывод</translation> 911 912 </message> 912 913 <message> 913 <location filename="../ui/settingsdialog.ui" line=" 361"/>914 <location filename="../ui/settingsdialog.ui" line="287"/> 914 915 <source>Solution output settings</source> 915 916 <translation>Настройки текста решения</translation> 916 917 </message> 917 918 <message> 918 <location filename="../ui/settingsdialog.ui" line=" 370"/>919 <location filename="../ui/settingsdialog.ui" line="296"/> 919 920 <source>Show solution steps' matrices for every solution step</source> 920 921 <translation>Показывать матрицы шагов решения для каждого шага</translation> 921 922 </message> 922 923 <message> 923 <location filename="../ui/settingsdialog.ui" line=" 373"/>924 <location filename="../ui/settingsdialog.ui" line="299"/> 924 925 <source>Show solution steps' matrices</source> 925 926 <translation>Показ матриц шагов решения</translation> 926 927 </message> 927 928 <message> 928 <location filename="../ui/settingsdialog.ui" line=" 404"/>929 <location filename="../ui/settingsdialog.ui" line="330"/> 929 930 <source>Show or hide solution steps' matrices based on number of cities in the task</source> 930 931 <translation>Показывать матрицы хода решения в зависимости от количества городов</translation> 931 932 </message> 932 933 <message> 933 <location filename="../ui/settingsdialog.ui" line=" 414"/>934 <location filename="../ui/settingsdialog.ui" line="340"/> 934 935 <source>Maximum number of cities to show solution steps' matrices</source> 935 936 <translation>Максимальное количество городов для показа матриц шагов решения</translation> 936 937 </message> 937 938 <message> 938 <location filename="../ui/settingsdialog.ui" line=" 466"/>939 <location filename="../ui/settingsdialog.ui" line="392"/> 939 940 <source>Font face for solution output</source> 940 941 <translation>Вид шрифта, используемого при выводе</translation> 941 942 </message> 942 943 <message> 943 <location filename="../ui/settingsdialog.ui" line="4 83"/>944 <location filename="../ui/settingsdialog.ui" line="409"/> 944 945 <source>Font color for solution output</source> 945 946 <translation>Цвет шрифта, используемого при выводе</translation> 946 947 </message> 947 948 <message> 948 <location filename="../ui/settingsdialog.ui" line=" 334"/>949 <location filename="../ui/settingsdialog.ui" line="260"/> 949 950 <source>Fractional random values</source> 950 951 <translation>Дробные случайные числа</translation> 951 952 </message> 952 953 <message> 953 <location filename="../ui/settingsdialog.ui" line=" 445"/>954 <location filename="../ui/settingsdialog.ui" line="371"/> 954 955 <source>Scroll to the end of solution output after solving</source> 955 956 <translation>Прокручивать в конец вывода после окончания решения задачи</translation> 956 957 </message> 957 958 <message> 958 <location filename="../ui/settingsdialog.ui" line=" 448"/>959 <location filename="../ui/settingsdialog.ui" line="374"/> 959 960 <source>Scroll to solution end</source> 960 961 <translation>Прокручивать в конец решения</translation> 961 962 </message> 962 963 <message> 963 <location filename="../ui/settingsdialog.ui" line=" 205"/>964 <location filename="../ui/settingsdialog.ui" line="131"/> 964 965 <source>Use native file dialogs</source> 965 966 <translation>Системные файловые диалоги</translation> 966 967 </message> 967 968 <message> 968 <location filename="../ui/settingsdialog.ui" line=" 265"/>969 <location filename="../ui/settingsdialog.ui" line="191"/> 969 970 <source>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</source> 970 971 <translation>В этом режиме стоимость переезда из города 1 в город 2 и наоборот совпадает</translation> 971 972 </message> 972 973 <message> 973 <location filename="../ui/settingsdialog.ui" line=" 268"/>974 <location filename="../ui/settingsdialog.ui" line="194"/> 974 975 <source>Symmetric mode</source> 975 976 <translation>Симметричный режим</translation> 976 977 </message> 977 978 <message> 978 <location filename="../ui/settingsdialog.ui" line="2 86"/>979 <location filename="../ui/settingsdialog.ui" line="212"/> 979 980 <source>Minimal random:</source> 980 981 <translation>Минимальное случайное:</translation> 981 982 </message> 982 983 <message> 983 <location filename="../ui/settingsdialog.ui" line=" 306"/>984 <location filename="../ui/settingsdialog.ui" line="232"/> 984 985 <source>Maximal random:</source> 985 986 <translation>Максимальное случайное:</translation> 986 987 </message> 987 988 <message> 988 <location filename="../ui/settingsdialog.ui" line=" 407"/>989 <location filename="../ui/settingsdialog.ui" line="333"/> 989 990 <source>Only when <=</source> 990 991 <translation>Только когда ≤</translation> 991 992 </message> 992 993 <message> 993 <location filename="../ui/settingsdialog.ui" line=" 417"/>994 <location filename="../ui/settingsdialog.ui" line="343"/> 994 995 <source> cities</source> 995 996 <comment>Don't forget a space at the beginning!</comment> … … 997 998 </message> 998 999 <message> 999 <location filename="../ui/settingsdialog.ui" line=" 469"/>1000 <location filename="../ui/settingsdialog.ui" line="395"/> 1000 1001 <source>&Font...</source> 1001 1002 <translation>&Шрифт...</translation> 1002 1003 </message> 1003 1004 <message> 1004 <location filename="../ui/settingsdialog.ui" line=" 103"/>1005 <location filename="../ui/settingsdialog.ui" line=" 109"/>1005 <location filename="../ui/settingsdialog.ui" line="66"/> 1006 <location filename="../ui/settingsdialog.ui" line="72"/> 1006 1007 <source>Help</source> 1007 1008 <translation>Помощь</translation> 1008 1009 </message> 1009 1010 <message> 1010 <location filename="../ui/settingsdialog.ui" line=" 106"/>1011 <location filename="../ui/settingsdialog.ui" line="69"/> 1011 1012 <source>Get preferences help</source> 1012 1013 <translation>Получить помощь по настройкам</translation> … … 1023 1024 </message> 1024 1025 <message> 1025 <location filename="../src/settingsdialog.cpp" line=" 83"/>1026 <location filename="../src/settingsdialog.cpp" line="91"/> 1026 1027 <source>Use translucent effect on the Main Window under Windows Vista and 7</source> 1027 1028 <translation>Использовать эффект полупрозрачности для главного окна в Windows Vista и Windows 7</translation> 1028 1029 </message> 1029 1030 <message> 1030 <location filename="../src/settingsdialog.cpp" line=" 85"/>1031 <location filename="../src/settingsdialog.cpp" line="93"/> 1031 1032 <source>Use translucency effects</source> 1032 1033 <translation>Использовать эффекты полупрозрачности</translation> 1033 1034 </message> 1034 1035 <message> 1035 <location filename="../src/settingsdialog.cpp" line=" 93"/>1036 <location filename="../src/settingsdialog.cpp" line="101"/> 1036 1037 <source>Restore main window state and position on application restart</source> 1037 1038 <translation>Сохранять состояние и размеры главного окна после перезапуска</translation> 1038 1039 </message> 1039 1040 <message> 1040 <location filename="../src/settingsdialog.cpp" line=" 95"/>1041 <location filename="../src/settingsdialog.cpp" line="103"/> 1041 1042 <source>Save main window state and position</source> 1042 1043 <translation>Сохранять состояние и положение главного окна</translation> 1043 1044 </message> 1044 1045 <message> 1045 <location filename="../src/settingsdialog.cpp" line="1 17"/>1046 <location filename="../src/settingsdialog.cpp" line="125"/> 1046 1047 <source>Hover mouse pointer over dialog elements to get additional help</source> 1047 1048 <translation>Наведите указатель мыши на элемент диалога, чтоб получить подсказку</translation> 1048 1049 </message> 1049 1050 <message> 1050 <location filename="../src/settingsdialog.cpp" line="2 39"/>1051 <location filename="../src/settingsdialog.cpp" line="2 45"/>1051 <location filename="../src/settingsdialog.cpp" line="247"/> 1052 <location filename="../src/settingsdialog.cpp" line="253"/> 1052 1053 <source>Settings Reset</source> 1053 1054 <translation>Сброс настроек</translation> 1054 1055 </message> 1055 1056 <message> 1056 <location filename="../src/settingsdialog.cpp" line="2 39"/>1057 <location filename="../src/settingsdialog.cpp" line="247"/> 1057 1058 <source>Do you really want to <b>reset all application settings to their defaults</b>?</source> 1058 1059 <translation>Вы действительно хотите <b>сбросить все настройки на значения по-умолчанию</b>?</translation> 1059 1060 </message> 1060 1061 <message> 1061 <location filename="../src/settingsdialog.cpp" line="2 45"/>1062 <location filename="../src/settingsdialog.cpp" line="253"/> 1062 1063 <source>All settings where successfully reset to their defaults. 1063 1064 It is recommended to restart the application now.</source> -
l10n/tspsg_uk.ts
ra23f4c292f r317ba0432e 12 12 </message> 13 13 <message> 14 <location filename="../src/mainwindow.cpp" line="7 27"/>14 <location filename="../src/mainwindow.cpp" line="798"/> 15 15 <source>LANGNAME</source> 16 16 <comment>Please, provide a native name of your translation language here.</comment> … … 153 153 </message> 154 154 <message> 155 <location filename="../ui/mainwindow.ui" line="27 0"/>155 <location filename="../ui/mainwindow.ui" line="273"/> 156 156 <source>Save &As</source> 157 157 <translation>Зберегти &як</translation> 158 158 </message> 159 159 <message> 160 <location filename="../ui/mainwindow.ui" line="29 2"/>160 <location filename="../ui/mainwindow.ui" line="295"/> 161 161 <source>Select language</source> 162 162 <translation>Вибір мови</translation> 163 163 </message> 164 164 <message> 165 <location filename="../ui/mainwindow.ui" line="29 5"/>165 <location filename="../ui/mainwindow.ui" line="298"/> 166 166 <source>Select application language</source> 167 167 <translation>Обрати мову додатку</translation> 168 168 </message> 169 169 <message> 170 <location filename="../ui/mainwindow.ui" line="33 1"/>170 <location filename="../ui/mainwindow.ui" line="334"/> 171 171 <source>Toolbar</source> 172 172 <translation>Панель інструментів</translation> 173 173 </message> 174 174 <message> 175 <location filename="../src/mainwindow.cpp" line=" 870"/>175 <location filename="../src/mainwindow.cpp" line="941"/> 176 176 <source>P&rint Preview...</source> 177 177 <translation>&Попередній перегляд...</translation> 178 178 </message> 179 179 <message> 180 <location filename="../src/mainwindow.cpp" line=" 872"/>180 <location filename="../src/mainwindow.cpp" line="943"/> 181 181 <source>Preview solution results</source> 182 182 <translation>Попередній перегляд результатів розв'язку</translation> 183 183 </message> 184 184 <message> 185 <location filename="../src/mainwindow.cpp" line=" 875"/>185 <location filename="../src/mainwindow.cpp" line="946"/> 186 186 <source>Preview current solution results before printing</source> 187 187 <translation>Попередній перегляд результатів розв'язку перед друком</translation> 188 188 </message> 189 189 <message> 190 <location filename="../src/mainwindow.cpp" line=" 878"/>190 <location filename="../src/mainwindow.cpp" line="949"/> 191 191 <source>&Print...</source> 192 192 <translation>&Друк...</translation> 193 193 </message> 194 194 <message> 195 <location filename="../src/mainwindow.cpp" line=" 880"/>195 <location filename="../src/mainwindow.cpp" line="951"/> 196 196 <source>Print solution</source> 197 197 <translation>Друк розв'язку</translation> 198 198 </message> 199 199 <message> 200 <location filename="../src/mainwindow.cpp" line=" 883"/>200 <location filename="../src/mainwindow.cpp" line="954"/> 201 201 <source>Print current solution results</source> 202 202 <translation>Роздрукувати поточний результат розв'язку</translation> 203 203 </message> 204 204 <message> 205 <location filename="../src/mainwindow.cpp" line=" 885"/>205 <location filename="../src/mainwindow.cpp" line="956"/> 206 206 <source>Ctrl+P</source> 207 207 <translation></translation> 208 208 </message> 209 209 <message> 210 <location filename="../ui/mainwindow.ui" line="35 2"/>210 <location filename="../ui/mainwindow.ui" line="355"/> 211 211 <source>&Solution...</source> 212 212 <translation>&Розв'язок...</translation> 213 213 </message> 214 214 <message> 215 <location filename="../ui/mainwindow.ui" line="49 1"/>215 <location filename="../ui/mainwindow.ui" line="494"/> 216 216 <source>Detect language automatically</source> 217 217 <translation>Визначати мову автоматично</translation> 218 218 </message> 219 219 <message> 220 <location filename="../ui/mainwindow.ui" line="49 4"/>220 <location filename="../ui/mainwindow.ui" line="497"/> 221 221 <source>Detect language automatically based on regional settings</source> 222 222 <translation>Визначати мову автоматично, використовуючи регіональні стандарти</translation> 223 223 </message> 224 224 <message> 225 <location filename="../ui/mainwindow.ui" line="52 6"/>225 <location filename="../ui/mainwindow.ui" line="529"/> 226 226 <source>Ctrl+S</source> 227 227 <translation></translation> 228 228 </message> 229 229 <message> 230 <location filename="../ui/mainwindow.ui" line="37 6"/>230 <location filename="../ui/mainwindow.ui" line="379"/> 231 231 <source>Ctrl+N</source> 232 232 <translation></translation> … … 283 283 </message> 284 284 <message> 285 <location filename="../ui/mainwindow.ui" line="20 4"/>286 <location filename="../ui/mainwindow.ui" line="3 58"/>285 <location filename="../ui/mainwindow.ui" line="207"/> 286 <location filename="../ui/mainwindow.ui" line="361"/> 287 287 <source>Save solution to a file</source> 288 288 <translation>Зберегти розв'язок у файл</translation> 289 289 </message> 290 290 <message> 291 <location filename="../ui/mainwindow.ui" line="2 07"/>291 <location filename="../ui/mainwindow.ui" line="210"/> 292 292 <source>Save Solution</source> 293 293 <translation>Зберегти</translation> 294 294 </message> 295 295 <message> 296 <location filename="../ui/mainwindow.ui" line="23 4"/>296 <location filename="../ui/mainwindow.ui" line="237"/> 297 297 <source>Go back to Task tab</source> 298 298 <translation>Повернутися до закладки "Умова"</translation> 299 299 </message> 300 300 <message> 301 <location filename="../ui/mainwindow.ui" line="2 37"/>301 <location filename="../ui/mainwindow.ui" line="240"/> 302 302 <source>Back to Task</source> 303 303 <translation>До умови</translation> 304 304 </message> 305 305 <message> 306 <location filename="../ui/mainwindow.ui" line="26 6"/>306 <location filename="../ui/mainwindow.ui" line="269"/> 307 307 <source>&File</source> 308 308 <translation>&Файл</translation> 309 309 </message> 310 310 <message> 311 <location filename="../ui/mainwindow.ui" line=" 298"/>311 <location filename="../ui/mainwindow.ui" line="301"/> 312 312 <source>&Language</source> 313 313 <comment>Please, append " / Language" when translating this string.</comment> … … 315 315 </message> 316 316 <message> 317 <location filename="../ui/mainwindow.ui" line="43 6"/>317 <location filename="../ui/mainwindow.ui" line="439"/> 318 318 <source>Context &Help</source> 319 319 <translation>&Контекстна допомога</translation> 320 320 </message> 321 321 <message> 322 <location filename="../ui/mainwindow.ui" line="45 1"/>322 <location filename="../ui/mainwindow.ui" line="454"/> 323 323 <source>&About TSPSG...</source> 324 324 <translation>&Про TSPSG...</translation> 325 325 </message> 326 326 <message> 327 <location filename="../ui/mainwindow.ui" line="5 17"/>327 <location filename="../ui/mainwindow.ui" line="520"/> 328 328 <source>&Save</source> 329 329 <translation>&Зберегти</translation> 330 330 </message> 331 331 <message> 332 <location filename="../ui/mainwindow.ui" line="2 88"/>332 <location filename="../ui/mainwindow.ui" line="291"/> 333 333 <source>&Settings</source> 334 334 <translation>&Налаштування</translation> 335 335 </message> 336 336 <message> 337 <location filename="../ui/mainwindow.ui" line="31 4"/>337 <location filename="../ui/mainwindow.ui" line="317"/> 338 338 <source>&Help</source> 339 339 <translation>&Допомога</translation> 340 340 </message> 341 341 <message> 342 <location filename="../ui/mainwindow.ui" line="35 5"/>342 <location filename="../ui/mainwindow.ui" line="358"/> 343 343 <source>Save solution</source> 344 344 <translation>Зберегти розв'язок</translation> 345 345 </message> 346 346 <message> 347 <location filename="../ui/mainwindow.ui" line="3 67"/>347 <location filename="../ui/mainwindow.ui" line="370"/> 348 348 <source>&New</source> 349 349 <translation>&Створити</translation> 350 350 </message> 351 351 <message> 352 <location filename="../ui/mainwindow.ui" line="37 0"/>352 <location filename="../ui/mainwindow.ui" line="373"/> 353 353 <source>New task</source> 354 354 <translation>Нова задача</translation> 355 355 </message> 356 356 <message> 357 <location filename="../ui/mainwindow.ui" line="37 3"/>357 <location filename="../ui/mainwindow.ui" line="376"/> 358 358 <source>Create new task</source> 359 359 <translation>Створити нову задачу</translation> 360 360 </message> 361 361 <message> 362 <location filename="../ui/mainwindow.ui" line="38 5"/>362 <location filename="../ui/mainwindow.ui" line="388"/> 363 363 <source>&Open...</source> 364 364 <translation>&Відкрити...</translation> 365 365 </message> 366 366 <message> 367 <location filename="../ui/mainwindow.ui" line="3 88"/>367 <location filename="../ui/mainwindow.ui" line="391"/> 368 368 <source>Open task</source> 369 369 <translation>Відкрити умову</translation> 370 370 </message> 371 371 <message> 372 <location filename="../ui/mainwindow.ui" line="39 1"/>372 <location filename="../ui/mainwindow.ui" line="394"/> 373 373 <source>Open saved task</source> 374 374 <translation>Відкрити збережену умову</translation> 375 375 </message> 376 376 <message> 377 <location filename="../ui/mainwindow.ui" line="39 4"/>377 <location filename="../ui/mainwindow.ui" line="397"/> 378 378 <source>Ctrl+O</source> 379 379 <translation></translation> 380 380 </message> 381 381 <message> 382 <location filename="../ui/mainwindow.ui" line="40 3"/>382 <location filename="../ui/mainwindow.ui" line="406"/> 383 383 <source>&Preferences...</source> 384 384 <translation>&Параметри...</translation> 385 385 </message> 386 386 <message> 387 <location filename="../ui/mainwindow.ui" line="40 6"/>387 <location filename="../ui/mainwindow.ui" line="409"/> 388 388 <source>Application preferences</source> 389 389 <translation>Параметри додатку</translation> 390 390 </message> 391 391 <message> 392 <location filename="../ui/mainwindow.ui" line="4 18"/>392 <location filename="../ui/mainwindow.ui" line="421"/> 393 393 <source>&Contents</source> 394 394 <translation>&Зміст</translation> 395 395 </message> 396 396 <message> 397 <location filename="../ui/mainwindow.ui" line="42 1"/>397 <location filename="../ui/mainwindow.ui" line="424"/> 398 398 <source>Open help contents</source> 399 399 <translation>Відкрити зміст допомоги</translation> 400 400 </message> 401 401 <message> 402 <location filename="../ui/mainwindow.ui" line="42 4"/>402 <location filename="../ui/mainwindow.ui" line="427"/> 403 403 <source>Ctrl+F1</source> 404 404 <translation></translation> 405 405 </message> 406 406 <message> 407 <location filename="../ui/mainwindow.ui" line="4 39"/>407 <location filename="../ui/mainwindow.ui" line="442"/> 408 408 <source>Open context help</source> 409 409 <translation>Відкрити контекстну допомогу</translation> 410 410 </message> 411 411 <message> 412 <location filename="../ui/mainwindow.ui" line="44 2"/>412 <location filename="../ui/mainwindow.ui" line="445"/> 413 413 <source>F1</source> 414 414 <translation></translation> 415 415 </message> 416 416 <message> 417 <location filename="../ui/mainwindow.ui" line="45 4"/>417 <location filename="../ui/mainwindow.ui" line="457"/> 418 418 <source>About application</source> 419 419 <translation>Про додаток</translation> 420 420 </message> 421 421 <message> 422 <location filename="../ui/mainwindow.ui" line="46 3"/>422 <location filename="../ui/mainwindow.ui" line="466"/> 423 423 <source>E&xit</source> 424 424 <translation>В&ихід</translation> 425 425 </message> 426 426 <message> 427 <location filename="../ui/mainwindow.ui" line="46 6"/>427 <location filename="../ui/mainwindow.ui" line="469"/> 428 428 <source>Exit application</source> 429 429 <translation>Вийти з додатку</translation> 430 430 </message> 431 431 <message> 432 <location filename="../ui/mainwindow.ui" line="47 1"/>432 <location filename="../ui/mainwindow.ui" line="474"/> 433 433 <source>&Task...</source> 434 434 <translation>&Умову...</translation> 435 435 </message> 436 436 <message> 437 <location filename="../ui/mainwindow.ui" line="47 4"/>438 <location filename="../ui/mainwindow.ui" line="52 0"/>437 <location filename="../ui/mainwindow.ui" line="477"/> 438 <location filename="../ui/mainwindow.ui" line="523"/> 439 439 <source>Save task</source> 440 440 <translation>Зберегти умову</translation> 441 441 </message> 442 442 <message> 443 <location filename="../ui/mainwindow.ui" line="4 77"/>443 <location filename="../ui/mainwindow.ui" line="480"/> 444 444 <source>Save task to file</source> 445 445 <translation>Зберегти умову задачі у файл</translation> 446 446 </message> 447 447 <message> 448 <location filename="../ui/mainwindow.ui" line="4 88"/>448 <location filename="../ui/mainwindow.ui" line="491"/> 449 449 <source>&Autodetect</source> 450 450 <translation>&Автовизначення</translation> 451 451 </message> 452 452 <message> 453 <location filename="../ui/mainwindow.ui" line="52 3"/>453 <location filename="../ui/mainwindow.ui" line="526"/> 454 454 <source>Save current task</source> 455 455 <translation>Зберегти поточну умову</translation> 456 456 </message> 457 457 <message> 458 <location filename="../ui/mainwindow.ui" line="53 5"/>458 <location filename="../ui/mainwindow.ui" line="538"/> 459 459 <source>About &Qt...</source> 460 460 <translation>Про &Qt...</translation> 461 461 </message> 462 462 <message> 463 <location filename="../ui/mainwindow.ui" line="5 38"/>463 <location filename="../ui/mainwindow.ui" line="541"/> 464 464 <source>About Qt library</source> 465 465 <translation>Про бібліотеку Qt</translation> … … 473 473 <message> 474 474 <location filename="../ui/mainwindow.ui" line="15"/> 475 <location filename="../src/mainwindow.cpp" line="9 23"/>475 <location filename="../src/mainwindow.cpp" line="994"/> 476 476 <source>Travelling Salesman Problem</source> 477 477 <translation>Задача комівояжера</translation> 478 478 </message> 479 479 <message> 480 <location filename="../src/mainwindow.cpp" line="8 04"/>480 <location filename="../src/mainwindow.cpp" line="875"/> 481 481 <source>Unsaved Changes</source> 482 482 <translation>Незбережені зміни</translation> … … 490 490 <location filename="../src/mainwindow.cpp" line="137"/> 491 491 <location filename="../src/mainwindow.cpp" line="201"/> 492 <location filename="../src/mainwindow.cpp" line="9 00"/>492 <location filename="../src/mainwindow.cpp" line="971"/> 493 493 <source>All Files</source> 494 494 <translation>Усі файли</translation> … … 501 501 </message> 502 502 <message> 503 <location filename="../src/mainwindow.cpp" line=" 790"/>504 <location filename="../src/mainwindow.cpp" line=" 792"/>503 <location filename="../src/mainwindow.cpp" line="861"/> 504 <location filename="../src/mainwindow.cpp" line="863"/> 505 505 <source>Language Change</source> 506 506 <translation>Зміна мови</translation> … … 522 522 </message> 523 523 <message> 524 <location filename="../src/mainwindow.cpp" line="5 36"/>524 <location filename="../src/mainwindow.cpp" line="565"/> 525 525 <source>Selected candidate for branching: %1.</source> 526 526 <translation>Обраний кандидат на розгалудження: %1.</translation> 527 527 </message> 528 528 <message> 529 <location filename="../src/mainwindow.cpp" line="5 36"/>530 <location filename="../src/mainwindow.cpp" line="5 43"/>529 <location filename="../src/mainwindow.cpp" line="565"/> 530 <location filename="../src/mainwindow.cpp" line="572"/> 531 531 <source>(%1;%2)</source> 532 532 <translation></translation> 533 533 </message> 534 534 <message numerus="yes"> 535 <location filename="../src/mainwindow.cpp" line="5 45"/>535 <location filename="../src/mainwindow.cpp" line="575"/> 536 536 <source>%n alternate candidate(s) for branching: %1.</source> 537 537 <translation> … … 542 542 </message> 543 543 <message numerus="yes"> 544 <location filename="../src/mainwindow.cpp" line=" 566"/>544 <location filename="../src/mainwindow.cpp" line="604"/> 545 545 <source>The price is <b>%n</b> unit(s).</source> 546 546 <translation> … … 551 551 </message> 552 552 <message> 553 <location filename="../src/mainwindow.cpp" line=" 890"/>554 <location filename="../src/mainwindow.cpp" line=" 893"/>553 <location filename="../src/mainwindow.cpp" line="961"/> 554 <location filename="../src/mainwindow.cpp" line="964"/> 555 555 <source>Check for %1 updates</source> 556 556 <translation>Перевірити оновлення %1</translation> 557 557 </message> 558 558 <message> 559 <location filename="../src/mainwindow.cpp" line=" 899"/>559 <location filename="../src/mainwindow.cpp" line="970"/> 560 560 <source>%1 Task File</source> 561 561 <translation>Файл умови %1</translation> … … 677 677 </message> 678 678 <message> 679 <location filename="../src/mainwindow.cpp" line="516"/> 679 <location filename="../src/mainwindow.cpp" line="523"/> 680 <location filename="../src/mainwindow.cpp" line="536"/> 681 <source>Solution of Variant #%1 Task</source> 682 <translation>Розв'язок варіанту №%1</translation> 683 </message> 684 <message> 685 <location filename="../src/mainwindow.cpp" line="530"/> 680 686 <source>Variant #%1</source> 681 687 <translation>Варіант №%1</translation> 682 688 </message> 683 689 <message> 684 <location filename="../src/mainwindow.cpp" line="5 17"/>690 <location filename="../src/mainwindow.cpp" line="532"/> 685 691 <source>Task:</source> 686 692 <translation>Умова:</translation> 687 </message>688 <message>689 <location filename="../src/mainwindow.cpp" line="515"/>690 <location filename="../src/mainwindow.cpp" line="519"/>691 <source>Solution of Variant #%1 task</source>692 <translation>Розв'язок варіанту №%1</translation>693 693 </message> 694 694 <message> … … 733 733 </message> 734 734 <message> 735 <location filename="../src/mainwindow.cpp" line="5 22"/>735 <location filename="../src/mainwindow.cpp" line="541"/> 736 736 <source>Generating step %v</source> 737 737 <translation>Генерація шагу %v</translation> 738 738 </message> 739 739 <message> 740 <location filename="../src/mainwindow.cpp" line="5 32"/>740 <location filename="../src/mainwindow.cpp" line="560"/> 741 741 <source>Step #%1</source> 742 742 <translation>Крок №%1</translation> 743 743 </message> 744 744 <message> 745 <location filename="../src/mainwindow.cpp" line="5 57"/>745 <location filename="../src/mainwindow.cpp" line="589"/> 746 746 <source>Generating footer</source> 747 747 <translation>Генерація закінчення</translation> 748 748 </message> 749 749 <message> 750 <location filename="../src/mainwindow.cpp" line="5 61"/>750 <location filename="../src/mainwindow.cpp" line="595"/> 751 751 <source>Optimal path:</source> 752 752 <translation>Оптимальний шлях:</translation> 753 753 </message> 754 754 <message> 755 <location filename="../src/mainwindow.cpp" line="5 63"/>755 <location filename="../src/mainwindow.cpp" line="597"/> 756 756 <source>Resulting path:</source> 757 757 <translation>Знайдений шлях:</translation> 758 758 </message> 759 759 <message> 760 <location filename="../src/mainwindow.cpp" line=" 568"/>760 <location filename="../src/mainwindow.cpp" line="606"/> 761 761 <source>The price is <b>%1</b> units.</source> 762 762 <translation>Вартість - <b>%1</b> одиниць.</translation> 763 763 </message> 764 764 <message> 765 <location filename="../src/mainwindow.cpp" line=" 571"/>765 <location filename="../src/mainwindow.cpp" line="611"/> 766 766 <source><b>WARNING!!!</b><br>This result is a record, but it may not be optimal.<br>Iterations need to be continued to check whether this result is optimal or get an optimal one.</source> 767 767 <translation><b>Увага!!!</b><br>Знайдений розв'язок є рекордом, але може бути неоптимальним.<br>Для отримання оптимального розв'язку, або перевірки поточного на оптимальність, потрібно продовжити ітерації.</translation> 768 768 </message> 769 769 <message> 770 <location filename="../src/mainwindow.cpp" line="580"/> 770 <location filename="../src/mainwindow.cpp" line="544"/> 771 <location filename="../src/mainwindow.cpp" line="624"/> 771 772 <source>Cleaning up...</source> 772 773 <translation>Очищення...</translation> 773 774 </message> 774 775 <message> 775 <location filename="../src/mainwindow.cpp" line=" 790"/>776 <location filename="../src/mainwindow.cpp" line=" 792"/>776 <location filename="../src/mainwindow.cpp" line="861"/> 777 <location filename="../src/mainwindow.cpp" line="863"/> 777 778 <source>Unable to load the translation language. 778 779 Falling back to autodetection.</source> … … 781 782 </message> 782 783 <message> 783 <location filename="../src/mainwindow.cpp" line="8 04"/>784 <location filename="../src/mainwindow.cpp" line="875"/> 784 785 <source>Would you like to save changes in the current task?</source> 785 786 <translation>Бажаете зберегти зміни у поточній задачі?</translation> 786 787 </message> 787 788 <message> 788 <location filename="../src/mainwindow.cpp" line=" 867"/>789 <location filename="../src/mainwindow.cpp" line="938"/> 789 790 <source>Set application language to %1</source> 790 791 <translation>Змінити мову додатку на %1</translation> 791 792 </message> 792 793 <message> 793 <location filename="../src/mainwindow.cpp" line=" 888"/>794 <location filename="../src/mainwindow.cpp" line="959"/> 794 795 <source>Check for &Updates...</source> 795 796 <translation>Перевірити &оновлення...</translation> 796 797 </message> 797 798 <message> 798 <location filename="../src/mainwindow.cpp" line="9 08"/>799 <location filename="../src/mainwindow.cpp" line="979"/> 799 800 <source>Task Save</source> 800 801 <translation>Збереження умови</translation> … … 818 819 <location filename="../src/mainwindow.cpp" line="179"/> 819 820 <location filename="../src/mainwindow.cpp" line="297"/> 820 <location filename="../src/mainwindow.h" line="1 13"/>821 <location filename="../src/mainwindow.h" line="122"/> 821 822 <source>Untitled</source> 822 823 <translation>Без імені</translation> … … 826 827 <name>SettingsDialog</name> 827 828 <message> 828 <location filename="../src/settingsdialog.cpp" line=" 83"/>829 <location filename="../src/settingsdialog.cpp" line="91"/> 829 830 <source>Use translucent effect on the Main Window under Windows Vista and 7</source> 830 831 <translation>Використовувати ефект полупрозорості для головного вікна у Windows Vista та Windows 7</translation> 831 832 </message> 832 833 <message> 833 <location filename="../src/settingsdialog.cpp" line=" 85"/>834 <location filename="../src/settingsdialog.cpp" line="93"/> 834 835 <source>Use translucency effects</source> 835 836 <translation>Використовувати ефекти напівпрозорості</translation> 836 837 </message> 837 838 <message> 838 <location filename="../src/settingsdialog.cpp" line=" 93"/>839 <location filename="../src/settingsdialog.cpp" line="101"/> 839 840 <source>Restore main window state and position on application restart</source> 840 841 <translation>Відновлювати стан та розмір головного вікна після перезапуску</translation> 841 842 </message> 842 843 <message> 843 <location filename="../src/settingsdialog.cpp" line=" 95"/>844 <location filename="../src/settingsdialog.cpp" line="103"/> 844 845 <source>Save main window state and position</source> 845 846 <translation>Зберігати стан та розміщення головного вікна</translation> 846 847 </message> 847 848 <message> 848 <location filename="../src/settingsdialog.cpp" line="1 17"/>849 <location filename="../src/settingsdialog.cpp" line="125"/> 849 850 <source>Hover mouse pointer over dialog elements to get additional help</source> 850 851 <translation>Наведіть покажчик миші на елемент ділогу, щоб отримати підказку</translation> 851 852 </message> 852 853 <message> 853 <location filename="../src/settingsdialog.cpp" line="2 39"/>854 <location filename="../src/settingsdialog.cpp" line="2 45"/>854 <location filename="../src/settingsdialog.cpp" line="247"/> 855 <location filename="../src/settingsdialog.cpp" line="253"/> 855 856 <source>Settings Reset</source> 856 857 <translation>Скидання налагоджень</translation> 857 858 </message> 858 859 <message> 859 <location filename="../src/settingsdialog.cpp" line="2 39"/>860 <location filename="../src/settingsdialog.cpp" line="247"/> 860 861 <source>Do you really want to <b>reset all application settings to their defaults</b>?</source> 861 862 <translation>Ви дісно хочете <b>скинути усі налаштування на значення по-замовчуванню</b>?</translation> 862 863 </message> 863 864 <message> 864 <location filename="../src/settingsdialog.cpp" line="2 45"/>865 <location filename="../src/settingsdialog.cpp" line="253"/> 865 866 <source>All settings where successfully reset to their defaults. 866 867 It is recommended to restart the application now.</source> … … 874 875 </message> 875 876 <message> 876 <location filename="../ui/settingsdialog.ui" line=" 226"/>877 <location filename="../ui/settingsdialog.ui" line="152"/> 877 878 <source>Task</source> 878 879 <translation>Задача</translation> 879 880 </message> 880 881 <message> 881 <location filename="../ui/settingsdialog.ui" line=" 229"/>882 <location filename="../ui/settingsdialog.ui" line="155"/> 882 883 <source>Task generation and solving settings</source> 883 884 <translation>Налаштування генерації та розв'язку задач</translation> 884 885 </message> 885 886 <message> 886 <location filename="../ui/settingsdialog.ui" line=" 240"/>887 <location filename="../ui/settingsdialog.ui" line="166"/> 887 888 <source>Fractional accuracy:</source> 888 889 <translation>Точність дробових чисел:</translation> 889 890 </message> 890 891 <message> 891 <location filename="../ui/settingsdialog.ui" line=" 250"/>892 <location filename="../ui/settingsdialog.ui" line="176"/> 892 893 <source>Accuracy of the fractional values (in decimal places)</source> 893 894 <translation>Точність дробових чисел (у знаках після коми)</translation> 894 895 </message> 895 896 <message> 896 <location filename="../ui/settingsdialog.ui" line="2 99"/>897 <location filename="../ui/settingsdialog.ui" line="225"/> 897 898 <source>Minimum for random number generation</source> 898 899 <translation>Нажня межа для генерації випадкових значень</translation> 899 900 </message> 900 901 <message> 901 <location filename="../ui/settingsdialog.ui" line=" 319"/>902 <location filename="../ui/settingsdialog.ui" line="245"/> 902 903 <source>Maximum for random number generation</source> 903 904 <translation>Верхня межа для генерації випадкових значень</translation> 904 905 </message> 905 906 <message> 906 <location filename="../ui/settingsdialog.ui" line=" 331"/>907 <location filename="../ui/settingsdialog.ui" line="257"/> 907 908 <source>Generate fractional random values with the Fractional accuracy</source> 908 909 <translation>Генерувати дробові випадкові числа з вказаною вище точністю</translation> 909 910 </message> 910 911 <message> 911 <location filename="../ui/settingsdialog.ui" line=" 457"/>912 <location filename="../ui/settingsdialog.ui" line="383"/> 912 913 <source>Output font settings</source> 913 914 <translation>Параметри шрифта</translation> 914 915 </message> 915 916 <message> 916 <location filename="../ui/settingsdialog.ui" line="4 86"/>917 <location filename="../ui/settingsdialog.ui" line="412"/> 917 918 <source>&Color...</source> 918 919 <translation>&Колір...</translation> 919 920 </message> 920 921 <message> 921 <location filename="../ui/settingsdialog.ui" line="1 89"/>922 <location filename="../ui/settingsdialog.ui" line="115"/> 922 923 <source>Automatically resize rows and columns to their contents</source> 923 924 <translation>Автоматично підганяти розмір рядків під їх зміст</translation> 924 925 </message> 925 926 <message> 926 <location filename="../ui/settingsdialog.ui" line="1 77"/>927 <location filename="../ui/settingsdialog.ui" line="103"/> 927 928 <source>General</source> 928 929 <translation>Загальні</translation> 929 930 </message> 930 931 <message> 931 <location filename="../ui/settingsdialog.ui" line="1 80"/>932 <location filename="../ui/settingsdialog.ui" line="106"/> 932 933 <source>General TSPSG settings</source> 933 934 <translation>Загальні налаштування TSPSG</translation> 934 935 </message> 935 936 <message> 936 <location filename="../ui/settingsdialog.ui" line="1 92"/>937 <location filename="../ui/settingsdialog.ui" line="118"/> 937 938 <source>Autosize of rows and columns</source> 938 939 <translation>Авторозмір рядків та колонок</translation> 939 940 </message> 940 941 <message> 941 <location filename="../ui/settingsdialog.ui" line=" 202"/>942 <location filename="../ui/settingsdialog.ui" line="128"/> 942 943 <source>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</source> 943 944 <translation>Використовувати системні діалоги відкриття та збереження файлу</translation> 944 945 </message> 945 946 <message> 946 <location filename="../ui/settingsdialog.ui" line="2 75"/>947 <location filename="../ui/settingsdialog.ui" line="201"/> 947 948 <source>Task generation</source> 948 949 <translation>Генерація задач</translation> 949 950 </message> 950 951 <message> 951 <location filename="../ui/settingsdialog.ui" line=" 358"/>952 <location filename="../ui/settingsdialog.ui" line="284"/> 952 953 <source>Output</source> 953 954 <translation>Виведення</translation> 954 955 </message> 955 956 <message> 956 <location filename="../ui/settingsdialog.ui" line=" 361"/>957 <location filename="../ui/settingsdialog.ui" line="287"/> 957 958 <source>Solution output settings</source> 958 959 <translation>Налаштування тексту розв'язку</translation> 959 960 </message> 960 961 <message> 961 <location filename="../ui/settingsdialog.ui" line=" 370"/>962 <location filename="../ui/settingsdialog.ui" line="296"/> 962 963 <source>Show solution steps' matrices for every solution step</source> 963 964 <translation>Показувати матриці кроків розв'язку для кожного кроку</translation> 964 965 </message> 965 966 <message> 966 <location filename="../ui/settingsdialog.ui" line=" 373"/>967 <location filename="../ui/settingsdialog.ui" line="299"/> 967 968 <source>Show solution steps' matrices</source> 968 969 <translation>Показ матриць кроків розв'язку</translation> 969 970 </message> 970 971 <message> 971 <location filename="../ui/settingsdialog.ui" line=" 404"/>972 <location filename="../ui/settingsdialog.ui" line="330"/> 972 973 <source>Show or hide solution steps' matrices based on number of cities in the task</source> 973 974 <translation>Показувати матриці ходу розв'язку в залежності від кількості міст</translation> 974 975 </message> 975 976 <message> 976 <location filename="../ui/settingsdialog.ui" line=" 414"/>977 <location filename="../ui/settingsdialog.ui" line="340"/> 977 978 <source>Maximum number of cities to show solution steps' matrices</source> 978 979 <translation>Максимальна кількість міст для показу матриць кроків розв'язку</translation> 979 980 </message> 980 981 <message> 981 <location filename="../ui/settingsdialog.ui" line=" 466"/>982 <location filename="../ui/settingsdialog.ui" line="392"/> 982 983 <source>Font face for solution output</source> 983 984 <translation>Вигляд шрифта для виводу</translation> 984 985 </message> 985 986 <message> 986 <location filename="../ui/settingsdialog.ui" line="4 83"/>987 <location filename="../ui/settingsdialog.ui" line="409"/> 987 988 <source>Font color for solution output</source> 988 989 <translation>Колір шрифта для виводу</translation> 989 990 </message> 990 991 <message> 991 <location filename="../ui/settingsdialog.ui" line=" 334"/>992 <location filename="../ui/settingsdialog.ui" line="260"/> 992 993 <source>Fractional random values</source> 993 994 <translation>Дробові випадкові числа</translation> 994 995 </message> 995 996 <message> 996 <location filename="../ui/settingsdialog.ui" line=" 445"/>997 <location filename="../ui/settingsdialog.ui" line="371"/> 997 998 <source>Scroll to the end of solution output after solving</source> 998 999 <translation>Прокручувати в кінець виводу після закінчення розв'язку задачі</translation> 999 1000 </message> 1000 1001 <message> 1001 <location filename="../ui/settingsdialog.ui" line=" 448"/>1002 <location filename="../ui/settingsdialog.ui" line="374"/> 1002 1003 <source>Scroll to solution end</source> 1003 1004 <translation>Прокручувати в кінець розв'язку</translation> 1004 1005 </message> 1005 1006 <message> 1006 <location filename="../ui/settingsdialog.ui" line=" 205"/>1007 <location filename="../ui/settingsdialog.ui" line="131"/> 1007 1008 <source>Use native file dialogs</source> 1008 1009 <translation>Системні файлові діалоги</translation> 1009 1010 </message> 1010 1011 <message> 1011 <location filename="../ui/settingsdialog.ui" line=" 265"/>1012 <location filename="../ui/settingsdialog.ui" line="191"/> 1012 1013 <source>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</source> 1013 1014 <translation>У цьому режимі вартість переїзду з міста 1 у місто 2 та навпаки співпадає</translation> 1014 1015 </message> 1015 1016 <message> 1016 <location filename="../ui/settingsdialog.ui" line=" 268"/>1017 <location filename="../ui/settingsdialog.ui" line="194"/> 1017 1018 <source>Symmetric mode</source> 1018 1019 <translation>Симетричний режим</translation> 1019 1020 </message> 1020 1021 <message> 1021 <location filename="../ui/settingsdialog.ui" line="2 86"/>1022 <location filename="../ui/settingsdialog.ui" line="212"/> 1022 1023 <source>Minimal random:</source> 1023 1024 <translation>Мінімальне випадкове:</translation> 1024 1025 </message> 1025 1026 <message> 1026 <location filename="../ui/settingsdialog.ui" line=" 306"/>1027 <location filename="../ui/settingsdialog.ui" line="232"/> 1027 1028 <source>Maximal random:</source> 1028 1029 <translation>Максимальне випадкове:</translation> 1029 1030 </message> 1030 1031 <message> 1031 <location filename="../ui/settingsdialog.ui" line=" 407"/>1032 <location filename="../ui/settingsdialog.ui" line="333"/> 1032 1033 <source>Only when <=</source> 1033 1034 <translation>Лише коли ≤</translation> 1034 1035 </message> 1035 1036 <message> 1036 <location filename="../ui/settingsdialog.ui" line=" 417"/>1037 <location filename="../ui/settingsdialog.ui" line="343"/> 1037 1038 <source> cities</source> 1038 1039 <comment>Don't forget a space at the beginning!</comment> … … 1040 1041 </message> 1041 1042 <message> 1042 <location filename="../ui/settingsdialog.ui" line=" 469"/>1043 <location filename="../ui/settingsdialog.ui" line="395"/> 1043 1044 <source>&Font...</source> 1044 1045 <translation>&Шрифт...</translation> 1045 1046 </message> 1046 1047 <message> 1047 <location filename="../ui/settingsdialog.ui" line=" 103"/>1048 <location filename="../ui/settingsdialog.ui" line=" 109"/>1048 <location filename="../ui/settingsdialog.ui" line="66"/> 1049 <location filename="../ui/settingsdialog.ui" line="72"/> 1049 1050 <source>Help</source> 1050 1051 <translation>Допомога</translation> 1051 1052 </message> 1052 1053 <message> 1053 <location filename="../ui/settingsdialog.ui" line=" 106"/>1054 <location filename="../ui/settingsdialog.ui" line="69"/> 1054 1055 <source>Get preferences help</source> 1055 1056 <translation>Отримати допомогу по налагодженням</translation> -
src/defaults.h
ra23f4c292f r317ba0432e 91 91 #define DEF_FONT_SIZE 10 92 92 #endif // Q_OS_SYMBIAN 93 //! Default font color 94 #define DEF_FONT_COLOR Qt::black 93 //! Default text color 94 #define DEF_TEXT_COLOR QPalette().color(QPalette::Text) 95 //! Default selected candidate color 96 #define DEF_SELECTED_COLOR QColor(0x008000) 97 //! Default alternate candidate color 98 #define DEF_ALTERNATE_COLOR QColor(0xA00000) 95 99 96 100 #endif // DEFAULTS_H -
src/mainwindow.cpp
ra23f4c292f r317ba0432e 512 512 pd.setValue(0); 513 513 514 #ifdef DEBUG 515 QTime t; 516 t.start(); 517 #endif 514 518 solutionText->clear(); 515 solutionText->setDocumentTitle(tr("Solution of Variant #%1 task").arg(spinVariant->value())); 516 solutionText->append("<p>" + tr("Variant #%1").arg(spinVariant->value()) + "</p>"); 517 solutionText->append("<p>" + tr("Task:") + "</p>"); 518 solutionText->append(outputMatrix(matrix)); 519 solutionText->append("<hr><p>" + tr("Solution of Variant #%1 task").arg(spinVariant->value()) + "</p>"); 519 #ifdef DEBUG 520 qDebug() << "Clear:" << t.elapsed(); 521 t.restart(); 522 #endif 523 solutionText->setDocumentTitle(tr("Solution of Variant #%1 Task").arg(spinVariant->value())); 524 525 QTextDocument *doc = solutionText->document(); 526 QTextCursor cur(doc); 527 528 cur.beginEditBlock(); 529 cur.setBlockFormat(fmt_paragraph); 530 cur.insertText(tr("Variant #%1").arg(spinVariant->value()), fmt_default); 531 cur.insertBlock(fmt_paragraph); 532 cur.insertText(tr("Task:")); 533 outputMatrix(cur, matrix); 534 cur.insertHtml("<hr>"); 535 cur.insertBlock(fmt_paragraph); 536 cur.insertText(tr("Solution of Variant #%1 Task").arg(spinVariant->value()), fmt_default); 537 cur.endEditBlock(); 538 520 539 SStep *step = root; 521 540 n = 1; … … 523 542 while (n < spinCities->value()) { 524 543 if (pd.wasCanceled()) { 544 pd.setLabelText(tr("Cleaning up...")); 545 pd.setMaximum(0); 546 pd.setCancelButton(NULL); 547 pd.show(); 548 QApplication::processEvents(QEventLoop::ExcludeUserInputEvents); 549 solver.cleanup(true); 525 550 solutionText->clear(); 551 toggleSolutionActions(false); 526 552 return; 527 553 } … … 530 556 if (step->prNode->prNode != NULL || ((step->prNode->prNode == NULL) && (step->plNode->prNode == NULL))) { 531 557 if (n != spinCities->value()) { 532 solutionText->append("<p>" + tr("Step #%1").arg(n++) + "</p>"); 558 cur.beginEditBlock(); 559 cur.insertBlock(fmt_paragraph); 560 cur.insertText(tr("Step #%1").arg(n++)); 533 561 if (settings->value("Output/ShowMatrix", DEF_SHOW_MATRIX).toBool() && (!settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() || (settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() && (spinCities->value() <= settings->value("Output/ShowMatrixLimit", DEF_SHOW_MATRIX_LIMIT).toInt())))) { 534 solutionText->append(outputMatrix(*step));562 outputMatrix(cur, *step); 535 563 } 536 solutionText->append("<p>" + tr("Selected candidate for branching: %1.").arg(tr("(%1;%2)").arg(step->candidate.nRow + 1).arg(step->candidate.nCol + 1)) + "</p>"); 564 cur.insertBlock(fmt_paragraph); 565 cur.insertText(tr("Selected candidate for branching: %1.").arg(tr("(%1;%2)").arg(step->candidate.nRow + 1).arg(step->candidate.nCol + 1)), fmt_default); 537 566 if (!step->alts.empty()) { 538 567 SCandidate cand; … … 543 572 alts += tr("(%1;%2)").arg(cand.nRow + 1).arg(cand.nCol + 1); 544 573 } 545 solutionText->append("<p class=\"hasalts\">" + tr("%n alternate candidate(s) for branching: %1.","",step->alts.count()).arg(alts) + "</p>"); 574 cur.insertBlock(fmt_paragraph); 575 cur.insertText(tr("%n alternate candidate(s) for branching: %1.", "", step->alts.count()).arg(alts), fmt_altlist); 546 576 } 547 solutionText->append("<p> </p>"); 577 cur.insertBlock(fmt_paragraph); 578 cur.insertText(" ", fmt_default); 579 cur.endEditBlock(); 548 580 } 549 581 } … … 558 590 pd.setValue(n); 559 591 592 cur.beginEditBlock(); 593 cur.insertBlock(fmt_paragraph); 560 594 if (solver.isOptimal()) 561 solutionText->append("<p>" + tr("Optimal path:") + "</p>");595 cur.insertText(tr("Optimal path:")); 562 596 else 563 solutionText->append("<p>" + tr("Resulting path:") + "</p>"); 564 solutionText->append("<p> " + solver.getSortedPath() + "</p>"); 597 cur.insertText(tr("Resulting path:")); 598 599 cur.insertBlock(fmt_paragraph); 600 cur.insertText(" " + solver.getSortedPath()); 601 602 cur.insertBlock(fmt_paragraph); 565 603 if (isInteger(step->price)) 566 solutionText->append("<p>" + tr("The price is <b>%n</b> unit(s).", "", qRound(step->price)) + "</p>");604 cur.insertHtml("<p>" + tr("The price is <b>%n</b> unit(s).", "", qRound(step->price)) + "</p>"); 567 605 else 568 solutionText->append("<p>" + tr("The price is <b>%1</b> units.").arg(step->price, 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()) + "</p>");606 cur.insertHtml("<p>" + tr("The price is <b>%1</b> units.").arg(step->price, 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()) + "</p>"); 569 607 if (!solver.isOptimal()) { 570 solutionText->append("<p> </p>"); 571 solutionText->append("<p>" + tr("<b>WARNING!!!</b><br>This result is a record, but it may not be optimal.<br>Iterations need to be continued to check whether this result is optimal or get an optimal one.") + "</p>"); 572 } 608 cur.insertBlock(fmt_paragraph); 609 cur.insertText(" "); 610 cur.insertBlock(fmt_paragraph); 611 cur.insertHtml("<p>" + tr("<b>WARNING!!!</b><br>This result is a record, but it may not be optimal.<br>Iterations need to be continued to check whether this result is optimal or get an optimal one.") + "</p>"); 612 } 613 cur.endEditBlock(); 614 #ifdef DEBUG 615 qDebug() << "Generate:" << t.elapsed(); 616 #endif 573 617 574 618 if (settings->value("Output/ScrollToEnd", DEF_SCROLL_TO_END).toBool()) { 575 // Scrolling to the end of t ext.619 // Scrolling to the end of the text. 576 620 solutionText->moveCursor(QTextCursor::End); 577 621 } else … … 701 745 void MainWindow::initDocStyleSheet() 702 746 { 703 QColor color = settings->value("Output/Color",DEF_FONT_COLOR).value<QColor>(); 747 solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>()); 748 749 fmt_paragraph.setTopMargin(0); 750 fmt_paragraph.setRightMargin(10); 751 fmt_paragraph.setBottomMargin(0); 752 fmt_paragraph.setLeftMargin(10); 753 754 fmt_table.setTopMargin(5); 755 fmt_table.setRightMargin(10); 756 fmt_table.setBottomMargin(5); 757 fmt_table.setLeftMargin(10); 758 fmt_table.setBorder(0); 759 fmt_table.setBorderStyle(QTextFrameFormat::BorderStyle_None); 760 fmt_table.setCellSpacing(5); 761 762 fmt_center.setAlignment(Qt::AlignHCenter); 763 764 QColor color = settings->value("Output/Colors/Text", DEF_TEXT_COLOR).value<QColor>(); 704 765 QColor hilight; 705 766 if (color.value() < 192) 706 hilight.setHsv(color.hue(), color.saturation(),127 + qRound(color.value() / 2));767 hilight.setHsv(color.hue(), color.saturation(), 127 + qRound(color.value() / 2)); 707 768 else 708 hilight.setHsv(color.hue(),color.saturation(),color.value() / 2); 709 solutionText->document()->setDefaultStyleSheet("* {color: " + color.name() +";} p {margin: 0px 10px;} table {margin: 5px;} td {padding: 1px 5px;} .hasalts {color: " + hilight.name() + ";} .selected {color: #A00000; font-weight: bold;} .alternate {color: #008000; font-weight: bold;}"); 710 solutionText->document()->setDefaultFont(settings->value("Output/Font",QFont(DEF_FONT_FAMILY,DEF_FONT_SIZE)).value<QFont>()); 769 hilight.setHsv(color.hue(), color.saturation(), color.value() / 2); 770 771 solutionText->document()->setDefaultStyleSheet(QString("* {color: %1;}").arg(color.name())); 772 fmt_default.setForeground(QBrush(color)); 773 774 fmt_selected.setForeground(QBrush(settings->value("Output/Colors/Selected", DEF_SELECTED_COLOR).value<QColor>())); 775 fmt_selected.setFontWeight(QFont::Bold); 776 777 fmt_alternate.setForeground(QBrush(settings->value("Output/Colors/Alternate", DEF_ALTERNATE_COLOR).value<QColor>())); 778 fmt_alternate.setFontWeight(QFont::Bold); 779 fmt_altlist.setForeground(QBrush(hilight)); 780 781 solutionText->setTextColor(color); 711 782 } 712 783 … … 811 882 } 812 883 813 QString MainWindow::outputMatrix(const TMatrix &matrix) const 884 void MainWindow::outputMatrix(QTextCursor &cur, const TMatrix &matrix) 814 885 { 815 886 int n = spinCities->value(); 816 Q String output(""), line;817 output.append("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"); 887 QTextTable *table = cur.insertTable(n, n, fmt_table); 888 818 889 for (int r = 0; r < n; r++) { 819 line = "<tr>";820 890 for (int c = 0; c < n; c++) { 891 cur = table->cellAt(r, c).firstCursorPosition(); 892 cur.setBlockFormat(fmt_center); 893 cur.setBlockCharFormat(fmt_default); 821 894 if (matrix.at(r).at(c) == INFINITY) 822 line += "<td align=\"center\">"INFSTR"</td>";895 cur.insertText(INFSTR); 823 896 else 824 line += isInteger(matrix.at(r).at(c)) ? QString("<td align=\"center\">%1</td>").arg(matrix.at(r).at(c)) : QString("<td align=\"center\">%1</td>").arg(matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()); 825 } 826 line += "</tr>"; 827 output.append(line); 828 } 829 output.append("</table>"); 830 return output; 831 } 832 833 QString MainWindow::outputMatrix(const SStep &step) const 897 cur.insertText(isInteger(matrix.at(r).at(c)) ? QString("%1").arg(matrix.at(r).at(c)) : QString("%1").arg(matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt())); 898 } 899 QApplication::processEvents(); 900 } 901 cur.movePosition(QTextCursor::End); 902 } 903 904 void MainWindow::outputMatrix(QTextCursor &cur, const SStep &step) 834 905 { 835 906 int n = spinCities->value(); 836 Q String output(""), line;837 output.append("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"); 907 QTextTable *table = cur.insertTable(n, n, fmt_table); 908 838 909 for (int r = 0; r < n; r++) { 839 line = "<tr>";840 910 for (int c = 0; c < n; c++) { 911 cur = table->cellAt(r, c).firstCursorPosition(); 912 cur.setBlockFormat(fmt_center); 841 913 if (step.matrix.at(r).at(c) == INFINITY) 842 line += "<td align=\"center\">"INFSTR"</td>";914 cur.insertText(INFSTR, fmt_default); 843 915 else if ((r == step.candidate.nRow) && (c == step.candidate.nCol)) 844 line += isInteger(step.matrix.at(r).at(c)) ? QString("<td align=\"center\" class=\"selected\">%1</td>").arg(step.matrix.at(r).at(c)) : QString("<td align=\"center\" class=\"selected\">%1</td>").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt());916 cur.insertText(isInteger(step.matrix.at(r).at(c)) ? QString("%1").arg(step.matrix.at(r).at(c)) : QString("%1").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()), fmt_selected); 845 917 else { 846 918 SCandidate cand; … … 848 920 cand.nCol = c; 849 921 if (step.alts.contains(cand)) 850 line += isInteger(step.matrix.at(r).at(c)) ? QString("<td align=\"center\" class=\"alternate\">%1</td>").arg(step.matrix.at(r).at(c)) : QString("<td align=\"center\" class=\"alternate\">%1</td>").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt());922 cur.insertText(isInteger(step.matrix.at(r).at(c)) ? QString("%1").arg(step.matrix.at(r).at(c)) : QString("%1").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()), fmt_alternate); 851 923 else 852 line += isInteger(step.matrix.at(r).at(c)) ? QString("<td align=\"center\">%1</td>").arg(step.matrix.at(r).at(c)) : QString("<td align=\"center\">%1</td>").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt());924 cur.insertText(isInteger(step.matrix.at(r).at(c)) ? QString("%1").arg(step.matrix.at(r).at(c)) : QString("%1").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()), fmt_default); 853 925 } 854 926 } 855 line += "</tr>"; 856 output.append(line); 857 } 858 output.append("</table>"); 859 return output; 927 QApplication::processEvents(); 928 } 929 930 cur.movePosition(QTextCursor::End); 860 931 } 861 932 … … 958 1029 #endif // Q_OS_WINCE_WM 959 1030 960 solutionText->document()->setDefaultFont(settings->value("Output/Font",QFont(DEF_FONT_FAMILY,DEF_FONT_SIZE)).value<QFont>()); 961 solutionText->setTextColor(settings->value("Output/Color",DEF_FONT_COLOR).value<QColor>()); 1031 solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>()); 962 1032 solutionText->setWordWrapMode(QTextOption::WordWrap); 963 1033 -
src/mainwindow.h
ra23f4c292f r317ba0432e 101 101 #endif // Q_OS_WINCE_WM 102 102 103 // Formats 104 QTextTableFormat fmt_table; 105 QTextBlockFormat fmt_paragraph, 106 fmt_center; 107 QTextCharFormat fmt_default, 108 fmt_selected, 109 fmt_alternate, 110 fmt_altlist; 111 103 112 void closeEvent(QCloseEvent *ev); 104 113 bool hasUpdater() const; … … 107 116 bool loadLanguage(const QString &lang = QString()); 108 117 bool maybeSave(); 109 QString outputMatrix(const TMatrix &matrix) const;110 QString outputMatrix(const SStep &step) const;118 void outputMatrix(QTextCursor &cur, const TMatrix &matrix); 119 void outputMatrix(QTextCursor &cur, const SStep &step); 111 120 void retranslateUi(bool all = true); 112 121 bool saveTask(); -
src/settingsdialog.cpp
ra23f4c292f r317ba0432e 41 41 buttonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Close without saving preferences")); 42 42 buttonBox->button(QDialogButtonBox::Cancel)->setCursor(QCursor(Qt::PointingHandCursor)); 43 44 QPalette p = bgWhite->palette(); 45 p.setColor(QPalette::Window, p.color(QPalette::Base)); 46 bgWhite->setPalette(p); 47 48 p = lineHorizontal->palette(); 49 p.setColor(QPalette::Window, p.color(QPalette::Text)); 50 lineHorizontal->setPalette(p); 43 51 44 52 #ifdef HANDHELD … … 195 203 196 204 font = settings->value("Font",QFont(DEF_FONT_FAMILY,DEF_FONT_SIZE)).value<QFont>(); 197 color = settings->value("Color ",DEF_FONT_COLOR).value<QColor>();205 color = settings->value("Colors/Text", DEF_TEXT_COLOR).value<QColor>(); 198 206 settings->endGroup(); 199 207 … … 239 247 if (QMessageBox::question(this, tr("Settings Reset"), tr("Do you really want to <b>reset all application settings to their defaults</b>?"), QMessageBox::RestoreDefaults | QMessageBox::Cancel) == QMessageBox::RestoreDefaults) { 240 248 _newFont = (font != QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)); 241 _newColor = (color != DEF_ FONT_COLOR);249 _newColor = (color != DEF_TEXT_COLOR); 242 250 settings->remove(""); 243 251 settings->setValue("SettingsReset", true); … … 280 288 settings->setValue("Font", font); 281 289 if (_newColor) 282 settings->setValue("Color ", color);290 settings->setValue("Colors/Text", color); 283 291 settings->endGroup(); 284 292 QDialog::accept(); -
tspsg.pro
ra23f4c292f r317ba0432e 18 18 BUILD_VERSION_MAJOR = 0 19 19 BUILD_VERSION_MINOR = 1 20 BUILD_RELEASE = 220 BUILD_RELEASE = 3 21 21 22 22 # These are only defined on releases 23 DEFINES += TSPSG_RELEASE_BUILD24 !symbian {25 26 } else {27 28 29 }23 #DEFINES += TSPSG_RELEASE_BUILD 24 #!symbian { 25 # DEFINES += BUILD_STATUS="\"(alpha 2)\"" 26 #} else { 27 # # Symbian doesn't handle spaces in defines well 28 # DEFINES += BUILD_STATUS="(alpha2)" 29 #} 30 30 31 #REVISION = $$system(svnversion)32 #REVISION = $$replace(REVISION,"M","")33 REVISION = 10031 #REVISION = 100 32 REVISION = $$system(svnversion) 33 REVISION = $$replace(REVISION,"M","") 34 34 VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION) 35 35 … … 62 62 DESTDIR = debug 63 63 DEFINES += DEBUG 64 # CONFIG += console 64 65 D = d 65 66 } … … 78 79 l10n.files = l10n/*.qm 79 80 #share.files = 80 docs.files = COPYING README 81 docs.files = COPYING README.txt 81 82 INSTALLS += target l10n share docs 82 83 … … 156 157 docs.sources = $$docs.files 157 158 docs.pkg_prerules = \ 158 "\"README \" - \"\", FILETEXT, TEXTCONTINUE" \159 "\"README.txt\" - \"\", FILETEXT, TEXTCONTINUE" \ 159 160 "\"COPYING\" - \"\", FILETEXT, TEXTEXIT" 160 161 DEPLOYMENT += share l10n docs -
ui/mainwindow.ui
ra23f4c292f r317ba0432e 182 182 <property name="statusTip"> 183 183 <string>Solution steps</string> 184 </property> 185 <property name="undoRedoEnabled"> 186 <bool>false</bool> 184 187 </property> 185 188 <property name="readOnly"> -
ui/settingsdialog.ui
ra23f4c292f r317ba0432e 9 9 <property name="windowIcon"> 10 10 <iconset resource="../resources/tspsg.qrc"> 11 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 14 <property name="sizePolicy"> 15 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 16 <horstretch>0</horstretch> 17 <verstretch>0</verstretch> 18 </sizepolicy> 19 </property> 20 <property name="palette"> 21 <palette> 22 <active> 23 <colorrole role="Window"> 24 <brush brushstyle="SolidPattern"> 25 <color alpha="255"> 26 <red>240</red> 27 <green>240</green> 28 <blue>240</blue> 29 </color> 30 </brush> 31 </colorrole> 32 </active> 33 <inactive> 34 <colorrole role="Window"> 35 <brush brushstyle="SolidPattern"> 36 <color alpha="255"> 37 <red>240</red> 38 <green>240</green> 39 <blue>240</blue> 40 </color> 41 </brush> 42 </colorrole> 43 </inactive> 44 <disabled> 45 <colorrole role="Window"> 46 <brush brushstyle="SolidPattern"> 47 <color alpha="255"> 48 <red>240</red> 49 <green>240</green> 50 <blue>240</blue> 51 </color> 52 </brush> 53 </colorrole> 54 </disabled> 55 </palette> 15 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 16 <horstretch>0</horstretch> 17 <verstretch>0</verstretch> 18 </sizepolicy> 56 19 </property> 57 20 <property name="autoFillBackground"> 58 21 <bool>true</bool> 59 22 </property> 60 23 <layout class="QVBoxLayout" name="_2"> 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 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> 129 92 </layout> 130 93 </widget> 131 94 <widget class="QWidget" name="bgWhite" native="true"> 132 <property name="palette">133 <palette>134 <active>135 <colorrole role="Window">136 <brush brushstyle="SolidPattern">137 <color alpha="255">138 <red>255</red>139 <green>255</green>140 <blue>255</blue>141 </color>142 </brush>143 </colorrole>144 </active>145 <inactive>146 <colorrole role="Window">147 <brush brushstyle="SolidPattern">148 <color alpha="255">149 <red>255</red>150 <green>255</green>151 <blue>255</blue>152 </color>153 </brush>154 </colorrole>155 </inactive>156 <disabled>157 <colorrole role="Window">158 <brush brushstyle="SolidPattern">159 <color alpha="255">160 <red>255</red>161 <green>255</green>162 <blue>255</blue>163 </color>164 </brush>165 </colorrole>166 </disabled>167 </palette>168 </property>169 95 <property name="autoFillBackground"> 170 96 <bool>true</bool> 171 97 </property> 172 98 <layout class="QHBoxLayout" name="_3"> 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 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 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 </widget> 169 </item> 170 <item row="0" column="1"> 171 <widget class="QSpinBox" name="spinFractionalAccuracy"> 172 <property name="cursor"> 173 <cursorShape>PointingHandCursor</cursorShape> 174 </property> 175 <property name="statusTip"> 176 <string>Accuracy of the fractional values (in decimal places)</string> 177 </property> 178 <property name="maximum"> 179 <number>6</number> 180 </property> 181 </widget> 182 </item> 183 </layout> 184 </item> 185 <item> 186 <widget class="QCheckBox" name="cbSymmetricMode"> 187 <property name="cursor"> 188 <cursorShape>PointingHandCursor</cursorShape> 189 </property> 190 <property name="statusTip"> 191 <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string> 192 </property> 193 <property name="text"> 194 <string>Symmetric mode</string> 195 </property> 196 </widget> 197 </item> 198 <item> 199 <widget class="QGroupBox" name="gbTaskGeneration"> 200 <property name="title"> 201 <string>Task generation</string> 202 </property> 203 <layout class="QVBoxLayout" name="_7"> 204 <item> 205 <layout class="QFormLayout" name="_8"> 206 <property name="fieldGrowthPolicy"> 207 <enum>QFormLayout::ExpandingFieldsGrow</enum> 208 </property> 209 <item row="0" column="0"> 210 <widget class="QLabel" name="labelRandMin"> 211 <property name="text"> 212 <string>Minimal random:</string> 213 </property> 214 <property name="buddy"> 215 <cstring>spinRandMin</cstring> 216 </property> 217 </widget> 218 </item> 219 <item row="0" column="1"> 220 <widget class="QSpinBox" name="spinRandMin"> 221 <property name="cursor"> 222 <cursorShape>PointingHandCursor</cursorShape> 223 </property> 224 <property name="statusTip"> 225 <string>Minimum for random number generation</string> 226 </property> 227 </widget> 228 </item> 229 <item row="1" column="0"> 230 <widget class="QLabel" name="labelRandMax"> 231 <property name="text"> 232 <string>Maximal random:</string> 233 </property> 234 <property name="buddy"> 235 <cstring>spinRandMax</cstring> 236 </property> 237 </widget> 238 </item> 239 <item row="1" column="1"> 240 <widget class="QSpinBox" name="spinRandMax"> 241 <property name="cursor"> 242 <cursorShape>PointingHandCursor</cursorShape> 243 </property> 244 <property name="statusTip"> 245 <string>Maximum for random number generation</string> 246 </property> 247 </widget> 248 </item> 249 </layout> 250 </item> 251 <item> 252 <widget class="QCheckBox" name="cbFractionalRandom"> 253 <property name="cursor"> 254 <cursorShape>PointingHandCursor</cursorShape> 255 </property> 256 <property name="statusTip"> 257 <string>Generate fractional random values with the Fractional accuracy</string> 258 </property> 259 <property name="text"> 260 <string>Fractional random values</string> 261 </property> 262 </widget> 263 </item> 264 </layout> 265 </widget> 266 </item> 267 <item> 268 <spacer name="spacer_2"> 269 <property name="orientation"> 270 <enum>Qt::Vertical</enum> 271 </property> 272 <property name="sizeHint" stdset="0"> 273 <size> 274 <width>10</width> 275 <height>0</height> 276 </size> 277 </property> 278 </spacer> 279 </item> 280 </layout> 281 </widget> 282 <widget class="QWidget" name="tabOutput"> 283 <attribute name="title"> 284 <string>Output</string> 285 </attribute> 286 <attribute name="toolTip"> 287 <string>Solution output settings</string> 288 </attribute> 289 <layout class="QVBoxLayout" name="_6"> 290 <item> 291 <widget class="QCheckBox" name="cbShowMatrix"> 292 <property name="cursor"> 293 <cursorShape>PointingHandCursor</cursorShape> 294 </property> 295 <property name="statusTip"> 296 <string>Show solution steps' matrices for every solution step</string> 297 </property> 298 <property name="text"> 299 <string>Show solution steps' matrices</string> 300 </property> 301 </widget> 302 </item> 303 <item> 304 <layout class="QHBoxLayout" name="layoutCititesLimit"> 305 <property name="spacing"> 306 <number>0</number> 307 </property> 308 <item> 309 <spacer name="spacer_3"> 310 <property name="orientation"> 311 <enum>Qt::Horizontal</enum> 312 </property> 313 <property name="sizeType"> 314 <enum>QSizePolicy::Fixed</enum> 315 </property> 316 <property name="sizeHint" stdset="0"> 317 <size> 318 <width>10</width> 319 <height>0</height> 320 </size> 321 </property> 322 </spacer> 323 </item> 324 <item> 325 <widget class="QCheckBox" name="cbCitiesLimit"> 326 <property name="cursor"> 327 <cursorShape>PointingHandCursor</cursorShape> 328 </property> 329 <property name="statusTip"> 330 <string>Show or hide solution steps' matrices based on number of cities in the task</string> 331 </property> 332 <property name="text"> 333 <string>Only when <=</string> 334 </property> 335 </widget> 336 </item> 337 <item> 338 <widget class="QSpinBox" name="spinCitiesLimit"> 339 <property name="statusTip"> 340 <string>Maximum number of cities to show solution steps' matrices</string> 341 </property> 342 <property name="suffix"> 343 <string comment="Don't forget a space at the beginning!"> cities</string> 344 </property> 345 <property name="minimum"> 346 <number>1</number> 347 </property> 348 </widget> 349 </item> 350 <item> 351 <spacer name="spacer_4"> 352 <property name="orientation"> 353 <enum>Qt::Horizontal</enum> 354 </property> 355 <property name="sizeHint" stdset="0"> 356 <size> 357 <width>0</width> 358 <height>0</height> 359 </size> 360 </property> 361 </spacer> 362 </item> 363 </layout> 364 </item> 365 <item> 366 <widget class="QCheckBox" name="cbScrollToEnd"> 367 <property name="cursor"> 368 <cursorShape>PointingHandCursor</cursorShape> 369 </property> 370 <property name="statusTip"> 371 <string>Scroll to the end of solution output after solving</string> 372 </property> 373 <property name="text"> 374 <string>Scroll to solution end</string> 375 </property> 376 </widget> 377 </item> 378 <item> 379 <layout class="QHBoxLayout" name="_11"> 380 <item> 381 <widget class="QGroupBox" name="groupOutput"> 382 <property name="title"> 383 <string>Output font settings</string> 384 </property> 385 <layout class="QHBoxLayout" name="_13"> 386 <item> 387 <widget class="QPushButton" name="buttonFont"> 388 <property name="cursor"> 389 <cursorShape>PointingHandCursor</cursorShape> 390 </property> 391 <property name="statusTip"> 392 <string>Font face for solution output</string> 393 </property> 394 <property name="text"> 395 <string>&Font...</string> 396 </property> 397 <property name="icon"> 398 <iconset resource="../resources/tspsg.qrc"> 399 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> 400 </property> 401 </widget> 402 </item> 403 <item> 404 <widget class="QPushButton" name="buttonColor"> 405 <property name="cursor"> 406 <cursorShape>PointingHandCursor</cursorShape> 407 </property> 408 <property name="statusTip"> 409 <string>Font color for solution output</string> 410 </property> 411 <property name="text"> 412 <string>&Color...</string> 413 </property> 414 <property name="icon"> 415 <iconset resource="../resources/tspsg.qrc"> 416 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> 417 </property> 418 </widget> 419 </item> 420 <item> 421 <spacer name="spacer_5"> 422 <property name="orientation"> 423 <enum>Qt::Horizontal</enum> 424 </property> 425 <property name="sizeHint" stdset="0"> 426 <size> 427 <width>0</width> 428 <height>0</height> 429 </size> 430 </property> 431 </spacer> 432 </item> 433 </layout> 434 </widget> 435 </item> 436 </layout> 437 </item> 438 <item> 439 <spacer name="spacer_6"> 440 <property name="orientation"> 441 <enum>Qt::Vertical</enum> 442 </property> 443 <property name="sizeHint" stdset="0"> 444 <size> 445 <width>0</width> 446 <height>0</height> 447 </size> 448 </property> 449 </spacer> 450 </item> 451 </layout> 452 </widget> 453 </widget> 454 </item> 529 455 </layout> 530 456 </widget> … … 540 466 <slot>accept()</slot> 541 467 <hints> 542 543 544 545 546 547 548 549 468 <hint type="sourcelabel"> 469 <x>190</x> 470 <y>30</y> 471 </hint> 472 <hint type="destinationlabel"> 473 <x>306</x> 474 <y>231</y> 475 </hint> 550 476 </hints> 551 477 </connection> … … 556 482 <slot>reject()</slot> 557 483 <hints> 558 559 560 561 562 563 564 565 484 <hint type="sourcelabel"> 485 <x>190</x> 486 <y>30</y> 487 </hint> 488 <hint type="destinationlabel"> 489 <x>262</x> 490 <y>245</y> 491 </hint> 566 492 </hints> 567 493 </connection> … … 572 498 <slot>setEnabled(bool)</slot> 573 499 <hints> 574 575 576 577 578 579 580 581 500 <hint type="sourcelabel"> 501 <x>80</x> 502 <y>150</y> 503 </hint> 504 <hint type="destinationlabel"> 505 <x>91</x> 506 <y>175</y> 507 </hint> 582 508 </hints> 583 509 </connection> … … 588 514 <slot>setChecked(bool)</slot> 589 515 <hints> 590 591 592 593 594 595 596 597 516 <hint type="sourcelabel"> 517 <x>80</x> 518 <y>150</y> 519 </hint> 520 <hint type="destinationlabel"> 521 <x>91</x> 522 <y>175</y> 523 </hint> 598 524 </hints> 599 525 </connection> … … 604 530 <slot>setEnabled(bool)</slot> 605 531 <hints> 606 607 608 609 610 611 612 613 532 <hint type="sourcelabel"> 533 <x>91</x> 534 <y>175</y> 535 </hint> 536 <hint type="destinationlabel"> 537 <x>184</x> 538 <y>174</y> 539 </hint> 614 540 </hints> 615 541 </connection>
Note: See TracChangeset
for help on using the changeset viewer.