Changeset e3533af1cf in tspsg


Ignore:
Timestamp:
Apr 30, 2010, 5:59:09 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
2bbe924ad8
Parents:
e51c78af27
git-author:
Oleksii Serdiuk <contacts@…> (04/30/10 17:59:09)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:42)
Message:

+ Added support for switching between available Qt Styles.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • l10n/tspsg_en.ts

    re51c78af27 re3533af1cf  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="469"/>
     8        <location filename="../src/mainwindow.cpp" line="497"/>
    99        <source>TRANSLATION</source>
    1010        <comment>Please, provide translator credits here.</comment>
     
    1212    </message>
    1313    <message>
    14         <location filename="../src/mainwindow.cpp" line="944"/>
     14        <location filename="../src/mainwindow.cpp" line="972"/>
    1515        <source>LANGNAME</source>
    1616        <comment>Please, provide a native name of your translation language here.</comment>
     
    126126    <name>MainWindow</name>
    127127    <message>
    128         <location filename="../src/mainwindow.cpp" line="341"/>
    129         <location filename="../src/mainwindow.cpp" line="350"/>
     128        <location filename="../src/mainwindow.cpp" line="349"/>
     129        <location filename="../src/mainwindow.cpp" line="358"/>
    130130        <source>Language change</source>
    131131        <translation type="unfinished"></translation>
     
    133133    <message>
    134134        <location filename="../ui/mainwindow.ui" line="15"/>
    135         <location filename="../src/mainwindow.cpp" line="1140"/>
     135        <location filename="../src/mainwindow.cpp" line="1190"/>
    136136        <source>Travelling Salesman Problem</source>
    137137        <translation type="unfinished"></translation>
    138138    </message>
    139139    <message>
    140         <location filename="../src/mainwindow.cpp" line="1007"/>
    141         <location filename="../src/mainwindow.cpp" line="1009"/>
     140        <location filename="../src/mainwindow.cpp" line="1035"/>
     141        <location filename="../src/mainwindow.cpp" line="1037"/>
    142142        <source>Language Change</source>
    143143        <translation type="unfinished"></translation>
    144144    </message>
    145145    <message>
    146         <location filename="../src/mainwindow.cpp" line="1021"/>
     146        <location filename="../src/mainwindow.cpp" line="1070"/>
    147147        <source>Unsaved Changes</source>
    148148        <translation type="unfinished"></translation>
    149149    </message>
    150150    <message>
    151         <location filename="../src/mainwindow.cpp" line="135"/>
     151        <location filename="../src/mainwindow.cpp" line="143"/>
    152152        <source>All Supported Formats</source>
    153153        <translation type="unfinished"></translation>
    154154    </message>
    155155    <message>
    156         <location filename="../src/mainwindow.cpp" line="136"/>
    157         <location filename="../src/mainwindow.cpp" line="137"/>
     156        <location filename="../src/mainwindow.cpp" line="144"/>
     157        <location filename="../src/mainwindow.cpp" line="145"/>
    158158        <source>%1 Task Files</source>
    159159        <translation type="unfinished"></translation>
    160160    </message>
    161161    <message>
    162         <location filename="../src/mainwindow.cpp" line="138"/>
    163         <location filename="../src/mainwindow.cpp" line="202"/>
    164         <location filename="../src/mainwindow.cpp" line="1117"/>
     162        <location filename="../src/mainwindow.cpp" line="146"/>
     163        <location filename="../src/mainwindow.cpp" line="210"/>
     164        <location filename="../src/mainwindow.cpp" line="1167"/>
    165165        <source>All Files</source>
    166166        <translation type="unfinished"></translation>
    167167    </message>
    168168    <message>
    169         <location filename="../src/mainwindow.cpp" line="196"/>
     169        <location filename="../src/mainwindow.cpp" line="204"/>
    170170        <source>PDF Files</source>
    171171        <translation type="unfinished"></translation>
    172172    </message>
    173173    <message>
    174         <location filename="../src/mainwindow.cpp" line="198"/>
     174        <location filename="../src/mainwindow.cpp" line="206"/>
    175175        <source>HTML Files</source>
    176176        <translation type="unfinished"></translation>
    177177    </message>
    178178    <message>
    179         <location filename="../src/mainwindow.cpp" line="200"/>
     179        <location filename="../src/mainwindow.cpp" line="208"/>
    180180        <source>OpenDocument Files</source>
    181181        <translation type="unfinished"></translation>
    182182    </message>
    183183    <message>
    184         <location filename="../src/mainwindow.cpp" line="330"/>
     184        <location filename="../src/mainwindow.cpp" line="338"/>
    185185        <source>You have changed color settings.
    186186They will be applied to the next solution output.</source>
     
    188188    </message>
    189189    <message>
    190         <location filename="../src/mainwindow.cpp" line="396"/>
     190        <location filename="../src/mainwindow.cpp" line="424"/>
    191191        <source>Version</source>
    192192        <translation type="unfinished"></translation>
    193193    </message>
    194194    <message>
    195         <location filename="../src/mainwindow.cpp" line="545"/>
     195        <location filename="../src/mainwindow.cpp" line="521"/>
     196        <source>About %1</source>
     197        <translation type="unfinished"></translation>
     198    </message>
     199    <message>
     200        <location filename="../src/mainwindow.cpp" line="573"/>
    196201        <source>%v of %1 parts found</source>
    197202        <translation type="unfinished"></translation>
    198203    </message>
    199204    <message>
    200         <location filename="../src/mainwindow.cpp" line="568"/>
     205        <location filename="../src/mainwindow.cpp" line="596"/>
    201206        <source>Generating solution output...</source>
    202207        <translation type="unfinished"></translation>
    203208    </message>
    204209    <message>
    205         <location filename="../src/mainwindow.cpp" line="589"/>
     210        <location filename="../src/mainwindow.cpp" line="617"/>
    206211        <source>Variant #%1 Task</source>
    207212        <translation type="unfinished"></translation>
    208213    </message>
    209214    <message>
    210         <location filename="../src/mainwindow.cpp" line="598"/>
     215        <location filename="../src/mainwindow.cpp" line="626"/>
    211216        <source>Variant #%1 Solution</source>
    212217        <translation type="unfinished"></translation>
    213218    </message>
    214219    <message>
    215         <location filename="../src/mainwindow.cpp" line="603"/>
     220        <location filename="../src/mainwindow.cpp" line="631"/>
    216221        <source>Generating step %v</source>
    217222        <translation type="unfinished"></translation>
    218223    </message>
    219224    <message>
    220         <location filename="../src/mainwindow.cpp" line="625"/>
    221         <location filename="../src/mainwindow.cpp" line="632"/>
    222         <location filename="../src/mainwindow.cpp" line="846"/>
     225        <location filename="../src/mainwindow.cpp" line="653"/>
     226        <location filename="../src/mainwindow.cpp" line="660"/>
     227        <location filename="../src/mainwindow.cpp" line="874"/>
    223228        <source>(%1;%2)</source>
    224229        <translation type="unfinished"></translation>
    225230    </message>
    226231    <message numerus="yes">
    227         <location filename="../src/mainwindow.cpp" line="635"/>
     232        <location filename="../src/mainwindow.cpp" line="663"/>
    228233        <source>%n alternate candidate(s) for branching: %1.</source>
    229234        <translation>
     
    233238    </message>
    234239    <message>
    235         <location filename="../src/mainwindow.cpp" line="657"/>
     240        <location filename="../src/mainwindow.cpp" line="685"/>
    236241        <source>Generating footer</source>
    237242        <translation type="unfinished"></translation>
    238243    </message>
    239244    <message numerus="yes">
    240         <location filename="../src/mainwindow.cpp" line="672"/>
     245        <location filename="../src/mainwindow.cpp" line="700"/>
    241246        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    242247        <translation>
     
    246251    </message>
    247252    <message>
    248         <location filename="../src/mainwindow.cpp" line="606"/>
    249         <location filename="../src/mainwindow.cpp" line="706"/>
     253        <location filename="../src/mainwindow.cpp" line="634"/>
     254        <location filename="../src/mainwindow.cpp" line="734"/>
    250255        <source>Cleaning up...</source>
    251256        <translation type="unfinished"></translation>
    252257    </message>
    253258    <message>
    254         <location filename="../src/mainwindow.cpp" line="1021"/>
     259        <location filename="../src/mainwindow.cpp" line="1056"/>
     260        <source>Set application style to %1</source>
     261        <translation type="unfinished"></translation>
     262    </message>
     263    <message>
     264        <location filename="../src/mainwindow.cpp" line="1070"/>
    255265        <source>Would you like to save changes in the current task?</source>
    256266        <translation type="unfinished"></translation>
    257267    </message>
    258268    <message>
    259         <location filename="../src/mainwindow.cpp" line="1107"/>
    260         <location filename="../src/mainwindow.cpp" line="1110"/>
     269        <location filename="../src/mainwindow.cpp" line="1157"/>
     270        <location filename="../src/mainwindow.cpp" line="1160"/>
    261271        <source>Check for %1 updates</source>
    262272        <translation type="unfinished"></translation>
    263273    </message>
    264274    <message>
    265         <location filename="../src/mainwindow.cpp" line="1116"/>
     275        <location filename="../src/mainwindow.cpp" line="1166"/>
    266276        <source>%1 Task File</source>
    267277        <translation type="unfinished"></translation>
    268278    </message>
    269279    <message>
    270         <location filename="../src/mainwindow.cpp" line="330"/>
    271         <location filename="../src/mainwindow.cpp" line="370"/>
     280        <location filename="../src/mainwindow.cpp" line="338"/>
     281        <location filename="../src/mainwindow.cpp" line="378"/>
    272282        <source>Settings Changed</source>
    273283        <translation type="unfinished"></translation>
    274284    </message>
    275285    <message>
    276         <location filename="../src/mainwindow.cpp" line="142"/>
     286        <location filename="../src/mainwindow.cpp" line="150"/>
    277287        <source>Task Load</source>
    278288        <translation type="unfinished"></translation>
    279289    </message>
    280290    <message>
    281         <location filename="../src/mainwindow.cpp" line="224"/>
    282         <location filename="../src/mainwindow.cpp" line="279"/>
    283         <location filename="../src/mainwindow.cpp" line="293"/>
     291        <location filename="../src/mainwindow.cpp" line="232"/>
     292        <location filename="../src/mainwindow.cpp" line="287"/>
     293        <location filename="../src/mainwindow.cpp" line="301"/>
    284294        <source>Solution Save</source>
    285295        <translation type="unfinished"></translation>
    286296    </message>
    287297    <message>
    288         <location filename="../src/mainwindow.cpp" line="224"/>
    289         <location filename="../src/mainwindow.cpp" line="293"/>
     298        <location filename="../src/mainwindow.cpp" line="232"/>
     299        <location filename="../src/mainwindow.cpp" line="301"/>
    290300        <source>Unable to save the solution.
    291301Error: %1</source>
     
    293303    </message>
    294304    <message>
    295         <location filename="../src/mainwindow.cpp" line="239"/>
    296         <location filename="../src/mainwindow.cpp" line="254"/>
     305        <location filename="../src/mainwindow.cpp" line="247"/>
     306        <location filename="../src/mainwindow.cpp" line="262"/>
    297307        <source>Solution Graph</source>
    298308        <translation type="unfinished"></translation>
    299309    </message>
    300310    <message>
    301         <location filename="../src/mainwindow.cpp" line="255"/>
     311        <location filename="../src/mainwindow.cpp" line="263"/>
    302312        <source>Generated with %1</source>
    303313        <translation type="unfinished"></translation>
    304314    </message>
    305315    <message>
    306         <location filename="../src/mainwindow.cpp" line="279"/>
     316        <location filename="../src/mainwindow.cpp" line="287"/>
    307317        <source>Unable to save the solution graph.
    308318Error: %1</source>
     
    310320    </message>
    311321    <message>
    312         <location filename="../src/mainwindow.cpp" line="370"/>
     322        <location filename="../src/mainwindow.cpp" line="349"/>
     323        <source>Language will be autodetected on the next %1 start.</source>
     324        <translation type="unfinished"></translation>
     325    </message>
     326    <message>
     327        <location filename="../src/mainwindow.cpp" line="378"/>
    313328        <source>You have changed the application language.
    314329To get current solution output in the new language
     
    317332    </message>
    318333    <message>
    319         <location filename="../src/mainwindow.cpp" line="378"/>
     334        <location filename="../src/mainwindow.cpp" line="386"/>
     335        <source>Style Change</source>
     336        <translation type="unfinished"></translation>
     337    </message>
     338    <message>
     339        <location filename="../src/mainwindow.cpp" line="386"/>
     340        <source>To apply the default style you need to restart %1.</source>
     341        <translation type="unfinished"></translation>
     342    </message>
     343    <message>
     344        <location filename="../src/mainwindow.cpp" line="406"/>
    320345        <source>Unsupported Feature</source>
    321346        <translation type="unfinished"></translation>
    322347    </message>
    323348    <message>
    324         <location filename="../src/mainwindow.cpp" line="378"/>
     349        <location filename="../src/mainwindow.cpp" line="406"/>
    325350        <source>Sorry, but this feature is not supported on your platform
    326351or support for this feature was not installed.</source>
     
    328353    </message>
    329354    <message>
    330         <location filename="../src/mainwindow.cpp" line="405"/>
     355        <location filename="../src/mainwindow.cpp" line="433"/>
    331356        <source>Target OS (ARCH)</source>
    332357        <translation type="unfinished"></translation>
    333358    </message>
    334359    <message>
    335         <location filename="../src/mainwindow.cpp" line="407"/>
    336         <location filename="../src/mainwindow.cpp" line="411"/>
     360        <location filename="../src/mainwindow.cpp" line="435"/>
     361        <location filename="../src/mainwindow.cpp" line="439"/>
    337362        <source>Qt library</source>
    338363        <translation type="unfinished"></translation>
    339364    </message>
    340365    <message>
    341         <location filename="../src/mainwindow.cpp" line="407"/>
     366        <location filename="../src/mainwindow.cpp" line="435"/>
    342367        <source>shared</source>
    343368        <translation type="unfinished"></translation>
    344369    </message>
    345370    <message>
    346         <location filename="../src/mainwindow.cpp" line="408"/>
     371        <location filename="../src/mainwindow.cpp" line="436"/>
    347372        <source>Build time</source>
    348373        <translation type="unfinished"></translation>
    349374    </message>
    350375    <message>
    351         <location filename="../src/mainwindow.cpp" line="409"/>
     376        <location filename="../src/mainwindow.cpp" line="437"/>
    352377        <source>Runtime</source>
    353378        <translation type="unfinished"></translation>
    354379    </message>
    355380    <message>
    356         <location filename="../src/mainwindow.cpp" line="411"/>
     381        <location filename="../src/mainwindow.cpp" line="439"/>
    357382        <source>static</source>
    358383        <translation type="unfinished"></translation>
    359384    </message>
    360385    <message>
    361         <location filename="../src/mainwindow.cpp" line="413"/>
     386        <location filename="../src/mainwindow.cpp" line="441"/>
    362387        <source>Buid &lt;b&gt;%1&lt;/b&gt;, built on &lt;b&gt;%2&lt;/b&gt; at &lt;b&gt;%3&lt;/b&gt;</source>
    363388        <translation type="unfinished"></translation>
    364389    </message>
    365390    <message>
    366         <location filename="../src/mainwindow.cpp" line="414"/>
     391        <location filename="../src/mainwindow.cpp" line="442"/>
    367392        <source>Algorithm</source>
    368393        <translation type="unfinished"></translation>
    369394    </message>
    370395    <message>
    371         <location filename="../src/mainwindow.cpp" line="416"/>
     396        <location filename="../src/mainwindow.cpp" line="444"/>
    372397        <source>TSPSG is free software: you can redistribute it and/or modify it&lt;br&gt;under the terms of the GNU General Public License as published&lt;br&gt;by the Free Software Foundation, either version 3 of the License,&lt;br&gt;or (at your option) any later version.&lt;br&gt;&lt;br&gt;TSPSG is distributed in the hope that it will be useful, but&lt;br&gt;WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;GNU General Public License for more details.&lt;br&gt;&lt;br&gt;You should have received a copy of the GNU General Public License&lt;br&gt;along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;.</source>
    373398        <translation type="unfinished"></translation>
    374399    </message>
    375400    <message>
    376         <location filename="../src/mainwindow.cpp" line="493"/>
    377         <source>About TSPSG</source>
    378         <translation type="unfinished"></translation>
    379     </message>
    380     <message>
    381         <location filename="../src/mainwindow.cpp" line="535"/>
     401        <location filename="../src/mainwindow.cpp" line="563"/>
    382402        <source>Data error</source>
    383403        <translation type="unfinished"></translation>
    384404    </message>
    385405    <message>
    386         <location filename="../src/mainwindow.cpp" line="535"/>
     406        <location filename="../src/mainwindow.cpp" line="563"/>
    387407        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    388408        <translation type="unfinished"></translation>
    389409    </message>
    390410    <message>
    391         <location filename="../src/mainwindow.cpp" line="549"/>
     411        <location filename="../src/mainwindow.cpp" line="577"/>
    392412        <source>Calculating optimal route...</source>
    393413        <translation type="unfinished"></translation>
    394414    </message>
    395415    <message>
    396         <location filename="../src/mainwindow.cpp" line="550"/>
     416        <location filename="../src/mainwindow.cpp" line="578"/>
    397417        <source>Solution Progress</source>
    398418        <translation type="unfinished"></translation>
    399419    </message>
    400420    <message>
    401         <location filename="../src/mainwindow.cpp" line="564"/>
     421        <location filename="../src/mainwindow.cpp" line="592"/>
    402422        <source>Solution Result</source>
    403423        <translation type="unfinished"></translation>
    404424    </message>
    405425    <message>
    406         <location filename="../src/mainwindow.cpp" line="564"/>
     426        <location filename="../src/mainwindow.cpp" line="592"/>
    407427        <source>Unable to find a solution.
    408428Maybe, this task has no solution.</source>
     
    410430    </message>
    411431    <message>
    412         <location filename="../src/mainwindow.cpp" line="567"/>
     432        <location filename="../src/mainwindow.cpp" line="595"/>
    413433        <source>Generating header</source>
    414434        <translation type="unfinished"></translation>
    415435    </message>
    416436    <message>
    417         <location filename="../src/mainwindow.cpp" line="573"/>
     437        <location filename="../src/mainwindow.cpp" line="601"/>
    418438        <source>Solution of Variant #%1 Task</source>
    419439        <translation type="unfinished"></translation>
    420440    </message>
    421441    <message>
    422         <location filename="../src/mainwindow.cpp" line="591"/>
     442        <location filename="../src/mainwindow.cpp" line="619"/>
    423443        <source>Task:</source>
    424444        <translation type="unfinished"></translation>
    425445    </message>
    426446    <message>
    427         <location filename="../src/mainwindow.cpp" line="620"/>
     447        <location filename="../src/mainwindow.cpp" line="648"/>
    428448        <source>Step #%1</source>
    429449        <translation type="unfinished"></translation>
    430450    </message>
    431451    <message>
    432         <location filename="../src/mainwindow.cpp" line="625"/>
     452        <location filename="../src/mainwindow.cpp" line="653"/>
    433453        <source>Selected route %1 %2 part.</source>
    434454        <translation type="unfinished"></translation>
    435455    </message>
    436456    <message>
    437         <location filename="../src/mainwindow.cpp" line="625"/>
     457        <location filename="../src/mainwindow.cpp" line="653"/>
    438458        <source>with</source>
    439459        <translation type="unfinished"></translation>
    440460    </message>
    441461    <message>
    442         <location filename="../src/mainwindow.cpp" line="625"/>
     462        <location filename="../src/mainwindow.cpp" line="653"/>
    443463        <source>without</source>
    444464        <translation type="unfinished"></translation>
    445465    </message>
    446466    <message>
    447         <location filename="../src/mainwindow.cpp" line="663"/>
     467        <location filename="../src/mainwindow.cpp" line="691"/>
    448468        <source>Optimal path:</source>
    449469        <translation type="unfinished"></translation>
    450470    </message>
    451471    <message>
    452         <location filename="../src/mainwindow.cpp" line="665"/>
     472        <location filename="../src/mainwindow.cpp" line="693"/>
    453473        <source>Resulting path:</source>
    454474        <translation type="unfinished"></translation>
    455475    </message>
    456476    <message>
    457         <location filename="../src/mainwindow.cpp" line="668"/>
     477        <location filename="../src/mainwindow.cpp" line="696"/>
    458478        <source>City %1</source>
    459479        <translation type="unfinished"></translation>
    460480    </message>
    461481    <message>
    462         <location filename="../src/mainwindow.cpp" line="674"/>
     482        <location filename="../src/mainwindow.cpp" line="702"/>
    463483        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    464484        <translation type="unfinished"></translation>
    465485    </message>
    466486    <message>
    467         <location filename="../src/mainwindow.cpp" line="679"/>
     487        <location filename="../src/mainwindow.cpp" line="707"/>
    468488        <source>&lt;b&gt;WARNING!!!&lt;/b&gt;&lt;br&gt;This result is a record, but it may not be optimal.&lt;br&gt;Iterations need to be continued to check whether this result is optimal or get an optimal one.</source>
    469489        <translation type="unfinished"></translation>
    470490    </message>
    471491    <message>
    472         <location filename="../src/mainwindow.cpp" line="857"/>
     492        <location filename="../src/mainwindow.cpp" line="885"/>
    473493        <source>Root</source>
    474494        <translation type="unfinished"></translation>
    475495    </message>
    476496    <message>
    477         <location filename="../src/mainwindow.cpp" line="1007"/>
    478         <location filename="../src/mainwindow.cpp" line="1009"/>
     497        <location filename="../src/mainwindow.cpp" line="1035"/>
     498        <location filename="../src/mainwindow.cpp" line="1037"/>
    479499        <source>Unable to load the translation language.
    480500Falling back to autodetection.</source>
     
    482502    </message>
    483503    <message>
    484         <location filename="../src/mainwindow.cpp" line="1084"/>
     504        <location filename="../src/mainwindow.cpp" line="974"/>
     505        <location filename="../src/mainwindow.cpp" line="1133"/>
    485506        <source>Set application language to %1</source>
    486507        <translation type="unfinished"></translation>
    487508    </message>
    488509    <message>
    489         <location filename="../src/mainwindow.cpp" line="1105"/>
     510        <location filename="../src/mainwindow.cpp" line="1155"/>
    490511        <source>Check for &amp;Updates...</source>
    491512        <translation type="unfinished"></translation>
    492513    </message>
    493514    <message>
    494         <location filename="../src/mainwindow.cpp" line="1125"/>
     515        <location filename="../src/mainwindow.cpp" line="1175"/>
    495516        <source>Task Save</source>
    496517        <translation type="unfinished"></translation>
    497518    </message>
    498519    <message>
    499         <location filename="../src/mainwindow.cpp" line="341"/>
    500         <source>Language will be autodetected on the next application start.</source>
    501         <translation type="unfinished"></translation>
    502     </message>
    503     <message>
    504         <location filename="../src/mainwindow.cpp" line="350"/>
     520        <location filename="../src/mainwindow.cpp" line="358"/>
    505521        <source>You have language autodetection turned on.
    506522It needs to be off.
     
    509525    </message>
    510526    <message>
    511         <location filename="../src/mainwindow.cpp" line="156"/>
    512         <location filename="../src/mainwindow.cpp" line="180"/>
    513         <location filename="../src/mainwindow.cpp" line="355"/>
    514         <location filename="../src/mainwindow.h" line="129"/>
     527        <location filename="../src/mainwindow.cpp" line="164"/>
     528        <location filename="../src/mainwindow.cpp" line="188"/>
     529        <location filename="../src/mainwindow.cpp" line="363"/>
     530        <location filename="../src/mainwindow.h" line="133"/>
    515531        <source>Untitled</source>
    516532        <translation type="unfinished"></translation>
     
    578594    <message>
    579595        <location filename="../ui/mainwindow.ui" line="207"/>
    580         <location filename="../ui/mainwindow.ui" line="361"/>
     596        <location filename="../ui/mainwindow.ui" line="366"/>
    581597        <source>Save solution to a file</source>
    582598        <translation type="unfinished"></translation>
     
    609625    </message>
    610626    <message>
    611         <location filename="../ui/mainwindow.ui" line="439"/>
     627        <location filename="../ui/mainwindow.ui" line="444"/>
    612628        <source>Context &amp;Help</source>
    613629        <translation type="unfinished"></translation>
    614630    </message>
    615631    <message>
    616         <location filename="../ui/mainwindow.ui" line="454"/>
     632        <location filename="../ui/mainwindow.ui" line="459"/>
    617633        <source>&amp;About TSPSG...</source>
    618634        <translation type="unfinished"></translation>
    619635    </message>
    620636    <message>
    621         <location filename="../ui/mainwindow.ui" line="520"/>
     637        <location filename="../ui/mainwindow.ui" line="525"/>
    622638        <source>&amp;Save</source>
    623639        <translation type="unfinished"></translation>
     
    629645    </message>
    630646    <message>
    631         <location filename="../ui/mainwindow.ui" line="317"/>
     647        <location filename="../ui/mainwindow.ui" line="313"/>
     648        <source>Style</source>
     649        <translation type="unfinished"></translation>
     650    </message>
     651    <message>
     652        <location filename="../ui/mainwindow.ui" line="322"/>
    632653        <source>&amp;Help</source>
    633654        <translation type="unfinished"></translation>
    634655    </message>
    635656    <message>
    636         <location filename="../ui/mainwindow.ui" line="358"/>
     657        <location filename="../ui/mainwindow.ui" line="363"/>
    637658        <source>Save solution</source>
    638659        <translation type="unfinished"></translation>
    639660    </message>
    640661    <message>
    641         <location filename="../ui/mainwindow.ui" line="370"/>
     662        <location filename="../ui/mainwindow.ui" line="375"/>
    642663        <source>&amp;New</source>
    643664        <translation type="unfinished"></translation>
    644665    </message>
    645666    <message>
    646         <location filename="../ui/mainwindow.ui" line="373"/>
     667        <location filename="../ui/mainwindow.ui" line="378"/>
    647668        <source>New task</source>
    648669        <translation type="unfinished"></translation>
    649670    </message>
    650671    <message>
    651         <location filename="../ui/mainwindow.ui" line="376"/>
     672        <location filename="../ui/mainwindow.ui" line="381"/>
    652673        <source>Create new task</source>
    653674        <translation type="unfinished"></translation>
    654675    </message>
    655676    <message>
    656         <location filename="../ui/mainwindow.ui" line="379"/>
     677        <location filename="../ui/mainwindow.ui" line="384"/>
    657678        <source>Ctrl+N</source>
    658679        <translation type="unfinished"></translation>
    659680    </message>
    660681    <message>
    661         <location filename="../ui/mainwindow.ui" line="388"/>
     682        <location filename="../ui/mainwindow.ui" line="393"/>
    662683        <source>&amp;Open...</source>
    663684        <translation type="unfinished"></translation>
    664685    </message>
    665686    <message>
    666         <location filename="../ui/mainwindow.ui" line="391"/>
     687        <location filename="../ui/mainwindow.ui" line="396"/>
    667688        <source>Open task</source>
    668689        <translation type="unfinished"></translation>
    669690    </message>
    670691    <message>
    671         <location filename="../ui/mainwindow.ui" line="394"/>
     692        <location filename="../ui/mainwindow.ui" line="399"/>
    672693        <source>Open saved task</source>
    673694        <translation type="unfinished"></translation>
    674695    </message>
    675696    <message>
    676         <location filename="../ui/mainwindow.ui" line="397"/>
     697        <location filename="../ui/mainwindow.ui" line="402"/>
    677698        <source>Ctrl+O</source>
    678699        <translation type="unfinished"></translation>
    679700    </message>
    680701    <message>
    681         <location filename="../ui/mainwindow.ui" line="406"/>
     702        <location filename="../ui/mainwindow.ui" line="411"/>
    682703        <source>&amp;Preferences...</source>
    683704        <translation type="unfinished"></translation>
    684705    </message>
    685706    <message>
    686         <location filename="../ui/mainwindow.ui" line="409"/>
     707        <location filename="../ui/mainwindow.ui" line="414"/>
    687708        <source>Application preferences</source>
    688709        <translation type="unfinished"></translation>
    689710    </message>
    690711    <message>
    691         <location filename="../ui/mainwindow.ui" line="421"/>
     712        <location filename="../ui/mainwindow.ui" line="426"/>
    692713        <source>&amp;Contents</source>
    693714        <translation type="unfinished"></translation>
    694715    </message>
    695716    <message>
    696         <location filename="../ui/mainwindow.ui" line="424"/>
     717        <location filename="../ui/mainwindow.ui" line="429"/>
    697718        <source>Open help contents</source>
    698719        <translation type="unfinished"></translation>
    699720    </message>
    700721    <message>
    701         <location filename="../ui/mainwindow.ui" line="427"/>
     722        <location filename="../ui/mainwindow.ui" line="432"/>
    702723        <source>Ctrl+F1</source>
    703724        <translation type="unfinished"></translation>
    704725    </message>
    705726    <message>
    706         <location filename="../ui/mainwindow.ui" line="442"/>
     727        <location filename="../ui/mainwindow.ui" line="447"/>
    707728        <source>Open context help</source>
    708729        <translation type="unfinished"></translation>
    709730    </message>
    710731    <message>
    711         <location filename="../ui/mainwindow.ui" line="445"/>
     732        <location filename="../ui/mainwindow.ui" line="450"/>
    712733        <source>F1</source>
    713734        <translation type="unfinished"></translation>
    714735    </message>
    715736    <message>
    716         <location filename="../ui/mainwindow.ui" line="457"/>
     737        <location filename="../ui/mainwindow.ui" line="462"/>
    717738        <source>About application</source>
    718739        <translation type="unfinished"></translation>
    719740    </message>
    720741    <message>
    721         <location filename="../ui/mainwindow.ui" line="466"/>
     742        <location filename="../ui/mainwindow.ui" line="471"/>
    722743        <source>E&amp;xit</source>
    723744        <translation type="unfinished"></translation>
    724745    </message>
    725746    <message>
    726         <location filename="../ui/mainwindow.ui" line="469"/>
     747        <location filename="../ui/mainwindow.ui" line="474"/>
    727748        <source>Exit application</source>
    728749        <translation type="unfinished"></translation>
    729750    </message>
    730751    <message>
    731         <location filename="../ui/mainwindow.ui" line="474"/>
     752        <location filename="../ui/mainwindow.ui" line="479"/>
    732753        <source>&amp;Task...</source>
    733754        <translation type="unfinished"></translation>
    734755    </message>
    735756    <message>
    736         <location filename="../ui/mainwindow.ui" line="477"/>
    737         <location filename="../ui/mainwindow.ui" line="523"/>
     757        <location filename="../ui/mainwindow.ui" line="482"/>
     758        <location filename="../ui/mainwindow.ui" line="528"/>
    738759        <source>Save task</source>
    739760        <translation type="unfinished"></translation>
    740761    </message>
    741762    <message>
    742         <location filename="../ui/mainwindow.ui" line="480"/>
     763        <location filename="../ui/mainwindow.ui" line="485"/>
    743764        <source>Save task to file</source>
    744765        <translation type="unfinished"></translation>
    745766    </message>
    746767    <message>
    747         <location filename="../ui/mainwindow.ui" line="529"/>
     768        <location filename="../ui/mainwindow.ui" line="534"/>
    748769        <source>Ctrl+S</source>
    749770        <translation type="unfinished"></translation>
    750771    </message>
    751772    <message>
    752         <location filename="../ui/mainwindow.ui" line="491"/>
     773        <location filename="../ui/mainwindow.ui" line="557"/>
     774        <source>System Default</source>
     775        <translation type="unfinished"></translation>
     776    </message>
     777    <message>
     778        <location filename="../ui/mainwindow.ui" line="560"/>
     779        <source>Automatically choose the most appropriate style</source>
     780        <translation type="unfinished"></translation>
     781    </message>
     782    <message>
     783        <location filename="../ui/mainwindow.ui" line="496"/>
    753784        <source>&amp;Autodetect</source>
    754785        <translation type="unfinished"></translation>
    755786    </message>
    756787    <message>
    757         <location filename="../ui/mainwindow.ui" line="526"/>
     788        <location filename="../ui/mainwindow.ui" line="531"/>
    758789        <source>Save current task</source>
    759790        <translation type="unfinished"></translation>
    760791    </message>
    761792    <message>
    762         <location filename="../ui/mainwindow.ui" line="538"/>
     793        <location filename="../ui/mainwindow.ui" line="543"/>
    763794        <source>About &amp;Qt...</source>
    764795        <translation type="unfinished"></translation>
    765796    </message>
    766797    <message>
    767         <location filename="../ui/mainwindow.ui" line="541"/>
     798        <location filename="../ui/mainwindow.ui" line="546"/>
    768799        <source>About Qt library</source>
    769800        <translation type="unfinished"></translation>
     
    785816    </message>
    786817    <message>
    787         <location filename="../src/mainwindow.cpp" line="1095"/>
     818        <location filename="../src/mainwindow.cpp" line="1145"/>
    788819        <source>&amp;Print...</source>
    789820        <translation type="unfinished"></translation>
    790821    </message>
    791822    <message>
    792         <location filename="../src/mainwindow.cpp" line="1102"/>
     823        <location filename="../src/mainwindow.cpp" line="1152"/>
    793824        <source>Ctrl+P</source>
    794825        <translation type="unfinished"></translation>
    795826    </message>
    796827    <message>
    797         <location filename="../ui/mainwindow.ui" line="355"/>
     828        <location filename="../ui/mainwindow.ui" line="360"/>
    798829        <source>&amp;Solution...</source>
    799830        <translation type="unfinished"></translation>
    800831    </message>
    801832    <message>
    802         <location filename="../ui/mainwindow.ui" line="494"/>
     833        <location filename="../ui/mainwindow.ui" line="499"/>
    803834        <source>Detect language automatically</source>
    804835        <translation type="unfinished"></translation>
    805836    </message>
    806837    <message>
    807         <location filename="../ui/mainwindow.ui" line="334"/>
     838        <location filename="../ui/mainwindow.ui" line="339"/>
    808839        <source>Toolbar</source>
    809840        <translation type="unfinished"></translation>
    810841    </message>
    811842    <message>
    812         <location filename="../src/mainwindow.cpp" line="1087"/>
     843        <location filename="../src/mainwindow.cpp" line="1137"/>
    813844        <source>P&amp;rint Preview...</source>
    814845        <translation type="unfinished"></translation>
    815846    </message>
    816847    <message>
    817         <location filename="../src/mainwindow.cpp" line="1089"/>
     848        <location filename="../src/mainwindow.cpp" line="1139"/>
    818849        <source>Preview solution results</source>
    819850        <translation type="unfinished"></translation>
    820851    </message>
    821852    <message>
    822         <location filename="../src/mainwindow.cpp" line="1092"/>
     853        <location filename="../src/mainwindow.cpp" line="1142"/>
    823854        <source>Preview current solution results before printing</source>
    824855        <translation type="unfinished"></translation>
    825856    </message>
    826857    <message>
    827         <location filename="../src/mainwindow.cpp" line="1097"/>
     858        <location filename="../src/mainwindow.cpp" line="1147"/>
    828859        <source>Print solution</source>
    829860        <translation type="unfinished"></translation>
    830861    </message>
    831862    <message>
    832         <location filename="../src/mainwindow.cpp" line="1100"/>
     863        <location filename="../src/mainwindow.cpp" line="1150"/>
    833864        <source>Print current solution results</source>
    834865        <translation type="unfinished"></translation>
    835866    </message>
    836867    <message>
    837         <location filename="../ui/mainwindow.ui" line="497"/>
     868        <location filename="../ui/mainwindow.ui" line="502"/>
    838869        <source>Detect language automatically based on regional settings</source>
    839870        <translation type="unfinished"></translation>
     
    10851116    </message>
    10861117    <message>
    1087         <location filename="../src/settingsdialog.cpp" line="268"/>
    1088         <location filename="../src/settingsdialog.cpp" line="274"/>
     1118        <location filename="../src/settingsdialog.cpp" line="270"/>
     1119        <location filename="../src/settingsdialog.cpp" line="276"/>
    10891120        <source>Settings Reset</source>
    10901121        <translation type="unfinished"></translation>
    10911122    </message>
    10921123    <message>
    1093         <location filename="../src/settingsdialog.cpp" line="268"/>
     1124        <location filename="../src/settingsdialog.cpp" line="270"/>
    10941125        <source>Do you really want to &lt;b&gt;reset all application settings to their defaults&lt;/b&gt;?</source>
    10951126        <translation type="unfinished"></translation>
    10961127    </message>
    10971128    <message>
    1098         <location filename="../src/settingsdialog.cpp" line="274"/>
     1129        <location filename="../src/settingsdialog.cpp" line="276"/>
    10991130        <source>All settings where successfully reset to their defaults.
    11001131It is recommended to restart the application now.</source>
  • l10n/tspsg_ru.ts

    re51c78af27 re3533af1cf  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="469"/>
     8        <location filename="../src/mainwindow.cpp" line="497"/>
    99        <source>TRANSLATION</source>
    1010        <comment>Please, provide translator credits here.</comment>
     
    1212    </message>
    1313    <message>
    14         <location filename="../src/mainwindow.cpp" line="944"/>
     14        <location filename="../src/mainwindow.cpp" line="972"/>
    1515        <source>LANGNAME</source>
    1616        <comment>Please, provide a native name of your translation language here.</comment>
     
    133133    <name>MainWindow</name>
    134134    <message>
    135         <location filename="../src/mainwindow.cpp" line="341"/>
    136         <location filename="../src/mainwindow.cpp" line="350"/>
     135        <location filename="../src/mainwindow.cpp" line="349"/>
     136        <location filename="../src/mainwindow.cpp" line="358"/>
    137137        <source>Language change</source>
    138138        <translation>Смена языка</translation>
     
    140140    <message>
    141141        <location filename="../ui/mainwindow.ui" line="15"/>
    142         <location filename="../src/mainwindow.cpp" line="1140"/>
     142        <location filename="../src/mainwindow.cpp" line="1190"/>
    143143        <source>Travelling Salesman Problem</source>
    144144        <translation>Задача коммивояжера</translation>
    145145    </message>
    146146    <message>
    147         <location filename="../src/mainwindow.cpp" line="1021"/>
     147        <location filename="../src/mainwindow.cpp" line="1070"/>
    148148        <source>Unsaved Changes</source>
    149149        <translation>Несохраненные изменения</translation>
    150150    </message>
    151151    <message>
    152         <location filename="../src/mainwindow.cpp" line="135"/>
     152        <location filename="../src/mainwindow.cpp" line="143"/>
    153153        <source>All Supported Formats</source>
    154154        <translation>Все поддерживаемые форматы</translation>
    155155    </message>
    156156    <message>
    157         <location filename="../src/mainwindow.cpp" line="138"/>
    158         <location filename="../src/mainwindow.cpp" line="202"/>
    159         <location filename="../src/mainwindow.cpp" line="1117"/>
     157        <location filename="../src/mainwindow.cpp" line="146"/>
     158        <location filename="../src/mainwindow.cpp" line="210"/>
     159        <location filename="../src/mainwindow.cpp" line="1167"/>
    160160        <source>All Files</source>
    161161        <translation>Все файлы</translation>
    162162    </message>
    163163    <message>
    164         <location filename="../src/mainwindow.cpp" line="136"/>
    165         <location filename="../src/mainwindow.cpp" line="137"/>
     164        <location filename="../src/mainwindow.cpp" line="144"/>
     165        <location filename="../src/mainwindow.cpp" line="145"/>
    166166        <source>%1 Task Files</source>
    167167        <translation>Файлы условий %1</translation>
    168168    </message>
    169169    <message>
    170         <location filename="../src/mainwindow.cpp" line="1007"/>
    171         <location filename="../src/mainwindow.cpp" line="1009"/>
     170        <location filename="../src/mainwindow.cpp" line="1035"/>
     171        <location filename="../src/mainwindow.cpp" line="1037"/>
    172172        <source>Language Change</source>
    173173        <translation>Смена языка</translation>
    174174    </message>
    175175    <message>
    176         <location filename="../src/mainwindow.cpp" line="196"/>
     176        <location filename="../src/mainwindow.cpp" line="204"/>
    177177        <source>PDF Files</source>
    178178        <translation>Файли PDF</translation>
    179179    </message>
    180180    <message>
    181         <location filename="../src/mainwindow.cpp" line="198"/>
     181        <location filename="../src/mainwindow.cpp" line="206"/>
    182182        <source>HTML Files</source>
    183183        <translation>Файлы HTML</translation>
    184184    </message>
    185185    <message>
    186         <location filename="../src/mainwindow.cpp" line="200"/>
     186        <location filename="../src/mainwindow.cpp" line="208"/>
    187187        <source>OpenDocument Files</source>
    188188        <translation>Файлы OpenDocument</translation>
    189189    </message>
    190190    <message>
    191         <location filename="../src/mainwindow.cpp" line="625"/>
    192         <location filename="../src/mainwindow.cpp" line="632"/>
    193         <location filename="../src/mainwindow.cpp" line="846"/>
     191        <location filename="../src/mainwindow.cpp" line="653"/>
     192        <location filename="../src/mainwindow.cpp" line="660"/>
     193        <location filename="../src/mainwindow.cpp" line="874"/>
    194194        <source>(%1;%2)</source>
    195195        <translation></translation>
    196196    </message>
    197197    <message numerus="yes">
    198         <location filename="../src/mainwindow.cpp" line="635"/>
     198        <location filename="../src/mainwindow.cpp" line="663"/>
    199199        <source>%n alternate candidate(s) for branching: %1.</source>
    200200        <translation>
     
    205205    </message>
    206206    <message numerus="yes">
    207         <location filename="../src/mainwindow.cpp" line="672"/>
     207        <location filename="../src/mainwindow.cpp" line="700"/>
    208208        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    209209        <translation>
     
    214214    </message>
    215215    <message>
    216         <location filename="../src/mainwindow.cpp" line="857"/>
     216        <location filename="../src/mainwindow.cpp" line="885"/>
    217217        <source>Root</source>
    218218        <translation>Корень</translation>
    219219    </message>
    220220    <message>
    221         <location filename="../src/mainwindow.cpp" line="1107"/>
    222         <location filename="../src/mainwindow.cpp" line="1110"/>
     221        <location filename="../src/mainwindow.cpp" line="1056"/>
     222        <source>Set application style to %1</source>
     223        <translation>Изменить оформление приложения на %1</translation>
     224    </message>
     225    <message>
     226        <location filename="../src/mainwindow.cpp" line="1157"/>
     227        <location filename="../src/mainwindow.cpp" line="1160"/>
    223228        <source>Check for %1 updates</source>
    224229        <translation>Проверить обновления %1</translation>
    225230    </message>
    226231    <message>
    227         <location filename="../src/mainwindow.cpp" line="1116"/>
     232        <location filename="../src/mainwindow.cpp" line="1166"/>
    228233        <source>%1 Task File</source>
    229234        <translation>Файл условия %1</translation>
    230235    </message>
    231236    <message>
    232         <location filename="../src/mainwindow.cpp" line="330"/>
    233         <location filename="../src/mainwindow.cpp" line="370"/>
     237        <location filename="../src/mainwindow.cpp" line="338"/>
     238        <location filename="../src/mainwindow.cpp" line="378"/>
    234239        <source>Settings Changed</source>
    235240        <translation>Параметры изменены</translation>
    236241    </message>
    237242    <message>
    238         <location filename="../src/mainwindow.cpp" line="142"/>
     243        <location filename="../src/mainwindow.cpp" line="150"/>
    239244        <source>Task Load</source>
    240245        <translation>Загрузка условия</translation>
    241246    </message>
    242247    <message>
    243         <location filename="../src/mainwindow.cpp" line="239"/>
    244         <location filename="../src/mainwindow.cpp" line="254"/>
     248        <location filename="../src/mainwindow.cpp" line="247"/>
     249        <location filename="../src/mainwindow.cpp" line="262"/>
    245250        <source>Solution Graph</source>
    246251        <translation>Граф решения</translation>
    247252    </message>
    248253    <message>
    249         <location filename="../src/mainwindow.cpp" line="255"/>
     254        <location filename="../src/mainwindow.cpp" line="263"/>
    250255        <source>Generated with %1</source>
    251256        <translation>Создано при помощи %1</translation>
    252257    </message>
    253258    <message>
    254         <location filename="../src/mainwindow.cpp" line="279"/>
     259        <location filename="../src/mainwindow.cpp" line="287"/>
    255260        <source>Unable to save the solution graph.
    256261Error: %1</source>
     
    259264    </message>
    260265    <message>
    261         <location filename="../src/mainwindow.cpp" line="378"/>
     266        <location filename="../src/mainwindow.cpp" line="406"/>
    262267        <source>Unsupported Feature</source>
    263268        <translation type="unfinished"></translation>
    264269    </message>
    265270    <message>
    266         <location filename="../src/mainwindow.cpp" line="378"/>
     271        <location filename="../src/mainwindow.cpp" line="406"/>
    267272        <source>Sorry, but this feature is not supported on your platform
    268273or support for this feature was not installed.</source>
     
    270275    </message>
    271276    <message>
    272         <location filename="../src/mainwindow.cpp" line="396"/>
     277        <location filename="../src/mainwindow.cpp" line="424"/>
    273278        <source>Version</source>
    274279        <translation>Версия</translation>
    275280    </message>
    276281    <message>
    277         <location filename="../src/mainwindow.cpp" line="405"/>
     282        <location filename="../src/mainwindow.cpp" line="433"/>
    278283        <source>Target OS (ARCH)</source>
    279284        <translation>Целевая ОС (архитектура)</translation>
    280285    </message>
    281286    <message>
    282         <location filename="../src/mainwindow.cpp" line="407"/>
    283         <location filename="../src/mainwindow.cpp" line="411"/>
     287        <location filename="../src/mainwindow.cpp" line="435"/>
     288        <location filename="../src/mainwindow.cpp" line="439"/>
    284289        <source>Qt library</source>
    285290        <translation>Библиотека Qt</translation>
    286291    </message>
    287292    <message>
    288         <location filename="../src/mainwindow.cpp" line="407"/>
     293        <location filename="../src/mainwindow.cpp" line="435"/>
    289294        <source>shared</source>
    290295        <translation>динамическая</translation>
    291296    </message>
    292297    <message>
    293         <location filename="../src/mainwindow.cpp" line="408"/>
     298        <location filename="../src/mainwindow.cpp" line="436"/>
    294299        <source>Build time</source>
    295300        <translation>Времени сборки</translation>
    296301    </message>
    297302    <message>
    298         <location filename="../src/mainwindow.cpp" line="409"/>
     303        <location filename="../src/mainwindow.cpp" line="437"/>
    299304        <source>Runtime</source>
    300305        <translation>Времени исполнения</translation>
    301306    </message>
    302307    <message>
    303         <location filename="../src/mainwindow.cpp" line="411"/>
     308        <location filename="../src/mainwindow.cpp" line="439"/>
    304309        <source>static</source>
    305310        <translation>статическая</translation>
    306311    </message>
    307312    <message>
    308         <location filename="../src/mainwindow.cpp" line="413"/>
     313        <location filename="../src/mainwindow.cpp" line="441"/>
    309314        <source>Buid &lt;b&gt;%1&lt;/b&gt;, built on &lt;b&gt;%2&lt;/b&gt; at &lt;b&gt;%3&lt;/b&gt;</source>
    310315        <translation>Сборка &lt;b&gt;%1&lt;/b&gt;, собрана &lt;b&gt;%2&lt;/b&gt; в &lt;b&gt;%3&lt;/b&gt;</translation>
    311316    </message>
    312317    <message>
    313         <location filename="../src/mainwindow.cpp" line="414"/>
     318        <location filename="../src/mainwindow.cpp" line="442"/>
    314319        <source>Algorithm</source>
    315320        <translation>Алгоритм</translation>
    316321    </message>
    317322    <message>
    318         <location filename="../src/mainwindow.cpp" line="416"/>
     323        <location filename="../src/mainwindow.cpp" line="444"/>
    319324        <source>TSPSG is free software: you can redistribute it and/or modify it&lt;br&gt;under the terms of the GNU General Public License as published&lt;br&gt;by the Free Software Foundation, either version 3 of the License,&lt;br&gt;or (at your option) any later version.&lt;br&gt;&lt;br&gt;TSPSG is distributed in the hope that it will be useful, but&lt;br&gt;WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;GNU General Public License for more details.&lt;br&gt;&lt;br&gt;You should have received a copy of the GNU General Public License&lt;br&gt;along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;.</source>
    320325        <translation type="unfinished"></translation>
    321326    </message>
    322327    <message>
    323         <location filename="../src/mainwindow.cpp" line="493"/>
    324328        <source>About TSPSG</source>
    325         <translation>О TSPSG</translation>
    326     </message>
    327     <message>
    328         <location filename="../src/mainwindow.cpp" line="535"/>
     329        <translation type="obsolete">О TSPSG</translation>
     330    </message>
     331    <message>
     332        <location filename="../src/mainwindow.cpp" line="563"/>
    329333        <source>Data error</source>
    330334        <translation>Ошибка в данных</translation>
    331335    </message>
    332336    <message>
    333         <location filename="../src/mainwindow.cpp" line="535"/>
     337        <location filename="../src/mainwindow.cpp" line="563"/>
    334338        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    335339        <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation>
    336340    </message>
    337341    <message>
    338         <location filename="../src/mainwindow.cpp" line="549"/>
     342        <location filename="../src/mainwindow.cpp" line="577"/>
    339343        <source>Calculating optimal route...</source>
    340344        <translation>Расчет оптимального пути...</translation>
    341345    </message>
    342346    <message>
    343         <location filename="../src/mainwindow.cpp" line="550"/>
     347        <location filename="../src/mainwindow.cpp" line="578"/>
    344348        <source>Solution Progress</source>
    345349        <translation>Состояние решения</translation>
    346350    </message>
    347351    <message>
    348         <location filename="../src/mainwindow.cpp" line="564"/>
     352        <location filename="../src/mainwindow.cpp" line="592"/>
    349353        <source>Solution Result</source>
    350354        <translation>Результат решения</translation>
    351355    </message>
    352356    <message>
    353         <location filename="../src/mainwindow.cpp" line="564"/>
     357        <location filename="../src/mainwindow.cpp" line="592"/>
    354358        <source>Unable to find a solution.
    355359Maybe, this task has no solution.</source>
     
    358362    </message>
    359363    <message>
    360         <location filename="../src/mainwindow.cpp" line="567"/>
     364        <location filename="../src/mainwindow.cpp" line="595"/>
    361365        <source>Generating header</source>
    362366        <translation>Генерация заголовка</translation>
    363367    </message>
    364368    <message>
    365         <location filename="../src/mainwindow.cpp" line="573"/>
     369        <location filename="../src/mainwindow.cpp" line="601"/>
    366370        <source>Solution of Variant #%1 Task</source>
    367371        <translation>Решение задания для варианта №%1</translation>
    368372    </message>
    369373    <message>
    370         <location filename="../src/mainwindow.cpp" line="591"/>
     374        <location filename="../src/mainwindow.cpp" line="619"/>
    371375        <source>Task:</source>
    372376        <translation>Условие:</translation>
    373377    </message>
    374378    <message>
    375         <location filename="../src/mainwindow.cpp" line="224"/>
    376         <location filename="../src/mainwindow.cpp" line="279"/>
    377         <location filename="../src/mainwindow.cpp" line="293"/>
     379        <location filename="../src/mainwindow.cpp" line="232"/>
     380        <location filename="../src/mainwindow.cpp" line="287"/>
     381        <location filename="../src/mainwindow.cpp" line="301"/>
    378382        <source>Solution Save</source>
    379383        <translation>Сохранение решения</translation>
    380384    </message>
    381385    <message>
    382         <location filename="../src/mainwindow.cpp" line="224"/>
    383         <location filename="../src/mainwindow.cpp" line="293"/>
     386        <location filename="../src/mainwindow.cpp" line="232"/>
     387        <location filename="../src/mainwindow.cpp" line="301"/>
    384388        <source>Unable to save the solution.
    385389Error: %1</source>
     
    388392    </message>
    389393    <message>
    390         <location filename="../src/mainwindow.cpp" line="330"/>
     394        <location filename="../src/mainwindow.cpp" line="338"/>
    391395        <source>You have changed color settings.
    392396They will be applied to the next solution output.</source>
     
    395399    </message>
    396400    <message>
    397         <location filename="../src/mainwindow.cpp" line="370"/>
     401        <location filename="../src/mainwindow.cpp" line="349"/>
     402        <source>Language will be autodetected on the next %1 start.</source>
     403        <translation>Язык будет автоматически определен при следующем запуске %1.</translation>
     404    </message>
     405    <message>
     406        <location filename="../src/mainwindow.cpp" line="378"/>
    398407        <source>You have changed the application language.
    399408To get current solution output in the new language
     
    404413    </message>
    405414    <message>
    406         <location filename="../src/mainwindow.cpp" line="545"/>
     415        <location filename="../src/mainwindow.cpp" line="386"/>
     416        <source>Style Change</source>
     417        <translation>Смена оформления</translation>
     418    </message>
     419    <message>
     420        <location filename="../src/mainwindow.cpp" line="386"/>
     421        <source>To apply the default style you need to restart %1.</source>
     422        <translation>Чтобы применить оформление по умолчанию необходимо перезапустить %1.</translation>
     423    </message>
     424    <message>
     425        <location filename="../src/mainwindow.cpp" line="521"/>
     426        <source>About %1</source>
     427        <translation>О %1</translation>
     428    </message>
     429    <message>
     430        <location filename="../src/mainwindow.cpp" line="573"/>
    407431        <source>%v of %1 parts found</source>
    408432        <translation>Найдено %v з %1 переходов</translation>
    409433    </message>
    410434    <message>
    411         <location filename="../src/mainwindow.cpp" line="568"/>
     435        <location filename="../src/mainwindow.cpp" line="596"/>
    412436        <source>Generating solution output...</source>
    413437        <translation>Генерация текста решения...</translation>
    414438    </message>
    415439    <message>
    416         <location filename="../src/mainwindow.cpp" line="589"/>
     440        <location filename="../src/mainwindow.cpp" line="617"/>
    417441        <source>Variant #%1 Task</source>
    418442        <translation>Условие варианта №%1</translation>
    419443    </message>
    420444    <message>
    421         <location filename="../src/mainwindow.cpp" line="598"/>
     445        <location filename="../src/mainwindow.cpp" line="626"/>
    422446        <source>Variant #%1 Solution</source>
    423447        <translation>Решение варианта №%1</translation>
    424448    </message>
    425449    <message>
    426         <location filename="../src/mainwindow.cpp" line="603"/>
     450        <location filename="../src/mainwindow.cpp" line="631"/>
    427451        <source>Generating step %v</source>
    428452        <translation>Генерация шага %v</translation>
    429453    </message>
    430454    <message>
    431         <location filename="../src/mainwindow.cpp" line="620"/>
     455        <location filename="../src/mainwindow.cpp" line="648"/>
    432456        <source>Step #%1</source>
    433457        <translation>Шаг №%1</translation>
    434458    </message>
    435459    <message>
    436         <location filename="../src/mainwindow.cpp" line="625"/>
     460        <location filename="../src/mainwindow.cpp" line="653"/>
    437461        <source>Selected route %1 %2 part.</source>
    438462        <translation>Выбран путь %1 %2.</translation>
    439463    </message>
    440464    <message>
    441         <location filename="../src/mainwindow.cpp" line="625"/>
     465        <location filename="../src/mainwindow.cpp" line="653"/>
    442466        <source>with</source>
    443467        <translation>с переходом</translation>
    444468    </message>
    445469    <message>
    446         <location filename="../src/mainwindow.cpp" line="625"/>
     470        <location filename="../src/mainwindow.cpp" line="653"/>
    447471        <source>without</source>
    448472        <translation>без перехода</translation>
    449473    </message>
    450474    <message>
    451         <location filename="../src/mainwindow.cpp" line="657"/>
     475        <location filename="../src/mainwindow.cpp" line="685"/>
    452476        <source>Generating footer</source>
    453477        <translation>Генерация окончания</translation>
    454478    </message>
    455479    <message>
    456         <location filename="../src/mainwindow.cpp" line="663"/>
     480        <location filename="../src/mainwindow.cpp" line="691"/>
    457481        <source>Optimal path:</source>
    458482        <translation>Оптимальный путь:</translation>
    459483    </message>
    460484    <message>
    461         <location filename="../src/mainwindow.cpp" line="665"/>
     485        <location filename="../src/mainwindow.cpp" line="693"/>
    462486        <source>Resulting path:</source>
    463487        <translation>Найденный путь:</translation>
    464488    </message>
    465489    <message>
    466         <location filename="../src/mainwindow.cpp" line="668"/>
     490        <location filename="../src/mainwindow.cpp" line="696"/>
    467491        <source>City %1</source>
    468492        <translation>Город %1</translation>
    469493    </message>
    470494    <message>
    471         <location filename="../src/mainwindow.cpp" line="674"/>
     495        <location filename="../src/mainwindow.cpp" line="702"/>
    472496        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    473497        <translation>Стоимость - &lt;b&gt;%1&lt;/b&gt; единиц.</translation>
    474498    </message>
    475499    <message>
    476         <location filename="../src/mainwindow.cpp" line="679"/>
     500        <location filename="../src/mainwindow.cpp" line="707"/>
    477501        <source>&lt;b&gt;WARNING!!!&lt;/b&gt;&lt;br&gt;This result is a record, but it may not be optimal.&lt;br&gt;Iterations need to be continued to check whether this result is optimal or get an optimal one.</source>
    478502        <translation>&lt;b&gt;ВНИМАНИЕ!!!&lt;/b&gt;&lt;br&gt;Найденное решение является рекордом, но может оказаться не оптимальным.&lt;br&gt;Для получения оптимального решения, или проверки текущего на оптимальность, требуется продолжить итерации.</translation>
    479503    </message>
    480504    <message>
    481         <location filename="../src/mainwindow.cpp" line="606"/>
    482         <location filename="../src/mainwindow.cpp" line="706"/>
     505        <location filename="../src/mainwindow.cpp" line="634"/>
     506        <location filename="../src/mainwindow.cpp" line="734"/>
    483507        <source>Cleaning up...</source>
    484508        <translation>Очистка...</translation>
    485509    </message>
    486510    <message>
    487         <location filename="../src/mainwindow.cpp" line="1007"/>
    488         <location filename="../src/mainwindow.cpp" line="1009"/>
     511        <location filename="../src/mainwindow.cpp" line="1035"/>
     512        <location filename="../src/mainwindow.cpp" line="1037"/>
    489513        <source>Unable to load the translation language.
    490514Falling back to autodetection.</source>
     
    493517    </message>
    494518    <message>
    495         <location filename="../src/mainwindow.cpp" line="1021"/>
     519        <location filename="../src/mainwindow.cpp" line="1070"/>
    496520        <source>Would you like to save changes in the current task?</source>
    497521        <translation>Желаете сохранить изменения в текущей задаче?</translation>
    498522    </message>
    499523    <message>
    500         <location filename="../src/mainwindow.cpp" line="1084"/>
     524        <location filename="../src/mainwindow.cpp" line="974"/>
     525        <location filename="../src/mainwindow.cpp" line="1133"/>
    501526        <source>Set application language to %1</source>
    502527        <translation>Изменить язык приложения на %1</translation>
    503528    </message>
    504529    <message>
    505         <location filename="../src/mainwindow.cpp" line="1105"/>
     530        <location filename="../src/mainwindow.cpp" line="1155"/>
    506531        <source>Check for &amp;Updates...</source>
    507532        <translation>Проверить &amp;обновления...</translation>
    508533    </message>
    509534    <message>
    510         <location filename="../src/mainwindow.cpp" line="1125"/>
     535        <location filename="../src/mainwindow.cpp" line="1175"/>
    511536        <source>Task Save</source>
    512537        <translation>Сохранение условия</translation>
    513538    </message>
    514539    <message>
    515         <location filename="../src/mainwindow.cpp" line="341"/>
    516540        <source>Language will be autodetected on the next application start.</source>
    517         <translation>Язык будет автоматически определен при следующем запуске приложения.</translation>
    518     </message>
    519     <message>
    520         <location filename="../src/mainwindow.cpp" line="350"/>
     541        <translation type="obsolete">Язык будет автоматически определен при следующем запуске приложения.</translation>
     542    </message>
     543    <message>
     544        <location filename="../src/mainwindow.cpp" line="358"/>
    521545        <source>You have language autodetection turned on.
    522546It needs to be off.
     
    527551    </message>
    528552    <message>
    529         <location filename="../src/mainwindow.cpp" line="156"/>
    530         <location filename="../src/mainwindow.cpp" line="180"/>
    531         <location filename="../src/mainwindow.cpp" line="355"/>
    532         <location filename="../src/mainwindow.h" line="129"/>
     553        <location filename="../src/mainwindow.cpp" line="164"/>
     554        <location filename="../src/mainwindow.cpp" line="188"/>
     555        <location filename="../src/mainwindow.cpp" line="363"/>
     556        <location filename="../src/mainwindow.h" line="133"/>
    533557        <source>Untitled</source>
    534558        <translation>Без имени</translation>
     
    596620    <message>
    597621        <location filename="../ui/mainwindow.ui" line="207"/>
    598         <location filename="../ui/mainwindow.ui" line="361"/>
     622        <location filename="../ui/mainwindow.ui" line="366"/>
    599623        <source>Save solution to a file</source>
    600624        <translation>Сохранить решение в файл</translation>
     
    627651    </message>
    628652    <message>
    629         <location filename="../ui/mainwindow.ui" line="439"/>
     653        <location filename="../ui/mainwindow.ui" line="444"/>
    630654        <source>Context &amp;Help</source>
    631655        <translation>&amp;Контекстная справка</translation>
    632656    </message>
    633657    <message>
    634         <location filename="../ui/mainwindow.ui" line="454"/>
     658        <location filename="../ui/mainwindow.ui" line="459"/>
    635659        <source>&amp;About TSPSG...</source>
    636660        <translation>&amp;О TSPSG...</translation>
    637661    </message>
    638662    <message>
    639         <location filename="../ui/mainwindow.ui" line="520"/>
     663        <location filename="../ui/mainwindow.ui" line="525"/>
    640664        <source>&amp;Save</source>
    641665        <translation>Со&amp;хранить</translation>
     
    647671    </message>
    648672    <message>
    649         <location filename="../ui/mainwindow.ui" line="317"/>
     673        <location filename="../ui/mainwindow.ui" line="313"/>
     674        <source>Style</source>
     675        <translation>Оформление</translation>
     676    </message>
     677    <message>
     678        <location filename="../ui/mainwindow.ui" line="322"/>
    650679        <source>&amp;Help</source>
    651680        <translation>&amp;Помощь</translation>
    652681    </message>
    653682    <message>
    654         <location filename="../ui/mainwindow.ui" line="358"/>
     683        <location filename="../ui/mainwindow.ui" line="363"/>
    655684        <source>Save solution</source>
    656685        <translation>Сохранить решение</translation>
    657686    </message>
    658687    <message>
    659         <location filename="../ui/mainwindow.ui" line="370"/>
     688        <location filename="../ui/mainwindow.ui" line="375"/>
    660689        <source>&amp;New</source>
    661690        <translation>&amp;Создать</translation>
    662691    </message>
    663692    <message>
    664         <location filename="../ui/mainwindow.ui" line="373"/>
     693        <location filename="../ui/mainwindow.ui" line="378"/>
    665694        <source>New task</source>
    666695        <translation>Создать задачу</translation>
    667696    </message>
    668697    <message>
    669         <location filename="../ui/mainwindow.ui" line="376"/>
     698        <location filename="../ui/mainwindow.ui" line="381"/>
    670699        <source>Create new task</source>
    671700        <translation>Создать новую задачу</translation>
    672701    </message>
    673702    <message>
    674         <location filename="../ui/mainwindow.ui" line="379"/>
     703        <location filename="../ui/mainwindow.ui" line="384"/>
    675704        <source>Ctrl+N</source>
    676705        <translation></translation>
    677706    </message>
    678707    <message>
    679         <location filename="../ui/mainwindow.ui" line="388"/>
     708        <location filename="../ui/mainwindow.ui" line="393"/>
    680709        <source>&amp;Open...</source>
    681710        <translation>&amp;Открыть...</translation>
    682711    </message>
    683712    <message>
    684         <location filename="../ui/mainwindow.ui" line="391"/>
     713        <location filename="../ui/mainwindow.ui" line="396"/>
    685714        <source>Open task</source>
    686715        <translation>Открыть условие</translation>
    687716    </message>
    688717    <message>
    689         <location filename="../ui/mainwindow.ui" line="394"/>
     718        <location filename="../ui/mainwindow.ui" line="399"/>
    690719        <source>Open saved task</source>
    691720        <translation>Открыть сохраненное условие задачи</translation>
    692721    </message>
    693722    <message>
    694         <location filename="../ui/mainwindow.ui" line="397"/>
     723        <location filename="../ui/mainwindow.ui" line="402"/>
    695724        <source>Ctrl+O</source>
    696725        <translation></translation>
    697726    </message>
    698727    <message>
    699         <location filename="../ui/mainwindow.ui" line="406"/>
     728        <location filename="../ui/mainwindow.ui" line="411"/>
    700729        <source>&amp;Preferences...</source>
    701730        <translation>&amp;Параметры...</translation>
    702731    </message>
    703732    <message>
    704         <location filename="../ui/mainwindow.ui" line="409"/>
     733        <location filename="../ui/mainwindow.ui" line="414"/>
    705734        <source>Application preferences</source>
    706735        <translation>Настройка параметров программмы</translation>
    707736    </message>
    708737    <message>
    709         <location filename="../ui/mainwindow.ui" line="421"/>
     738        <location filename="../ui/mainwindow.ui" line="426"/>
    710739        <source>&amp;Contents</source>
    711740        <translation>&amp;Содежание</translation>
    712741    </message>
    713742    <message>
    714         <location filename="../ui/mainwindow.ui" line="424"/>
     743        <location filename="../ui/mainwindow.ui" line="429"/>
    715744        <source>Open help contents</source>
    716745        <translation>Вызвать справку программы</translation>
    717746    </message>
    718747    <message>
    719         <location filename="../ui/mainwindow.ui" line="427"/>
     748        <location filename="../ui/mainwindow.ui" line="432"/>
    720749        <source>Ctrl+F1</source>
    721750        <translation></translation>
    722751    </message>
    723752    <message>
    724         <location filename="../ui/mainwindow.ui" line="442"/>
     753        <location filename="../ui/mainwindow.ui" line="447"/>
    725754        <source>Open context help</source>
    726755        <translation>Вызвать контекстную справку</translation>
    727756    </message>
    728757    <message>
    729         <location filename="../ui/mainwindow.ui" line="445"/>
     758        <location filename="../ui/mainwindow.ui" line="450"/>
    730759        <source>F1</source>
    731760        <translation></translation>
    732761    </message>
    733762    <message>
    734         <location filename="../ui/mainwindow.ui" line="457"/>
     763        <location filename="../ui/mainwindow.ui" line="462"/>
    735764        <source>About application</source>
    736765        <translation>О программе</translation>
    737766    </message>
    738767    <message>
    739         <location filename="../ui/mainwindow.ui" line="466"/>
     768        <location filename="../ui/mainwindow.ui" line="471"/>
    740769        <source>E&amp;xit</source>
    741770        <translation>В&amp;ыход</translation>
    742771    </message>
    743772    <message>
    744         <location filename="../ui/mainwindow.ui" line="469"/>
     773        <location filename="../ui/mainwindow.ui" line="474"/>
    745774        <source>Exit application</source>
    746775        <translation>Выйти из приложения</translation>
    747776    </message>
    748777    <message>
    749         <location filename="../ui/mainwindow.ui" line="474"/>
     778        <location filename="../ui/mainwindow.ui" line="479"/>
    750779        <source>&amp;Task...</source>
    751780        <translation>&amp;Условие...</translation>
    752781    </message>
    753782    <message>
    754         <location filename="../ui/mainwindow.ui" line="477"/>
    755         <location filename="../ui/mainwindow.ui" line="523"/>
     783        <location filename="../ui/mainwindow.ui" line="482"/>
     784        <location filename="../ui/mainwindow.ui" line="528"/>
    756785        <source>Save task</source>
    757786        <translation>Сохранить условие</translation>
    758787    </message>
    759788    <message>
    760         <location filename="../ui/mainwindow.ui" line="480"/>
     789        <location filename="../ui/mainwindow.ui" line="485"/>
    761790        <source>Save task to file</source>
    762791        <translation>Сохранить условие задачи в файл</translation>
    763792    </message>
    764793    <message>
    765         <location filename="../ui/mainwindow.ui" line="529"/>
     794        <location filename="../ui/mainwindow.ui" line="534"/>
    766795        <source>Ctrl+S</source>
    767796        <translation></translation>
    768797    </message>
    769798    <message>
    770         <location filename="../ui/mainwindow.ui" line="491"/>
     799        <location filename="../ui/mainwindow.ui" line="557"/>
     800        <source>System Default</source>
     801        <translation>По умолчанию</translation>
     802    </message>
     803    <message>
     804        <location filename="../ui/mainwindow.ui" line="560"/>
     805        <source>Automatically choose the most appropriate style</source>
     806        <translation>Автоматически выбирать наиболее подходящее оформление</translation>
     807    </message>
     808    <message>
     809        <location filename="../ui/mainwindow.ui" line="496"/>
    771810        <source>&amp;Autodetect</source>
    772811        <translation>&amp;Автоопределение</translation>
    773812    </message>
    774813    <message>
    775         <location filename="../ui/mainwindow.ui" line="526"/>
     814        <location filename="../ui/mainwindow.ui" line="531"/>
    776815        <source>Save current task</source>
    777816        <translation>Сохранить текущее условие</translation>
    778817    </message>
    779818    <message>
    780         <location filename="../ui/mainwindow.ui" line="538"/>
     819        <location filename="../ui/mainwindow.ui" line="543"/>
    781820        <source>About &amp;Qt...</source>
    782821        <translation>О &amp;Qt...</translation>
    783822    </message>
    784823    <message>
    785         <location filename="../ui/mainwindow.ui" line="541"/>
     824        <location filename="../ui/mainwindow.ui" line="546"/>
    786825        <source>About Qt library</source>
    787826        <translation>О библиотеке Qt</translation>
     
    803842    </message>
    804843    <message>
    805         <location filename="../ui/mainwindow.ui" line="334"/>
     844        <location filename="../ui/mainwindow.ui" line="339"/>
    806845        <source>Toolbar</source>
    807846        <translation>Панель инструментов</translation>
    808847    </message>
    809848    <message>
    810         <location filename="../src/mainwindow.cpp" line="1087"/>
     849        <location filename="../src/mainwindow.cpp" line="1137"/>
    811850        <source>P&amp;rint Preview...</source>
    812851        <translation>П&amp;редварительный просмотр...</translation>
    813852    </message>
    814853    <message>
    815         <location filename="../src/mainwindow.cpp" line="1089"/>
     854        <location filename="../src/mainwindow.cpp" line="1139"/>
    816855        <source>Preview solution results</source>
    817856        <translation>Предварительный просмотр результатов решения</translation>
    818857    </message>
    819858    <message>
    820         <location filename="../src/mainwindow.cpp" line="1092"/>
     859        <location filename="../src/mainwindow.cpp" line="1142"/>
    821860        <source>Preview current solution results before printing</source>
    822861        <translation>Предварительный просмотр результатов решения перед печатью</translation>
    823862    </message>
    824863    <message>
    825         <location filename="../src/mainwindow.cpp" line="1095"/>
     864        <location filename="../src/mainwindow.cpp" line="1145"/>
    826865        <source>&amp;Print...</source>
    827866        <translation>&amp;Печать...</translation>
    828867    </message>
    829868    <message>
    830         <location filename="../src/mainwindow.cpp" line="1097"/>
     869        <location filename="../src/mainwindow.cpp" line="1147"/>
    831870        <source>Print solution</source>
    832871        <translation>Печать решения</translation>
    833872    </message>
    834873    <message>
    835         <location filename="../src/mainwindow.cpp" line="1100"/>
     874        <location filename="../src/mainwindow.cpp" line="1150"/>
    836875        <source>Print current solution results</source>
    837876        <translation>Распечатать текущие результаты решения</translation>
    838877    </message>
    839878    <message>
    840         <location filename="../src/mainwindow.cpp" line="1102"/>
     879        <location filename="../src/mainwindow.cpp" line="1152"/>
    841880        <source>Ctrl+P</source>
    842881        <translation></translation>
    843882    </message>
    844883    <message>
    845         <location filename="../ui/mainwindow.ui" line="355"/>
     884        <location filename="../ui/mainwindow.ui" line="360"/>
    846885        <source>&amp;Solution...</source>
    847886        <translation>&amp;Решение...</translation>
    848887    </message>
    849888    <message>
    850         <location filename="../ui/mainwindow.ui" line="494"/>
     889        <location filename="../ui/mainwindow.ui" line="499"/>
    851890        <source>Detect language automatically</source>
    852891        <translation>Определять язык автоматически</translation>
    853892    </message>
    854893    <message>
    855         <location filename="../ui/mainwindow.ui" line="497"/>
     894        <location filename="../ui/mainwindow.ui" line="502"/>
    856895        <source>Detect language automatically based on regional settings</source>
    857896        <translation>Определять язык автоматически, основываясь на региональных настройках</translation>
     
    11031142    </message>
    11041143    <message>
    1105         <location filename="../src/settingsdialog.cpp" line="268"/>
    1106         <location filename="../src/settingsdialog.cpp" line="274"/>
     1144        <location filename="../src/settingsdialog.cpp" line="270"/>
     1145        <location filename="../src/settingsdialog.cpp" line="276"/>
    11071146        <source>Settings Reset</source>
    11081147        <translation>Сброс настроек</translation>
    11091148    </message>
    11101149    <message>
    1111         <location filename="../src/settingsdialog.cpp" line="268"/>
     1150        <location filename="../src/settingsdialog.cpp" line="270"/>
    11121151        <source>Do you really want to &lt;b&gt;reset all application settings to their defaults&lt;/b&gt;?</source>
    11131152        <translation>Вы действительно хотите &lt;b&gt;сбросить все настройки на значения по-умолчанию&lt;/b&gt;?</translation>
    11141153    </message>
    11151154    <message>
    1116         <location filename="../src/settingsdialog.cpp" line="274"/>
     1155        <location filename="../src/settingsdialog.cpp" line="276"/>
    11171156        <source>All settings where successfully reset to their defaults.
    11181157It is recommended to restart the application now.</source>
  • l10n/tspsg_uk.ts

    re51c78af27 re3533af1cf  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="469"/>
     8        <location filename="../src/mainwindow.cpp" line="497"/>
    99        <source>TRANSLATION</source>
    1010        <comment>Please, provide translator credits here.</comment>
     
    1212    </message>
    1313    <message>
    14         <location filename="../src/mainwindow.cpp" line="944"/>
     14        <location filename="../src/mainwindow.cpp" line="972"/>
    1515        <source>LANGNAME</source>
    1616        <comment>Please, provide a native name of your translation language here.</comment>
     
    158158    </message>
    159159    <message>
    160         <location filename="../ui/mainwindow.ui" line="334"/>
     160        <location filename="../ui/mainwindow.ui" line="339"/>
    161161        <source>Toolbar</source>
    162162        <translation>Панель інструментів</translation>
    163163    </message>
    164164    <message>
    165         <location filename="../src/mainwindow.cpp" line="1087"/>
     165        <location filename="../src/mainwindow.cpp" line="1137"/>
    166166        <source>P&amp;rint Preview...</source>
    167167        <translation>&amp;Попередній перегляд...</translation>
    168168    </message>
    169169    <message>
    170         <location filename="../src/mainwindow.cpp" line="1089"/>
     170        <location filename="../src/mainwindow.cpp" line="1139"/>
    171171        <source>Preview solution results</source>
    172172        <translation>Попередній перегляд результатів розв&apos;язку</translation>
    173173    </message>
    174174    <message>
    175         <location filename="../src/mainwindow.cpp" line="1092"/>
     175        <location filename="../src/mainwindow.cpp" line="1142"/>
    176176        <source>Preview current solution results before printing</source>
    177177        <translation>Попередній перегляд результатів розв&apos;язку перед друком</translation>
    178178    </message>
    179179    <message>
    180         <location filename="../src/mainwindow.cpp" line="1095"/>
     180        <location filename="../src/mainwindow.cpp" line="1145"/>
    181181        <source>&amp;Print...</source>
    182182        <translation>&amp;Друк...</translation>
    183183    </message>
    184184    <message>
    185         <location filename="../src/mainwindow.cpp" line="1097"/>
     185        <location filename="../src/mainwindow.cpp" line="1147"/>
    186186        <source>Print solution</source>
    187187        <translation>Друк розв&apos;язку</translation>
    188188    </message>
    189189    <message>
    190         <location filename="../src/mainwindow.cpp" line="1100"/>
     190        <location filename="../src/mainwindow.cpp" line="1150"/>
    191191        <source>Print current solution results</source>
    192192        <translation>Роздрукувати поточний результат розв&apos;язку</translation>
    193193    </message>
    194194    <message>
    195         <location filename="../src/mainwindow.cpp" line="1102"/>
     195        <location filename="../src/mainwindow.cpp" line="1152"/>
    196196        <source>Ctrl+P</source>
    197197        <translation></translation>
    198198    </message>
    199199    <message>
    200         <location filename="../ui/mainwindow.ui" line="355"/>
     200        <location filename="../ui/mainwindow.ui" line="360"/>
    201201        <source>&amp;Solution...</source>
    202202        <translation>&amp;Розв&apos;язок...</translation>
    203203    </message>
    204204    <message>
    205         <location filename="../ui/mainwindow.ui" line="494"/>
     205        <location filename="../ui/mainwindow.ui" line="499"/>
    206206        <source>Detect language automatically</source>
    207207        <translation>Визначати мову автоматично</translation>
    208208    </message>
    209209    <message>
    210         <location filename="../ui/mainwindow.ui" line="497"/>
     210        <location filename="../ui/mainwindow.ui" line="502"/>
    211211        <source>Detect language automatically based on regional settings</source>
    212212        <translation>Визначати мову автоматично, використовуючи регіональні стандарти</translation>
    213213    </message>
    214214    <message>
    215         <location filename="../ui/mainwindow.ui" line="529"/>
     215        <location filename="../ui/mainwindow.ui" line="534"/>
    216216        <source>Ctrl+S</source>
    217217        <translation></translation>
    218218    </message>
    219219    <message>
    220         <location filename="../ui/mainwindow.ui" line="379"/>
     220        <location filename="../ui/mainwindow.ui" line="384"/>
    221221        <source>Ctrl+N</source>
    222222        <translation></translation>
     
    274274    <message>
    275275        <location filename="../ui/mainwindow.ui" line="207"/>
    276         <location filename="../ui/mainwindow.ui" line="361"/>
     276        <location filename="../ui/mainwindow.ui" line="366"/>
    277277        <source>Save solution to a file</source>
    278278        <translation>Зберегти розв&apos;язок у файл</translation>
     
    305305    </message>
    306306    <message>
    307         <location filename="../ui/mainwindow.ui" line="439"/>
     307        <location filename="../ui/mainwindow.ui" line="444"/>
    308308        <source>Context &amp;Help</source>
    309309        <translation>&amp;Контекстна допомога</translation>
    310310    </message>
    311311    <message>
    312         <location filename="../ui/mainwindow.ui" line="454"/>
     312        <location filename="../ui/mainwindow.ui" line="459"/>
    313313        <source>&amp;About TSPSG...</source>
    314314        <translation>&amp;Про TSPSG...</translation>
    315315    </message>
    316316    <message>
    317         <location filename="../ui/mainwindow.ui" line="520"/>
     317        <location filename="../ui/mainwindow.ui" line="525"/>
    318318        <source>&amp;Save</source>
    319319        <translation>&amp;Зберегти</translation>
     
    325325    </message>
    326326    <message>
    327         <location filename="../ui/mainwindow.ui" line="317"/>
     327        <location filename="../ui/mainwindow.ui" line="313"/>
     328        <source>Style</source>
     329        <translation>Вигляд</translation>
     330    </message>
     331    <message>
     332        <location filename="../ui/mainwindow.ui" line="322"/>
    328333        <source>&amp;Help</source>
    329334        <translation>&amp;Допомога</translation>
    330335    </message>
    331336    <message>
    332         <location filename="../ui/mainwindow.ui" line="358"/>
     337        <location filename="../ui/mainwindow.ui" line="363"/>
    333338        <source>Save solution</source>
    334339        <translation>Зберегти розв&apos;язок</translation>
    335340    </message>
    336341    <message>
    337         <location filename="../ui/mainwindow.ui" line="370"/>
     342        <location filename="../ui/mainwindow.ui" line="375"/>
    338343        <source>&amp;New</source>
    339344        <translation>&amp;Створити</translation>
    340345    </message>
    341346    <message>
    342         <location filename="../ui/mainwindow.ui" line="373"/>
     347        <location filename="../ui/mainwindow.ui" line="378"/>
    343348        <source>New task</source>
    344349        <translation>Нова задача</translation>
    345350    </message>
    346351    <message>
    347         <location filename="../ui/mainwindow.ui" line="376"/>
     352        <location filename="../ui/mainwindow.ui" line="381"/>
    348353        <source>Create new task</source>
    349354        <translation>Створити нову задачу</translation>
    350355    </message>
    351356    <message>
    352         <location filename="../ui/mainwindow.ui" line="388"/>
     357        <location filename="../ui/mainwindow.ui" line="393"/>
    353358        <source>&amp;Open...</source>
    354359        <translation>&amp;Відкрити...</translation>
    355360    </message>
    356361    <message>
    357         <location filename="../ui/mainwindow.ui" line="391"/>
     362        <location filename="../ui/mainwindow.ui" line="396"/>
    358363        <source>Open task</source>
    359364        <translation>Відкрити умову</translation>
    360365    </message>
    361366    <message>
    362         <location filename="../ui/mainwindow.ui" line="394"/>
     367        <location filename="../ui/mainwindow.ui" line="399"/>
    363368        <source>Open saved task</source>
    364369        <translation>Відкрити збережену умову</translation>
    365370    </message>
    366371    <message>
    367         <location filename="../ui/mainwindow.ui" line="397"/>
     372        <location filename="../ui/mainwindow.ui" line="402"/>
    368373        <source>Ctrl+O</source>
    369374        <translation></translation>
    370375    </message>
    371376    <message>
    372         <location filename="../ui/mainwindow.ui" line="406"/>
     377        <location filename="../ui/mainwindow.ui" line="411"/>
    373378        <source>&amp;Preferences...</source>
    374379        <translation>&amp;Параметри...</translation>
    375380    </message>
    376381    <message>
    377         <location filename="../ui/mainwindow.ui" line="409"/>
     382        <location filename="../ui/mainwindow.ui" line="414"/>
    378383        <source>Application preferences</source>
    379384        <translation>Параметри додатку</translation>
    380385    </message>
    381386    <message>
    382         <location filename="../ui/mainwindow.ui" line="421"/>
     387        <location filename="../ui/mainwindow.ui" line="426"/>
    383388        <source>&amp;Contents</source>
    384389        <translation>&amp;Зміст</translation>
    385390    </message>
    386391    <message>
    387         <location filename="../ui/mainwindow.ui" line="424"/>
     392        <location filename="../ui/mainwindow.ui" line="429"/>
    388393        <source>Open help contents</source>
    389394        <translation>Відкрити зміст допомоги</translation>
    390395    </message>
    391396    <message>
    392         <location filename="../ui/mainwindow.ui" line="427"/>
     397        <location filename="../ui/mainwindow.ui" line="432"/>
    393398        <source>Ctrl+F1</source>
    394399        <translation></translation>
    395400    </message>
    396401    <message>
    397         <location filename="../ui/mainwindow.ui" line="442"/>
     402        <location filename="../ui/mainwindow.ui" line="447"/>
    398403        <source>Open context help</source>
    399404        <translation>Відкрити контекстну допомогу</translation>
    400405    </message>
    401406    <message>
    402         <location filename="../ui/mainwindow.ui" line="445"/>
     407        <location filename="../ui/mainwindow.ui" line="450"/>
    403408        <source>F1</source>
    404409        <translation></translation>
    405410    </message>
    406411    <message>
    407         <location filename="../ui/mainwindow.ui" line="457"/>
     412        <location filename="../ui/mainwindow.ui" line="462"/>
    408413        <source>About application</source>
    409414        <translation>Про додаток</translation>
    410415    </message>
    411416    <message>
    412         <location filename="../ui/mainwindow.ui" line="466"/>
     417        <location filename="../ui/mainwindow.ui" line="471"/>
    413418        <source>E&amp;xit</source>
    414419        <translation>В&amp;ихід</translation>
    415420    </message>
    416421    <message>
    417         <location filename="../ui/mainwindow.ui" line="469"/>
     422        <location filename="../ui/mainwindow.ui" line="474"/>
    418423        <source>Exit application</source>
    419424        <translation>Вийти з додатку</translation>
    420425    </message>
    421426    <message>
    422         <location filename="../ui/mainwindow.ui" line="474"/>
     427        <location filename="../ui/mainwindow.ui" line="479"/>
    423428        <source>&amp;Task...</source>
    424429        <translation>&amp;Умову...</translation>
    425430    </message>
    426431    <message>
    427         <location filename="../ui/mainwindow.ui" line="477"/>
    428         <location filename="../ui/mainwindow.ui" line="523"/>
     432        <location filename="../ui/mainwindow.ui" line="482"/>
     433        <location filename="../ui/mainwindow.ui" line="528"/>
    429434        <source>Save task</source>
    430435        <translation>Зберегти умову</translation>
    431436    </message>
    432437    <message>
    433         <location filename="../ui/mainwindow.ui" line="480"/>
     438        <location filename="../ui/mainwindow.ui" line="485"/>
    434439        <source>Save task to file</source>
    435440        <translation>Зберегти умову задачі у файл</translation>
    436441    </message>
    437442    <message>
    438         <location filename="../ui/mainwindow.ui" line="491"/>
     443        <location filename="../ui/mainwindow.ui" line="496"/>
    439444        <source>&amp;Autodetect</source>
    440445        <translation>&amp;Автовизначення</translation>
    441446    </message>
    442447    <message>
    443         <location filename="../ui/mainwindow.ui" line="526"/>
     448        <location filename="../ui/mainwindow.ui" line="531"/>
    444449        <source>Save current task</source>
    445450        <translation>Зберегти поточну умову</translation>
    446451    </message>
    447452    <message>
    448         <location filename="../ui/mainwindow.ui" line="538"/>
     453        <location filename="../ui/mainwindow.ui" line="543"/>
    449454        <source>About &amp;Qt...</source>
    450455        <translation>Про &amp;Qt...</translation>
    451456    </message>
    452457    <message>
    453         <location filename="../ui/mainwindow.ui" line="541"/>
     458        <location filename="../ui/mainwindow.ui" line="546"/>
    454459        <source>About Qt library</source>
    455460        <translation>Про бібліотеку Qt</translation>
    456461    </message>
    457462    <message>
    458         <location filename="../src/mainwindow.cpp" line="341"/>
    459         <location filename="../src/mainwindow.cpp" line="350"/>
     463        <location filename="../ui/mainwindow.ui" line="557"/>
     464        <source>System Default</source>
     465        <translation>За промовчанням</translation>
     466    </message>
     467    <message>
     468        <location filename="../ui/mainwindow.ui" line="560"/>
     469        <source>Automatically choose the most appropriate style</source>
     470        <translation>Автоматично обирати вигляд, що найбільш підходить</translation>
     471    </message>
     472    <message>
     473        <location filename="../src/mainwindow.cpp" line="349"/>
     474        <location filename="../src/mainwindow.cpp" line="358"/>
    460475        <source>Language change</source>
    461476        <translation>Зміна мови</translation>
     
    463478    <message>
    464479        <location filename="../ui/mainwindow.ui" line="15"/>
    465         <location filename="../src/mainwindow.cpp" line="1140"/>
     480        <location filename="../src/mainwindow.cpp" line="1190"/>
    466481        <source>Travelling Salesman Problem</source>
    467482        <translation>Задача комівояжера</translation>
    468483    </message>
    469484    <message>
    470         <location filename="../src/mainwindow.cpp" line="1021"/>
     485        <location filename="../src/mainwindow.cpp" line="1070"/>
    471486        <source>Unsaved Changes</source>
    472487        <translation>Незбережені зміни</translation>
    473488    </message>
    474489    <message>
    475         <location filename="../src/mainwindow.cpp" line="135"/>
     490        <location filename="../src/mainwindow.cpp" line="143"/>
    476491        <source>All Supported Formats</source>
    477492        <translation>Усі підтримувані формати</translation>
    478493    </message>
    479494    <message>
    480         <location filename="../src/mainwindow.cpp" line="138"/>
    481         <location filename="../src/mainwindow.cpp" line="202"/>
    482         <location filename="../src/mainwindow.cpp" line="1117"/>
     495        <location filename="../src/mainwindow.cpp" line="146"/>
     496        <location filename="../src/mainwindow.cpp" line="210"/>
     497        <location filename="../src/mainwindow.cpp" line="1167"/>
    483498        <source>All Files</source>
    484499        <translation>Усі файли</translation>
    485500    </message>
    486501    <message>
    487         <location filename="../src/mainwindow.cpp" line="136"/>
    488         <location filename="../src/mainwindow.cpp" line="137"/>
     502        <location filename="../src/mainwindow.cpp" line="144"/>
     503        <location filename="../src/mainwindow.cpp" line="145"/>
    489504        <source>%1 Task Files</source>
    490505        <translation>Файли умов %1</translation>
    491506    </message>
    492507    <message>
    493         <location filename="../src/mainwindow.cpp" line="1007"/>
    494         <location filename="../src/mainwindow.cpp" line="1009"/>
     508        <location filename="../src/mainwindow.cpp" line="1035"/>
     509        <location filename="../src/mainwindow.cpp" line="1037"/>
    495510        <source>Language Change</source>
    496511        <translation>Зміна мови</translation>
    497512    </message>
    498513    <message>
    499         <location filename="../src/mainwindow.cpp" line="196"/>
     514        <location filename="../src/mainwindow.cpp" line="204"/>
    500515        <source>PDF Files</source>
    501516        <translation>Файлы PDF</translation>
    502517    </message>
    503518    <message>
    504         <location filename="../src/mainwindow.cpp" line="198"/>
     519        <location filename="../src/mainwindow.cpp" line="206"/>
    505520        <source>HTML Files</source>
    506521        <translation>Файли HTML</translation>
    507522    </message>
    508523    <message>
    509         <location filename="../src/mainwindow.cpp" line="200"/>
     524        <location filename="../src/mainwindow.cpp" line="208"/>
    510525        <source>OpenDocument Files</source>
    511526        <translation>Файли OpenDocument</translation>
    512527    </message>
    513528    <message>
    514         <location filename="../src/mainwindow.cpp" line="625"/>
    515         <location filename="../src/mainwindow.cpp" line="632"/>
    516         <location filename="../src/mainwindow.cpp" line="846"/>
     529        <location filename="../src/mainwindow.cpp" line="653"/>
     530        <location filename="../src/mainwindow.cpp" line="660"/>
     531        <location filename="../src/mainwindow.cpp" line="874"/>
    517532        <source>(%1;%2)</source>
    518533        <translation></translation>
    519534    </message>
    520535    <message numerus="yes">
    521         <location filename="../src/mainwindow.cpp" line="635"/>
     536        <location filename="../src/mainwindow.cpp" line="663"/>
    522537        <source>%n alternate candidate(s) for branching: %1.</source>
    523538        <translation>
     
    528543    </message>
    529544    <message numerus="yes">
    530         <location filename="../src/mainwindow.cpp" line="672"/>
     545        <location filename="../src/mainwindow.cpp" line="700"/>
    531546        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    532547        <translation>
     
    537552    </message>
    538553    <message>
    539         <location filename="../src/mainwindow.cpp" line="857"/>
     554        <location filename="../src/mainwindow.cpp" line="885"/>
    540555        <source>Root</source>
    541556        <translation>Корінь</translation>
    542557    </message>
    543558    <message>
    544         <location filename="../src/mainwindow.cpp" line="1107"/>
    545         <location filename="../src/mainwindow.cpp" line="1110"/>
     559        <location filename="../src/mainwindow.cpp" line="1056"/>
     560        <source>Set application style to %1</source>
     561        <translation>Змінити вигляд додатку на %1</translation>
     562    </message>
     563    <message>
     564        <location filename="../src/mainwindow.cpp" line="1157"/>
     565        <location filename="../src/mainwindow.cpp" line="1160"/>
    546566        <source>Check for %1 updates</source>
    547567        <translation>Перевірити оновлення %1</translation>
    548568    </message>
    549569    <message>
    550         <location filename="../src/mainwindow.cpp" line="1116"/>
     570        <location filename="../src/mainwindow.cpp" line="1166"/>
    551571        <source>%1 Task File</source>
    552572        <translation>Файл умови %1</translation>
    553573    </message>
    554574    <message>
    555         <location filename="../src/mainwindow.cpp" line="330"/>
    556         <location filename="../src/mainwindow.cpp" line="370"/>
     575        <location filename="../src/mainwindow.cpp" line="338"/>
     576        <location filename="../src/mainwindow.cpp" line="378"/>
    557577        <source>Settings Changed</source>
    558578        <translation>Параметри змінено</translation>
    559579    </message>
    560580    <message>
    561         <location filename="../src/mainwindow.cpp" line="142"/>
     581        <location filename="../src/mainwindow.cpp" line="150"/>
    562582        <source>Task Load</source>
    563583        <translation>Завантаження умови</translation>
    564584    </message>
    565585    <message>
    566         <location filename="../src/mainwindow.cpp" line="239"/>
    567         <location filename="../src/mainwindow.cpp" line="254"/>
     586        <location filename="../src/mainwindow.cpp" line="247"/>
     587        <location filename="../src/mainwindow.cpp" line="262"/>
    568588        <source>Solution Graph</source>
    569589        <translation>Граф розв&apos;язку</translation>
    570590    </message>
    571591    <message>
    572         <location filename="../src/mainwindow.cpp" line="255"/>
     592        <location filename="../src/mainwindow.cpp" line="263"/>
    573593        <source>Generated with %1</source>
    574594        <translation>Створено за допомогою %1</translation>
    575595    </message>
    576596    <message>
    577         <location filename="../src/mainwindow.cpp" line="279"/>
     597        <location filename="../src/mainwindow.cpp" line="287"/>
    578598        <source>Unable to save the solution graph.
    579599Error: %1</source>
     
    582602    </message>
    583603    <message>
    584         <location filename="../src/mainwindow.cpp" line="378"/>
     604        <location filename="../src/mainwindow.cpp" line="406"/>
    585605        <source>Unsupported Feature</source>
    586606        <translation type="unfinished"></translation>
    587607    </message>
    588608    <message>
    589         <location filename="../src/mainwindow.cpp" line="378"/>
     609        <location filename="../src/mainwindow.cpp" line="406"/>
    590610        <source>Sorry, but this feature is not supported on your platform
    591611or support for this feature was not installed.</source>
     
    593613    </message>
    594614    <message>
    595         <location filename="../src/mainwindow.cpp" line="396"/>
     615        <location filename="../src/mainwindow.cpp" line="424"/>
    596616        <source>Version</source>
    597617        <translation>Версія</translation>
    598618    </message>
    599619    <message>
    600         <location filename="../src/mainwindow.cpp" line="405"/>
     620        <location filename="../src/mainwindow.cpp" line="433"/>
    601621        <source>Target OS (ARCH)</source>
    602622        <translation>Цільова ОС (архітектура)</translation>
    603623    </message>
    604624    <message>
    605         <location filename="../src/mainwindow.cpp" line="407"/>
    606         <location filename="../src/mainwindow.cpp" line="411"/>
     625        <location filename="../src/mainwindow.cpp" line="435"/>
     626        <location filename="../src/mainwindow.cpp" line="439"/>
    607627        <source>Qt library</source>
    608628        <translation>Бібліотека Qt</translation>
    609629    </message>
    610630    <message>
    611         <location filename="../src/mainwindow.cpp" line="407"/>
     631        <location filename="../src/mainwindow.cpp" line="435"/>
    612632        <source>shared</source>
    613633        <translation>динамічна</translation>
    614634    </message>
    615635    <message>
    616         <location filename="../src/mainwindow.cpp" line="408"/>
     636        <location filename="../src/mainwindow.cpp" line="436"/>
    617637        <source>Build time</source>
    618638        <translation>Часу збірки</translation>
    619639    </message>
    620640    <message>
    621         <location filename="../src/mainwindow.cpp" line="409"/>
     641        <location filename="../src/mainwindow.cpp" line="437"/>
    622642        <source>Runtime</source>
    623643        <translation>Часу виконання</translation>
    624644    </message>
    625645    <message>
    626         <location filename="../src/mainwindow.cpp" line="411"/>
     646        <location filename="../src/mainwindow.cpp" line="439"/>
    627647        <source>static</source>
    628648        <translation>статична</translation>
    629649    </message>
    630650    <message>
    631         <location filename="../src/mainwindow.cpp" line="413"/>
     651        <location filename="../src/mainwindow.cpp" line="441"/>
    632652        <source>Buid &lt;b&gt;%1&lt;/b&gt;, built on &lt;b&gt;%2&lt;/b&gt; at &lt;b&gt;%3&lt;/b&gt;</source>
    633653        <translation>Збірка &lt;b&gt;%1&lt;/b&gt;, зібрана &lt;b&gt;%2&lt;/b&gt; о &lt;b&gt;%3&lt;/b&gt;</translation>
    634654    </message>
    635655    <message>
    636         <location filename="../src/mainwindow.cpp" line="414"/>
     656        <location filename="../src/mainwindow.cpp" line="442"/>
    637657        <source>Algorithm</source>
    638658        <translation>Алгоритм</translation>
    639659    </message>
    640660    <message>
    641         <location filename="../src/mainwindow.cpp" line="416"/>
     661        <location filename="../src/mainwindow.cpp" line="444"/>
    642662        <source>TSPSG is free software: you can redistribute it and/or modify it&lt;br&gt;under the terms of the GNU General Public License as published&lt;br&gt;by the Free Software Foundation, either version 3 of the License,&lt;br&gt;or (at your option) any later version.&lt;br&gt;&lt;br&gt;TSPSG is distributed in the hope that it will be useful, but&lt;br&gt;WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;GNU General Public License for more details.&lt;br&gt;&lt;br&gt;You should have received a copy of the GNU General Public License&lt;br&gt;along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;.</source>
    643663        <translation type="unfinished"></translation>
    644664    </message>
    645665    <message>
    646         <location filename="../src/mainwindow.cpp" line="493"/>
    647666        <source>About TSPSG</source>
    648         <translation>Про TSPSG</translation>
    649     </message>
    650     <message>
    651         <location filename="../src/mainwindow.cpp" line="535"/>
     667        <translation type="obsolete">Про TSPSG</translation>
     668    </message>
     669    <message>
     670        <location filename="../src/mainwindow.cpp" line="563"/>
    652671        <source>Data error</source>
    653672        <translation>Помилка у даних</translation>
    654673    </message>
    655674    <message>
    656         <location filename="../src/mainwindow.cpp" line="535"/>
     675        <location filename="../src/mainwindow.cpp" line="563"/>
    657676        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    658677        <translation>Помилка у комірці  [Рядок %1; Колонка %2]: Невірний формат даних.</translation>
    659678    </message>
    660679    <message>
    661         <location filename="../src/mainwindow.cpp" line="549"/>
     680        <location filename="../src/mainwindow.cpp" line="577"/>
    662681        <source>Calculating optimal route...</source>
    663682        <translation>Обчислення оптимального шляху...</translation>
    664683    </message>
    665684    <message>
    666         <location filename="../src/mainwindow.cpp" line="550"/>
     685        <location filename="../src/mainwindow.cpp" line="578"/>
    667686        <source>Solution Progress</source>
    668687        <translation>Поступ розв&apos;язку</translation>
    669688    </message>
    670689    <message>
    671         <location filename="../src/mainwindow.cpp" line="564"/>
     690        <location filename="../src/mainwindow.cpp" line="592"/>
    672691        <source>Solution Result</source>
    673692        <translation>Результат розв&apos;язку</translation>
    674693    </message>
    675694    <message>
    676         <location filename="../src/mainwindow.cpp" line="564"/>
     695        <location filename="../src/mainwindow.cpp" line="592"/>
    677696        <source>Unable to find a solution.
    678697Maybe, this task has no solution.</source>
     
    681700    </message>
    682701    <message>
    683         <location filename="../src/mainwindow.cpp" line="567"/>
     702        <location filename="../src/mainwindow.cpp" line="595"/>
    684703        <source>Generating header</source>
    685704        <translation>Генерація заголовку</translation>
    686705    </message>
    687706    <message>
    688         <location filename="../src/mainwindow.cpp" line="573"/>
     707        <location filename="../src/mainwindow.cpp" line="601"/>
    689708        <source>Solution of Variant #%1 Task</source>
    690709        <translation>Розв&apos;язок завдання для варіанту №%1</translation>
    691710    </message>
    692711    <message>
    693         <location filename="../src/mainwindow.cpp" line="591"/>
     712        <location filename="../src/mainwindow.cpp" line="619"/>
    694713        <source>Task:</source>
    695714        <translation>Умова:</translation>
    696715    </message>
    697716    <message>
    698         <location filename="../src/mainwindow.cpp" line="224"/>
    699         <location filename="../src/mainwindow.cpp" line="279"/>
    700         <location filename="../src/mainwindow.cpp" line="293"/>
     717        <location filename="../src/mainwindow.cpp" line="232"/>
     718        <location filename="../src/mainwindow.cpp" line="287"/>
     719        <location filename="../src/mainwindow.cpp" line="301"/>
    701720        <source>Solution Save</source>
    702721        <translation>Збереження розв&apos;язку</translation>
    703722    </message>
    704723    <message>
    705         <location filename="../src/mainwindow.cpp" line="224"/>
    706         <location filename="../src/mainwindow.cpp" line="293"/>
     724        <location filename="../src/mainwindow.cpp" line="232"/>
     725        <location filename="../src/mainwindow.cpp" line="301"/>
    707726        <source>Unable to save the solution.
    708727Error: %1</source>
     
    711730    </message>
    712731    <message>
    713         <location filename="../src/mainwindow.cpp" line="330"/>
     732        <location filename="../src/mainwindow.cpp" line="338"/>
    714733        <source>You have changed color settings.
    715734They will be applied to the next solution output.</source>
     
    718737    </message>
    719738    <message>
    720         <location filename="../src/mainwindow.cpp" line="370"/>
     739        <location filename="../src/mainwindow.cpp" line="349"/>
     740        <source>Language will be autodetected on the next %1 start.</source>
     741        <translation>Мову буде автоматично визначено при наступному запуску %1.</translation>
     742    </message>
     743    <message>
     744        <location filename="../src/mainwindow.cpp" line="378"/>
    721745        <source>You have changed the application language.
    722746To get current solution output in the new language
     
    727751    </message>
    728752    <message>
    729         <location filename="../src/mainwindow.cpp" line="545"/>
     753        <location filename="../src/mainwindow.cpp" line="386"/>
     754        <source>Style Change</source>
     755        <translation>Зміна вигляду</translation>
     756    </message>
     757    <message>
     758        <location filename="../src/mainwindow.cpp" line="386"/>
     759        <source>To apply the default style you need to restart %1.</source>
     760        <translation>Щоб застосувати вигляд за промовчанням необхідно перзапустити %1.</translation>
     761    </message>
     762    <message>
     763        <location filename="../src/mainwindow.cpp" line="521"/>
     764        <source>About %1</source>
     765        <translation>Про %1</translation>
     766    </message>
     767    <message>
     768        <location filename="../src/mainwindow.cpp" line="573"/>
    730769        <source>%v of %1 parts found</source>
    731770        <translation>Знайдено %v з %1 переходів</translation>
    732771    </message>
    733772    <message>
    734         <location filename="../src/mainwindow.cpp" line="568"/>
     773        <location filename="../src/mainwindow.cpp" line="596"/>
    735774        <source>Generating solution output...</source>
    736775        <translation>Генерація тексту розв&apos;язку...</translation>
    737776    </message>
    738777    <message>
    739         <location filename="../src/mainwindow.cpp" line="589"/>
     778        <location filename="../src/mainwindow.cpp" line="617"/>
    740779        <source>Variant #%1 Task</source>
    741780        <translation>Умова варіанту №%1</translation>
    742781    </message>
    743782    <message>
    744         <location filename="../src/mainwindow.cpp" line="598"/>
     783        <location filename="../src/mainwindow.cpp" line="626"/>
    745784        <source>Variant #%1 Solution</source>
    746785        <translation>Розв&apos;язок варіанту №%1</translation>
    747786    </message>
    748787    <message>
    749         <location filename="../src/mainwindow.cpp" line="603"/>
     788        <location filename="../src/mainwindow.cpp" line="631"/>
    750789        <source>Generating step %v</source>
    751790        <translation>Генерація шагу %v</translation>
    752791    </message>
    753792    <message>
    754         <location filename="../src/mainwindow.cpp" line="620"/>
     793        <location filename="../src/mainwindow.cpp" line="648"/>
    755794        <source>Step #%1</source>
    756795        <translation>Крок №%1</translation>
    757796    </message>
    758797    <message>
    759         <location filename="../src/mainwindow.cpp" line="625"/>
     798        <location filename="../src/mainwindow.cpp" line="653"/>
    760799        <source>Selected route %1 %2 part.</source>
    761800        <translation>Обрано шлях %1 %2.</translation>
    762801    </message>
    763802    <message>
    764         <location filename="../src/mainwindow.cpp" line="625"/>
     803        <location filename="../src/mainwindow.cpp" line="653"/>
    765804        <source>with</source>
    766805        <translation>з переходом</translation>
    767806    </message>
    768807    <message>
    769         <location filename="../src/mainwindow.cpp" line="625"/>
     808        <location filename="../src/mainwindow.cpp" line="653"/>
    770809        <source>without</source>
    771810        <translation>без переходу</translation>
    772811    </message>
    773812    <message>
    774         <location filename="../src/mainwindow.cpp" line="657"/>
     813        <location filename="../src/mainwindow.cpp" line="685"/>
    775814        <source>Generating footer</source>
    776815        <translation>Генерація закінчення</translation>
    777816    </message>
    778817    <message>
    779         <location filename="../src/mainwindow.cpp" line="663"/>
     818        <location filename="../src/mainwindow.cpp" line="691"/>
    780819        <source>Optimal path:</source>
    781820        <translation>Оптимальний шлях:</translation>
    782821    </message>
    783822    <message>
    784         <location filename="../src/mainwindow.cpp" line="665"/>
     823        <location filename="../src/mainwindow.cpp" line="693"/>
    785824        <source>Resulting path:</source>
    786825        <translation>Знайдений шлях:</translation>
    787826    </message>
    788827    <message>
    789         <location filename="../src/mainwindow.cpp" line="668"/>
     828        <location filename="../src/mainwindow.cpp" line="696"/>
    790829        <source>City %1</source>
    791830        <translation>Місто %1</translation>
    792831    </message>
    793832    <message>
    794         <location filename="../src/mainwindow.cpp" line="674"/>
     833        <location filename="../src/mainwindow.cpp" line="702"/>
    795834        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    796835        <translation>Вартість - &lt;b&gt;%1&lt;/b&gt; одиниць.</translation>
    797836    </message>
    798837    <message>
    799         <location filename="../src/mainwindow.cpp" line="679"/>
     838        <location filename="../src/mainwindow.cpp" line="707"/>
    800839        <source>&lt;b&gt;WARNING!!!&lt;/b&gt;&lt;br&gt;This result is a record, but it may not be optimal.&lt;br&gt;Iterations need to be continued to check whether this result is optimal or get an optimal one.</source>
    801840        <translation>&lt;b&gt;Увага!!!&lt;/b&gt;&lt;br&gt;Знайдений розв&apos;язок є рекордом, але може бути неоптимальним.&lt;br&gt;Для отримання оптимального розв&apos;язку, або перевірки поточного на оптимальність, потрібно продовжити ітерації.</translation>
    802841    </message>
    803842    <message>
    804         <location filename="../src/mainwindow.cpp" line="606"/>
    805         <location filename="../src/mainwindow.cpp" line="706"/>
     843        <location filename="../src/mainwindow.cpp" line="634"/>
     844        <location filename="../src/mainwindow.cpp" line="734"/>
    806845        <source>Cleaning up...</source>
    807846        <translation>Очищення...</translation>
    808847    </message>
    809848    <message>
    810         <location filename="../src/mainwindow.cpp" line="1007"/>
    811         <location filename="../src/mainwindow.cpp" line="1009"/>
     849        <location filename="../src/mainwindow.cpp" line="1035"/>
     850        <location filename="../src/mainwindow.cpp" line="1037"/>
    812851        <source>Unable to load the translation language.
    813852Falling back to autodetection.</source>
     
    816855    </message>
    817856    <message>
    818         <location filename="../src/mainwindow.cpp" line="1021"/>
     857        <location filename="../src/mainwindow.cpp" line="1070"/>
    819858        <source>Would you like to save changes in the current task?</source>
    820859        <translation>Бажаете зберегти зміни у поточній задачі?</translation>
    821860    </message>
    822861    <message>
    823         <location filename="../src/mainwindow.cpp" line="1084"/>
     862        <location filename="../src/mainwindow.cpp" line="974"/>
     863        <location filename="../src/mainwindow.cpp" line="1133"/>
    824864        <source>Set application language to %1</source>
    825865        <translation>Змінити мову додатку на %1</translation>
    826866    </message>
    827867    <message>
    828         <location filename="../src/mainwindow.cpp" line="1105"/>
     868        <location filename="../src/mainwindow.cpp" line="1155"/>
    829869        <source>Check for &amp;Updates...</source>
    830870        <translation>Перевірити &amp;оновлення...</translation>
    831871    </message>
    832872    <message>
    833         <location filename="../src/mainwindow.cpp" line="1125"/>
     873        <location filename="../src/mainwindow.cpp" line="1175"/>
    834874        <source>Task Save</source>
    835875        <translation>Збереження умови</translation>
    836876    </message>
    837877    <message>
    838         <location filename="../src/mainwindow.cpp" line="341"/>
    839878        <source>Language will be autodetected on the next application start.</source>
    840         <translation>Мову буде автоматично визначено при наступному запуску додатку.</translation>
    841     </message>
    842     <message>
    843         <location filename="../src/mainwindow.cpp" line="350"/>
     879        <translation type="obsolete">Мову буде автоматично визначено при наступному запуску додатку.</translation>
     880    </message>
     881    <message>
     882        <location filename="../src/mainwindow.cpp" line="358"/>
    844883        <source>You have language autodetection turned on.
    845884It needs to be off.
     
    850889    </message>
    851890    <message>
    852         <location filename="../src/mainwindow.cpp" line="156"/>
    853         <location filename="../src/mainwindow.cpp" line="180"/>
    854         <location filename="../src/mainwindow.cpp" line="355"/>
    855         <location filename="../src/mainwindow.h" line="129"/>
     891        <location filename="../src/mainwindow.cpp" line="164"/>
     892        <location filename="../src/mainwindow.cpp" line="188"/>
     893        <location filename="../src/mainwindow.cpp" line="363"/>
     894        <location filename="../src/mainwindow.h" line="133"/>
    856895        <source>Untitled</source>
    857896        <translation>Без імені</translation>
     
    886925    </message>
    887926    <message>
    888         <location filename="../src/settingsdialog.cpp" line="268"/>
    889         <location filename="../src/settingsdialog.cpp" line="274"/>
     927        <location filename="../src/settingsdialog.cpp" line="270"/>
     928        <location filename="../src/settingsdialog.cpp" line="276"/>
    890929        <source>Settings Reset</source>
    891930        <translation>Скидання налагоджень</translation>
    892931    </message>
    893932    <message>
    894         <location filename="../src/settingsdialog.cpp" line="268"/>
     933        <location filename="../src/settingsdialog.cpp" line="270"/>
    895934        <source>Do you really want to &lt;b&gt;reset all application settings to their defaults&lt;/b&gt;?</source>
    896935        <translation>Ви дісно хочете &lt;b&gt;скинути усі налаштування на значення по-замовчуванню&lt;/b&gt;?</translation>
    897936    </message>
    898937    <message>
    899         <location filename="../src/settingsdialog.cpp" line="274"/>
     938        <location filename="../src/settingsdialog.cpp" line="276"/>
    900939        <source>All settings where successfully reset to their defaults.
    901940It is recommended to restart the application now.</source>
  • src/mainwindow.cpp

    re51c78af27 re3533af1cf  
    3636        settings = new QSettings(QSettings::IniFormat, QSettings::UserScope, "TSPSG", "tspsg", this);
    3737
     38        if (settings->contains("Style")) {
     39QStyle *s = QStyleFactory::create(settings->value("Style").toString());
     40                if (s != NULL)
     41                        QApplication::setStyle(s);
     42                else
     43                        settings->remove("Style");
     44        }
     45
    3846        loadLanguage();
    3947        setupUi();
     
    6674        connect(actionSettingsLanguageAutodetect, SIGNAL(triggered(bool)), SLOT(actionSettingsLanguageAutodetectTriggered(bool)));
    6775        connect(groupSettingsLanguageList, SIGNAL(triggered(QAction *)), SLOT(groupSettingsLanguageListTriggered(QAction *)));
     76        connect(actionSettingsStyleSystem, SIGNAL(triggered(bool)), SLOT(actionSettingsStyleSystemTriggered(bool)));
     77        connect(groupSettingsStyleList, SIGNAL(triggered(QAction*)), SLOT(groupSettingsStyleListTriggered(QAction*)));
    6878        connect(actionHelpAboutQt, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
    6979        connect(actionHelpAbout, SIGNAL(triggered()), SLOT(actionHelpAboutTriggered()));
     
    337347        if (checked) {
    338348                settings->remove("Language");
    339                 QMessageBox::information(this, tr("Language change"), tr("Language will be autodetected on the next application start."));
     349                QMessageBox::information(this, tr("Language change"), tr("Language will be autodetected on the next %1 start.").arg(QApplication::applicationName()));
    340350        } else
    341351                settings->setValue("Language", groupSettingsLanguageList->checkedAction()->data().toString());
     
    367377                if (!solutionText->document()->isEmpty())
    368378                        QMessageBox::information(this, tr("Settings Changed"), tr("You have changed the application language.\nTo get current solution output in the new language\nyou need to re-run the solution process."));
     379        }
     380}
     381
     382void MainWindow::actionSettingsStyleSystemTriggered(bool checked)
     383{
     384        if (checked) {
     385                settings->remove("Style");
     386                QMessageBox::information(this, tr("Style Change"), tr("To apply the default style you need to restart %1.").arg(QApplication::applicationName()));
     387        } else {
     388                settings->setValue("Style", groupSettingsStyleList->checkedAction()->text());
     389        }
     390}
     391
     392void MainWindow::groupSettingsStyleListTriggered(QAction *action)
     393{
     394QStyle *s = QStyleFactory::create(action->text());
     395        if (s != NULL) {
     396                QApplication::setStyle(s);
     397                settings->setValue("Style", action->text());
     398                actionSettingsStyleSystem->setChecked(false);
    369399        }
    370400}
     
    443473        lblTitle->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
    444474#ifndef HANDHELD
    445         lblTitle->setStyleSheet(QString("QLabel {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 3px;}").arg(palette().window().color().name(), palette().shadow().color().name()));
     475        lblTitle->setStyleSheet(QString("QLabel {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 4px; padding: 1px;}").arg(palette().alternateBase().color().name(), palette().shadow().color().name()));
    446476#endif // HANDHELD
    447477
     
    449479        lblIcon->setAlignment(Qt::AlignVCenter);
    450480#ifndef HANDHELD
    451         lblIcon->setStyleSheet(QString("QLabel {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 3px;}").arg(palette().window().color().name(), palette().windowText().color().name()));
     481        lblIcon->setStyleSheet(QString("QLabel {background-color: white; border-color: %1; border-width: 1px; border-style: solid; border-radius: 4px; padding: 1px;}").arg(palette().windowText().color().name()));
    452482#endif // HANDHELD
    453483
     
    460490        txtAbout->moveCursor(QTextCursor::Start);
    461491#ifndef HANDHELD
    462         txtAbout->setStyleSheet(QString("QTextBrowser {border-color: %1; border-width: 1px; border-style: solid; border-radius: 3px;}").arg(palette().shadow().color().name()));
     492        txtAbout->setStyleSheet(QString("QTextBrowser {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 4px; padding: 1px;}").arg(palette().base().color().name(), palette().shadow().color().name()));
    463493#endif // HANDHELD
    464494
     
    471501                lblTranslated->setOpenExternalLinks(true);
    472502#ifndef HANDHELD
    473                 lblTranslated->setStyleSheet(QString("QLabel {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 3px;}").arg(palette().window().color().name(), palette().shadow().color().name()));
     503                lblTranslated->setStyleSheet(QString("QLabel {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 3px; padding: 1px;}").arg(palette().alternateBase().color().name(), palette().shadow().color().name()));
    474504#endif // HANDHELD
    475505                hb2->addWidget(lblTranslated);
     
    489519
    490520        dlg->setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint);
    491         dlg->setWindowTitle(tr("About TSPSG"));
     521        dlg->setWindowTitle(tr("About %1").arg(QApplication::applicationName()));
    492522        dlg->setLayout(vb);
    493523
     
    942972                        name = t.translate("--------", "LANGNAME", "Please, provide a native name of your translation language here.");
    943973                        a = menuSettingsLanguage->addAction(name);
    944                         a->setStatusTip(tr("Set application language to %1").arg(name));
     974                        a->setStatusTip(t.translate("MainWindow", "Set application language to %1", "").arg(name));
    945975                        a->setData(lang.completeBaseName().mid(6));
    946976                        a->setCheckable(true);
     
    10111041        }
    10121042        return true;
     1043}
     1044
     1045void MainWindow::loadStyleList()
     1046{
     1047        menuSettingsStyle->clear();
     1048QStringList styles = QStyleFactory::keys();
     1049        menuSettingsStyle->insertAction(NULL, actionSettingsStyleSystem);
     1050        actionSettingsStyleSystem->setChecked(!settings->contains("Style"));
     1051        menuSettingsStyle->addSeparator();
     1052QAction *a;
     1053        foreach (QString style, styles) {
     1054                a = menuSettingsStyle->addAction(style);
     1055                a->setData(false);
     1056                a->setStatusTip(tr("Set application style to %1").arg(style));
     1057                a->setCheckable(true);
     1058                a->setActionGroup(groupSettingsStyleList);
     1059                if ((style == settings->value("Style").toString())
     1060                        || QString(QApplication::style()->metaObject()->className()).contains(QRegExp(QString("^Q?%1(Style)?$").arg(QRegExp::escape(style)), Qt::CaseInsensitive))) {
     1061                        a->setChecked(true);
     1062                }
     1063        }
    10131064}
    10141065
     
    10791130        if (all)
    10801131                Ui::MainWindow::retranslateUi(this);
     1132
     1133        loadStyleList();
    10811134
    10821135        actionSettingsLanguageEnglish->setStatusTip(tr("Set application language to %1").arg("English"));
     
    11971250        menuSettings->insertSeparator(actionSettingsPreferences);
    11981251
     1252        groupSettingsLanguageList = new QActionGroup(this);
     1253        actionSettingsLanguageEnglish->setData("en");
     1254        actionSettingsLanguageEnglish->setActionGroup(groupSettingsLanguageList);
     1255        loadLangList();
     1256        actionSettingsLanguageAutodetect->setChecked(settings->value("Language", "").toString().isEmpty());
     1257
     1258        actionSettingsStyleSystem->setData(true);
     1259        groupSettingsStyleList = new QActionGroup(this);
     1260
    11991261#ifdef Q_OS_WIN32
    12001262        actionHelpCheck4Updates = new QAction(this);
     
    12031265        menuHelp->insertSeparator(actionHelpAboutQt);
    12041266#endif // Q_OS_WIN32
    1205 
    1206         groupSettingsLanguageList = new QActionGroup(this);
    1207         actionSettingsLanguageEnglish->setData("en");
    1208         actionSettingsLanguageEnglish->setActionGroup(groupSettingsLanguageList);
    1209         loadLangList();
    1210         actionSettingsLanguageAutodetect->setChecked(settings->value("Language", "").toString().isEmpty());
    12111267
    12121268        spinCities->setMaximum(MAX_NUM_CITIES);
  • src/mainwindow.h

    re51c78af27 re3533af1cf  
    6464        void actionSettingsLanguageAutodetectTriggered(bool checked);
    6565        void groupSettingsLanguageListTriggered(QAction *action);
     66        void actionSettingsStyleSystemTriggered(bool checked);
     67        void groupSettingsStyleListTriggered(QAction *action);
    6668#ifdef Q_OS_WIN32
    6769        void actionHelpCheck4UpdatesTriggered();
     
    8890        QString fileName;
    8991        QActionGroup *groupSettingsLanguageList;
     92        QActionGroup *groupSettingsStyleList;
    9093#ifndef QT_NO_PRINTER
    9194        QPrinter *printer;
     
    122125        void loadLangList();
    123126        bool loadLanguage(const QString &lang = QString());
     127        void loadStyleList();
    124128        bool maybeSave();
    125129        void outputMatrix(QTextCursor &cur, const TMatrix &matrix);
  • ui/mainwindow.ui

    re51c78af27 re3533af1cf  
    66  <property name="geometry">
    77   <rect>
    8         <x>0</x>
    9         <y>0</y>
    10         <width>550</width>
    11         <height>450</height>
     8    <x>0</x>
     9    <y>0</y>
     10    <width>550</width>
     11    <height>450</height>
    1212   </rect>
    1313  </property>
     
    1717  <property name="windowIcon">
    1818   <iconset resource="../resources/tspsg.qrc">
    19         <normaloff>:/images/tspsg.png</normaloff>:/images/tspsg.png</iconset>
     19    <normaloff>:/images/tspsg.png</normaloff>:/images/tspsg.png</iconset>
    2020  </property>
    2121  <widget class="QTabWidget" name="tabWidget">
    2222   <property name="tabPosition">
    23         <enum>QTabWidget::North</enum>
     23    <enum>QTabWidget::North</enum>
    2424   </property>
    2525   <widget class="QWidget" name="tabTask">
    26         <attribute name="title">
    27         <string>Task</string>
    28         </attribute>
    29         <layout class="QVBoxLayout" name="_2">
    30         <item>
    31           <layout class="QHBoxLayout" name="_4">
    32            <item>
    33                 <spacer name="spacer">
    34                 <property name="orientation">
    35                   <enum>Qt::Horizontal</enum>
    36                 </property>
    37                 <property name="sizeHint" stdset="0">
    38                   <size>
    39                    <width>40</width>
    40                    <height>20</height>
    41                   </size>
    42                 </property>
    43                 </spacer>
    44            </item>
    45            <item>
    46                 <widget class="QLabel" name="labelVariant">
    47                 <property name="text">
    48                   <string>&amp;Variant:</string>
    49                 </property>
    50                 <property name="buddy">
    51                   <cstring>spinVariant</cstring>
    52                 </property>
    53                 </widget>
    54            </item>
    55            <item>
    56                 <widget class="QSpinBox" name="spinVariant">
    57                 <property name="cursor">
    58                   <cursorShape>PointingHandCursor</cursorShape>
    59                 </property>
    60                 <property name="statusTip">
    61                   <string>Number of variant</string>
    62                 </property>
    63                 <property name="minimum">
    64                   <number>1</number>
    65                 </property>
    66                 </widget>
    67            </item>
    68            <item>
    69                 <widget class="QLabel" name="labelCities">
    70                 <property name="text">
    71                   <string>&amp;Cities:</string>
    72                 </property>
    73                 <property name="buddy">
    74                   <cstring>spinCities</cstring>
    75                 </property>
    76                 </widget>
    77            </item>
    78            <item>
    79                 <widget class="QSpinBox" name="spinCities">
    80                 <property name="cursor">
    81                   <cursorShape>PointingHandCursor</cursorShape>
    82                 </property>
    83                 <property name="statusTip">
    84                   <string>Number of cities</string>
    85                 </property>
    86                 <property name="minimum">
    87                   <number>3</number>
    88                 </property>
    89                 <property name="value">
    90                   <number>5</number>
    91                 </property>
    92                 </widget>
    93            </item>
    94            <item>
    95                 <spacer name="spacer_2">
    96                 <property name="orientation">
    97                   <enum>Qt::Horizontal</enum>
    98                 </property>
    99                 <property name="sizeHint" stdset="0">
    100                   <size>
    101                    <width>40</width>
    102                    <height>20</height>
    103                   </size>
    104                 </property>
    105                 </spacer>
    106            </item>
    107           </layout>
    108         </item>
    109         <item>
    110           <widget class="QTableView" name="taskView">
    111            <property name="statusTip">
    112                 <string>Cost of travel from city to city</string>
    113            </property>
    114            <property name="selectionMode">
    115                 <enum>QAbstractItemView::NoSelection</enum>
    116            </property>
    117           </widget>
    118         </item>
    119         <item>
    120           <layout class="QHBoxLayout" name="_5">
    121            <item>
    122                 <spacer name="spacer_3">
    123                 <property name="orientation">
    124                   <enum>Qt::Horizontal</enum>
    125                 </property>
    126                 <property name="sizeHint" stdset="0">
    127                   <size>
    128                    <width>40</width>
    129                    <height>20</height>
    130                   </size>
    131                 </property>
    132                 </spacer>
    133            </item>
    134            <item>
    135                 <widget class="QPushButton" name="buttonRandom">
    136                 <property name="cursor">
    137                   <cursorShape>PointingHandCursor</cursorShape>
    138                 </property>
    139                 <property name="statusTip">
    140                   <string>Fill table with random numbers</string>
    141                 </property>
    142                 <property name="text">
    143                   <string>Random</string>
    144                 </property>
    145                 <property name="icon">
    146                   <iconset resource="../resources/tspsg.qrc">
    147                    <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
    148                 </property>
    149                 </widget>
    150            </item>
    151            <item>
    152                 <widget class="QPushButton" name="buttonSolve">
    153                 <property name="cursor">
    154                   <cursorShape>PointingHandCursor</cursorShape>
    155                 </property>
    156                 <property name="statusTip">
    157                   <string>Solve current task</string>
    158                 </property>
    159                 <property name="text">
    160                   <string>Solve</string>
    161                 </property>
    162                 <property name="icon">
    163                   <iconset resource="../resources/tspsg.qrc">
    164                    <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
    165                 </property>
    166                 </widget>
    167            </item>
    168           </layout>
    169         </item>
    170         </layout>
     26    <attribute name="title">
     27    <string>Task</string>
     28    </attribute>
     29    <layout class="QVBoxLayout" name="_2">
     30    <item>
     31      <layout class="QHBoxLayout" name="_4">
     32       <item>
     33        <spacer name="spacer">
     34        <property name="orientation">
     35          <enum>Qt::Horizontal</enum>
     36        </property>
     37        <property name="sizeHint" stdset="0">
     38          <size>
     39           <width>40</width>
     40           <height>20</height>
     41          </size>
     42        </property>
     43        </spacer>
     44       </item>
     45       <item>
     46        <widget class="QLabel" name="labelVariant">
     47        <property name="text">
     48          <string>&amp;Variant:</string>
     49        </property>
     50        <property name="buddy">
     51          <cstring>spinVariant</cstring>
     52        </property>
     53        </widget>
     54       </item>
     55       <item>
     56        <widget class="QSpinBox" name="spinVariant">
     57        <property name="cursor">
     58          <cursorShape>PointingHandCursor</cursorShape>
     59        </property>
     60        <property name="statusTip">
     61          <string>Number of variant</string>
     62        </property>
     63        <property name="minimum">
     64          <number>1</number>
     65        </property>
     66        </widget>
     67       </item>
     68       <item>
     69        <widget class="QLabel" name="labelCities">
     70        <property name="text">
     71          <string>&amp;Cities:</string>
     72        </property>
     73        <property name="buddy">
     74          <cstring>spinCities</cstring>
     75        </property>
     76        </widget>
     77       </item>
     78       <item>
     79        <widget class="QSpinBox" name="spinCities">
     80        <property name="cursor">
     81          <cursorShape>PointingHandCursor</cursorShape>
     82        </property>
     83        <property name="statusTip">
     84          <string>Number of cities</string>
     85        </property>
     86        <property name="minimum">
     87          <number>3</number>
     88        </property>
     89        <property name="value">
     90          <number>5</number>
     91        </property>
     92        </widget>
     93       </item>
     94       <item>
     95        <spacer name="spacer_2">
     96        <property name="orientation">
     97          <enum>Qt::Horizontal</enum>
     98        </property>
     99        <property name="sizeHint" stdset="0">
     100          <size>
     101           <width>40</width>
     102           <height>20</height>
     103          </size>
     104        </property>
     105        </spacer>
     106       </item>
     107      </layout>
     108    </item>
     109    <item>
     110      <widget class="QTableView" name="taskView">
     111       <property name="statusTip">
     112        <string>Cost of travel from city to city</string>
     113       </property>
     114       <property name="selectionMode">
     115        <enum>QAbstractItemView::NoSelection</enum>
     116       </property>
     117      </widget>
     118    </item>
     119    <item>
     120      <layout class="QHBoxLayout" name="_5">
     121       <item>
     122        <spacer name="spacer_3">
     123        <property name="orientation">
     124          <enum>Qt::Horizontal</enum>
     125        </property>
     126        <property name="sizeHint" stdset="0">
     127          <size>
     128           <width>40</width>
     129           <height>20</height>
     130          </size>
     131        </property>
     132        </spacer>
     133       </item>
     134       <item>
     135        <widget class="QPushButton" name="buttonRandom">
     136        <property name="cursor">
     137          <cursorShape>PointingHandCursor</cursorShape>
     138        </property>
     139        <property name="statusTip">
     140          <string>Fill table with random numbers</string>
     141        </property>
     142        <property name="text">
     143          <string>Random</string>
     144        </property>
     145        <property name="icon">
     146          <iconset resource="../resources/tspsg.qrc">
     147           <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
     148        </property>
     149        </widget>
     150       </item>
     151       <item>
     152        <widget class="QPushButton" name="buttonSolve">
     153        <property name="cursor">
     154          <cursorShape>PointingHandCursor</cursorShape>
     155        </property>
     156        <property name="statusTip">
     157          <string>Solve current task</string>
     158        </property>
     159        <property name="text">
     160          <string>Solve</string>
     161        </property>
     162        <property name="icon">
     163          <iconset resource="../resources/tspsg.qrc">
     164           <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
     165        </property>
     166        </widget>
     167       </item>
     168      </layout>
     169    </item>
     170    </layout>
    171171   </widget>
    172172   <widget class="QWidget" name="tabSolution">
    173         <attribute name="title">
    174         <string>Solution</string>
    175         </attribute>
    176         <layout class="QVBoxLayout" name="_3">
    177         <item>
    178           <widget class="QTextEdit" name="solutionText">
    179            <property name="enabled">
    180                 <bool>false</bool>
    181            </property>
    182            <property name="statusTip">
    183                 <string>Solution steps</string>
    184            </property>
    185            <property name="undoRedoEnabled">
    186                 <bool>false</bool>
    187            </property>
    188            <property name="readOnly">
    189                 <bool>true</bool>
    190            </property>
    191            <property name="textInteractionFlags">
    192                 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
    193            </property>
    194           </widget>
    195         </item>
    196         <item>
    197           <layout class="QHBoxLayout" name="_6">
    198            <item>
    199                 <widget class="QPushButton" name="buttonSaveSolution">
    200                 <property name="enabled">
    201                   <bool>false</bool>
    202                 </property>
    203                 <property name="cursor">
    204                   <cursorShape>PointingHandCursor</cursorShape>
    205                 </property>
    206                 <property name="statusTip">
    207                   <string>Save solution to a file</string>
    208                 </property>
    209                 <property name="text">
    210                   <string>Save Solution</string>
    211                 </property>
    212                 <property name="icon">
    213                   <iconset resource="../resources/tspsg.qrc">
    214                    <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
    215                 </property>
    216                 </widget>
    217            </item>
    218            <item>
    219                 <spacer name="spacer_4">
    220                 <property name="orientation">
    221                   <enum>Qt::Horizontal</enum>
    222                 </property>
    223                 <property name="sizeHint" stdset="0">
    224                   <size>
    225                    <width>40</width>
    226                    <height>20</height>
    227                   </size>
    228                 </property>
    229                 </spacer>
    230            </item>
    231            <item>
    232                 <widget class="QPushButton" name="buttonBackToTask">
    233                 <property name="cursor">
    234                   <cursorShape>PointingHandCursor</cursorShape>
    235                 </property>
    236                 <property name="statusTip">
    237                   <string>Go back to Task tab</string>
    238                 </property>
    239                 <property name="text">
    240                   <string>Back to Task</string>
    241                 </property>
    242                 <property name="icon">
    243                   <iconset resource="../resources/tspsg.qrc">
    244                    <normaloff>:/images/icons/back.png</normaloff>:/images/icons/back.png</iconset>
    245                 </property>
    246                 </widget>
    247            </item>
    248           </layout>
    249         </item>
    250         </layout>
     173    <attribute name="title">
     174    <string>Solution</string>
     175    </attribute>
     176    <layout class="QVBoxLayout" name="_3">
     177    <item>
     178      <widget class="QTextEdit" name="solutionText">
     179       <property name="enabled">
     180        <bool>false</bool>
     181       </property>
     182       <property name="statusTip">
     183        <string>Solution steps</string>
     184       </property>
     185       <property name="undoRedoEnabled">
     186        <bool>false</bool>
     187       </property>
     188       <property name="readOnly">
     189        <bool>true</bool>
     190       </property>
     191       <property name="textInteractionFlags">
     192        <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
     193       </property>
     194      </widget>
     195    </item>
     196    <item>
     197      <layout class="QHBoxLayout" name="_6">
     198       <item>
     199        <widget class="QPushButton" name="buttonSaveSolution">
     200        <property name="enabled">
     201          <bool>false</bool>
     202        </property>
     203        <property name="cursor">
     204          <cursorShape>PointingHandCursor</cursorShape>
     205        </property>
     206        <property name="statusTip">
     207          <string>Save solution to a file</string>
     208        </property>
     209        <property name="text">
     210          <string>Save Solution</string>
     211        </property>
     212        <property name="icon">
     213          <iconset resource="../resources/tspsg.qrc">
     214           <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
     215        </property>
     216        </widget>
     217       </item>
     218       <item>
     219        <spacer name="spacer_4">
     220        <property name="orientation">
     221          <enum>Qt::Horizontal</enum>
     222        </property>
     223        <property name="sizeHint" stdset="0">
     224          <size>
     225           <width>40</width>
     226           <height>20</height>
     227          </size>
     228        </property>
     229        </spacer>
     230       </item>
     231       <item>
     232        <widget class="QPushButton" name="buttonBackToTask">
     233        <property name="cursor">
     234          <cursorShape>PointingHandCursor</cursorShape>
     235        </property>
     236        <property name="statusTip">
     237          <string>Go back to Task tab</string>
     238        </property>
     239        <property name="text">
     240          <string>Back to Task</string>
     241        </property>
     242        <property name="icon">
     243          <iconset resource="../resources/tspsg.qrc">
     244           <normaloff>:/images/icons/back.png</normaloff>:/images/icons/back.png</iconset>
     245        </property>
     246        </widget>
     247       </item>
     248      </layout>
     249    </item>
     250    </layout>
    251251   </widget>
    252252  </widget>
    253253  <widget class="QMenuBar" name="menubar">
    254254   <property name="geometry">
    255         <rect>
    256         <x>0</x>
    257         <y>0</y>
    258          <width>550</width>
    259         <height>21</height>
    260         </rect>
     255    <rect>
     256    <x>0</x>
     257    <y>0</y>
     258     <width>540</width>
     259    <height>21</height>
     260    </rect>
    261261   </property>
    262262   <widget class="QMenu" name="menuFile">
    263         <property name="windowIcon">
    264         <iconset>
    265           <normaloff/>
    266         </iconset>
    267         </property>
    268         <property name="title">
    269         <string>&amp;File</string>
    270         </property>
    271         <widget class="QMenu" name="menuFileSaveAs">
    272         <property name="title">
    273           <string>Save &amp;As</string>
    274         </property>
    275         <property name="icon">
    276           <iconset resource="../resources/tspsg.qrc">
    277            <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
    278         </property>
    279         <addaction name="actionFileSaveAsTask"/>
    280         <addaction name="actionFileSaveAsSolution"/>
    281         </widget>
    282         <addaction name="actionFileNew"/>
    283         <addaction name="actionFileOpen"/>
    284         <addaction name="actionFileSave"/>
    285         <addaction name="menuFileSaveAs"/>
    286         <addaction name="separator"/>
    287         <addaction name="actionFileExit"/>
     263    <property name="windowIcon">
     264    <iconset>
     265      <normaloff/>
     266    </iconset>
     267    </property>
     268    <property name="title">
     269    <string>&amp;File</string>
     270    </property>
     271    <widget class="QMenu" name="menuFileSaveAs">
     272    <property name="title">
     273      <string>Save &amp;As</string>
     274    </property>
     275    <property name="icon">
     276      <iconset resource="../resources/tspsg.qrc">
     277       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
     278    </property>
     279    <addaction name="actionFileSaveAsTask"/>
     280    <addaction name="actionFileSaveAsSolution"/>
     281    </widget>
     282    <addaction name="actionFileNew"/>
     283    <addaction name="actionFileOpen"/>
     284    <addaction name="actionFileSave"/>
     285    <addaction name="menuFileSaveAs"/>
     286    <addaction name="separator"/>
     287    <addaction name="actionFileExit"/>
    288288   </widget>
    289289   <widget class="QMenu" name="menuSettings">
    290         <property name="title">
    291          <string>&amp;Settings</string>
    292         </property>
    293         <widget class="QMenu" name="menuSettingsLanguage">
    294          <property name="toolTip">
    295           <string>Select language</string>
    296          </property>
    297          <property name="statusTip">
    298           <string>Select application language</string>
    299          </property>
    300          <property name="title">
    301           <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
    302          </property>
    303          <property name="icon">
    304           <iconset resource="../resources/tspsg.qrc">
    305            <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
    306          </property>
    307          <addaction name="actionSettingsLanguageAutodetect"/>
    308          <addaction name="separator"/>
    309          <addaction name="actionSettingsLanguageEnglish"/>
    310         </widget>
    311         <addaction name="menuSettingsLanguage"/>
    312         <addaction name="actionSettingsPreferences"/>
     290    <property name="title">
     291     <string>&amp;Settings</string>
     292    </property>
     293    <widget class="QMenu" name="menuSettingsLanguage">
     294     <property name="toolTip">
     295      <string>Select language</string>
     296     </property>
     297     <property name="statusTip">
     298      <string>Select application language</string>
     299     </property>
     300     <property name="title">
     301      <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
     302     </property>
     303     <property name="icon">
     304      <iconset resource="../resources/tspsg.qrc">
     305       <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
     306     </property>
     307     <addaction name="actionSettingsLanguageAutodetect"/>
     308     <addaction name="separator"/>
     309     <addaction name="actionSettingsLanguageEnglish"/>
     310    </widget>
     311    <widget class="QMenu" name="menuSettingsStyle">
     312     <property name="title">
     313      <string>Style</string>
     314     </property>
     315    </widget>
     316    <addaction name="menuSettingsLanguage"/>
     317    <addaction name="menuSettingsStyle"/>
     318    <addaction name="actionSettingsPreferences"/>
    313319   </widget>
    314320   <widget class="QMenu" name="menuHelp">
    315         <property name="title">
    316         <string>&amp;Help</string>
    317         </property>
    318         <addaction name="actionHelpContents"/>
    319         <addaction name="actionHelpContextual"/>
    320         <addaction name="separator"/>
    321         <addaction name="actionHelpAboutQt"/>
    322         <addaction name="actionHelpAbout"/>
     321    <property name="title">
     322    <string>&amp;Help</string>
     323    </property>
     324    <addaction name="actionHelpContents"/>
     325    <addaction name="actionHelpContextual"/>
     326    <addaction name="separator"/>
     327    <addaction name="actionHelpAboutQt"/>
     328    <addaction name="actionHelpAbout"/>
    323329   </widget>
    324330   <addaction name="menuFile"/>
     
    328334  <widget class="QToolBar" name="toolBar">
    329335   <property name="cursor">
    330         <cursorShape>ArrowCursor</cursorShape>
     336    <cursorShape>ArrowCursor</cursorShape>
    331337   </property>
    332338   <property name="windowTitle">
    333         <string>Toolbar</string>
     339    <string>Toolbar</string>
    334340   </property>
    335341   <attribute name="toolBarArea">
    336         <enum>TopToolBarArea</enum>
     342    <enum>TopToolBarArea</enum>
    337343   </attribute>
    338344   <attribute name="toolBarBreak">
    339         <bool>false</bool>
     345    <bool>false</bool>
    340346   </attribute>
    341347   <addaction name="actionFileNew"/>
     
    349355  <action name="actionFileSaveAsSolution">
    350356   <property name="enabled">
    351         <bool>false</bool>
    352    </property>
    353    <property name="text">
    354         <string>&amp;Solution...</string>
     357    <bool>false</bool>
     358   </property>
     359   <property name="text">
     360    <string>&amp;Solution...</string>
    355361   </property>
    356362   <property name="toolTip">
    357         <string>Save solution</string>
    358    </property>
    359    <property name="statusTip">
    360         <string>Save solution to a file</string>
     363    <string>Save solution</string>
     364   </property>
     365   <property name="statusTip">
     366    <string>Save solution to a file</string>
    361367   </property>
    362368  </action>
    363369  <action name="actionFileNew">
    364370   <property name="icon">
    365         <iconset resource="../resources/tspsg.qrc">
    366         <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
    367    </property>
    368    <property name="text">
    369         <string>&amp;New</string>
     371    <iconset resource="../resources/tspsg.qrc">
     372    <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
     373   </property>
     374   <property name="text">
     375    <string>&amp;New</string>
    370376   </property>
    371377   <property name="toolTip">
    372         <string>New task</string>
    373    </property>
    374    <property name="statusTip">
    375         <string>Create new task</string>
     378    <string>New task</string>
     379   </property>
     380   <property name="statusTip">
     381    <string>Create new task</string>
    376382   </property>
    377383   <property name="shortcut">
    378         <string>Ctrl+N</string>
     384    <string>Ctrl+N</string>
    379385   </property>
    380386  </action>
    381387  <action name="actionFileOpen">
    382388   <property name="icon">
    383         <iconset resource="../resources/tspsg.qrc">
    384         <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
    385    </property>
    386    <property name="text">
    387         <string>&amp;Open...</string>
     389    <iconset resource="../resources/tspsg.qrc">
     390    <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
     391   </property>
     392   <property name="text">
     393    <string>&amp;Open...</string>
    388394   </property>
    389395   <property name="toolTip">
    390         <string>Open task</string>
    391    </property>
    392    <property name="statusTip">
    393         <string>Open saved task</string>
     396    <string>Open task</string>
     397   </property>
     398   <property name="statusTip">
     399    <string>Open saved task</string>
    394400   </property>
    395401   <property name="shortcut">
    396         <string>Ctrl+O</string>
     402    <string>Ctrl+O</string>
    397403   </property>
    398404  </action>
    399405  <action name="actionSettingsPreferences">
    400406   <property name="icon">
    401         <iconset resource="../resources/tspsg.qrc">
    402         <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
    403    </property>
    404    <property name="text">
    405         <string>&amp;Preferences...</string>
    406    </property>
    407    <property name="statusTip">
    408         <string>Application preferences</string>
     407    <iconset resource="../resources/tspsg.qrc">
     408    <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
     409   </property>
     410   <property name="text">
     411    <string>&amp;Preferences...</string>
     412   </property>
     413   <property name="statusTip">
     414    <string>Application preferences</string>
    409415   </property>
    410416  </action>
    411417  <action name="actionHelpContents">
    412418   <property name="enabled">
    413         <bool>false</bool>
    414    </property>
    415    <property name="icon">
    416         <iconset resource="../resources/tspsg.qrc">
    417         <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
    418    </property>
    419    <property name="text">
    420         <string>&amp;Contents</string>
    421    </property>
    422    <property name="statusTip">
    423         <string>Open help contents</string>
     419    <bool>false</bool>
     420   </property>
     421   <property name="icon">
     422    <iconset resource="../resources/tspsg.qrc">
     423    <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
     424   </property>
     425   <property name="text">
     426    <string>&amp;Contents</string>
     427   </property>
     428   <property name="statusTip">
     429    <string>Open help contents</string>
    424430   </property>
    425431   <property name="shortcut">
    426         <string>Ctrl+F1</string>
     432    <string>Ctrl+F1</string>
    427433   </property>
    428434  </action>
    429435  <action name="actionHelpContextual">
    430436   <property name="enabled">
    431         <bool>false</bool>
    432    </property>
    433    <property name="icon">
    434         <iconset resource="../resources/tspsg.qrc">
    435         <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
    436    </property>
    437    <property name="text">
    438         <string>Context &amp;Help</string>
    439    </property>
    440    <property name="statusTip">
    441         <string>Open context help</string>
     437    <bool>false</bool>
     438   </property>
     439   <property name="icon">
     440    <iconset resource="../resources/tspsg.qrc">
     441    <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
     442   </property>
     443   <property name="text">
     444    <string>Context &amp;Help</string>
     445   </property>
     446   <property name="statusTip">
     447    <string>Open context help</string>
    442448   </property>
    443449   <property name="shortcut">
    444         <string>F1</string>
     450    <string>F1</string>
    445451   </property>
    446452  </action>
    447453  <action name="actionHelpAbout">
    448454   <property name="icon">
    449         <iconset resource="../resources/tspsg.qrc">
    450         <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
    451    </property>
    452    <property name="text">
    453         <string>&amp;About TSPSG...</string>
    454    </property>
    455    <property name="statusTip">
    456         <string>About application</string>
     455    <iconset resource="../resources/tspsg.qrc">
     456    <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
     457   </property>
     458   <property name="text">
     459    <string>&amp;About TSPSG...</string>
     460   </property>
     461   <property name="statusTip">
     462    <string>About application</string>
    457463   </property>
    458464  </action>
    459465  <action name="actionFileExit">
    460466   <property name="icon">
    461         <iconset resource="../resources/tspsg.qrc">
    462         <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
    463    </property>
    464    <property name="text">
    465         <string>E&amp;xit</string>
    466    </property>
    467    <property name="statusTip">
    468         <string>Exit application</string>
     467    <iconset resource="../resources/tspsg.qrc">
     468    <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
     469   </property>
     470   <property name="text">
     471    <string>E&amp;xit</string>
     472   </property>
     473   <property name="statusTip">
     474    <string>Exit application</string>
    469475   </property>
    470476  </action>
    471477  <action name="actionFileSaveAsTask">
    472478   <property name="text">
    473         <string>&amp;Task...</string>
     479    <string>&amp;Task...</string>
    474480   </property>
    475481   <property name="toolTip">
    476         <string>Save task</string>
    477    </property>
    478    <property name="statusTip">
    479         <string>Save task to file</string>
     482    <string>Save task</string>
     483   </property>
     484   <property name="statusTip">
     485    <string>Save task to file</string>
    480486   </property>
    481487  </action>
    482488  <action name="actionSettingsLanguageAutodetect">
    483489   <property name="checkable">
    484         <bool>true</bool>
     490    <bool>true</bool>
    485491   </property>
    486492   <property name="checked">
    487         <bool>true</bool>
    488    </property>
    489    <property name="text">
    490         <string>&amp;Autodetect</string>
     493    <bool>true</bool>
     494   </property>
     495   <property name="text">
     496    <string>&amp;Autodetect</string>
    491497   </property>
    492498   <property name="toolTip">
    493         <string>Detect language automatically</string>
    494    </property>
    495    <property name="statusTip">
    496         <string>Detect language automatically based on regional settings</string>
     499    <string>Detect language automatically</string>
     500   </property>
     501   <property name="statusTip">
     502    <string>Detect language automatically based on regional settings</string>
    497503   </property>
    498504  </action>
    499505  <action name="actionSettingsLanguageEnglish">
    500506   <property name="checkable">
    501         <bool>true</bool>
     507    <bool>true</bool>
    502508   </property>
    503509   <property name="checked">
    504         <bool>true</bool>
    505    </property>
    506    <property name="text">
    507         <string notr="true">&amp;English</string>
     510    <bool>true</bool>
     511   </property>
     512   <property name="text">
     513    <string notr="true">&amp;English</string>
    508514   </property>
    509515   <property name="iconText">
    510         <string notr="true">English</string>
     516    <string notr="true">English</string>
    511517   </property>
    512518  </action>
    513519  <action name="actionFileSave">
    514520   <property name="icon">
    515         <iconset resource="../resources/tspsg.qrc">
    516         <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
    517    </property>
    518    <property name="text">
    519         <string>&amp;Save</string>
     521    <iconset resource="../resources/tspsg.qrc">
     522    <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
     523   </property>
     524   <property name="text">
     525    <string>&amp;Save</string>
    520526   </property>
    521527   <property name="toolTip">
    522         <string>Save task</string>
    523    </property>
    524    <property name="statusTip">
    525         <string>Save current task</string>
     528    <string>Save task</string>
     529   </property>
     530   <property name="statusTip">
     531    <string>Save current task</string>
    526532   </property>
    527533   <property name="shortcut">
    528         <string>Ctrl+S</string>
     534    <string>Ctrl+S</string>
    529535   </property>
    530536  </action>
    531537  <action name="actionHelpAboutQt">
    532538   <property name="icon">
    533         <iconset resource="../resources/tspsg.qrc">
    534          <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
    535    </property>
    536    <property name="text">
    537         <string>About &amp;Qt...</string>
    538    </property>
    539    <property name="statusTip">
    540         <string>About Qt library</string>
     539    <iconset resource="../resources/tspsg.qrc">
     540     <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
     541   </property>
     542   <property name="text">
     543    <string>About &amp;Qt...</string>
     544   </property>
     545   <property name="statusTip">
     546    <string>About Qt library</string>
     547   </property>
     548  </action>
     549  <action name="actionSettingsStyleSystem">
     550   <property name="checkable">
     551    <bool>true</bool>
     552   </property>
     553   <property name="checked">
     554    <bool>true</bool>
     555   </property>
     556   <property name="text">
     557    <string>System Default</string>
     558   </property>
     559   <property name="statusTip">
     560    <string>Automatically choose the most appropriate style</string>
    541561   </property>
    542562  </action>
     
    552572   <slot>close()</slot>
    553573   <hints>
    554         <hint type="sourcelabel">
    555         <x>-1</x>
    556         <y>-1</y>
    557         </hint>
    558         <hint type="destinationlabel">
    559         <x>294</x>
    560         <y>229</y>
    561         </hint>
     574    <hint type="sourcelabel">
     575    <x>-1</x>
     576    <y>-1</y>
     577    </hint>
     578    <hint type="destinationlabel">
     579    <x>294</x>
     580    <y>229</y>
     581    </hint>
    562582   </hints>
    563583  </connection>
     
    568588   <slot>trigger()</slot>
    569589   <hints>
    570         <hint type="sourcelabel">
    571         <x>58</x>
    572         <y>327</y>
    573         </hint>
    574         <hint type="destinationlabel">
    575         <x>-1</x>
    576         <y>-1</y>
    577         </hint>
     590    <hint type="sourcelabel">
     591    <x>58</x>
     592    <y>327</y>
     593    </hint>
     594    <hint type="destinationlabel">
     595    <x>-1</x>
     596    <y>-1</y>
     597    </hint>
    578598   </hints>
    579599  </connection>
Note: See TracChangeset for help on using the changeset viewer.