Changeset 124 in tspsg-svn


Ignore:
Timestamp:
Jul 4, 2010, 3:03:13 AM (14 years ago)
Author:
laleppa
Message:

+ Added support for Windows 7 Taskbar Extensions (namely, Progress Bars).

  • Cleanup is done in a separate thread now, so progress bar runs more smooth.
  • "Tabified" About dialog. Added GPL License and Credits.
  • Updated translations and tspsg.tag file.
Location:
trunk
Files:
1 added
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.txt

    r122 r124  
    1818using Branch and Bound method to solve a particular task.
    1919
    20 TSPSG is free software: you can redistribute it and/or modify it
    21 under the terms of the GNU General Public License as published
    22 by the Free Software Foundation, either version 3 of the License,
    23 or (at your option) any later version.
    2420
    25 TSPSG is distributed in the hope that it will be useful, but
    26 WITHOUT ANY WARRANTY; without even the implied warranty of
    27 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     21This program is free software: you can redistribute it and/or modify
     22it under the terms of the GNU General Public License as published by
     23the Free Software Foundation, either version 3 of the License, or
     24(at your option) any later version.
     25
     26This program is distributed in the hope that it will be useful,
     27but WITHOUT ANY WARRANTY; without even the implied warranty of
     28MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2829GNU General Public License for more details.
    2930
    3031You should have received a copy of the GNU General Public License
    31 along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
     32along with this program.  If not, see <http://www.gnu.org/licenses/>.
     33
    3234
    3335Third parties:
    3436
    35   * This software is created using opensource version of Qt toolkit,
     37  * This software is created using opensource version of Qt framework,
    3638    see http://qt.nokia.com/
    3739
  • trunk/docs

    • Property svn:ignore set to
      html
  • trunk/docs/dox/mainpage.dox

    r111 r124  
    4949\section m_s3 LICENSE
    5050
    51 \b TSPSG is free software: you can redistribute it and/or modify\n
     51This program is free software: you can redistribute it and/or modify\n
    5252it under the terms of the GNU General Public License as published by\n
    5353the Free Software Foundation, either version 3 of the License, or\n
    5454(at your option) any later version.\n
    5555
    56 \b TSPSG is distributed in the hope that it will be useful,\n
     56This program is distributed in the hope that it will be useful,\n
    5757but WITHOUT ANY WARRANTY; without even the implied warranty of\n
    5858MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n
     
    6060
    6161You should have received a copy of the \ref license "GNU General Public License"\n
    62 along with \b TSPSG.  If not, see <http://www.gnu.org/licenses/>.
     62along with this program.  If not, see <http://www.gnu.org/licenses/>.
    6363*/
  • trunk/docs/tspsg.tag

    r112 r124  
    127127    <member kind="define">
    128128      <type>#define</type>
    129       <name>DEF_FONT_FAMILY</name>
    130       <anchorfile>defaults_8h.html</anchorfile>
    131       <anchor>a2982eb0f2aea4cff78bd4aa767ff1988</anchor>
    132       <arglist></arglist>
    133     </member>
    134     <member kind="define">
    135       <type>#define</type>
    136129      <name>DEF_FONT_SIZE</name>
    137130      <anchorfile>defaults_8h.html</anchorfile>
     
    255248    </member>
    256249    <member kind="function">
     250      <type>QString</type>
     251      <name>getDefaultFont</name>
     252      <anchorfile>globals_8h.html</anchorfile>
     253      <anchor>a0b35409ae9db3b8db49ca9937447fc5b</anchor>
     254      <arglist>()</arglist>
     255    </member>
     256    <member kind="function">
    257257      <type>void</type>
    258258      <name>toggleStyle</name>
     
    334334    <includes id="globals_8h" name="globals.h" local="yes" imported="no">globals.h</includes>
    335335    <class kind="class">SettingsDialog</class>
     336  </compound>
     337  <compound kind="file">
     338    <name>shobjidl.h</name>
     339    <path>W:/Projects/Cpp/tspsg/tspsg/src/</path>
     340    <filename>shobjidl_8h</filename>
     341    <class kind="interface">ITaskbarList3</class>
     342    <member kind="enumeration">
     343      <name>TBPFLAG</name>
     344      <anchorfile>shobjidl_8h.html</anchorfile>
     345      <anchor>a1fafeab2f8950fbd8edf21f4a2200c39</anchor>
     346      <arglist></arglist>
     347    </member>
     348    <member kind="enumvalue">
     349      <name>TBPF_NOPROGRESS</name>
     350      <anchorfile>shobjidl_8h.html</anchorfile>
     351      <anchor>a1fafeab2f8950fbd8edf21f4a2200c39a3570f6f9189f7bcaa722abfce49ea335</anchor>
     352      <arglist></arglist>
     353    </member>
     354    <member kind="enumvalue">
     355      <name>TBPF_INDETERMINATE</name>
     356      <anchorfile>shobjidl_8h.html</anchorfile>
     357      <anchor>a1fafeab2f8950fbd8edf21f4a2200c39a43c1643df0a6e7b4c78651d8285be535</anchor>
     358      <arglist></arglist>
     359    </member>
     360    <member kind="enumvalue">
     361      <name>TBPF_NORMAL</name>
     362      <anchorfile>shobjidl_8h.html</anchorfile>
     363      <anchor>a1fafeab2f8950fbd8edf21f4a2200c39a45ac285277be4b436cbb0c2e60883c4d</anchor>
     364      <arglist></arglist>
     365    </member>
     366    <member kind="enumvalue">
     367      <name>TBPF_ERROR</name>
     368      <anchorfile>shobjidl_8h.html</anchorfile>
     369      <anchor>a1fafeab2f8950fbd8edf21f4a2200c39a5f80fe02a44f4e87a593ab63adb9ff09</anchor>
     370      <arglist></arglist>
     371    </member>
     372    <member kind="enumvalue">
     373      <name>TBPF_PAUSED</name>
     374      <anchorfile>shobjidl_8h.html</anchorfile>
     375      <anchor>a1fafeab2f8950fbd8edf21f4a2200c39ab3919c5fad5aa361787ad1ca5aba1400</anchor>
     376      <arglist></arglist>
     377    </member>
    336378  </compound>
    337379  <compound kind="file">
     
    578620    </member>
    579621  </compound>
     622  <compound kind="interface">
     623    <name>ITaskbarList3</name>
     624    <filename>interface_i_taskbar_list3.html</filename>
     625    <member kind="function">
     626      <type>HRESULT</type>
     627      <name>SetProgressState</name>
     628      <anchorfile>interface_i_taskbar_list3.html</anchorfile>
     629      <anchor>ac0dd28f3cbb50f8bcb07e085a1cbab4e</anchor>
     630      <arglist>(HWND hwnd, TBPFLAG tbpFlags)</arglist>
     631    </member>
     632    <member kind="function">
     633      <type>HRESULT</type>
     634      <name>SetProgressValue</name>
     635      <anchorfile>interface_i_taskbar_list3.html</anchorfile>
     636      <anchor>afc90208fdce89e0f212e7b1a4888f254</anchor>
     637      <arglist>(HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal)</arglist>
     638    </member>
     639  </compound>
    580640  <compound kind="class">
    581641    <name>MainWindow</name>
     
    828888      <name>getSortedPath</name>
    829889      <anchorfile>class_t_s_p_solver_1_1_c_t_s_p_solver.html</anchorfile>
    830       <anchor>a8897c0737ef2451ae606c38113477521</anchor>
    831       <arglist>(const QString &amp;city, const QString &amp;separator=&quot; -&gt; &quot;) const </arglist>
     890      <anchor>a0f4495349b42939d27113a3cd69390fd</anchor>
     891      <arglist>(const QString &amp;city, const QString &amp;separator=QString(&quot; -&gt; &quot;)) const </arglist>
    832892    </member>
    833893    <member kind="function">
     
    844904      <anchor>a2b82ac68b981c47a3261f4e4e9ecd2bd</anchor>
    845905      <arglist>() const </arglist>
     906    </member>
     907    <member kind="function">
     908      <type>void</type>
     909      <name>setCleanupOnCancel</name>
     910      <anchorfile>class_t_s_p_solver_1_1_c_t_s_p_solver.html</anchorfile>
     911      <anchor>a0c6b3869dc2e867609513c11e52ad7be</anchor>
     912      <arglist>(bool enable=true)</arglist>
    846913    </member>
    847914    <member kind="function">
  • trunk/doxygen.conf

    r121 r124  
    13151315# instead of the = operator.
    13161316
    1317 PREDEFINED             = __i386__ Q_OS_WIN32
     1317PREDEFINED             = __i386__ Q_OS_WIN32 DOXYGEN_EXCLUDE
    13181318
    13191319# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
  • trunk/l10n/template.ts

    r121 r124  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="517"/>
    9         <source>AUTHORS</source>
    10         <comment>Please, provide translator credits here.</comment>
    11         <translation type="unfinished"></translation>
    12     </message>
    13     <message>
    14         <location filename="../src/mainwindow.cpp" line="529"/>
     8        <location filename="../src/mainwindow.cpp" line="498"/>
     9        <source>AUTHORS %1</source>
     10        <comment>Please, provide translator credits here. %1 will be replaced with VERSION</comment>
     11        <translation type="unfinished"></translation>
     12    </message>
     13    <message>
     14        <location filename="../src/mainwindow.cpp" line="500"/>
    1515        <source>VERSION</source>
    1616        <comment>Please, provide your translation version here.</comment>
     
    1818    </message>
    1919    <message>
    20         <location filename="../src/mainwindow.cpp" line="1022"/>
     20        <location filename="../src/mainwindow.cpp" line="1180"/>
    2121        <source>COUNTRY</source>
    2222        <comment>Please, provide an ISO 3166-1 alpha-2 country code for this translation language here (eg., UA).</comment>
     
    2424    </message>
    2525    <message>
    26         <location filename="../src/mainwindow.cpp" line="1023"/>
     26        <location filename="../src/mainwindow.cpp" line="1181"/>
    2727        <source>LANGNAME</source>
    2828        <comment>Please, provide a native name of your translation language here.</comment>
     
    138138    <name>MainWindow</name>
    139139    <message>
    140         <location filename="../ui/mainwindow.ui" line="27"/>
     140        <location filename="../ui/mainwindow.ui" line="24"/>
    141141        <source>Task</source>
    142142        <translation type="unfinished"></translation>
    143143    </message>
    144144    <message>
    145         <location filename="../ui/mainwindow.ui" line="48"/>
     145        <location filename="../ui/mainwindow.ui" line="45"/>
    146146        <source>&amp;Variant:</source>
    147147        <translation type="unfinished"></translation>
    148148    </message>
    149149    <message>
    150         <location filename="../ui/mainwindow.ui" line="61"/>
     150        <location filename="../ui/mainwindow.ui" line="58"/>
    151151        <source>Number of variant</source>
    152152        <translation type="unfinished"></translation>
    153153    </message>
    154154    <message>
    155         <location filename="../ui/mainwindow.ui" line="71"/>
     155        <location filename="../ui/mainwindow.ui" line="68"/>
    156156        <source>&amp;Cities:</source>
    157157        <translation type="unfinished"></translation>
    158158    </message>
    159159    <message>
    160         <location filename="../ui/mainwindow.ui" line="84"/>
     160        <location filename="../ui/mainwindow.ui" line="81"/>
    161161        <source>Number of cities</source>
    162162        <translation type="unfinished"></translation>
    163163    </message>
    164164    <message>
    165         <location filename="../ui/mainwindow.ui" line="112"/>
     165        <location filename="../ui/mainwindow.ui" line="109"/>
    166166        <source>Cost of travel from city to city</source>
    167167        <translation type="unfinished"></translation>
    168168    </message>
    169169    <message>
     170        <location filename="../ui/mainwindow.ui" line="137"/>
     171        <source>Fill table with random numbers</source>
     172        <translation type="unfinished"></translation>
     173    </message>
     174    <message>
    170175        <location filename="../ui/mainwindow.ui" line="140"/>
    171         <source>Fill table with random numbers</source>
    172         <translation type="unfinished"></translation>
    173     </message>
    174     <message>
    175         <location filename="../ui/mainwindow.ui" line="143"/>
    176176        <source>Random</source>
    177177        <translation type="unfinished"></translation>
    178178    </message>
    179179    <message>
     180        <location filename="../ui/mainwindow.ui" line="150"/>
     181        <source>Solve current task</source>
     182        <translation type="unfinished"></translation>
     183    </message>
     184    <message>
    180185        <location filename="../ui/mainwindow.ui" line="153"/>
    181         <source>Solve current task</source>
    182         <translation type="unfinished"></translation>
    183     </message>
    184     <message>
    185         <location filename="../ui/mainwindow.ui" line="156"/>
    186186        <source>Solve</source>
    187187        <translation type="unfinished"></translation>
    188188    </message>
    189189    <message>
    190         <location filename="../ui/mainwindow.ui" line="166"/>
     190        <location filename="../ui/mainwindow.ui" line="163"/>
    191191        <source>Solution</source>
    192192        <translation type="unfinished"></translation>
    193193    </message>
    194194    <message>
    195         <location filename="../ui/mainwindow.ui" line="175"/>
     195        <location filename="../ui/mainwindow.ui" line="172"/>
    196196        <source>Solution steps</source>
    197197        <translation type="unfinished"></translation>
    198198    </message>
    199199    <message>
     200        <location filename="../ui/mainwindow.ui" line="196"/>
     201        <location filename="../ui/mainwindow.ui" line="340"/>
     202        <source>Save solution to a file</source>
     203        <translation type="unfinished"></translation>
     204    </message>
     205    <message>
    200206        <location filename="../ui/mainwindow.ui" line="199"/>
    201         <location filename="../ui/mainwindow.ui" line="343"/>
    202         <source>Save solution to a file</source>
    203         <translation type="unfinished"></translation>
    204     </message>
    205     <message>
    206         <location filename="../ui/mainwindow.ui" line="202"/>
    207207        <source>Save Solution</source>
    208208        <translation type="unfinished"></translation>
    209209    </message>
    210210    <message>
     211        <location filename="../ui/mainwindow.ui" line="222"/>
     212        <source>Go back to Task tab</source>
     213        <translation type="unfinished"></translation>
     214    </message>
     215    <message>
    211216        <location filename="../ui/mainwindow.ui" line="225"/>
    212         <source>Go back to Task tab</source>
    213         <translation type="unfinished"></translation>
    214     </message>
    215     <message>
    216         <location filename="../ui/mainwindow.ui" line="228"/>
    217217        <source>Back to Task</source>
    218218        <translation type="unfinished"></translation>
    219219    </message>
    220220    <message>
    221         <location filename="../ui/mainwindow.ui" line="253"/>
     221        <location filename="../ui/mainwindow.ui" line="250"/>
    222222        <source>&amp;File</source>
    223223        <translation type="unfinished"></translation>
    224224    </message>
    225225    <message>
    226         <location filename="../ui/mainwindow.ui" line="257"/>
     226        <location filename="../ui/mainwindow.ui" line="254"/>
    227227        <source>Save &amp;As</source>
    228228        <translation type="unfinished"></translation>
    229229    </message>
    230230    <message>
    231         <location filename="../ui/mainwindow.ui" line="271"/>
     231        <location filename="../ui/mainwindow.ui" line="268"/>
    232232        <source>&amp;Settings</source>
    233233        <translation type="unfinished"></translation>
    234234    </message>
    235235    <message>
    236         <location filename="../ui/mainwindow.ui" line="275"/>
     236        <location filename="../ui/mainwindow.ui" line="272"/>
    237237        <source>&amp;Language</source>
    238238        <comment>Please, append &quot; / Language&quot; when translating this string.</comment>
     
    240240    </message>
    241241    <message>
    242         <location filename="../ui/mainwindow.ui" line="283"/>
     242        <location filename="../ui/mainwindow.ui" line="280"/>
    243243        <source>Style</source>
    244244        <translation type="unfinished"></translation>
    245245    </message>
    246246    <message>
    247         <location filename="../ui/mainwindow.ui" line="288"/>
     247        <location filename="../ui/mainwindow.ui" line="285"/>
    248248        <source>Toolbars</source>
    249249        <translation type="unfinished"></translation>
    250250    </message>
    251251    <message>
    252         <location filename="../ui/mainwindow.ui" line="299"/>
     252        <location filename="../ui/mainwindow.ui" line="296"/>
    253253        <source>&amp;Help</source>
    254254        <translation type="unfinished"></translation>
    255255    </message>
    256256    <message>
    257         <location filename="../ui/mainwindow.ui" line="316"/>
     257        <location filename="../ui/mainwindow.ui" line="313"/>
    258258        <source>Main Toolbar</source>
    259259        <translation type="unfinished"></translation>
    260260    </message>
    261261    <message>
     262        <location filename="../ui/mainwindow.ui" line="334"/>
     263        <source>&amp;Solution...</source>
     264        <translation type="unfinished"></translation>
     265    </message>
     266    <message>
    262267        <location filename="../ui/mainwindow.ui" line="337"/>
    263         <source>&amp;Solution...</source>
    264         <translation type="unfinished"></translation>
    265     </message>
    266     <message>
    267         <location filename="../ui/mainwindow.ui" line="340"/>
    268268        <source>Save solution</source>
    269269        <translation type="unfinished"></translation>
    270270    </message>
    271271    <message>
     272        <location filename="../ui/mainwindow.ui" line="345"/>
     273        <source>&amp;New</source>
     274        <translation type="unfinished"></translation>
     275    </message>
     276    <message>
    272277        <location filename="../ui/mainwindow.ui" line="348"/>
    273         <source>&amp;New</source>
     278        <source>New task</source>
    274279        <translation type="unfinished"></translation>
    275280    </message>
    276281    <message>
    277282        <location filename="../ui/mainwindow.ui" line="351"/>
    278         <source>New task</source>
     283        <source>Create new task</source>
    279284        <translation type="unfinished"></translation>
    280285    </message>
    281286    <message>
    282287        <location filename="../ui/mainwindow.ui" line="354"/>
    283         <source>Create new task</source>
    284         <translation type="unfinished"></translation>
    285     </message>
    286     <message>
    287         <location filename="../ui/mainwindow.ui" line="357"/>
    288288        <source>Ctrl+N</source>
    289289        <translation type="unfinished"></translation>
    290290    </message>
    291291    <message>
     292        <location filename="../ui/mainwindow.ui" line="359"/>
     293        <source>&amp;Open...</source>
     294        <translation type="unfinished"></translation>
     295    </message>
     296    <message>
    292297        <location filename="../ui/mainwindow.ui" line="362"/>
    293         <source>&amp;Open...</source>
     298        <source>Open task</source>
    294299        <translation type="unfinished"></translation>
    295300    </message>
    296301    <message>
    297302        <location filename="../ui/mainwindow.ui" line="365"/>
    298         <source>Open task</source>
     303        <source>Open saved task</source>
    299304        <translation type="unfinished"></translation>
    300305    </message>
    301306    <message>
    302307        <location filename="../ui/mainwindow.ui" line="368"/>
    303         <source>Open saved task</source>
    304         <translation type="unfinished"></translation>
    305     </message>
    306     <message>
    307         <location filename="../ui/mainwindow.ui" line="371"/>
    308308        <source>Ctrl+O</source>
    309309        <translation type="unfinished"></translation>
    310310    </message>
    311311    <message>
     312        <location filename="../ui/mainwindow.ui" line="373"/>
     313        <source>&amp;Preferences...</source>
     314        <translation type="unfinished"></translation>
     315    </message>
     316    <message>
    312317        <location filename="../ui/mainwindow.ui" line="376"/>
    313         <source>&amp;Preferences...</source>
    314         <translation type="unfinished"></translation>
    315     </message>
    316     <message>
    317         <location filename="../ui/mainwindow.ui" line="379"/>
    318318        <source>Application preferences</source>
    319319        <translation type="unfinished"></translation>
    320320    </message>
    321321    <message>
     322        <location filename="../ui/mainwindow.ui" line="384"/>
     323        <source>&amp;Contents</source>
     324        <translation type="unfinished"></translation>
     325    </message>
     326    <message>
    322327        <location filename="../ui/mainwindow.ui" line="387"/>
    323         <source>&amp;Contents</source>
     328        <source>Open help contents</source>
    324329        <translation type="unfinished"></translation>
    325330    </message>
    326331    <message>
    327332        <location filename="../ui/mainwindow.ui" line="390"/>
    328         <source>Open help contents</source>
    329         <translation type="unfinished"></translation>
    330     </message>
    331     <message>
    332         <location filename="../ui/mainwindow.ui" line="393"/>
    333333        <source>Ctrl+F1</source>
    334334        <translation type="unfinished"></translation>
    335335    </message>
    336336    <message>
     337        <location filename="../ui/mainwindow.ui" line="398"/>
     338        <source>Context &amp;Help</source>
     339        <translation type="unfinished"></translation>
     340    </message>
     341    <message>
    337342        <location filename="../ui/mainwindow.ui" line="401"/>
    338         <source>Context &amp;Help</source>
     343        <source>Open context help</source>
    339344        <translation type="unfinished"></translation>
    340345    </message>
    341346    <message>
    342347        <location filename="../ui/mainwindow.ui" line="404"/>
    343         <source>Open context help</source>
    344         <translation type="unfinished"></translation>
    345     </message>
    346     <message>
    347         <location filename="../ui/mainwindow.ui" line="407"/>
    348348        <source>F1</source>
    349349        <translation type="unfinished"></translation>
    350350    </message>
    351351    <message>
     352        <location filename="../ui/mainwindow.ui" line="409"/>
     353        <source>&amp;About TSPSG...</source>
     354        <translation type="unfinished"></translation>
     355    </message>
     356    <message>
    352357        <location filename="../ui/mainwindow.ui" line="412"/>
    353         <source>&amp;About TSPSG...</source>
    354         <translation type="unfinished"></translation>
    355     </message>
    356     <message>
    357         <location filename="../ui/mainwindow.ui" line="415"/>
    358358        <source>About application</source>
    359359        <translation type="unfinished"></translation>
    360360    </message>
    361361    <message>
     362        <location filename="../ui/mainwindow.ui" line="417"/>
     363        <source>E&amp;xit</source>
     364        <translation type="unfinished"></translation>
     365    </message>
     366    <message>
    362367        <location filename="../ui/mainwindow.ui" line="420"/>
    363         <source>E&amp;xit</source>
    364         <translation type="unfinished"></translation>
    365     </message>
    366     <message>
    367         <location filename="../ui/mainwindow.ui" line="423"/>
    368368        <source>Exit application</source>
    369369        <translation type="unfinished"></translation>
    370370    </message>
    371371    <message>
     372        <location filename="../ui/mainwindow.ui" line="425"/>
     373        <source>&amp;Task...</source>
     374        <translation type="unfinished"></translation>
     375    </message>
     376    <message>
    372377        <location filename="../ui/mainwindow.ui" line="428"/>
    373         <source>&amp;Task...</source>
     378        <location filename="../ui/mainwindow.ui" line="473"/>
     379        <source>Save task</source>
    374380        <translation type="unfinished"></translation>
    375381    </message>
    376382    <message>
    377383        <location filename="../ui/mainwindow.ui" line="431"/>
     384        <source>Save task to file</source>
     385        <translation type="unfinished"></translation>
     386    </message>
     387    <message>
     388        <location filename="../ui/mainwindow.ui" line="442"/>
     389        <source>&amp;Autodetect</source>
     390        <translation type="unfinished"></translation>
     391    </message>
     392    <message>
     393        <location filename="../ui/mainwindow.ui" line="445"/>
     394        <source>Detect language automatically</source>
     395        <translation type="unfinished"></translation>
     396    </message>
     397    <message>
     398        <location filename="../ui/mainwindow.ui" line="448"/>
     399        <source>Detect language automatically based on regional settings</source>
     400        <translation type="unfinished"></translation>
     401    </message>
     402    <message>
     403        <location filename="../ui/mainwindow.ui" line="470"/>
     404        <source>&amp;Save</source>
     405        <translation type="unfinished"></translation>
     406    </message>
     407    <message>
    378408        <location filename="../ui/mainwindow.ui" line="476"/>
    379         <source>Save task</source>
    380         <translation type="unfinished"></translation>
    381     </message>
    382     <message>
    383         <location filename="../ui/mainwindow.ui" line="434"/>
    384         <source>Save task to file</source>
    385         <translation type="unfinished"></translation>
    386     </message>
    387     <message>
    388         <location filename="../ui/mainwindow.ui" line="445"/>
    389         <source>&amp;Autodetect</source>
    390         <translation type="unfinished"></translation>
    391     </message>
    392     <message>
    393         <location filename="../ui/mainwindow.ui" line="448"/>
    394         <source>Detect language automatically</source>
    395         <translation type="unfinished"></translation>
    396     </message>
    397     <message>
    398         <location filename="../ui/mainwindow.ui" line="451"/>
    399         <source>Detect language automatically based on regional settings</source>
    400         <translation type="unfinished"></translation>
    401     </message>
    402     <message>
    403         <location filename="../ui/mainwindow.ui" line="473"/>
    404         <source>&amp;Save</source>
     409        <source>Save current task</source>
    405410        <translation type="unfinished"></translation>
    406411    </message>
    407412    <message>
    408413        <location filename="../ui/mainwindow.ui" line="479"/>
    409         <source>Save current task</source>
    410         <translation type="unfinished"></translation>
    411     </message>
    412     <message>
    413         <location filename="../ui/mainwindow.ui" line="482"/>
    414414        <source>Ctrl+S</source>
    415415        <translation type="unfinished"></translation>
    416416    </message>
    417417    <message>
     418        <location filename="../ui/mainwindow.ui" line="488"/>
     419        <source>About &amp;Qt...</source>
     420        <translation type="unfinished"></translation>
     421    </message>
     422    <message>
    418423        <location filename="../ui/mainwindow.ui" line="491"/>
    419         <source>About &amp;Qt...</source>
    420         <translation type="unfinished"></translation>
    421     </message>
    422     <message>
    423         <location filename="../ui/mainwindow.ui" line="494"/>
    424424        <source>About Qt library</source>
    425425        <translation type="unfinished"></translation>
    426426    </message>
    427427    <message>
     428        <location filename="../ui/mainwindow.ui" line="505"/>
     429        <source>System Default</source>
     430        <translation type="unfinished"></translation>
     431    </message>
     432    <message>
    428433        <location filename="../ui/mainwindow.ui" line="508"/>
    429         <source>System Default</source>
    430         <translation type="unfinished"></translation>
    431     </message>
    432     <message>
    433         <location filename="../ui/mainwindow.ui" line="511"/>
    434434        <source>Automatically choose the most appropriate style</source>
    435435        <translation type="unfinished"></translation>
    436436    </message>
    437437    <message>
    438         <location filename="../src/mainwindow.cpp" line="151"/>
     438        <location filename="../src/mainwindow.cpp" line="155"/>
    439439        <source>All Supported Formats</source>
    440440        <translation type="unfinished"></translation>
    441441    </message>
    442442    <message>
    443         <location filename="../src/mainwindow.cpp" line="152"/>
    444         <location filename="../src/mainwindow.cpp" line="153"/>
     443        <location filename="../src/mainwindow.cpp" line="156"/>
     444        <location filename="../src/mainwindow.cpp" line="157"/>
    445445        <source>%1 Task Files</source>
    446446        <translation type="unfinished"></translation>
    447447    </message>
    448448    <message>
    449         <location filename="../src/mainwindow.cpp" line="154"/>
     449        <location filename="../src/mainwindow.cpp" line="158"/>
     450        <location filename="../src/mainwindow.cpp" line="222"/>
     451        <location filename="../src/mainwindow.cpp" line="1411"/>
     452        <source>All Files</source>
     453        <translation type="unfinished"></translation>
     454    </message>
     455    <message>
     456        <location filename="../src/mainwindow.cpp" line="162"/>
     457        <source>Task Load</source>
     458        <translation type="unfinished"></translation>
     459    </message>
     460    <message>
     461        <location filename="../src/mainwindow.cpp" line="176"/>
     462        <location filename="../src/mainwindow.cpp" line="200"/>
     463        <location filename="../src/mainwindow.cpp" line="370"/>
     464        <location filename="../src/mainwindow.h" line="152"/>
     465        <source>Untitled</source>
     466        <translation type="unfinished"></translation>
     467    </message>
     468    <message>
     469        <location filename="../src/mainwindow.cpp" line="216"/>
     470        <source>PDF Files</source>
     471        <translation type="unfinished"></translation>
     472    </message>
     473    <message>
    450474        <location filename="../src/mainwindow.cpp" line="218"/>
    451         <location filename="../src/mainwindow.cpp" line="1253"/>
    452         <source>All Files</source>
    453         <translation type="unfinished"></translation>
    454     </message>
    455     <message>
    456         <location filename="../src/mainwindow.cpp" line="158"/>
    457         <source>Task Load</source>
    458         <translation type="unfinished"></translation>
    459     </message>
    460     <message>
    461         <location filename="../src/mainwindow.cpp" line="172"/>
    462         <location filename="../src/mainwindow.cpp" line="196"/>
    463         <location filename="../src/mainwindow.cpp" line="366"/>
    464         <location filename="../src/mainwindow.h" line="141"/>
    465         <source>Untitled</source>
    466         <translation type="unfinished"></translation>
    467     </message>
    468     <message>
    469         <location filename="../src/mainwindow.cpp" line="212"/>
    470         <source>PDF Files</source>
    471         <translation type="unfinished"></translation>
    472     </message>
    473     <message>
    474         <location filename="../src/mainwindow.cpp" line="214"/>
    475475        <source>HTML Files</source>
    476476        <translation type="unfinished"></translation>
    477477    </message>
    478478    <message>
    479         <location filename="../src/mainwindow.cpp" line="216"/>
     479        <location filename="../src/mainwindow.cpp" line="220"/>
    480480        <source>OpenDocument Files</source>
    481481        <translation type="unfinished"></translation>
    482482    </message>
    483483    <message>
    484         <location filename="../src/mainwindow.cpp" line="240"/>
    485         <location filename="../src/mainwindow.cpp" line="295"/>
    486         <location filename="../src/mainwindow.cpp" line="309"/>
     484        <location filename="../src/mainwindow.cpp" line="244"/>
     485        <location filename="../src/mainwindow.cpp" line="299"/>
     486        <location filename="../src/mainwindow.cpp" line="313"/>
    487487        <source>Solution Save</source>
    488488        <translation type="unfinished"></translation>
    489489    </message>
    490490    <message>
    491         <location filename="../src/mainwindow.cpp" line="240"/>
    492         <location filename="../src/mainwindow.cpp" line="309"/>
     491        <location filename="../src/mainwindow.cpp" line="244"/>
     492        <location filename="../src/mainwindow.cpp" line="313"/>
    493493        <source>Unable to save the solution.
    494494Error: %1</source>
     
    496496    </message>
    497497    <message>
    498         <location filename="../src/mainwindow.cpp" line="255"/>
    499         <location filename="../src/mainwindow.cpp" line="270"/>
     498        <location filename="../src/mainwindow.cpp" line="259"/>
     499        <location filename="../src/mainwindow.cpp" line="274"/>
    500500        <source>Solution Graph</source>
    501501        <translation type="unfinished"></translation>
    502502    </message>
    503503    <message>
    504         <location filename="../src/mainwindow.cpp" line="271"/>
     504        <location filename="../src/mainwindow.cpp" line="275"/>
    505505        <source>Generated with %1</source>
    506506        <translation type="unfinished"></translation>
    507507    </message>
    508508    <message>
    509         <location filename="../src/mainwindow.cpp" line="295"/>
     509        <location filename="../src/mainwindow.cpp" line="299"/>
    510510        <source>Unable to save the solution graph.
    511511Error: %1</source>
     
    513513    </message>
    514514    <message>
    515         <location filename="../src/mainwindow.cpp" line="341"/>
    516         <location filename="../src/mainwindow.cpp" line="381"/>
     515        <location filename="../src/mainwindow.cpp" line="345"/>
     516        <location filename="../src/mainwindow.cpp" line="385"/>
    517517        <source>Settings Changed</source>
    518518        <translation type="unfinished"></translation>
    519519    </message>
    520520    <message>
    521         <location filename="../src/mainwindow.cpp" line="341"/>
     521        <location filename="../src/mainwindow.cpp" line="345"/>
    522522        <source>You have changed color settings.
    523523They will be applied to the next solution output.</source>
     
    525525    </message>
    526526    <message>
    527         <location filename="../src/mainwindow.cpp" line="352"/>
    528         <location filename="../src/mainwindow.cpp" line="361"/>
     527        <location filename="../src/mainwindow.cpp" line="356"/>
     528        <location filename="../src/mainwindow.cpp" line="365"/>
    529529        <source>Language change</source>
    530530        <translation type="unfinished"></translation>
    531531    </message>
    532532    <message>
    533         <location filename="../src/mainwindow.cpp" line="352"/>
     533        <location filename="../src/mainwindow.cpp" line="356"/>
    534534        <source>Language will be autodetected on the next %1 start.</source>
    535535        <translation type="unfinished"></translation>
    536536    </message>
    537537    <message>
    538         <location filename="../src/mainwindow.cpp" line="361"/>
     538        <location filename="../src/mainwindow.cpp" line="365"/>
    539539        <source>You have language autodetection turned on.
    540540It needs to be off.
     
    543543    </message>
    544544    <message>
    545         <location filename="../src/mainwindow.cpp" line="381"/>
     545        <location filename="../src/mainwindow.cpp" line="385"/>
    546546        <source>You have changed the application language.
    547547To get current solution output in the new language
     
    550550    </message>
    551551    <message>
    552         <location filename="../src/mainwindow.cpp" line="389"/>
     552        <location filename="../src/mainwindow.cpp" line="393"/>
    553553        <source>Style Change</source>
    554554        <translation type="unfinished"></translation>
    555555    </message>
    556556    <message>
    557         <location filename="../src/mainwindow.cpp" line="389"/>
     557        <location filename="../src/mainwindow.cpp" line="393"/>
    558558        <source>To apply the default style you need to restart %1.</source>
    559559        <translation type="unfinished"></translation>
    560560    </message>
    561561    <message>
    562         <location filename="../src/mainwindow.cpp" line="426"/>
     562        <location filename="../src/mainwindow.cpp" line="430"/>
    563563        <source>Unsupported Feature</source>
    564564        <translation type="unfinished"></translation>
    565565    </message>
    566566    <message>
    567         <location filename="../src/mainwindow.cpp" line="426"/>
     567        <location filename="../src/mainwindow.cpp" line="430"/>
    568568        <source>Sorry, but this feature is not supported on your platform
    569569or support for this feature was not installed.</source>
     
    571571    </message>
    572572    <message>
    573         <location filename="../src/mainwindow.cpp" line="444"/>
     573        <location filename="../src/mainwindow.cpp" line="450"/>
    574574        <source>Version</source>
    575575        <translation type="unfinished"></translation>
    576576    </message>
    577577    <message>
    578         <location filename="../src/mainwindow.cpp" line="453"/>
     578        <location filename="../src/mainwindow.cpp" line="459"/>
    579579        <source>Target OS (ARCH)</source>
    580580        <translation type="unfinished"></translation>
    581581    </message>
    582582    <message>
    583         <location filename="../src/mainwindow.cpp" line="455"/>
    584         <location filename="../src/mainwindow.cpp" line="459"/>
     583        <location filename="../src/mainwindow.cpp" line="461"/>
     584        <location filename="../src/mainwindow.cpp" line="465"/>
    585585        <source>Qt library</source>
    586586        <translation type="unfinished"></translation>
    587587    </message>
    588588    <message>
    589         <location filename="../src/mainwindow.cpp" line="455"/>
     589        <location filename="../src/mainwindow.cpp" line="461"/>
    590590        <source>shared</source>
    591591        <translation type="unfinished"></translation>
    592592    </message>
    593593    <message>
    594         <location filename="../src/mainwindow.cpp" line="456"/>
     594        <location filename="../src/mainwindow.cpp" line="462"/>
    595595        <source>Build time</source>
    596596        <translation type="unfinished"></translation>
    597597    </message>
    598598    <message>
    599         <location filename="../src/mainwindow.cpp" line="457"/>
     599        <location filename="../src/mainwindow.cpp" line="463"/>
    600600        <source>Runtime</source>
    601601        <translation type="unfinished"></translation>
    602602    </message>
    603603    <message>
    604         <location filename="../src/mainwindow.cpp" line="459"/>
     604        <location filename="../src/mainwindow.cpp" line="465"/>
    605605        <source>static</source>
    606606        <translation type="unfinished"></translation>
    607607    </message>
    608608    <message>
    609         <location filename="../src/mainwindow.cpp" line="461"/>
     609        <location filename="../src/mainwindow.cpp" line="467"/>
    610610        <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>
    611611        <translation type="unfinished"></translation>
    612612    </message>
    613613    <message>
    614         <location filename="../src/mainwindow.cpp" line="462"/>
     614        <location filename="../src/mainwindow.cpp" line="468"/>
    615615        <source>Algorithm</source>
    616616        <translation type="unfinished"></translation>
    617617    </message>
    618618    <message>
    619         <location filename="../src/mainwindow.cpp" line="464"/>
    620         <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>
    621         <translation type="unfinished"></translation>
    622     </message>
    623     <message>
    624         <location filename="../src/mainwindow.cpp" line="544"/>
     619        <location filename="../src/mainwindow.cpp" line="470"/>
     620        <source>This program is free software: you can redistribute it and/or modify&lt;br&gt;
     621it under the terms of the GNU General Public License as published by&lt;br&gt;
     622the Free Software Foundation, either version 3 of the License, or&lt;br&gt;
     623(at your option) any later version.&lt;br&gt;
     624&lt;br&gt;
     625This program is distributed in the hope that it will be useful,&lt;br&gt;
     626but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;
     627MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;
     628GNU General Public License for more details.&lt;br&gt;
     629&lt;br&gt;
     630You should have received a copy of the GNU General Public License&lt;br&gt;
     631along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;www.gnu.org/licenses/&lt;/a&gt;.</source>
     632        <translation type="unfinished"></translation>
     633    </message>
     634    <message>
     635        <location filename="../src/mainwindow.cpp" line="484"/>
     636        <source>This software was created using LGPL version of &lt;b&gt;Qt framework&lt;/b&gt;,&lt;br&gt;
     637see &lt;a href=&quot;http://qt.nokia.com/&quot;&gt;qt.nokia.com&lt;/a&gt;&lt;br&gt;
     638&lt;br&gt;
     639Most icons used in this software are part of &lt;b&gt;Oxygen Icons&lt;/b&gt; project licensed according to the GNU Lesser General Public License,&lt;br&gt;
     640see &lt;a href=&quot;http://www.oxygen-icons.org/&quot;&gt;www.oxygen-icons.org&lt;/a&gt;&lt;br&gt;
     641&lt;br&gt;
     642Country flag icons used in this software are part of the free &lt;b&gt;Flag Icons&lt;/b&gt; collection created by &lt;b&gt;IconDrawer&lt;/b&gt;,&lt;br&gt;
     643see &lt;a href=&quot;http://www.icondrawer.com/&quot;&gt;www.icondrawer.com&lt;/a&gt;</source>
     644        <translation type="unfinished"></translation>
     645    </message>
     646    <message>
     647        <location filename="../src/mainwindow.cpp" line="568"/>
     648        <source>About</source>
     649        <translation type="unfinished"></translation>
     650    </message>
     651    <message>
     652        <location filename="../src/mainwindow.cpp" line="569"/>
     653        <source>License</source>
     654        <translation type="unfinished"></translation>
     655    </message>
     656    <message>
     657        <location filename="../src/mainwindow.cpp" line="570"/>
     658        <source>Credits</source>
     659        <translation type="unfinished"></translation>
     660    </message>
     661    <message>
     662        <location filename="../src/mainwindow.cpp" line="589"/>
    625663        <source>About %1</source>
    626664        <translation type="unfinished"></translation>
    627665    </message>
    628666    <message>
    629         <location filename="../src/mainwindow.cpp" line="587"/>
     667        <location filename="../src/mainwindow.cpp" line="633"/>
    630668        <source>Data error</source>
    631669        <translation type="unfinished"></translation>
    632670    </message>
    633671    <message>
    634         <location filename="../src/mainwindow.cpp" line="587"/>
     672        <location filename="../src/mainwindow.cpp" line="633"/>
    635673        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    636674        <translation type="unfinished"></translation>
    637675    </message>
    638676    <message>
    639         <location filename="../src/mainwindow.cpp" line="597"/>
     677        <location filename="../src/mainwindow.cpp" line="643"/>
    640678        <source>%v of %1 parts found</source>
    641679        <translation type="unfinished"></translation>
    642680    </message>
    643681    <message>
    644         <location filename="../src/mainwindow.cpp" line="601"/>
     682        <location filename="../src/mainwindow.cpp" line="651"/>
    645683        <source>Calculating optimal route...</source>
    646684        <translation type="unfinished"></translation>
    647685    </message>
    648686    <message>
    649         <location filename="../src/mainwindow.cpp" line="602"/>
     687        <location filename="../src/mainwindow.cpp" line="652"/>
    650688        <source>Solution Progress</source>
    651689        <translation type="unfinished"></translation>
    652690    </message>
    653691    <message>
    654         <location filename="../src/mainwindow.cpp" line="616"/>
     692        <location filename="../src/mainwindow.cpp" line="696"/>
    655693        <source>Solution Result</source>
    656694        <translation type="unfinished"></translation>
    657695    </message>
    658696    <message>
    659         <location filename="../src/mainwindow.cpp" line="616"/>
     697        <location filename="../src/mainwindow.cpp" line="696"/>
    660698        <source>Unable to find a solution.
    661699Maybe, this task has no solution.</source>
     
    663701    </message>
    664702    <message>
    665         <location filename="../src/mainwindow.cpp" line="619"/>
     703        <location filename="../src/mainwindow.cpp" line="722"/>
    666704        <source>Generating header</source>
    667705        <translation type="unfinished"></translation>
    668706    </message>
    669707    <message>
    670         <location filename="../src/mainwindow.cpp" line="620"/>
     708        <location filename="../src/mainwindow.cpp" line="723"/>
    671709        <source>Generating solution output...</source>
    672710        <translation type="unfinished"></translation>
    673711    </message>
    674712    <message>
    675         <location filename="../src/mainwindow.cpp" line="625"/>
     713        <location filename="../src/mainwindow.cpp" line="733"/>
    676714        <source>Solution of Variant #%1 Task</source>
    677715        <translation type="unfinished"></translation>
    678716    </message>
    679717    <message>
    680         <location filename="../src/mainwindow.cpp" line="641"/>
     718        <location filename="../src/mainwindow.cpp" line="749"/>
    681719        <source>Variant #%1 Task</source>
    682720        <translation type="unfinished"></translation>
    683721    </message>
    684722    <message>
    685         <location filename="../src/mainwindow.cpp" line="643"/>
     723        <location filename="../src/mainwindow.cpp" line="751"/>
    686724        <source>Task:</source>
    687725        <translation type="unfinished"></translation>
    688726    </message>
    689727    <message>
    690         <location filename="../src/mainwindow.cpp" line="654"/>
     728        <location filename="../src/mainwindow.cpp" line="762"/>
    691729        <source>Variant #%1 Solution</source>
    692730        <translation type="unfinished"></translation>
    693731    </message>
    694732    <message>
    695         <location filename="../src/mainwindow.cpp" line="659"/>
     733        <location filename="../src/mainwindow.cpp" line="767"/>
    696734        <source>Generating step %v</source>
    697735        <translation type="unfinished"></translation>
    698736    </message>
    699737    <message>
    700         <location filename="../src/mainwindow.cpp" line="662"/>
    701         <location filename="../src/mainwindow.cpp" line="762"/>
     738        <location filename="../src/mainwindow.cpp" line="698"/>
     739        <location filename="../src/mainwindow.cpp" line="770"/>
     740        <location filename="../src/mainwindow.cpp" line="892"/>
    702741        <source>Cleaning up...</source>
    703742        <translation type="unfinished"></translation>
    704743    </message>
    705744    <message>
    706         <location filename="../src/mainwindow.cpp" line="676"/>
     745        <location filename="../src/mainwindow.cpp" line="579"/>
     746        <source>Translation</source>
     747        <translation type="unfinished"></translation>
     748    </message>
     749    <message>
     750        <location filename="../src/mainwindow.cpp" line="802"/>
    707751        <source>Step #%1</source>
    708752        <translation type="unfinished"></translation>
    709753    </message>
    710754    <message>
    711         <location filename="../src/mainwindow.cpp" line="681"/>
     755        <location filename="../src/mainwindow.cpp" line="807"/>
    712756        <source>Selected route %1 %2 part.</source>
    713757        <translation type="unfinished"></translation>
    714758    </message>
    715759    <message>
    716         <location filename="../src/mainwindow.cpp" line="681"/>
     760        <location filename="../src/mainwindow.cpp" line="807"/>
    717761        <source>with</source>
    718762        <translation type="unfinished"></translation>
    719763    </message>
    720764    <message>
    721         <location filename="../src/mainwindow.cpp" line="681"/>
     765        <location filename="../src/mainwindow.cpp" line="807"/>
    722766        <source>without</source>
    723767        <translation type="unfinished"></translation>
    724768    </message>
    725769    <message>
    726         <location filename="../src/mainwindow.cpp" line="681"/>
    727         <location filename="../src/mainwindow.cpp" line="688"/>
    728         <location filename="../src/mainwindow.cpp" line="910"/>
     770        <location filename="../src/mainwindow.cpp" line="807"/>
     771        <location filename="../src/mainwindow.cpp" line="814"/>
     772        <location filename="../src/mainwindow.cpp" line="1068"/>
    729773        <source>(%1;%2)</source>
    730774        <translation type="unfinished"></translation>
    731775    </message>
    732776    <message numerus="yes">
    733         <location filename="../src/mainwindow.cpp" line="691"/>
     777        <location filename="../src/mainwindow.cpp" line="817"/>
    734778        <source>%n alternate candidate(s) for branching: %1.</source>
    735779        <translation type="unfinished">
     
    738782    </message>
    739783    <message>
    740         <location filename="../src/mainwindow.cpp" line="713"/>
     784        <location filename="../src/mainwindow.cpp" line="839"/>
    741785        <source>Generating footer</source>
    742786        <translation type="unfinished"></translation>
    743787    </message>
    744788    <message>
    745         <location filename="../src/mainwindow.cpp" line="719"/>
     789        <location filename="../src/mainwindow.cpp" line="849"/>
    746790        <source>Optimal path:</source>
    747791        <translation type="unfinished"></translation>
    748792    </message>
    749793    <message>
    750         <location filename="../src/mainwindow.cpp" line="721"/>
     794        <location filename="../src/mainwindow.cpp" line="851"/>
    751795        <source>Resulting path:</source>
    752796        <translation type="unfinished"></translation>
    753797    </message>
    754798    <message>
    755         <location filename="../src/mainwindow.cpp" line="724"/>
     799        <location filename="../src/mainwindow.cpp" line="854"/>
    756800        <source>City %1</source>
    757801        <translation type="unfinished"></translation>
    758802    </message>
    759803    <message numerus="yes">
    760         <location filename="../src/mainwindow.cpp" line="728"/>
     804        <location filename="../src/mainwindow.cpp" line="858"/>
    761805        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    762806        <translation type="unfinished">
     
    765809    </message>
    766810    <message>
    767         <location filename="../src/mainwindow.cpp" line="730"/>
     811        <location filename="../src/mainwindow.cpp" line="860"/>
    768812        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    769813        <translation type="unfinished"></translation>
    770814    </message>
    771815    <message>
    772         <location filename="../src/mainwindow.cpp" line="735"/>
     816        <location filename="../src/mainwindow.cpp" line="865"/>
    773817        <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>
    774818        <translation type="unfinished"></translation>
    775819    </message>
    776820    <message>
    777         <location filename="../src/mainwindow.cpp" line="921"/>
     821        <location filename="../src/mainwindow.cpp" line="1079"/>
    778822        <source>Root</source>
    779823        <translation type="unfinished"></translation>
    780824    </message>
    781825    <message>
    782         <location filename="../src/mainwindow.cpp" line="1024"/>
     826        <location filename="../src/mainwindow.cpp" line="1182"/>
    783827        <source>Set application language to %1</source>
    784828        <translation type="unfinished"></translation>
    785829    </message>
    786830    <message>
    787         <location filename="../src/mainwindow.cpp" line="1103"/>
     831        <location filename="../src/mainwindow.cpp" line="1261"/>
    788832        <source>Language Change</source>
    789833        <translation type="unfinished"></translation>
    790834    </message>
    791835    <message>
    792         <location filename="../src/mainwindow.cpp" line="1103"/>
     836        <location filename="../src/mainwindow.cpp" line="1261"/>
    793837        <source>Unable to load the translation language.
    794838Falling back to autodetection.</source>
     
    796840    </message>
    797841    <message>
    798         <location filename="../src/mainwindow.cpp" line="1122"/>
     842        <location filename="../src/mainwindow.cpp" line="1280"/>
    799843        <source>Set application style to %1</source>
    800844        <translation type="unfinished"></translation>
    801845    </message>
    802846    <message>
    803         <location filename="../src/mainwindow.cpp" line="1151"/>
     847        <location filename="../src/mainwindow.cpp" line="1309"/>
    804848        <source>Unsaved Changes</source>
    805849        <translation type="unfinished"></translation>
    806850    </message>
    807851    <message>
    808         <location filename="../src/mainwindow.cpp" line="1151"/>
     852        <location filename="../src/mainwindow.cpp" line="1309"/>
    809853        <source>Would you like to save changes in the current task?</source>
    810854        <translation type="unfinished"></translation>
    811855    </message>
    812856    <message>
    813         <location filename="../src/mainwindow.cpp" line="1218"/>
     857        <location filename="../src/mainwindow.cpp" line="1376"/>
    814858        <source>P&amp;rint Preview...</source>
    815859        <translation type="unfinished"></translation>
    816860    </message>
    817861    <message>
    818         <location filename="../src/mainwindow.cpp" line="1220"/>
     862        <location filename="../src/mainwindow.cpp" line="1378"/>
    819863        <source>Preview solution results</source>
    820864        <translation type="unfinished"></translation>
    821865    </message>
    822866    <message>
    823         <location filename="../src/mainwindow.cpp" line="1223"/>
     867        <location filename="../src/mainwindow.cpp" line="1381"/>
    824868        <source>Preview current solution results before printing</source>
    825869        <translation type="unfinished"></translation>
    826870    </message>
    827871    <message>
    828         <location filename="../src/mainwindow.cpp" line="1226"/>
     872        <location filename="../src/mainwindow.cpp" line="1384"/>
    829873        <source>&amp;Print...</source>
    830874        <translation type="unfinished"></translation>
    831875    </message>
    832876    <message>
    833         <location filename="../src/mainwindow.cpp" line="1228"/>
     877        <location filename="../src/mainwindow.cpp" line="1386"/>
    834878        <source>Print solution</source>
    835879        <translation type="unfinished"></translation>
    836880    </message>
    837881    <message>
    838         <location filename="../src/mainwindow.cpp" line="1231"/>
     882        <location filename="../src/mainwindow.cpp" line="1389"/>
    839883        <source>Print current solution results</source>
    840884        <translation type="unfinished"></translation>
    841885    </message>
    842886    <message>
    843         <location filename="../src/mainwindow.cpp" line="1233"/>
     887        <location filename="../src/mainwindow.cpp" line="1391"/>
    844888        <source>Ctrl+P</source>
    845889        <translation type="unfinished"></translation>
    846890    </message>
    847891    <message>
    848         <location filename="../src/mainwindow.cpp" line="1237"/>
     892        <location filename="../src/mainwindow.cpp" line="1395"/>
    849893        <source>Configure...</source>
    850894        <translation type="unfinished"></translation>
    851895    </message>
    852896    <message>
    853         <location filename="../src/mainwindow.cpp" line="1239"/>
     897        <location filename="../src/mainwindow.cpp" line="1397"/>
    854898        <source>Customize toolbars</source>
    855899        <translation type="unfinished"></translation>
    856900    </message>
    857901    <message>
    858         <location filename="../src/mainwindow.cpp" line="1244"/>
     902        <location filename="../src/mainwindow.cpp" line="1402"/>
    859903        <source>Check for &amp;Updates...</source>
    860904        <translation type="unfinished"></translation>
    861905    </message>
    862906    <message>
    863         <location filename="../src/mainwindow.cpp" line="1246"/>
     907        <location filename="../src/mainwindow.cpp" line="1404"/>
    864908        <source>Check for %1 updates</source>
    865909        <translation type="unfinished"></translation>
    866910    </message>
    867911    <message>
    868         <location filename="../src/mainwindow.cpp" line="1252"/>
     912        <location filename="../src/mainwindow.cpp" line="1410"/>
    869913        <source>%1 Task File</source>
    870914        <translation type="unfinished"></translation>
    871915    </message>
    872916    <message>
    873         <location filename="../src/mainwindow.cpp" line="1261"/>
     917        <location filename="../src/mainwindow.cpp" line="1419"/>
    874918        <source>Task Save</source>
     919        <translation type="unfinished"></translation>
     920    </message>
     921</context>
     922<context>
     923    <name>QProgressDialog</name>
     924    <message>
     925        <location filename="../src/mainwindow.cpp" line="647"/>
     926        <source>Cancel</source>
     927        <comment>No need to translate this. This translation will be taken from Qt translation files.</comment>
    875928        <translation type="unfinished"></translation>
    876929    </message>
  • trunk/l10n/tspsg_en.ts

    r121 r124  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="517"/>
    9         <source>AUTHORS</source>
    10         <comment>Please, provide translator credits here.</comment>
    11         <translation type="unfinished"></translation>
    12     </message>
    13     <message>
    14         <location filename="../src/mainwindow.cpp" line="529"/>
     8        <location filename="../src/mainwindow.cpp" line="498"/>
     9        <source>AUTHORS %1</source>
     10        <comment>Please, provide translator credits here. %1 will be replaced with VERSION</comment>
     11        <translation type="unfinished"></translation>
     12    </message>
     13    <message>
     14        <location filename="../src/mainwindow.cpp" line="500"/>
    1515        <source>VERSION</source>
    1616        <comment>Please, provide your translation version here.</comment>
     
    1818    </message>
    1919    <message>
    20         <location filename="../src/mainwindow.cpp" line="1022"/>
     20        <location filename="../src/mainwindow.cpp" line="1180"/>
    2121        <source>COUNTRY</source>
    2222        <comment>Please, provide an ISO 3166-1 alpha-2 country code for this translation language here (eg., UA).</comment>
     
    2424    </message>
    2525    <message>
    26         <location filename="../src/mainwindow.cpp" line="1023"/>
     26        <location filename="../src/mainwindow.cpp" line="1181"/>
    2727        <source>LANGNAME</source>
    2828        <comment>Please, provide a native name of your translation language here.</comment>
     
    138138    <name>MainWindow</name>
    139139    <message>
    140         <location filename="../src/mainwindow.cpp" line="352"/>
    141         <location filename="../src/mainwindow.cpp" line="361"/>
     140        <location filename="../src/mainwindow.cpp" line="356"/>
     141        <location filename="../src/mainwindow.cpp" line="365"/>
    142142        <source>Language change</source>
    143143        <translation type="unfinished"></translation>
    144144    </message>
    145145    <message>
    146         <location filename="../src/mainwindow.cpp" line="1103"/>
     146        <location filename="../src/mainwindow.cpp" line="1261"/>
    147147        <source>Language Change</source>
    148148        <translation type="unfinished"></translation>
    149149    </message>
    150150    <message>
    151         <location filename="../src/mainwindow.cpp" line="1151"/>
     151        <location filename="../src/mainwindow.cpp" line="1309"/>
    152152        <source>Unsaved Changes</source>
    153153        <translation type="unfinished"></translation>
    154154    </message>
    155155    <message>
    156         <location filename="../src/mainwindow.cpp" line="151"/>
     156        <location filename="../src/mainwindow.cpp" line="155"/>
    157157        <source>All Supported Formats</source>
    158158        <translation type="unfinished"></translation>
    159159    </message>
    160160    <message>
    161         <location filename="../src/mainwindow.cpp" line="152"/>
    162         <location filename="../src/mainwindow.cpp" line="153"/>
     161        <location filename="../src/mainwindow.cpp" line="156"/>
     162        <location filename="../src/mainwindow.cpp" line="157"/>
    163163        <source>%1 Task Files</source>
    164164        <translation type="unfinished"></translation>
    165165    </message>
    166166    <message>
    167         <location filename="../src/mainwindow.cpp" line="154"/>
     167        <location filename="../src/mainwindow.cpp" line="158"/>
     168        <location filename="../src/mainwindow.cpp" line="222"/>
     169        <location filename="../src/mainwindow.cpp" line="1411"/>
     170        <source>All Files</source>
     171        <translation type="unfinished"></translation>
     172    </message>
     173    <message>
     174        <location filename="../src/mainwindow.cpp" line="216"/>
     175        <source>PDF Files</source>
     176        <translation type="unfinished"></translation>
     177    </message>
     178    <message>
    168179        <location filename="../src/mainwindow.cpp" line="218"/>
    169         <location filename="../src/mainwindow.cpp" line="1253"/>
    170         <source>All Files</source>
    171         <translation type="unfinished"></translation>
    172     </message>
    173     <message>
    174         <location filename="../src/mainwindow.cpp" line="212"/>
    175         <source>PDF Files</source>
    176         <translation type="unfinished"></translation>
    177     </message>
    178     <message>
    179         <location filename="../src/mainwindow.cpp" line="214"/>
    180180        <source>HTML Files</source>
    181181        <translation type="unfinished"></translation>
    182182    </message>
    183183    <message>
    184         <location filename="../src/mainwindow.cpp" line="216"/>
     184        <location filename="../src/mainwindow.cpp" line="220"/>
    185185        <source>OpenDocument Files</source>
    186186        <translation type="unfinished"></translation>
    187187    </message>
    188188    <message>
    189         <location filename="../src/mainwindow.cpp" line="341"/>
     189        <location filename="../src/mainwindow.cpp" line="345"/>
    190190        <source>You have changed color settings.
    191191They will be applied to the next solution output.</source>
     
    193193    </message>
    194194    <message>
    195         <location filename="../src/mainwindow.cpp" line="444"/>
     195        <location filename="../src/mainwindow.cpp" line="450"/>
    196196        <source>Version</source>
    197197        <translation type="unfinished"></translation>
    198198    </message>
    199199    <message>
    200         <location filename="../src/mainwindow.cpp" line="544"/>
     200        <location filename="../src/mainwindow.cpp" line="589"/>
    201201        <source>About %1</source>
    202202        <translation type="unfinished"></translation>
    203203    </message>
    204204    <message>
    205         <location filename="../src/mainwindow.cpp" line="597"/>
     205        <location filename="../src/mainwindow.cpp" line="643"/>
    206206        <source>%v of %1 parts found</source>
    207207        <translation type="unfinished"></translation>
    208208    </message>
    209209    <message>
    210         <location filename="../src/mainwindow.cpp" line="620"/>
     210        <location filename="../src/mainwindow.cpp" line="723"/>
    211211        <source>Generating solution output...</source>
    212212        <translation type="unfinished"></translation>
    213213    </message>
    214214    <message>
    215         <location filename="../src/mainwindow.cpp" line="641"/>
     215        <location filename="../src/mainwindow.cpp" line="749"/>
    216216        <source>Variant #%1 Task</source>
    217217        <translation type="unfinished"></translation>
    218218    </message>
    219219    <message>
    220         <location filename="../src/mainwindow.cpp" line="654"/>
     220        <location filename="../src/mainwindow.cpp" line="762"/>
    221221        <source>Variant #%1 Solution</source>
    222222        <translation type="unfinished"></translation>
    223223    </message>
    224224    <message>
    225         <location filename="../src/mainwindow.cpp" line="659"/>
     225        <location filename="../src/mainwindow.cpp" line="767"/>
    226226        <source>Generating step %v</source>
    227227        <translation type="unfinished"></translation>
    228228    </message>
    229229    <message>
    230         <location filename="../src/mainwindow.cpp" line="681"/>
    231         <location filename="../src/mainwindow.cpp" line="688"/>
    232         <location filename="../src/mainwindow.cpp" line="910"/>
     230        <location filename="../src/mainwindow.cpp" line="807"/>
     231        <location filename="../src/mainwindow.cpp" line="814"/>
     232        <location filename="../src/mainwindow.cpp" line="1068"/>
    233233        <source>(%1;%2)</source>
    234234        <translation type="unfinished"></translation>
    235235    </message>
    236236    <message numerus="yes">
    237         <location filename="../src/mainwindow.cpp" line="691"/>
     237        <location filename="../src/mainwindow.cpp" line="817"/>
    238238        <source>%n alternate candidate(s) for branching: %1.</source>
    239239        <translation>
     
    243243    </message>
    244244    <message>
    245         <location filename="../src/mainwindow.cpp" line="713"/>
     245        <location filename="../src/mainwindow.cpp" line="839"/>
    246246        <source>Generating footer</source>
    247247        <translation type="unfinished"></translation>
    248248    </message>
    249249    <message numerus="yes">
    250         <location filename="../src/mainwindow.cpp" line="728"/>
     250        <location filename="../src/mainwindow.cpp" line="858"/>
    251251        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    252252        <translation>
     
    256256    </message>
    257257    <message>
    258         <location filename="../src/mainwindow.cpp" line="662"/>
    259         <location filename="../src/mainwindow.cpp" line="762"/>
     258        <location filename="../src/mainwindow.cpp" line="698"/>
     259        <location filename="../src/mainwindow.cpp" line="770"/>
     260        <location filename="../src/mainwindow.cpp" line="892"/>
    260261        <source>Cleaning up...</source>
    261262        <translation type="unfinished"></translation>
    262263    </message>
    263264    <message>
    264         <location filename="../src/mainwindow.cpp" line="1122"/>
     265        <location filename="../src/mainwindow.cpp" line="1280"/>
    265266        <source>Set application style to %1</source>
    266267        <translation type="unfinished"></translation>
    267268    </message>
    268269    <message>
    269         <location filename="../src/mainwindow.cpp" line="1151"/>
     270        <location filename="../src/mainwindow.cpp" line="1309"/>
    270271        <source>Would you like to save changes in the current task?</source>
    271272        <translation type="unfinished"></translation>
    272273    </message>
    273274    <message>
    274         <location filename="../src/mainwindow.cpp" line="1237"/>
     275        <location filename="../src/mainwindow.cpp" line="1395"/>
    275276        <source>Configure...</source>
    276277        <translation type="unfinished"></translation>
    277278    </message>
    278279    <message>
    279         <location filename="../src/mainwindow.cpp" line="1239"/>
     280        <location filename="../src/mainwindow.cpp" line="1397"/>
    280281        <source>Customize toolbars</source>
    281282        <translation type="unfinished"></translation>
    282283    </message>
    283284    <message>
    284         <location filename="../src/mainwindow.cpp" line="1246"/>
     285        <location filename="../src/mainwindow.cpp" line="1404"/>
    285286        <source>Check for %1 updates</source>
    286287        <translation type="unfinished"></translation>
    287288    </message>
    288289    <message>
    289         <location filename="../src/mainwindow.cpp" line="1252"/>
     290        <location filename="../src/mainwindow.cpp" line="1410"/>
    290291        <source>%1 Task File</source>
    291292        <translation type="unfinished"></translation>
    292293    </message>
    293294    <message>
    294         <location filename="../src/mainwindow.cpp" line="341"/>
    295         <location filename="../src/mainwindow.cpp" line="381"/>
     295        <location filename="../src/mainwindow.cpp" line="345"/>
     296        <location filename="../src/mainwindow.cpp" line="385"/>
    296297        <source>Settings Changed</source>
    297298        <translation type="unfinished"></translation>
    298299    </message>
    299300    <message>
    300         <location filename="../src/mainwindow.cpp" line="158"/>
     301        <location filename="../src/mainwindow.cpp" line="162"/>
    301302        <source>Task Load</source>
    302303        <translation type="unfinished"></translation>
    303304    </message>
    304305    <message>
    305         <location filename="../src/mainwindow.cpp" line="240"/>
    306         <location filename="../src/mainwindow.cpp" line="295"/>
    307         <location filename="../src/mainwindow.cpp" line="309"/>
     306        <location filename="../src/mainwindow.cpp" line="244"/>
     307        <location filename="../src/mainwindow.cpp" line="299"/>
     308        <location filename="../src/mainwindow.cpp" line="313"/>
    308309        <source>Solution Save</source>
    309310        <translation type="unfinished"></translation>
    310311    </message>
    311312    <message>
    312         <location filename="../src/mainwindow.cpp" line="240"/>
    313         <location filename="../src/mainwindow.cpp" line="309"/>
     313        <location filename="../src/mainwindow.cpp" line="244"/>
     314        <location filename="../src/mainwindow.cpp" line="313"/>
    314315        <source>Unable to save the solution.
    315316Error: %1</source>
     
    317318    </message>
    318319    <message>
    319         <location filename="../src/mainwindow.cpp" line="255"/>
    320         <location filename="../src/mainwindow.cpp" line="270"/>
     320        <location filename="../src/mainwindow.cpp" line="259"/>
     321        <location filename="../src/mainwindow.cpp" line="274"/>
    321322        <source>Solution Graph</source>
    322323        <translation type="unfinished"></translation>
    323324    </message>
    324325    <message>
    325         <location filename="../src/mainwindow.cpp" line="271"/>
     326        <location filename="../src/mainwindow.cpp" line="275"/>
    326327        <source>Generated with %1</source>
    327328        <translation type="unfinished"></translation>
    328329    </message>
    329330    <message>
    330         <location filename="../src/mainwindow.cpp" line="295"/>
     331        <location filename="../src/mainwindow.cpp" line="299"/>
    331332        <source>Unable to save the solution graph.
    332333Error: %1</source>
     
    334335    </message>
    335336    <message>
    336         <location filename="../src/mainwindow.cpp" line="352"/>
     337        <location filename="../src/mainwindow.cpp" line="356"/>
    337338        <source>Language will be autodetected on the next %1 start.</source>
    338339        <translation type="unfinished"></translation>
    339340    </message>
    340341    <message>
    341         <location filename="../src/mainwindow.cpp" line="381"/>
     342        <location filename="../src/mainwindow.cpp" line="385"/>
    342343        <source>You have changed the application language.
    343344To get current solution output in the new language
     
    346347    </message>
    347348    <message>
    348         <location filename="../src/mainwindow.cpp" line="389"/>
     349        <location filename="../src/mainwindow.cpp" line="393"/>
    349350        <source>Style Change</source>
    350351        <translation type="unfinished"></translation>
    351352    </message>
    352353    <message>
    353         <location filename="../src/mainwindow.cpp" line="389"/>
     354        <location filename="../src/mainwindow.cpp" line="393"/>
    354355        <source>To apply the default style you need to restart %1.</source>
    355356        <translation type="unfinished"></translation>
    356357    </message>
    357358    <message>
    358         <location filename="../src/mainwindow.cpp" line="426"/>
     359        <location filename="../src/mainwindow.cpp" line="430"/>
    359360        <source>Unsupported Feature</source>
    360361        <translation type="unfinished"></translation>
    361362    </message>
    362363    <message>
    363         <location filename="../src/mainwindow.cpp" line="426"/>
     364        <location filename="../src/mainwindow.cpp" line="430"/>
    364365        <source>Sorry, but this feature is not supported on your platform
    365366or support for this feature was not installed.</source>
     
    367368    </message>
    368369    <message>
    369         <location filename="../src/mainwindow.cpp" line="453"/>
     370        <location filename="../src/mainwindow.cpp" line="459"/>
    370371        <source>Target OS (ARCH)</source>
    371372        <translation type="unfinished"></translation>
    372373    </message>
    373374    <message>
    374         <location filename="../src/mainwindow.cpp" line="455"/>
    375         <location filename="../src/mainwindow.cpp" line="459"/>
     375        <location filename="../src/mainwindow.cpp" line="461"/>
     376        <location filename="../src/mainwindow.cpp" line="465"/>
    376377        <source>Qt library</source>
    377378        <translation type="unfinished"></translation>
    378379    </message>
    379380    <message>
    380         <location filename="../src/mainwindow.cpp" line="455"/>
     381        <location filename="../src/mainwindow.cpp" line="461"/>
    381382        <source>shared</source>
    382383        <translation type="unfinished"></translation>
    383384    </message>
    384385    <message>
    385         <location filename="../src/mainwindow.cpp" line="456"/>
     386        <location filename="../src/mainwindow.cpp" line="462"/>
    386387        <source>Build time</source>
    387388        <translation type="unfinished"></translation>
    388389    </message>
    389390    <message>
    390         <location filename="../src/mainwindow.cpp" line="457"/>
     391        <location filename="../src/mainwindow.cpp" line="463"/>
    391392        <source>Runtime</source>
    392393        <translation type="unfinished"></translation>
    393394    </message>
    394395    <message>
    395         <location filename="../src/mainwindow.cpp" line="459"/>
     396        <location filename="../src/mainwindow.cpp" line="465"/>
    396397        <source>static</source>
    397398        <translation type="unfinished"></translation>
    398399    </message>
    399400    <message>
    400         <location filename="../src/mainwindow.cpp" line="461"/>
     401        <location filename="../src/mainwindow.cpp" line="467"/>
    401402        <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>
    402403        <translation type="unfinished"></translation>
    403404    </message>
    404405    <message>
    405         <location filename="../src/mainwindow.cpp" line="462"/>
     406        <location filename="../src/mainwindow.cpp" line="468"/>
    406407        <source>Algorithm</source>
    407408        <translation type="unfinished"></translation>
    408409    </message>
    409410    <message>
    410         <location filename="../src/mainwindow.cpp" line="464"/>
    411         <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>
    412         <translation type="unfinished"></translation>
    413     </message>
    414     <message>
    415         <location filename="../src/mainwindow.cpp" line="587"/>
     411        <location filename="../src/mainwindow.cpp" line="470"/>
     412        <source>This program is free software: you can redistribute it and/or modify&lt;br&gt;
     413it under the terms of the GNU General Public License as published by&lt;br&gt;
     414the Free Software Foundation, either version 3 of the License, or&lt;br&gt;
     415(at your option) any later version.&lt;br&gt;
     416&lt;br&gt;
     417This program is distributed in the hope that it will be useful,&lt;br&gt;
     418but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;
     419MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;
     420GNU General Public License for more details.&lt;br&gt;
     421&lt;br&gt;
     422You should have received a copy of the GNU General Public License&lt;br&gt;
     423along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;www.gnu.org/licenses/&lt;/a&gt;.</source>
     424        <translation type="unfinished"></translation>
     425    </message>
     426    <message>
     427        <location filename="../src/mainwindow.cpp" line="484"/>
     428        <source>This software was created using LGPL version of &lt;b&gt;Qt framework&lt;/b&gt;,&lt;br&gt;
     429see &lt;a href=&quot;http://qt.nokia.com/&quot;&gt;qt.nokia.com&lt;/a&gt;&lt;br&gt;
     430&lt;br&gt;
     431Most icons used in this software are part of &lt;b&gt;Oxygen Icons&lt;/b&gt; project licensed according to the GNU Lesser General Public License,&lt;br&gt;
     432see &lt;a href=&quot;http://www.oxygen-icons.org/&quot;&gt;www.oxygen-icons.org&lt;/a&gt;&lt;br&gt;
     433&lt;br&gt;
     434Country flag icons used in this software are part of the free &lt;b&gt;Flag Icons&lt;/b&gt; collection created by &lt;b&gt;IconDrawer&lt;/b&gt;,&lt;br&gt;
     435see &lt;a href=&quot;http://www.icondrawer.com/&quot;&gt;www.icondrawer.com&lt;/a&gt;</source>
     436        <translation type="unfinished"></translation>
     437    </message>
     438    <message>
     439        <location filename="../src/mainwindow.cpp" line="568"/>
     440        <source>About</source>
     441        <translation type="unfinished"></translation>
     442    </message>
     443    <message>
     444        <location filename="../src/mainwindow.cpp" line="569"/>
     445        <source>License</source>
     446        <translation type="unfinished"></translation>
     447    </message>
     448    <message>
     449        <location filename="../src/mainwindow.cpp" line="570"/>
     450        <source>Credits</source>
     451        <translation type="unfinished"></translation>
     452    </message>
     453    <message>
     454        <location filename="../src/mainwindow.cpp" line="579"/>
     455        <source>Translation</source>
     456        <translation type="unfinished"></translation>
     457    </message>
     458    <message>
     459        <location filename="../src/mainwindow.cpp" line="633"/>
    416460        <source>Data error</source>
    417461        <translation type="unfinished"></translation>
    418462    </message>
    419463    <message>
    420         <location filename="../src/mainwindow.cpp" line="587"/>
     464        <location filename="../src/mainwindow.cpp" line="633"/>
    421465        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    422466        <translation type="unfinished"></translation>
    423467    </message>
    424468    <message>
    425         <location filename="../src/mainwindow.cpp" line="601"/>
     469        <location filename="../src/mainwindow.cpp" line="651"/>
    426470        <source>Calculating optimal route...</source>
    427471        <translation type="unfinished"></translation>
    428472    </message>
    429473    <message>
    430         <location filename="../src/mainwindow.cpp" line="602"/>
     474        <location filename="../src/mainwindow.cpp" line="652"/>
    431475        <source>Solution Progress</source>
    432476        <translation type="unfinished"></translation>
    433477    </message>
    434478    <message>
    435         <location filename="../src/mainwindow.cpp" line="616"/>
     479        <location filename="../src/mainwindow.cpp" line="696"/>
    436480        <source>Solution Result</source>
    437481        <translation type="unfinished"></translation>
    438482    </message>
    439483    <message>
    440         <location filename="../src/mainwindow.cpp" line="616"/>
     484        <location filename="../src/mainwindow.cpp" line="696"/>
    441485        <source>Unable to find a solution.
    442486Maybe, this task has no solution.</source>
     
    444488    </message>
    445489    <message>
    446         <location filename="../src/mainwindow.cpp" line="619"/>
     490        <location filename="../src/mainwindow.cpp" line="722"/>
    447491        <source>Generating header</source>
    448492        <translation type="unfinished"></translation>
    449493    </message>
    450494    <message>
    451         <location filename="../src/mainwindow.cpp" line="625"/>
     495        <location filename="../src/mainwindow.cpp" line="733"/>
    452496        <source>Solution of Variant #%1 Task</source>
    453497        <translation type="unfinished"></translation>
    454498    </message>
    455499    <message>
    456         <location filename="../src/mainwindow.cpp" line="643"/>
     500        <location filename="../src/mainwindow.cpp" line="751"/>
    457501        <source>Task:</source>
    458502        <translation type="unfinished"></translation>
    459503    </message>
    460504    <message>
    461         <location filename="../src/mainwindow.cpp" line="676"/>
     505        <location filename="../src/mainwindow.cpp" line="802"/>
    462506        <source>Step #%1</source>
    463507        <translation type="unfinished"></translation>
    464508    </message>
    465509    <message>
    466         <location filename="../src/mainwindow.cpp" line="681"/>
     510        <location filename="../src/mainwindow.cpp" line="807"/>
    467511        <source>Selected route %1 %2 part.</source>
    468512        <translation type="unfinished"></translation>
    469513    </message>
    470514    <message>
    471         <location filename="../src/mainwindow.cpp" line="681"/>
     515        <location filename="../src/mainwindow.cpp" line="807"/>
    472516        <source>with</source>
    473517        <translation type="unfinished"></translation>
    474518    </message>
    475519    <message>
    476         <location filename="../src/mainwindow.cpp" line="681"/>
     520        <location filename="../src/mainwindow.cpp" line="807"/>
    477521        <source>without</source>
    478522        <translation type="unfinished"></translation>
    479523    </message>
    480524    <message>
    481         <location filename="../src/mainwindow.cpp" line="719"/>
     525        <location filename="../src/mainwindow.cpp" line="849"/>
    482526        <source>Optimal path:</source>
    483527        <translation type="unfinished"></translation>
    484528    </message>
    485529    <message>
    486         <location filename="../src/mainwindow.cpp" line="721"/>
     530        <location filename="../src/mainwindow.cpp" line="851"/>
    487531        <source>Resulting path:</source>
    488532        <translation type="unfinished"></translation>
    489533    </message>
    490534    <message>
    491         <location filename="../src/mainwindow.cpp" line="724"/>
     535        <location filename="../src/mainwindow.cpp" line="854"/>
    492536        <source>City %1</source>
    493537        <translation type="unfinished"></translation>
    494538    </message>
    495539    <message>
    496         <location filename="../src/mainwindow.cpp" line="730"/>
     540        <location filename="../src/mainwindow.cpp" line="860"/>
    497541        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    498542        <translation type="unfinished"></translation>
    499543    </message>
    500544    <message>
    501         <location filename="../src/mainwindow.cpp" line="735"/>
     545        <location filename="../src/mainwindow.cpp" line="865"/>
    502546        <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>
    503547        <translation type="unfinished"></translation>
    504548    </message>
    505549    <message>
    506         <location filename="../src/mainwindow.cpp" line="921"/>
     550        <location filename="../src/mainwindow.cpp" line="1079"/>
    507551        <source>Root</source>
    508552        <translation type="unfinished"></translation>
    509553    </message>
    510554    <message>
    511         <location filename="../src/mainwindow.cpp" line="1103"/>
     555        <location filename="../src/mainwindow.cpp" line="1261"/>
    512556        <source>Unable to load the translation language.
    513557Falling back to autodetection.</source>
     
    515559    </message>
    516560    <message>
    517         <location filename="../src/mainwindow.cpp" line="1024"/>
     561        <location filename="../src/mainwindow.cpp" line="1182"/>
    518562        <source>Set application language to %1</source>
    519563        <translation type="unfinished"></translation>
    520564    </message>
    521565    <message>
    522         <location filename="../src/mainwindow.cpp" line="1244"/>
     566        <location filename="../src/mainwindow.cpp" line="1402"/>
    523567        <source>Check for &amp;Updates...</source>
    524568        <translation type="unfinished"></translation>
    525569    </message>
    526570    <message>
    527         <location filename="../src/mainwindow.cpp" line="1261"/>
     571        <location filename="../src/mainwindow.cpp" line="1419"/>
    528572        <source>Task Save</source>
    529573        <translation type="unfinished"></translation>
    530574    </message>
    531575    <message>
    532         <location filename="../src/mainwindow.cpp" line="361"/>
     576        <location filename="../src/mainwindow.cpp" line="365"/>
    533577        <source>You have language autodetection turned on.
    534578It needs to be off.
     
    537581    </message>
    538582    <message>
    539         <location filename="../src/mainwindow.cpp" line="172"/>
    540         <location filename="../src/mainwindow.cpp" line="196"/>
    541         <location filename="../src/mainwindow.cpp" line="366"/>
    542         <location filename="../src/mainwindow.h" line="141"/>
     583        <location filename="../src/mainwindow.cpp" line="176"/>
     584        <location filename="../src/mainwindow.cpp" line="200"/>
     585        <location filename="../src/mainwindow.cpp" line="370"/>
     586        <location filename="../src/mainwindow.h" line="152"/>
    543587        <source>Untitled</source>
    544588        <translation type="unfinished"></translation>
    545589    </message>
    546590    <message>
    547         <location filename="../ui/mainwindow.ui" line="27"/>
     591        <location filename="../ui/mainwindow.ui" line="24"/>
    548592        <source>Task</source>
    549593        <translation type="unfinished"></translation>
    550594    </message>
    551595    <message>
    552         <location filename="../ui/mainwindow.ui" line="48"/>
     596        <location filename="../ui/mainwindow.ui" line="45"/>
    553597        <source>&amp;Variant:</source>
    554598        <translation type="unfinished"></translation>
    555599    </message>
    556600    <message>
    557         <location filename="../ui/mainwindow.ui" line="61"/>
     601        <location filename="../ui/mainwindow.ui" line="58"/>
    558602        <source>Number of variant</source>
    559603        <translation type="unfinished"></translation>
    560604    </message>
    561605    <message>
    562         <location filename="../ui/mainwindow.ui" line="71"/>
     606        <location filename="../ui/mainwindow.ui" line="68"/>
    563607        <source>&amp;Cities:</source>
    564608        <translation type="unfinished"></translation>
    565609    </message>
    566610    <message>
    567         <location filename="../ui/mainwindow.ui" line="84"/>
     611        <location filename="../ui/mainwindow.ui" line="81"/>
    568612        <source>Number of cities</source>
    569613        <translation type="unfinished"></translation>
    570614    </message>
    571615    <message>
    572         <location filename="../ui/mainwindow.ui" line="112"/>
     616        <location filename="../ui/mainwindow.ui" line="109"/>
    573617        <source>Cost of travel from city to city</source>
    574618        <translation type="unfinished"></translation>
    575619    </message>
    576620    <message>
     621        <location filename="../ui/mainwindow.ui" line="137"/>
     622        <source>Fill table with random numbers</source>
     623        <translation type="unfinished"></translation>
     624    </message>
     625    <message>
    577626        <location filename="../ui/mainwindow.ui" line="140"/>
    578         <source>Fill table with random numbers</source>
    579         <translation type="unfinished"></translation>
    580     </message>
    581     <message>
    582         <location filename="../ui/mainwindow.ui" line="143"/>
    583627        <source>Random</source>
    584628        <translation type="unfinished"></translation>
    585629    </message>
    586630    <message>
     631        <location filename="../ui/mainwindow.ui" line="150"/>
     632        <source>Solve current task</source>
     633        <translation type="unfinished"></translation>
     634    </message>
     635    <message>
    587636        <location filename="../ui/mainwindow.ui" line="153"/>
    588         <source>Solve current task</source>
    589         <translation type="unfinished"></translation>
    590     </message>
    591     <message>
    592         <location filename="../ui/mainwindow.ui" line="156"/>
    593637        <source>Solve</source>
    594638        <translation type="unfinished"></translation>
    595639    </message>
    596640    <message>
    597         <location filename="../ui/mainwindow.ui" line="166"/>
     641        <location filename="../ui/mainwindow.ui" line="163"/>
    598642        <source>Solution</source>
    599643        <translation type="unfinished"></translation>
    600644    </message>
    601645    <message>
    602         <location filename="../ui/mainwindow.ui" line="175"/>
     646        <location filename="../ui/mainwindow.ui" line="172"/>
    603647        <source>Solution steps</source>
    604648        <translation type="unfinished"></translation>
    605649    </message>
    606650    <message>
     651        <location filename="../ui/mainwindow.ui" line="196"/>
     652        <location filename="../ui/mainwindow.ui" line="340"/>
     653        <source>Save solution to a file</source>
     654        <translation type="unfinished"></translation>
     655    </message>
     656    <message>
    607657        <location filename="../ui/mainwindow.ui" line="199"/>
    608         <location filename="../ui/mainwindow.ui" line="343"/>
    609         <source>Save solution to a file</source>
    610         <translation type="unfinished"></translation>
    611     </message>
    612     <message>
    613         <location filename="../ui/mainwindow.ui" line="202"/>
    614658        <source>Save Solution</source>
    615659        <translation type="unfinished"></translation>
    616660    </message>
    617661    <message>
     662        <location filename="../ui/mainwindow.ui" line="222"/>
     663        <source>Go back to Task tab</source>
     664        <translation type="unfinished"></translation>
     665    </message>
     666    <message>
    618667        <location filename="../ui/mainwindow.ui" line="225"/>
    619         <source>Go back to Task tab</source>
    620         <translation type="unfinished"></translation>
    621     </message>
    622     <message>
    623         <location filename="../ui/mainwindow.ui" line="228"/>
    624668        <source>Back to Task</source>
    625669        <translation type="unfinished"></translation>
    626670    </message>
    627671    <message>
    628         <location filename="../ui/mainwindow.ui" line="253"/>
     672        <location filename="../ui/mainwindow.ui" line="250"/>
    629673        <source>&amp;File</source>
    630674        <translation type="unfinished"></translation>
    631675    </message>
    632676    <message>
    633         <location filename="../ui/mainwindow.ui" line="275"/>
     677        <location filename="../ui/mainwindow.ui" line="272"/>
    634678        <source>&amp;Language</source>
    635679        <comment>Please, append &quot; / Language&quot; when translating this string.</comment>
     
    637681    </message>
    638682    <message>
     683        <location filename="../ui/mainwindow.ui" line="398"/>
     684        <source>Context &amp;Help</source>
     685        <translation type="unfinished"></translation>
     686    </message>
     687    <message>
     688        <location filename="../ui/mainwindow.ui" line="409"/>
     689        <source>&amp;About TSPSG...</source>
     690        <translation type="unfinished"></translation>
     691    </message>
     692    <message>
     693        <location filename="../ui/mainwindow.ui" line="470"/>
     694        <source>&amp;Save</source>
     695        <translation type="unfinished"></translation>
     696    </message>
     697    <message>
     698        <location filename="../ui/mainwindow.ui" line="268"/>
     699        <source>&amp;Settings</source>
     700        <translation type="unfinished"></translation>
     701    </message>
     702    <message>
     703        <location filename="../ui/mainwindow.ui" line="280"/>
     704        <source>Style</source>
     705        <translation type="unfinished"></translation>
     706    </message>
     707    <message>
     708        <location filename="../ui/mainwindow.ui" line="285"/>
     709        <source>Toolbars</source>
     710        <translation type="unfinished"></translation>
     711    </message>
     712    <message>
     713        <location filename="../ui/mainwindow.ui" line="296"/>
     714        <source>&amp;Help</source>
     715        <translation type="unfinished"></translation>
     716    </message>
     717    <message>
     718        <location filename="../ui/mainwindow.ui" line="313"/>
     719        <source>Main Toolbar</source>
     720        <translation type="unfinished"></translation>
     721    </message>
     722    <message>
     723        <location filename="../ui/mainwindow.ui" line="337"/>
     724        <source>Save solution</source>
     725        <translation type="unfinished"></translation>
     726    </message>
     727    <message>
     728        <location filename="../ui/mainwindow.ui" line="345"/>
     729        <source>&amp;New</source>
     730        <translation type="unfinished"></translation>
     731    </message>
     732    <message>
     733        <location filename="../ui/mainwindow.ui" line="348"/>
     734        <source>New task</source>
     735        <translation type="unfinished"></translation>
     736    </message>
     737    <message>
     738        <location filename="../ui/mainwindow.ui" line="351"/>
     739        <source>Create new task</source>
     740        <translation type="unfinished"></translation>
     741    </message>
     742    <message>
     743        <location filename="../ui/mainwindow.ui" line="354"/>
     744        <source>Ctrl+N</source>
     745        <translation type="unfinished"></translation>
     746    </message>
     747    <message>
     748        <location filename="../ui/mainwindow.ui" line="359"/>
     749        <source>&amp;Open...</source>
     750        <translation type="unfinished"></translation>
     751    </message>
     752    <message>
     753        <location filename="../ui/mainwindow.ui" line="362"/>
     754        <source>Open task</source>
     755        <translation type="unfinished"></translation>
     756    </message>
     757    <message>
     758        <location filename="../ui/mainwindow.ui" line="365"/>
     759        <source>Open saved task</source>
     760        <translation type="unfinished"></translation>
     761    </message>
     762    <message>
     763        <location filename="../ui/mainwindow.ui" line="368"/>
     764        <source>Ctrl+O</source>
     765        <translation type="unfinished"></translation>
     766    </message>
     767    <message>
     768        <location filename="../ui/mainwindow.ui" line="373"/>
     769        <source>&amp;Preferences...</source>
     770        <translation type="unfinished"></translation>
     771    </message>
     772    <message>
     773        <location filename="../ui/mainwindow.ui" line="376"/>
     774        <source>Application preferences</source>
     775        <translation type="unfinished"></translation>
     776    </message>
     777    <message>
     778        <location filename="../ui/mainwindow.ui" line="384"/>
     779        <source>&amp;Contents</source>
     780        <translation type="unfinished"></translation>
     781    </message>
     782    <message>
     783        <location filename="../ui/mainwindow.ui" line="387"/>
     784        <source>Open help contents</source>
     785        <translation type="unfinished"></translation>
     786    </message>
     787    <message>
     788        <location filename="../ui/mainwindow.ui" line="390"/>
     789        <source>Ctrl+F1</source>
     790        <translation type="unfinished"></translation>
     791    </message>
     792    <message>
    639793        <location filename="../ui/mainwindow.ui" line="401"/>
    640         <source>Context &amp;Help</source>
     794        <source>Open context help</source>
     795        <translation type="unfinished"></translation>
     796    </message>
     797    <message>
     798        <location filename="../ui/mainwindow.ui" line="404"/>
     799        <source>F1</source>
    641800        <translation type="unfinished"></translation>
    642801    </message>
    643802    <message>
    644803        <location filename="../ui/mainwindow.ui" line="412"/>
    645         <source>&amp;About TSPSG...</source>
    646         <translation type="unfinished"></translation>
    647     </message>
    648     <message>
     804        <source>About application</source>
     805        <translation type="unfinished"></translation>
     806    </message>
     807    <message>
     808        <location filename="../ui/mainwindow.ui" line="417"/>
     809        <source>E&amp;xit</source>
     810        <translation type="unfinished"></translation>
     811    </message>
     812    <message>
     813        <location filename="../ui/mainwindow.ui" line="420"/>
     814        <source>Exit application</source>
     815        <translation type="unfinished"></translation>
     816    </message>
     817    <message>
     818        <location filename="../ui/mainwindow.ui" line="425"/>
     819        <source>&amp;Task...</source>
     820        <translation type="unfinished"></translation>
     821    </message>
     822    <message>
     823        <location filename="../ui/mainwindow.ui" line="428"/>
    649824        <location filename="../ui/mainwindow.ui" line="473"/>
    650         <source>&amp;Save</source>
    651         <translation type="unfinished"></translation>
    652     </message>
    653     <message>
    654         <location filename="../ui/mainwindow.ui" line="271"/>
    655         <source>&amp;Settings</source>
    656         <translation type="unfinished"></translation>
    657     </message>
    658     <message>
    659         <location filename="../ui/mainwindow.ui" line="283"/>
    660         <source>Style</source>
    661         <translation type="unfinished"></translation>
    662     </message>
    663     <message>
    664         <location filename="../ui/mainwindow.ui" line="288"/>
    665         <source>Toolbars</source>
    666         <translation type="unfinished"></translation>
    667     </message>
    668     <message>
    669         <location filename="../ui/mainwindow.ui" line="299"/>
    670         <source>&amp;Help</source>
    671         <translation type="unfinished"></translation>
    672     </message>
    673     <message>
    674         <location filename="../ui/mainwindow.ui" line="316"/>
    675         <source>Main Toolbar</source>
    676         <translation type="unfinished"></translation>
    677     </message>
    678     <message>
    679         <location filename="../ui/mainwindow.ui" line="340"/>
    680         <source>Save solution</source>
    681         <translation type="unfinished"></translation>
    682     </message>
    683     <message>
    684         <location filename="../ui/mainwindow.ui" line="348"/>
    685         <source>&amp;New</source>
    686         <translation type="unfinished"></translation>
    687     </message>
    688     <message>
    689         <location filename="../ui/mainwindow.ui" line="351"/>
    690         <source>New task</source>
    691         <translation type="unfinished"></translation>
    692     </message>
    693     <message>
    694         <location filename="../ui/mainwindow.ui" line="354"/>
    695         <source>Create new task</source>
    696         <translation type="unfinished"></translation>
    697     </message>
    698     <message>
    699         <location filename="../ui/mainwindow.ui" line="357"/>
    700         <source>Ctrl+N</source>
    701         <translation type="unfinished"></translation>
    702     </message>
    703     <message>
    704         <location filename="../ui/mainwindow.ui" line="362"/>
    705         <source>&amp;Open...</source>
    706         <translation type="unfinished"></translation>
    707     </message>
    708     <message>
    709         <location filename="../ui/mainwindow.ui" line="365"/>
    710         <source>Open task</source>
    711         <translation type="unfinished"></translation>
    712     </message>
    713     <message>
    714         <location filename="../ui/mainwindow.ui" line="368"/>
    715         <source>Open saved task</source>
    716         <translation type="unfinished"></translation>
    717     </message>
    718     <message>
    719         <location filename="../ui/mainwindow.ui" line="371"/>
    720         <source>Ctrl+O</source>
    721         <translation type="unfinished"></translation>
    722     </message>
    723     <message>
    724         <location filename="../ui/mainwindow.ui" line="376"/>
    725         <source>&amp;Preferences...</source>
    726         <translation type="unfinished"></translation>
    727     </message>
    728     <message>
    729         <location filename="../ui/mainwindow.ui" line="379"/>
    730         <source>Application preferences</source>
    731         <translation type="unfinished"></translation>
    732     </message>
    733     <message>
    734         <location filename="../ui/mainwindow.ui" line="387"/>
    735         <source>&amp;Contents</source>
    736         <translation type="unfinished"></translation>
    737     </message>
    738     <message>
    739         <location filename="../ui/mainwindow.ui" line="390"/>
    740         <source>Open help contents</source>
    741         <translation type="unfinished"></translation>
    742     </message>
    743     <message>
    744         <location filename="../ui/mainwindow.ui" line="393"/>
    745         <source>Ctrl+F1</source>
    746         <translation type="unfinished"></translation>
    747     </message>
    748     <message>
    749         <location filename="../ui/mainwindow.ui" line="404"/>
    750         <source>Open context help</source>
    751         <translation type="unfinished"></translation>
    752     </message>
    753     <message>
    754         <location filename="../ui/mainwindow.ui" line="407"/>
    755         <source>F1</source>
    756         <translation type="unfinished"></translation>
    757     </message>
    758     <message>
    759         <location filename="../ui/mainwindow.ui" line="415"/>
    760         <source>About application</source>
    761         <translation type="unfinished"></translation>
    762     </message>
    763     <message>
    764         <location filename="../ui/mainwindow.ui" line="420"/>
    765         <source>E&amp;xit</source>
    766         <translation type="unfinished"></translation>
    767     </message>
    768     <message>
    769         <location filename="../ui/mainwindow.ui" line="423"/>
    770         <source>Exit application</source>
    771         <translation type="unfinished"></translation>
    772     </message>
    773     <message>
    774         <location filename="../ui/mainwindow.ui" line="428"/>
    775         <source>&amp;Task...</source>
     825        <source>Save task</source>
    776826        <translation type="unfinished"></translation>
    777827    </message>
    778828    <message>
    779829        <location filename="../ui/mainwindow.ui" line="431"/>
     830        <source>Save task to file</source>
     831        <translation type="unfinished"></translation>
     832    </message>
     833    <message>
     834        <location filename="../ui/mainwindow.ui" line="479"/>
     835        <source>Ctrl+S</source>
     836        <translation type="unfinished"></translation>
     837    </message>
     838    <message>
     839        <location filename="../ui/mainwindow.ui" line="505"/>
     840        <source>System Default</source>
     841        <translation type="unfinished"></translation>
     842    </message>
     843    <message>
     844        <location filename="../ui/mainwindow.ui" line="508"/>
     845        <source>Automatically choose the most appropriate style</source>
     846        <translation type="unfinished"></translation>
     847    </message>
     848    <message>
     849        <location filename="../ui/mainwindow.ui" line="442"/>
     850        <source>&amp;Autodetect</source>
     851        <translation type="unfinished"></translation>
     852    </message>
     853    <message>
    780854        <location filename="../ui/mainwindow.ui" line="476"/>
    781         <source>Save task</source>
    782         <translation type="unfinished"></translation>
    783     </message>
    784     <message>
    785         <location filename="../ui/mainwindow.ui" line="434"/>
    786         <source>Save task to file</source>
    787         <translation type="unfinished"></translation>
    788     </message>
    789     <message>
    790         <location filename="../ui/mainwindow.ui" line="482"/>
    791         <source>Ctrl+S</source>
    792         <translation type="unfinished"></translation>
    793     </message>
    794     <message>
    795         <location filename="../ui/mainwindow.ui" line="508"/>
    796         <source>System Default</source>
    797         <translation type="unfinished"></translation>
    798     </message>
    799     <message>
    800         <location filename="../ui/mainwindow.ui" line="511"/>
    801         <source>Automatically choose the most appropriate style</source>
     855        <source>Save current task</source>
     856        <translation type="unfinished"></translation>
     857    </message>
     858    <message>
     859        <location filename="../ui/mainwindow.ui" line="488"/>
     860        <source>About &amp;Qt...</source>
     861        <translation type="unfinished"></translation>
     862    </message>
     863    <message>
     864        <location filename="../ui/mainwindow.ui" line="491"/>
     865        <source>About Qt library</source>
     866        <translation type="unfinished"></translation>
     867    </message>
     868    <message>
     869        <location filename="../ui/mainwindow.ui" line="254"/>
     870        <source>Save &amp;As</source>
     871        <translation type="unfinished"></translation>
     872    </message>
     873    <message>
     874        <location filename="../src/mainwindow.cpp" line="1384"/>
     875        <source>&amp;Print...</source>
     876        <translation type="unfinished"></translation>
     877    </message>
     878    <message>
     879        <location filename="../src/mainwindow.cpp" line="1391"/>
     880        <source>Ctrl+P</source>
     881        <translation type="unfinished"></translation>
     882    </message>
     883    <message>
     884        <location filename="../ui/mainwindow.ui" line="334"/>
     885        <source>&amp;Solution...</source>
    802886        <translation type="unfinished"></translation>
    803887    </message>
    804888    <message>
    805889        <location filename="../ui/mainwindow.ui" line="445"/>
    806         <source>&amp;Autodetect</source>
    807         <translation type="unfinished"></translation>
    808     </message>
    809     <message>
    810         <location filename="../ui/mainwindow.ui" line="479"/>
    811         <source>Save current task</source>
    812         <translation type="unfinished"></translation>
    813     </message>
    814     <message>
    815         <location filename="../ui/mainwindow.ui" line="491"/>
    816         <source>About &amp;Qt...</source>
    817         <translation type="unfinished"></translation>
    818     </message>
    819     <message>
    820         <location filename="../ui/mainwindow.ui" line="494"/>
    821         <source>About Qt library</source>
    822         <translation type="unfinished"></translation>
    823     </message>
    824     <message>
    825         <location filename="../ui/mainwindow.ui" line="257"/>
    826         <source>Save &amp;As</source>
    827         <translation type="unfinished"></translation>
    828     </message>
    829     <message>
    830         <location filename="../src/mainwindow.cpp" line="1226"/>
    831         <source>&amp;Print...</source>
    832         <translation type="unfinished"></translation>
    833     </message>
    834     <message>
    835         <location filename="../src/mainwindow.cpp" line="1233"/>
    836         <source>Ctrl+P</source>
    837         <translation type="unfinished"></translation>
    838     </message>
    839     <message>
    840         <location filename="../ui/mainwindow.ui" line="337"/>
    841         <source>&amp;Solution...</source>
     890        <source>Detect language automatically</source>
     891        <translation type="unfinished"></translation>
     892    </message>
     893    <message>
     894        <location filename="../src/mainwindow.cpp" line="1376"/>
     895        <source>P&amp;rint Preview...</source>
     896        <translation type="unfinished"></translation>
     897    </message>
     898    <message>
     899        <location filename="../src/mainwindow.cpp" line="1378"/>
     900        <source>Preview solution results</source>
     901        <translation type="unfinished"></translation>
     902    </message>
     903    <message>
     904        <location filename="../src/mainwindow.cpp" line="1381"/>
     905        <source>Preview current solution results before printing</source>
     906        <translation type="unfinished"></translation>
     907    </message>
     908    <message>
     909        <location filename="../src/mainwindow.cpp" line="1386"/>
     910        <source>Print solution</source>
     911        <translation type="unfinished"></translation>
     912    </message>
     913    <message>
     914        <location filename="../src/mainwindow.cpp" line="1389"/>
     915        <source>Print current solution results</source>
    842916        <translation type="unfinished"></translation>
    843917    </message>
    844918    <message>
    845919        <location filename="../ui/mainwindow.ui" line="448"/>
    846         <source>Detect language automatically</source>
    847         <translation type="unfinished"></translation>
    848     </message>
    849     <message>
    850         <location filename="../src/mainwindow.cpp" line="1218"/>
    851         <source>P&amp;rint Preview...</source>
    852         <translation type="unfinished"></translation>
    853     </message>
    854     <message>
    855         <location filename="../src/mainwindow.cpp" line="1220"/>
    856         <source>Preview solution results</source>
    857         <translation type="unfinished"></translation>
    858     </message>
    859     <message>
    860         <location filename="../src/mainwindow.cpp" line="1223"/>
    861         <source>Preview current solution results before printing</source>
    862         <translation type="unfinished"></translation>
    863     </message>
    864     <message>
    865         <location filename="../src/mainwindow.cpp" line="1228"/>
    866         <source>Print solution</source>
    867         <translation type="unfinished"></translation>
    868     </message>
    869     <message>
    870         <location filename="../src/mainwindow.cpp" line="1231"/>
    871         <source>Print current solution results</source>
    872         <translation type="unfinished"></translation>
    873     </message>
    874     <message>
    875         <location filename="../ui/mainwindow.ui" line="451"/>
    876920        <source>Detect language automatically based on regional settings</source>
     921        <translation type="unfinished"></translation>
     922    </message>
     923</context>
     924<context>
     925    <name>QProgressDialog</name>
     926    <message>
     927        <location filename="../src/mainwindow.cpp" line="647"/>
     928        <source>Cancel</source>
     929        <comment>No need to translate this. This translation will be taken from Qt translation files.</comment>
    877930        <translation type="unfinished"></translation>
    878931    </message>
  • trunk/l10n/tspsg_ru.ts

    r121 r124  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="517"/>
    9         <source>AUTHORS</source>
    10         <comment>Please, provide translator credits here.</comment>
    11         <translation>Русский перевод:&lt;br&gt;&lt;a href=&quot;http://oleksii.name/&quot;&gt;Алексей &quot;Lёppa&quot; Сердюк&lt;/a&gt;</translation>
    12     </message>
    13     <message>
    14         <location filename="../src/mainwindow.cpp" line="529"/>
     8        <location filename="../src/mainwindow.cpp" line="498"/>
     9        <source>AUTHORS %1</source>
     10        <comment>Please, provide translator credits here. %1 will be replaced with VERSION</comment>
     11        <translation>&lt;b&gt;Русский перевод&lt;/b&gt;&lt;br&gt;
     12&lt;br&gt;
     13Автор: &lt;a href=&quot;http://oleksii.name/&quot;&gt;Алексей &quot;Lёppa&quot; Сердюк&lt;/a&gt;&lt;br&gt;
     14Версия: %1</translation>
     15    </message>
     16    <message>
     17        <location filename="../src/mainwindow.cpp" line="500"/>
    1518        <source>VERSION</source>
    1619        <comment>Please, provide your translation version here.</comment>
     
    1821    </message>
    1922    <message>
    20         <location filename="../src/mainwindow.cpp" line="1022"/>
     23        <location filename="../src/mainwindow.cpp" line="1180"/>
    2124        <source>COUNTRY</source>
    2225        <comment>Please, provide an ISO 3166-1 alpha-2 country code for this translation language here (eg., UA).</comment>
     
    2427    </message>
    2528    <message>
    26         <location filename="../src/mainwindow.cpp" line="1023"/>
     29        <location filename="../src/mainwindow.cpp" line="1181"/>
    2730        <source>LANGNAME</source>
    2831        <comment>Please, provide a native name of your translation language here.</comment>
     
    145148    <name>MainWindow</name>
    146149    <message>
    147         <location filename="../src/mainwindow.cpp" line="352"/>
    148         <location filename="../src/mainwindow.cpp" line="361"/>
     150        <location filename="../src/mainwindow.cpp" line="356"/>
     151        <location filename="../src/mainwindow.cpp" line="365"/>
    149152        <source>Language change</source>
    150153        <translation>Смена языка</translation>
    151154    </message>
    152155    <message>
    153         <location filename="../src/mainwindow.cpp" line="1151"/>
     156        <location filename="../src/mainwindow.cpp" line="1309"/>
    154157        <source>Unsaved Changes</source>
    155158        <translation>Несохраненные изменения</translation>
    156159    </message>
    157160    <message>
    158         <location filename="../src/mainwindow.cpp" line="151"/>
     161        <location filename="../src/mainwindow.cpp" line="155"/>
    159162        <source>All Supported Formats</source>
    160163        <translation>Все поддерживаемые форматы</translation>
    161164    </message>
    162165    <message>
    163         <location filename="../src/mainwindow.cpp" line="154"/>
    164         <location filename="../src/mainwindow.cpp" line="218"/>
    165         <location filename="../src/mainwindow.cpp" line="1253"/>
     166        <location filename="../src/mainwindow.cpp" line="158"/>
     167        <location filename="../src/mainwindow.cpp" line="222"/>
     168        <location filename="../src/mainwindow.cpp" line="1411"/>
    166169        <source>All Files</source>
    167170        <translation>Все файлы</translation>
    168171    </message>
    169172    <message>
    170         <location filename="../src/mainwindow.cpp" line="152"/>
    171         <location filename="../src/mainwindow.cpp" line="153"/>
     173        <location filename="../src/mainwindow.cpp" line="156"/>
     174        <location filename="../src/mainwindow.cpp" line="157"/>
    172175        <source>%1 Task Files</source>
    173176        <translation>Файлы условий %1</translation>
    174177    </message>
    175178    <message>
    176         <location filename="../src/mainwindow.cpp" line="1103"/>
     179        <location filename="../src/mainwindow.cpp" line="1261"/>
    177180        <source>Language Change</source>
    178181        <translation>Смена языка</translation>
    179182    </message>
    180183    <message>
    181         <location filename="../src/mainwindow.cpp" line="212"/>
     184        <location filename="../src/mainwindow.cpp" line="216"/>
    182185        <source>PDF Files</source>
    183186        <translation>Файли PDF</translation>
    184187    </message>
    185188    <message>
    186         <location filename="../src/mainwindow.cpp" line="214"/>
     189        <location filename="../src/mainwindow.cpp" line="218"/>
    187190        <source>HTML Files</source>
    188191        <translation>Файлы HTML</translation>
    189192    </message>
    190193    <message>
    191         <location filename="../src/mainwindow.cpp" line="216"/>
     194        <location filename="../src/mainwindow.cpp" line="220"/>
    192195        <source>OpenDocument Files</source>
    193196        <translation>Файлы OpenDocument</translation>
    194197    </message>
    195198    <message>
    196         <location filename="../src/mainwindow.cpp" line="681"/>
    197         <location filename="../src/mainwindow.cpp" line="688"/>
    198         <location filename="../src/mainwindow.cpp" line="910"/>
     199        <location filename="../src/mainwindow.cpp" line="807"/>
     200        <location filename="../src/mainwindow.cpp" line="814"/>
     201        <location filename="../src/mainwindow.cpp" line="1068"/>
    199202        <source>(%1;%2)</source>
    200203        <translation></translation>
    201204    </message>
    202205    <message numerus="yes">
    203         <location filename="../src/mainwindow.cpp" line="691"/>
     206        <location filename="../src/mainwindow.cpp" line="817"/>
    204207        <source>%n alternate candidate(s) for branching: %1.</source>
    205208        <translation>
     
    210213    </message>
    211214    <message numerus="yes">
    212         <location filename="../src/mainwindow.cpp" line="728"/>
     215        <location filename="../src/mainwindow.cpp" line="858"/>
    213216        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    214217        <translation>
     
    219222    </message>
    220223    <message>
    221         <location filename="../src/mainwindow.cpp" line="921"/>
     224        <location filename="../src/mainwindow.cpp" line="1079"/>
    222225        <source>Root</source>
    223226        <translation>Корень</translation>
    224227    </message>
    225228    <message>
    226         <location filename="../src/mainwindow.cpp" line="1122"/>
     229        <location filename="../src/mainwindow.cpp" line="1280"/>
    227230        <source>Set application style to %1</source>
    228231        <translation>Изменить оформление приложения на %1</translation>
    229232    </message>
    230233    <message>
    231         <location filename="../src/mainwindow.cpp" line="1237"/>
     234        <location filename="../src/mainwindow.cpp" line="1395"/>
    232235        <source>Configure...</source>
    233236        <translation>Настройка...</translation>
    234237    </message>
    235238    <message>
    236         <location filename="../src/mainwindow.cpp" line="1239"/>
     239        <location filename="../src/mainwindow.cpp" line="1397"/>
    237240        <source>Customize toolbars</source>
    238241        <translation>Настройка панелей инструментов</translation>
    239242    </message>
    240243    <message>
    241         <location filename="../src/mainwindow.cpp" line="1246"/>
     244        <location filename="../src/mainwindow.cpp" line="1404"/>
    242245        <source>Check for %1 updates</source>
    243246        <translation>Проверить обновления %1</translation>
    244247    </message>
    245248    <message>
    246         <location filename="../src/mainwindow.cpp" line="1252"/>
     249        <location filename="../src/mainwindow.cpp" line="1410"/>
    247250        <source>%1 Task File</source>
    248251        <translation>Файл условия %1</translation>
    249252    </message>
    250253    <message>
    251         <location filename="../src/mainwindow.cpp" line="341"/>
    252         <location filename="../src/mainwindow.cpp" line="381"/>
     254        <location filename="../src/mainwindow.cpp" line="345"/>
     255        <location filename="../src/mainwindow.cpp" line="385"/>
    253256        <source>Settings Changed</source>
    254257        <translation>Параметры изменены</translation>
    255258    </message>
    256259    <message>
    257         <location filename="../src/mainwindow.cpp" line="158"/>
     260        <location filename="../src/mainwindow.cpp" line="162"/>
    258261        <source>Task Load</source>
    259262        <translation>Загрузка условия</translation>
    260263    </message>
    261264    <message>
    262         <location filename="../src/mainwindow.cpp" line="255"/>
    263         <location filename="../src/mainwindow.cpp" line="270"/>
     265        <location filename="../src/mainwindow.cpp" line="259"/>
     266        <location filename="../src/mainwindow.cpp" line="274"/>
    264267        <source>Solution Graph</source>
    265268        <translation>Граф решения</translation>
    266269    </message>
    267270    <message>
    268         <location filename="../src/mainwindow.cpp" line="271"/>
     271        <location filename="../src/mainwindow.cpp" line="275"/>
    269272        <source>Generated with %1</source>
    270273        <translation>Создано при помощи %1</translation>
    271274    </message>
    272275    <message>
    273         <location filename="../src/mainwindow.cpp" line="295"/>
     276        <location filename="../src/mainwindow.cpp" line="299"/>
    274277        <source>Unable to save the solution graph.
    275278Error: %1</source>
     
    278281    </message>
    279282    <message>
    280         <location filename="../src/mainwindow.cpp" line="426"/>
     283        <location filename="../src/mainwindow.cpp" line="430"/>
    281284        <source>Unsupported Feature</source>
    282285        <translation type="unfinished"></translation>
    283286    </message>
    284287    <message>
    285         <location filename="../src/mainwindow.cpp" line="426"/>
     288        <location filename="../src/mainwindow.cpp" line="430"/>
    286289        <source>Sorry, but this feature is not supported on your platform
    287290or support for this feature was not installed.</source>
     
    289292    </message>
    290293    <message>
    291         <location filename="../src/mainwindow.cpp" line="444"/>
     294        <location filename="../src/mainwindow.cpp" line="450"/>
    292295        <source>Version</source>
    293296        <translation>Версия</translation>
    294297    </message>
    295298    <message>
    296         <location filename="../src/mainwindow.cpp" line="453"/>
     299        <location filename="../src/mainwindow.cpp" line="459"/>
    297300        <source>Target OS (ARCH)</source>
    298301        <translation>Целевая ОС (архитектура)</translation>
    299302    </message>
    300303    <message>
    301         <location filename="../src/mainwindow.cpp" line="455"/>
    302         <location filename="../src/mainwindow.cpp" line="459"/>
     304        <location filename="../src/mainwindow.cpp" line="461"/>
     305        <location filename="../src/mainwindow.cpp" line="465"/>
    303306        <source>Qt library</source>
    304307        <translation>Библиотека Qt</translation>
    305308    </message>
    306309    <message>
    307         <location filename="../src/mainwindow.cpp" line="455"/>
     310        <location filename="../src/mainwindow.cpp" line="461"/>
    308311        <source>shared</source>
    309312        <translation>динамическая</translation>
    310313    </message>
    311314    <message>
    312         <location filename="../src/mainwindow.cpp" line="456"/>
     315        <location filename="../src/mainwindow.cpp" line="462"/>
    313316        <source>Build time</source>
    314317        <translation>Времени сборки</translation>
    315318    </message>
    316319    <message>
    317         <location filename="../src/mainwindow.cpp" line="457"/>
     320        <location filename="../src/mainwindow.cpp" line="463"/>
    318321        <source>Runtime</source>
    319322        <translation>Времени исполнения</translation>
    320323    </message>
    321324    <message>
    322         <location filename="../src/mainwindow.cpp" line="459"/>
     325        <location filename="../src/mainwindow.cpp" line="465"/>
    323326        <source>static</source>
    324327        <translation>статическая</translation>
    325328    </message>
    326329    <message>
    327         <location filename="../src/mainwindow.cpp" line="461"/>
     330        <location filename="../src/mainwindow.cpp" line="467"/>
    328331        <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>
    329332        <translation>Сборка &lt;b&gt;%1&lt;/b&gt;, собрана &lt;b&gt;%2&lt;/b&gt; в &lt;b&gt;%3&lt;/b&gt;</translation>
    330333    </message>
    331334    <message>
    332         <location filename="../src/mainwindow.cpp" line="462"/>
     335        <location filename="../src/mainwindow.cpp" line="468"/>
    333336        <source>Algorithm</source>
    334337        <translation>Алгоритм</translation>
    335338    </message>
    336339    <message>
    337         <location filename="../src/mainwindow.cpp" line="464"/>
    338         <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>
    339         <translation type="unfinished"></translation>
    340     </message>
    341     <message>
    342         <location filename="../src/mainwindow.cpp" line="587"/>
     340        <location filename="../src/mainwindow.cpp" line="470"/>
     341        <source>This program is free software: you can redistribute it and/or modify&lt;br&gt;
     342it under the terms of the GNU General Public License as published by&lt;br&gt;
     343the Free Software Foundation, either version 3 of the License, or&lt;br&gt;
     344(at your option) any later version.&lt;br&gt;
     345&lt;br&gt;
     346This program is distributed in the hope that it will be useful,&lt;br&gt;
     347but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;
     348MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;
     349GNU General Public License for more details.&lt;br&gt;
     350&lt;br&gt;
     351You should have received a copy of the GNU General Public License&lt;br&gt;
     352along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;www.gnu.org/licenses/&lt;/a&gt;.</source>
     353        <translation type="unfinished">Эта программа является свободным программным обеспечением. Вы можете&lt;br&gt;
     354распространять и/или модифицировать её согласно условиям Стандартной&lt;br&gt;
     355Общественной Лицензии GNU, опубликованной Фондом Свободного Программного&lt;br&gt;
     356Обеспечения, версии 3 или, по Вашему желанию, любой более поздней версии.&lt;br&gt;
     357&lt;br&gt;
     358Эта программа распространяется в надежде, что она будет полезной, но&lt;br&gt;
     359БЕЗ ВСЯКИХ ГАРАНТИЙ, в том числе подразумеваемых гарантий ТОВАРНОГО СОСТОЯНИЯ&lt;br&gt;
     360ПРИ ПРОДАЖЕ и ГОДНОСТИ ДЛЯ ОПРЕДЕЛЁННОГО ПРИМЕНЕНИЯ. Смотрите Стандартную&lt;br&gt;
     361Общественную Лицензию GNU для получения дополнительной информации.&lt;br&gt;
     362&lt;br&gt;
     363Вы должны были получить копию Стандартной Общественной Лицензии GNU вместе &lt;br&gt;
     364с программой. В случае её отсутствия, смотрите &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;www.gnu.org/licenses/&lt;/a&gt;.</translation>
     365    </message>
     366    <message>
     367        <location filename="../src/mainwindow.cpp" line="484"/>
     368        <source>This software was created using LGPL version of &lt;b&gt;Qt framework&lt;/b&gt;,&lt;br&gt;
     369see &lt;a href=&quot;http://qt.nokia.com/&quot;&gt;qt.nokia.com&lt;/a&gt;&lt;br&gt;
     370&lt;br&gt;
     371Most icons used in this software are part of &lt;b&gt;Oxygen Icons&lt;/b&gt; project licensed according to the GNU Lesser General Public License,&lt;br&gt;
     372see &lt;a href=&quot;http://www.oxygen-icons.org/&quot;&gt;www.oxygen-icons.org&lt;/a&gt;&lt;br&gt;
     373&lt;br&gt;
     374Country flag icons used in this software are part of the free &lt;b&gt;Flag Icons&lt;/b&gt; collection created by &lt;b&gt;IconDrawer&lt;/b&gt;,&lt;br&gt;
     375see &lt;a href=&quot;http://www.icondrawer.com/&quot;&gt;www.icondrawer.com&lt;/a&gt;</source>
     376        <translation type="unfinished">Эта програма была создана при помощи LGPL версии &lt;b&gt;Qt framework&lt;/b&gt;,&lt;br&gt;
     377смотрите &lt;a href=&quot;http://qt.nokia.com/&quot;&gt;qt.nokia.com&lt;/a&gt;&lt;br&gt;
     378&lt;br&gt;
     379Most icons used in this software are part of &lt;b&gt;Oxygen Icons&lt;/b&gt; project licensed according to the GNU Lesser General Public License,&lt;br&gt;
     380see &lt;a href=&quot;http://www.oxygen-icons.org/&quot;&gt;www.oxygen-icons.org&lt;/a&gt;&lt;br&gt;
     381&lt;br&gt;
     382Country flag icons used in this software are part of the free &lt;b&gt;Flag Icons&lt;/b&gt; collection created by &lt;b&gt;IconDrawer&lt;/b&gt;,&lt;br&gt;
     383see &lt;a href=&quot;http://www.icondrawer.com/&quot;&gt;www.icondrawer.com&lt;/a&gt;</translation>
     384    </message>
     385    <message>
     386        <location filename="../src/mainwindow.cpp" line="568"/>
     387        <source>About</source>
     388        <translation>Про</translation>
     389    </message>
     390    <message>
     391        <location filename="../src/mainwindow.cpp" line="569"/>
     392        <source>License</source>
     393        <translation>Лицензия</translation>
     394    </message>
     395    <message>
     396        <location filename="../src/mainwindow.cpp" line="570"/>
     397        <source>Credits</source>
     398        <translation>Благодарности</translation>
     399    </message>
     400    <message>
     401        <location filename="../src/mainwindow.cpp" line="633"/>
    343402        <source>Data error</source>
    344403        <translation>Ошибка в данных</translation>
    345404    </message>
    346405    <message>
    347         <location filename="../src/mainwindow.cpp" line="587"/>
     406        <location filename="../src/mainwindow.cpp" line="633"/>
    348407        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    349408        <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation>
    350409    </message>
    351410    <message>
    352         <location filename="../src/mainwindow.cpp" line="601"/>
     411        <location filename="../src/mainwindow.cpp" line="651"/>
    353412        <source>Calculating optimal route...</source>
    354413        <translation>Расчет оптимального пути...</translation>
    355414    </message>
    356415    <message>
    357         <location filename="../src/mainwindow.cpp" line="602"/>
     416        <location filename="../src/mainwindow.cpp" line="652"/>
    358417        <source>Solution Progress</source>
    359418        <translation>Состояние решения</translation>
    360419    </message>
    361420    <message>
    362         <location filename="../src/mainwindow.cpp" line="616"/>
     421        <location filename="../src/mainwindow.cpp" line="696"/>
    363422        <source>Solution Result</source>
    364423        <translation>Результат решения</translation>
    365424    </message>
    366425    <message>
    367         <location filename="../src/mainwindow.cpp" line="616"/>
     426        <location filename="../src/mainwindow.cpp" line="696"/>
    368427        <source>Unable to find a solution.
    369428Maybe, this task has no solution.</source>
     
    372431    </message>
    373432    <message>
    374         <location filename="../src/mainwindow.cpp" line="619"/>
     433        <location filename="../src/mainwindow.cpp" line="722"/>
    375434        <source>Generating header</source>
    376435        <translation>Генерация заголовка</translation>
    377436    </message>
    378437    <message>
    379         <location filename="../src/mainwindow.cpp" line="625"/>
     438        <location filename="../src/mainwindow.cpp" line="733"/>
    380439        <source>Solution of Variant #%1 Task</source>
    381440        <translation>Решение задания для варианта №%1</translation>
    382441    </message>
    383442    <message>
    384         <location filename="../src/mainwindow.cpp" line="643"/>
     443        <location filename="../src/mainwindow.cpp" line="751"/>
    385444        <source>Task:</source>
    386445        <translation>Условие:</translation>
    387446    </message>
    388447    <message>
    389         <location filename="../src/mainwindow.cpp" line="240"/>
    390         <location filename="../src/mainwindow.cpp" line="295"/>
    391         <location filename="../src/mainwindow.cpp" line="309"/>
     448        <location filename="../src/mainwindow.cpp" line="244"/>
     449        <location filename="../src/mainwindow.cpp" line="299"/>
     450        <location filename="../src/mainwindow.cpp" line="313"/>
    392451        <source>Solution Save</source>
    393452        <translation>Сохранение решения</translation>
    394453    </message>
    395454    <message>
    396         <location filename="../src/mainwindow.cpp" line="240"/>
    397         <location filename="../src/mainwindow.cpp" line="309"/>
     455        <location filename="../src/mainwindow.cpp" line="244"/>
     456        <location filename="../src/mainwindow.cpp" line="313"/>
    398457        <source>Unable to save the solution.
    399458Error: %1</source>
     
    402461    </message>
    403462    <message>
    404         <location filename="../src/mainwindow.cpp" line="341"/>
     463        <location filename="../src/mainwindow.cpp" line="345"/>
    405464        <source>You have changed color settings.
    406465They will be applied to the next solution output.</source>
     
    409468    </message>
    410469    <message>
    411         <location filename="../src/mainwindow.cpp" line="352"/>
     470        <location filename="../src/mainwindow.cpp" line="356"/>
    412471        <source>Language will be autodetected on the next %1 start.</source>
    413472        <translation>Язык будет автоматически определен при следующем запуске %1.</translation>
    414473    </message>
    415474    <message>
    416         <location filename="../src/mainwindow.cpp" line="381"/>
     475        <location filename="../src/mainwindow.cpp" line="385"/>
    417476        <source>You have changed the application language.
    418477To get current solution output in the new language
     
    423482    </message>
    424483    <message>
    425         <location filename="../src/mainwindow.cpp" line="389"/>
     484        <location filename="../src/mainwindow.cpp" line="393"/>
    426485        <source>Style Change</source>
    427486        <translation>Смена оформления</translation>
    428487    </message>
    429488    <message>
    430         <location filename="../src/mainwindow.cpp" line="389"/>
     489        <location filename="../src/mainwindow.cpp" line="393"/>
    431490        <source>To apply the default style you need to restart %1.</source>
    432491        <translation>Чтобы применить оформление по умолчанию необходимо перезапустить %1.</translation>
    433492    </message>
    434493    <message>
    435         <location filename="../src/mainwindow.cpp" line="544"/>
     494        <location filename="../src/mainwindow.cpp" line="579"/>
     495        <source>Translation</source>
     496        <translation>Перевод</translation>
     497    </message>
     498    <message>
     499        <location filename="../src/mainwindow.cpp" line="589"/>
    436500        <source>About %1</source>
    437501        <translation>О %1</translation>
    438502    </message>
    439503    <message>
    440         <location filename="../src/mainwindow.cpp" line="597"/>
     504        <location filename="../src/mainwindow.cpp" line="643"/>
    441505        <source>%v of %1 parts found</source>
    442506        <translation>Найдено %v з %1 переходов</translation>
    443507    </message>
    444508    <message>
    445         <location filename="../src/mainwindow.cpp" line="620"/>
     509        <location filename="../src/mainwindow.cpp" line="723"/>
    446510        <source>Generating solution output...</source>
    447511        <translation>Генерация текста решения...</translation>
    448512    </message>
    449513    <message>
    450         <location filename="../src/mainwindow.cpp" line="641"/>
     514        <location filename="../src/mainwindow.cpp" line="749"/>
    451515        <source>Variant #%1 Task</source>
    452516        <translation>Условие варианта №%1</translation>
    453517    </message>
    454518    <message>
    455         <location filename="../src/mainwindow.cpp" line="654"/>
     519        <location filename="../src/mainwindow.cpp" line="762"/>
    456520        <source>Variant #%1 Solution</source>
    457521        <translation>Решение варианта №%1</translation>
    458522    </message>
    459523    <message>
    460         <location filename="../src/mainwindow.cpp" line="659"/>
     524        <location filename="../src/mainwindow.cpp" line="767"/>
    461525        <source>Generating step %v</source>
    462526        <translation>Генерация шага %v</translation>
    463527    </message>
    464528    <message>
    465         <location filename="../src/mainwindow.cpp" line="676"/>
     529        <location filename="../src/mainwindow.cpp" line="802"/>
    466530        <source>Step #%1</source>
    467531        <translation>Шаг №%1</translation>
    468532    </message>
    469533    <message>
    470         <location filename="../src/mainwindow.cpp" line="681"/>
     534        <location filename="../src/mainwindow.cpp" line="807"/>
    471535        <source>Selected route %1 %2 part.</source>
    472536        <translation>Выбран путь %1 %2.</translation>
    473537    </message>
    474538    <message>
    475         <location filename="../src/mainwindow.cpp" line="681"/>
     539        <location filename="../src/mainwindow.cpp" line="807"/>
    476540        <source>with</source>
    477541        <translation>с переходом</translation>
    478542    </message>
    479543    <message>
    480         <location filename="../src/mainwindow.cpp" line="681"/>
     544        <location filename="../src/mainwindow.cpp" line="807"/>
    481545        <source>without</source>
    482546        <translation>без перехода</translation>
    483547    </message>
    484548    <message>
    485         <location filename="../src/mainwindow.cpp" line="713"/>
     549        <location filename="../src/mainwindow.cpp" line="839"/>
    486550        <source>Generating footer</source>
    487551        <translation>Генерация окончания</translation>
    488552    </message>
    489553    <message>
    490         <location filename="../src/mainwindow.cpp" line="719"/>
     554        <location filename="../src/mainwindow.cpp" line="849"/>
    491555        <source>Optimal path:</source>
    492556        <translation>Оптимальный путь:</translation>
    493557    </message>
    494558    <message>
    495         <location filename="../src/mainwindow.cpp" line="721"/>
     559        <location filename="../src/mainwindow.cpp" line="851"/>
    496560        <source>Resulting path:</source>
    497561        <translation>Найденный путь:</translation>
    498562    </message>
    499563    <message>
    500         <location filename="../src/mainwindow.cpp" line="724"/>
     564        <location filename="../src/mainwindow.cpp" line="854"/>
    501565        <source>City %1</source>
    502566        <translation>Город %1</translation>
    503567    </message>
    504568    <message>
    505         <location filename="../src/mainwindow.cpp" line="730"/>
     569        <location filename="../src/mainwindow.cpp" line="860"/>
    506570        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    507571        <translation>Стоимость - &lt;b&gt;%1&lt;/b&gt; единиц.</translation>
    508572    </message>
    509573    <message>
    510         <location filename="../src/mainwindow.cpp" line="735"/>
     574        <location filename="../src/mainwindow.cpp" line="865"/>
    511575        <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>
    512576        <translation>&lt;b&gt;ВНИМАНИЕ!!!&lt;/b&gt;&lt;br&gt;Найденное решение является рекордом, но может оказаться не оптимальным.&lt;br&gt;Для получения оптимального решения, или проверки текущего на оптимальность, требуется продолжить итерации.</translation>
    513577    </message>
    514578    <message>
    515         <location filename="../src/mainwindow.cpp" line="662"/>
    516         <location filename="../src/mainwindow.cpp" line="762"/>
     579        <location filename="../src/mainwindow.cpp" line="698"/>
     580        <location filename="../src/mainwindow.cpp" line="770"/>
     581        <location filename="../src/mainwindow.cpp" line="892"/>
    517582        <source>Cleaning up...</source>
    518583        <translation>Очистка...</translation>
    519584    </message>
    520585    <message>
    521         <location filename="../src/mainwindow.cpp" line="1103"/>
     586        <location filename="../src/mainwindow.cpp" line="1261"/>
    522587        <source>Unable to load the translation language.
    523588Falling back to autodetection.</source>
     
    526591    </message>
    527592    <message>
    528         <location filename="../src/mainwindow.cpp" line="1151"/>
     593        <location filename="../src/mainwindow.cpp" line="1309"/>
    529594        <source>Would you like to save changes in the current task?</source>
    530595        <translation>Желаете сохранить изменения в текущей задаче?</translation>
    531596    </message>
    532597    <message>
    533         <location filename="../src/mainwindow.cpp" line="1024"/>
     598        <location filename="../src/mainwindow.cpp" line="1182"/>
    534599        <source>Set application language to %1</source>
    535600        <translation>Изменить язык приложения на %1</translation>
    536601    </message>
    537602    <message>
    538         <location filename="../src/mainwindow.cpp" line="1244"/>
     603        <location filename="../src/mainwindow.cpp" line="1402"/>
    539604        <source>Check for &amp;Updates...</source>
    540605        <translation>Проверить &amp;обновления...</translation>
    541606    </message>
    542607    <message>
    543         <location filename="../src/mainwindow.cpp" line="1261"/>
     608        <location filename="../src/mainwindow.cpp" line="1419"/>
    544609        <source>Task Save</source>
    545610        <translation>Сохранение условия</translation>
    546611    </message>
    547612    <message>
    548         <location filename="../src/mainwindow.cpp" line="361"/>
     613        <location filename="../src/mainwindow.cpp" line="365"/>
    549614        <source>You have language autodetection turned on.
    550615It needs to be off.
     
    555620    </message>
    556621    <message>
    557         <location filename="../src/mainwindow.cpp" line="172"/>
    558         <location filename="../src/mainwindow.cpp" line="196"/>
    559         <location filename="../src/mainwindow.cpp" line="366"/>
    560         <location filename="../src/mainwindow.h" line="141"/>
     622        <location filename="../src/mainwindow.cpp" line="176"/>
     623        <location filename="../src/mainwindow.cpp" line="200"/>
     624        <location filename="../src/mainwindow.cpp" line="370"/>
     625        <location filename="../src/mainwindow.h" line="152"/>
    561626        <source>Untitled</source>
    562627        <translation>Без имени</translation>
    563628    </message>
    564629    <message>
    565         <location filename="../ui/mainwindow.ui" line="27"/>
     630        <location filename="../ui/mainwindow.ui" line="24"/>
    566631        <source>Task</source>
    567632        <translation>Условие</translation>
    568633    </message>
    569634    <message>
    570         <location filename="../ui/mainwindow.ui" line="48"/>
     635        <location filename="../ui/mainwindow.ui" line="45"/>
    571636        <source>&amp;Variant:</source>
    572637        <translation>&amp;Вариант:</translation>
    573638    </message>
    574639    <message>
    575         <location filename="../ui/mainwindow.ui" line="61"/>
     640        <location filename="../ui/mainwindow.ui" line="58"/>
    576641        <source>Number of variant</source>
    577642        <translation>Номер варианта</translation>
    578643    </message>
    579644    <message>
    580         <location filename="../ui/mainwindow.ui" line="71"/>
     645        <location filename="../ui/mainwindow.ui" line="68"/>
    581646        <source>&amp;Cities:</source>
    582647        <translation>&amp;Городов:</translation>
    583648    </message>
    584649    <message>
    585         <location filename="../ui/mainwindow.ui" line="84"/>
     650        <location filename="../ui/mainwindow.ui" line="81"/>
    586651        <source>Number of cities</source>
    587652        <translation>Количество городов, которые обходит коммивояжер</translation>
    588653    </message>
    589654    <message>
    590         <location filename="../ui/mainwindow.ui" line="112"/>
     655        <location filename="../ui/mainwindow.ui" line="109"/>
    591656        <source>Cost of travel from city to city</source>
    592657        <translation>Стоимости переходов из города в город</translation>
    593658    </message>
    594659    <message>
    595         <location filename="../ui/mainwindow.ui" line="140"/>
     660        <location filename="../ui/mainwindow.ui" line="137"/>
    596661        <source>Fill table with random numbers</source>
    597662        <translation>Заполнить таблицу случайными значениями</translation>
    598663    </message>
    599664    <message>
    600         <location filename="../ui/mainwindow.ui" line="143"/>
     665        <location filename="../ui/mainwindow.ui" line="140"/>
    601666        <source>Random</source>
    602667        <translation>Случайно</translation>
    603668    </message>
    604669    <message>
    605         <location filename="../ui/mainwindow.ui" line="153"/>
     670        <location filename="../ui/mainwindow.ui" line="150"/>
    606671        <source>Solve current task</source>
    607672        <translation>Решить текущую задачу</translation>
    608673    </message>
    609674    <message>
    610         <location filename="../ui/mainwindow.ui" line="156"/>
     675        <location filename="../ui/mainwindow.ui" line="153"/>
    611676        <source>Solve</source>
    612677        <translation>Решить</translation>
    613678    </message>
    614679    <message>
    615         <location filename="../ui/mainwindow.ui" line="166"/>
     680        <location filename="../ui/mainwindow.ui" line="163"/>
    616681        <source>Solution</source>
    617682        <translation>Решение</translation>
    618683    </message>
    619684    <message>
    620         <location filename="../ui/mainwindow.ui" line="175"/>
     685        <location filename="../ui/mainwindow.ui" line="172"/>
    621686        <source>Solution steps</source>
    622687        <translation>Ход решения</translation>
    623688    </message>
    624689    <message>
    625         <location filename="../ui/mainwindow.ui" line="199"/>
    626         <location filename="../ui/mainwindow.ui" line="343"/>
     690        <location filename="../ui/mainwindow.ui" line="196"/>
     691        <location filename="../ui/mainwindow.ui" line="340"/>
    627692        <source>Save solution to a file</source>
    628693        <translation>Сохранить решение в файл</translation>
    629694    </message>
    630695    <message>
    631         <location filename="../ui/mainwindow.ui" line="202"/>
     696        <location filename="../ui/mainwindow.ui" line="199"/>
    632697        <source>Save Solution</source>
    633698        <translation>Сохранить</translation>
    634699    </message>
    635700    <message>
    636         <location filename="../ui/mainwindow.ui" line="225"/>
     701        <location filename="../ui/mainwindow.ui" line="222"/>
    637702        <source>Go back to Task tab</source>
    638703        <translation>Вернуться к закладке &quot;Условие&quot;</translation>
    639704    </message>
    640705    <message>
    641         <location filename="../ui/mainwindow.ui" line="228"/>
     706        <location filename="../ui/mainwindow.ui" line="225"/>
    642707        <source>Back to Task</source>
    643708        <translation>К условию</translation>
    644709    </message>
    645710    <message>
    646         <location filename="../ui/mainwindow.ui" line="253"/>
     711        <location filename="../ui/mainwindow.ui" line="250"/>
    647712        <source>&amp;File</source>
    648713        <translation>&amp;Файл</translation>
    649714    </message>
    650715    <message>
    651         <location filename="../ui/mainwindow.ui" line="275"/>
     716        <location filename="../ui/mainwindow.ui" line="272"/>
    652717        <source>&amp;Language</source>
    653718        <comment>Please, append &quot; / Language&quot; when translating this string.</comment>
     
    655720    </message>
    656721    <message>
    657         <location filename="../ui/mainwindow.ui" line="401"/>
     722        <location filename="../ui/mainwindow.ui" line="398"/>
    658723        <source>Context &amp;Help</source>
    659724        <translation>&amp;Контекстная справка</translation>
    660725    </message>
    661726    <message>
    662         <location filename="../ui/mainwindow.ui" line="412"/>
     727        <location filename="../ui/mainwindow.ui" line="409"/>
    663728        <source>&amp;About TSPSG...</source>
    664729        <translation>&amp;О TSPSG...</translation>
    665730    </message>
    666731    <message>
    667         <location filename="../ui/mainwindow.ui" line="473"/>
     732        <location filename="../ui/mainwindow.ui" line="470"/>
    668733        <source>&amp;Save</source>
    669734        <translation>Со&amp;хранить</translation>
    670735    </message>
    671736    <message>
    672         <location filename="../ui/mainwindow.ui" line="271"/>
     737        <location filename="../ui/mainwindow.ui" line="268"/>
    673738        <source>&amp;Settings</source>
    674739        <translation>&amp;Настройки</translation>
    675740    </message>
    676741    <message>
    677         <location filename="../ui/mainwindow.ui" line="283"/>
     742        <location filename="../ui/mainwindow.ui" line="280"/>
    678743        <source>Style</source>
    679744        <translation>Оформление</translation>
    680745    </message>
    681746    <message>
    682         <location filename="../ui/mainwindow.ui" line="288"/>
     747        <location filename="../ui/mainwindow.ui" line="285"/>
    683748        <source>Toolbars</source>
    684749        <translation>Панели инструментов</translation>
    685750    </message>
    686751    <message>
    687         <location filename="../ui/mainwindow.ui" line="299"/>
     752        <location filename="../ui/mainwindow.ui" line="296"/>
    688753        <source>&amp;Help</source>
    689754        <translation>&amp;Помощь</translation>
    690755    </message>
    691756    <message>
    692         <location filename="../ui/mainwindow.ui" line="316"/>
     757        <location filename="../ui/mainwindow.ui" line="313"/>
    693758        <source>Main Toolbar</source>
    694759        <translation>Главная панель</translation>
    695760    </message>
    696761    <message>
    697         <location filename="../ui/mainwindow.ui" line="340"/>
     762        <location filename="../ui/mainwindow.ui" line="337"/>
    698763        <source>Save solution</source>
    699764        <translation>Сохранить решение</translation>
    700765    </message>
    701766    <message>
    702         <location filename="../ui/mainwindow.ui" line="348"/>
     767        <location filename="../ui/mainwindow.ui" line="345"/>
    703768        <source>&amp;New</source>
    704769        <translation>&amp;Создать</translation>
    705770    </message>
    706771    <message>
    707         <location filename="../ui/mainwindow.ui" line="351"/>
     772        <location filename="../ui/mainwindow.ui" line="348"/>
    708773        <source>New task</source>
    709774        <translation>Создать задачу</translation>
    710775    </message>
    711776    <message>
    712         <location filename="../ui/mainwindow.ui" line="354"/>
     777        <location filename="../ui/mainwindow.ui" line="351"/>
    713778        <source>Create new task</source>
    714779        <translation>Создать новую задачу</translation>
    715780    </message>
    716781    <message>
    717         <location filename="../ui/mainwindow.ui" line="357"/>
     782        <location filename="../ui/mainwindow.ui" line="354"/>
    718783        <source>Ctrl+N</source>
    719784        <translation></translation>
    720785    </message>
    721786    <message>
    722         <location filename="../ui/mainwindow.ui" line="362"/>
     787        <location filename="../ui/mainwindow.ui" line="359"/>
    723788        <source>&amp;Open...</source>
    724789        <translation>&amp;Открыть...</translation>
    725790    </message>
    726791    <message>
    727         <location filename="../ui/mainwindow.ui" line="365"/>
     792        <location filename="../ui/mainwindow.ui" line="362"/>
    728793        <source>Open task</source>
    729794        <translation>Открыть условие</translation>
    730795    </message>
    731796    <message>
    732         <location filename="../ui/mainwindow.ui" line="368"/>
     797        <location filename="../ui/mainwindow.ui" line="365"/>
    733798        <source>Open saved task</source>
    734799        <translation>Открыть сохраненное условие задачи</translation>
    735800    </message>
    736801    <message>
    737         <location filename="../ui/mainwindow.ui" line="371"/>
     802        <location filename="../ui/mainwindow.ui" line="368"/>
    738803        <source>Ctrl+O</source>
    739804        <translation></translation>
    740805    </message>
    741806    <message>
    742         <location filename="../ui/mainwindow.ui" line="376"/>
     807        <location filename="../ui/mainwindow.ui" line="373"/>
    743808        <source>&amp;Preferences...</source>
    744809        <translation>&amp;Параметры...</translation>
    745810    </message>
    746811    <message>
    747         <location filename="../ui/mainwindow.ui" line="379"/>
     812        <location filename="../ui/mainwindow.ui" line="376"/>
    748813        <source>Application preferences</source>
    749814        <translation>Настройка параметров программмы</translation>
    750815    </message>
    751816    <message>
    752         <location filename="../ui/mainwindow.ui" line="387"/>
     817        <location filename="../ui/mainwindow.ui" line="384"/>
    753818        <source>&amp;Contents</source>
    754819        <translation>&amp;Содежание</translation>
    755820    </message>
    756821    <message>
    757         <location filename="../ui/mainwindow.ui" line="390"/>
     822        <location filename="../ui/mainwindow.ui" line="387"/>
    758823        <source>Open help contents</source>
    759824        <translation>Вызвать справку программы</translation>
    760825    </message>
    761826    <message>
    762         <location filename="../ui/mainwindow.ui" line="393"/>
     827        <location filename="../ui/mainwindow.ui" line="390"/>
    763828        <source>Ctrl+F1</source>
    764829        <translation></translation>
    765830    </message>
    766831    <message>
    767         <location filename="../ui/mainwindow.ui" line="404"/>
     832        <location filename="../ui/mainwindow.ui" line="401"/>
    768833        <source>Open context help</source>
    769834        <translation>Вызвать контекстную справку</translation>
    770835    </message>
    771836    <message>
    772         <location filename="../ui/mainwindow.ui" line="407"/>
     837        <location filename="../ui/mainwindow.ui" line="404"/>
    773838        <source>F1</source>
    774839        <translation></translation>
    775840    </message>
    776841    <message>
    777         <location filename="../ui/mainwindow.ui" line="415"/>
     842        <location filename="../ui/mainwindow.ui" line="412"/>
    778843        <source>About application</source>
    779844        <translation>О программе</translation>
    780845    </message>
    781846    <message>
    782         <location filename="../ui/mainwindow.ui" line="420"/>
     847        <location filename="../ui/mainwindow.ui" line="417"/>
    783848        <source>E&amp;xit</source>
    784849        <translation>В&amp;ыход</translation>
    785850    </message>
    786851    <message>
    787         <location filename="../ui/mainwindow.ui" line="423"/>
     852        <location filename="../ui/mainwindow.ui" line="420"/>
    788853        <source>Exit application</source>
    789854        <translation>Выйти из приложения</translation>
    790855    </message>
    791856    <message>
    792         <location filename="../ui/mainwindow.ui" line="428"/>
     857        <location filename="../ui/mainwindow.ui" line="425"/>
    793858        <source>&amp;Task...</source>
    794859        <translation>&amp;Условие...</translation>
    795860    </message>
    796861    <message>
    797         <location filename="../ui/mainwindow.ui" line="431"/>
    798         <location filename="../ui/mainwindow.ui" line="476"/>
     862        <location filename="../ui/mainwindow.ui" line="428"/>
     863        <location filename="../ui/mainwindow.ui" line="473"/>
    799864        <source>Save task</source>
    800865        <translation>Сохранить условие</translation>
    801866    </message>
    802867    <message>
    803         <location filename="../ui/mainwindow.ui" line="434"/>
     868        <location filename="../ui/mainwindow.ui" line="431"/>
    804869        <source>Save task to file</source>
    805870        <translation>Сохранить условие задачи в файл</translation>
    806871    </message>
    807872    <message>
    808         <location filename="../ui/mainwindow.ui" line="482"/>
     873        <location filename="../ui/mainwindow.ui" line="479"/>
    809874        <source>Ctrl+S</source>
    810875        <translation></translation>
    811876    </message>
    812877    <message>
    813         <location filename="../ui/mainwindow.ui" line="508"/>
     878        <location filename="../ui/mainwindow.ui" line="505"/>
    814879        <source>System Default</source>
    815880        <translation>По умолчанию</translation>
    816881    </message>
    817882    <message>
    818         <location filename="../ui/mainwindow.ui" line="511"/>
     883        <location filename="../ui/mainwindow.ui" line="508"/>
    819884        <source>Automatically choose the most appropriate style</source>
    820885        <translation>Автоматически выбирать наиболее подходящее оформление</translation>
    821886    </message>
    822887    <message>
    823         <location filename="../ui/mainwindow.ui" line="445"/>
     888        <location filename="../ui/mainwindow.ui" line="442"/>
    824889        <source>&amp;Autodetect</source>
    825890        <translation>&amp;Автоопределение</translation>
    826891    </message>
    827892    <message>
    828         <location filename="../ui/mainwindow.ui" line="479"/>
     893        <location filename="../ui/mainwindow.ui" line="476"/>
    829894        <source>Save current task</source>
    830895        <translation>Сохранить текущее условие</translation>
    831896    </message>
    832897    <message>
    833         <location filename="../ui/mainwindow.ui" line="491"/>
     898        <location filename="../ui/mainwindow.ui" line="488"/>
    834899        <source>About &amp;Qt...</source>
    835900        <translation>О &amp;Qt...</translation>
    836901    </message>
    837902    <message>
    838         <location filename="../ui/mainwindow.ui" line="494"/>
     903        <location filename="../ui/mainwindow.ui" line="491"/>
    839904        <source>About Qt library</source>
    840905        <translation>О библиотеке Qt</translation>
    841906    </message>
    842907    <message>
    843         <location filename="../ui/mainwindow.ui" line="257"/>
     908        <location filename="../ui/mainwindow.ui" line="254"/>
    844909        <source>Save &amp;As</source>
    845910        <translation>Сохранить &amp;как</translation>
    846911    </message>
    847912    <message>
    848         <location filename="../src/mainwindow.cpp" line="1218"/>
     913        <location filename="../src/mainwindow.cpp" line="1376"/>
    849914        <source>P&amp;rint Preview...</source>
    850915        <translation>П&amp;редварительный просмотр...</translation>
    851916    </message>
    852917    <message>
    853         <location filename="../src/mainwindow.cpp" line="1220"/>
     918        <location filename="../src/mainwindow.cpp" line="1378"/>
    854919        <source>Preview solution results</source>
    855920        <translation>Предварительный просмотр результатов решения</translation>
    856921    </message>
    857922    <message>
    858         <location filename="../src/mainwindow.cpp" line="1223"/>
     923        <location filename="../src/mainwindow.cpp" line="1381"/>
    859924        <source>Preview current solution results before printing</source>
    860925        <translation>Предварительный просмотр результатов решения перед печатью</translation>
    861926    </message>
    862927    <message>
    863         <location filename="../src/mainwindow.cpp" line="1226"/>
     928        <location filename="../src/mainwindow.cpp" line="1384"/>
    864929        <source>&amp;Print...</source>
    865930        <translation>&amp;Печать...</translation>
    866931    </message>
    867932    <message>
    868         <location filename="../src/mainwindow.cpp" line="1228"/>
     933        <location filename="../src/mainwindow.cpp" line="1386"/>
    869934        <source>Print solution</source>
    870935        <translation>Печать решения</translation>
    871936    </message>
    872937    <message>
    873         <location filename="../src/mainwindow.cpp" line="1231"/>
     938        <location filename="../src/mainwindow.cpp" line="1389"/>
    874939        <source>Print current solution results</source>
    875940        <translation>Распечатать текущие результаты решения</translation>
    876941    </message>
    877942    <message>
    878         <location filename="../src/mainwindow.cpp" line="1233"/>
     943        <location filename="../src/mainwindow.cpp" line="1391"/>
    879944        <source>Ctrl+P</source>
    880945        <translation></translation>
    881946    </message>
    882947    <message>
    883         <location filename="../ui/mainwindow.ui" line="337"/>
     948        <location filename="../ui/mainwindow.ui" line="334"/>
    884949        <source>&amp;Solution...</source>
    885950        <translation>&amp;Решение...</translation>
    886951    </message>
    887952    <message>
    888         <location filename="../ui/mainwindow.ui" line="448"/>
     953        <location filename="../ui/mainwindow.ui" line="445"/>
    889954        <source>Detect language automatically</source>
    890955        <translation>Определять язык автоматически</translation>
    891956    </message>
    892957    <message>
    893         <location filename="../ui/mainwindow.ui" line="451"/>
     958        <location filename="../ui/mainwindow.ui" line="448"/>
    894959        <source>Detect language automatically based on regional settings</source>
    895960        <translation>Определять язык автоматически, основываясь на региональных настройках</translation>
     961    </message>
     962</context>
     963<context>
     964    <name>QProgressDialog</name>
     965    <message>
     966        <location filename="../src/mainwindow.cpp" line="647"/>
     967        <source>Cancel</source>
     968        <comment>No need to translate this. This translation will be taken from Qt translation files.</comment>
     969        <translation type="unfinished"></translation>
    896970    </message>
    897971</context>
  • trunk/l10n/tspsg_uk.ts

    r123 r124  
    66    <name>--------</name>
    77    <message>
    8         <location filename="../src/mainwindow.cpp" line="517"/>
    9         <source>AUTHORS</source>
    10         <comment>Please, provide translator credits here.</comment>
    11         <translation>Український переклад:&lt;br&gt;&lt;a href=&quot;http://oleksii.name/&quot;&gt;Олексій &quot;Lёppa&quot; Сердюк&lt;/a&gt;</translation>
    12     </message>
    13     <message>
    14         <location filename="../src/mainwindow.cpp" line="529"/>
     8        <location filename="../src/mainwindow.cpp" line="498"/>
     9        <source>AUTHORS %1</source>
     10        <comment>Please, provide translator credits here. %1 will be replaced with VERSION</comment>
     11        <translation>&lt;b&gt;Український переклад&lt;/b&gt;&lt;br&gt;
     12&lt;br&gt;
     13Автор: &lt;a href=&quot;http://oleksii.name/&quot;&gt;Олексій &quot;Lёppa&quot; Сердюк&lt;/a&gt;&lt;br&gt;
     14Версія: %1</translation>
     15    </message>
     16    <message>
     17        <location filename="../src/mainwindow.cpp" line="500"/>
    1518        <source>VERSION</source>
    1619        <comment>Please, provide your translation version here.</comment>
     
    1821    </message>
    1922    <message>
    20         <location filename="../src/mainwindow.cpp" line="1022"/>
     23        <location filename="../src/mainwindow.cpp" line="1180"/>
    2124        <source>COUNTRY</source>
    2225        <comment>Please, provide an ISO 3166-1 alpha-2 country code for this translation language here (eg., UA).</comment>
     
    2427    </message>
    2528    <message>
    26         <location filename="../src/mainwindow.cpp" line="1023"/>
     29        <location filename="../src/mainwindow.cpp" line="1181"/>
    2730        <source>LANGNAME</source>
    2831        <comment>Please, provide a native name of your translation language here.</comment>
     
    145148    <name>MainWindow</name>
    146149    <message>
    147         <location filename="../ui/mainwindow.ui" line="61"/>
     150        <location filename="../ui/mainwindow.ui" line="58"/>
    148151        <source>Number of variant</source>
    149152        <translation>Номер варіанту</translation>
    150153    </message>
    151154    <message>
    152         <location filename="../ui/mainwindow.ui" line="84"/>
     155        <location filename="../ui/mainwindow.ui" line="81"/>
    153156        <source>Number of cities</source>
    154157        <translation>Кількість міст, що проходить комівояжер</translation>
    155158    </message>
    156159    <message>
    157         <location filename="../ui/mainwindow.ui" line="257"/>
     160        <location filename="../ui/mainwindow.ui" line="254"/>
    158161        <source>Save &amp;As</source>
    159162        <translation>Зберегти &amp;як</translation>
    160163    </message>
    161164    <message>
    162         <location filename="../src/mainwindow.cpp" line="1218"/>
     165        <location filename="../src/mainwindow.cpp" line="1376"/>
    163166        <source>P&amp;rint Preview...</source>
    164167        <translation>&amp;Попередній перегляд...</translation>
    165168    </message>
    166169    <message>
    167         <location filename="../src/mainwindow.cpp" line="1220"/>
     170        <location filename="../src/mainwindow.cpp" line="1378"/>
    168171        <source>Preview solution results</source>
    169172        <translation>Попередній перегляд результатів розв&apos;язку</translation>
    170173    </message>
    171174    <message>
    172         <location filename="../src/mainwindow.cpp" line="1223"/>
     175        <location filename="../src/mainwindow.cpp" line="1381"/>
    173176        <source>Preview current solution results before printing</source>
    174177        <translation>Попередній перегляд результатів розв&apos;язку перед друком</translation>
    175178    </message>
    176179    <message>
    177         <location filename="../src/mainwindow.cpp" line="1226"/>
     180        <location filename="../src/mainwindow.cpp" line="1384"/>
    178181        <source>&amp;Print...</source>
    179182        <translation>&amp;Друк...</translation>
    180183    </message>
    181184    <message>
    182         <location filename="../src/mainwindow.cpp" line="1228"/>
     185        <location filename="../src/mainwindow.cpp" line="1386"/>
    183186        <source>Print solution</source>
    184187        <translation>Друк розв&apos;язку</translation>
    185188    </message>
    186189    <message>
    187         <location filename="../src/mainwindow.cpp" line="1231"/>
     190        <location filename="../src/mainwindow.cpp" line="1389"/>
    188191        <source>Print current solution results</source>
    189192        <translation>Роздрукувати поточний результат розв&apos;язку</translation>
    190193    </message>
    191194    <message>
    192         <location filename="../src/mainwindow.cpp" line="1233"/>
     195        <location filename="../src/mainwindow.cpp" line="1391"/>
    193196        <source>Ctrl+P</source>
    194197        <translation></translation>
    195198    </message>
    196199    <message>
    197         <location filename="../ui/mainwindow.ui" line="337"/>
     200        <location filename="../ui/mainwindow.ui" line="334"/>
    198201        <source>&amp;Solution...</source>
    199202        <translation>&amp;Розв&apos;язок...</translation>
    200203    </message>
    201204    <message>
    202         <location filename="../ui/mainwindow.ui" line="448"/>
     205        <location filename="../ui/mainwindow.ui" line="445"/>
    203206        <source>Detect language automatically</source>
    204207        <translation>Визначати мову автоматично</translation>
    205208    </message>
    206209    <message>
    207         <location filename="../ui/mainwindow.ui" line="451"/>
     210        <location filename="../ui/mainwindow.ui" line="448"/>
    208211        <source>Detect language automatically based on regional settings</source>
    209212        <translation>Визначати мову автоматично, використовуючи регіональні стандарти</translation>
    210213    </message>
    211214    <message>
    212         <location filename="../ui/mainwindow.ui" line="482"/>
     215        <location filename="../ui/mainwindow.ui" line="479"/>
    213216        <source>Ctrl+S</source>
    214217        <translation></translation>
    215218    </message>
    216219    <message>
    217         <location filename="../ui/mainwindow.ui" line="357"/>
     220        <location filename="../ui/mainwindow.ui" line="354"/>
    218221        <source>Ctrl+N</source>
    219222        <translation></translation>
    220223    </message>
    221224    <message>
    222         <location filename="../ui/mainwindow.ui" line="27"/>
     225        <location filename="../ui/mainwindow.ui" line="24"/>
    223226        <source>Task</source>
    224227        <translation>Умова</translation>
    225228    </message>
    226229    <message>
    227         <location filename="../ui/mainwindow.ui" line="48"/>
     230        <location filename="../ui/mainwindow.ui" line="45"/>
    228231        <source>&amp;Variant:</source>
    229232        <translation>&amp;Варіант:</translation>
    230233    </message>
    231234    <message>
    232         <location filename="../ui/mainwindow.ui" line="71"/>
     235        <location filename="../ui/mainwindow.ui" line="68"/>
    233236        <source>&amp;Cities:</source>
    234237        <translation>&amp;Міст:</translation>
    235238    </message>
    236239    <message>
    237         <location filename="../ui/mainwindow.ui" line="112"/>
     240        <location filename="../ui/mainwindow.ui" line="109"/>
    238241        <source>Cost of travel from city to city</source>
    239242        <translation>Вартість переїзду з міста у місто</translation>
    240243    </message>
    241244    <message>
    242         <location filename="../ui/mainwindow.ui" line="140"/>
     245        <location filename="../ui/mainwindow.ui" line="137"/>
    243246        <source>Fill table with random numbers</source>
    244247        <translation>Заповнити таблицю випадковими значеннями</translation>
    245248    </message>
    246249    <message>
    247         <location filename="../ui/mainwindow.ui" line="143"/>
     250        <location filename="../ui/mainwindow.ui" line="140"/>
    248251        <source>Random</source>
    249252        <translation>Випадково</translation>
    250253    </message>
    251254    <message>
    252         <location filename="../ui/mainwindow.ui" line="153"/>
     255        <location filename="../ui/mainwindow.ui" line="150"/>
    253256        <source>Solve current task</source>
    254257        <translation>Розв&apos;язати поточну задачу</translation>
    255258    </message>
    256259    <message>
    257         <location filename="../ui/mainwindow.ui" line="156"/>
     260        <location filename="../ui/mainwindow.ui" line="153"/>
    258261        <source>Solve</source>
    259262        <translation>Розв&apos;язати</translation>
    260263    </message>
    261264    <message>
    262         <location filename="../ui/mainwindow.ui" line="166"/>
     265        <location filename="../ui/mainwindow.ui" line="163"/>
    263266        <source>Solution</source>
    264267        <translation>Розв&apos;язок</translation>
    265268    </message>
    266269    <message>
    267         <location filename="../ui/mainwindow.ui" line="175"/>
     270        <location filename="../ui/mainwindow.ui" line="172"/>
    268271        <source>Solution steps</source>
    269272        <translation>Хід розв&apos;язку</translation>
    270273    </message>
    271274    <message>
    272         <location filename="../ui/mainwindow.ui" line="199"/>
    273         <location filename="../ui/mainwindow.ui" line="343"/>
     275        <location filename="../ui/mainwindow.ui" line="196"/>
     276        <location filename="../ui/mainwindow.ui" line="340"/>
    274277        <source>Save solution to a file</source>
    275278        <translation>Зберегти розв&apos;язок у файл</translation>
    276279    </message>
    277280    <message>
    278         <location filename="../ui/mainwindow.ui" line="202"/>
     281        <location filename="../ui/mainwindow.ui" line="199"/>
    279282        <source>Save Solution</source>
    280283        <translation>Зберегти</translation>
    281284    </message>
    282285    <message>
    283         <location filename="../ui/mainwindow.ui" line="225"/>
     286        <location filename="../ui/mainwindow.ui" line="222"/>
    284287        <source>Go back to Task tab</source>
    285288        <translation>Повернутися до закладки &quot;Умова&quot;</translation>
    286289    </message>
    287290    <message>
    288         <location filename="../ui/mainwindow.ui" line="228"/>
     291        <location filename="../ui/mainwindow.ui" line="225"/>
    289292        <source>Back to Task</source>
    290293        <translation>До умови</translation>
    291294    </message>
    292295    <message>
    293         <location filename="../ui/mainwindow.ui" line="253"/>
     296        <location filename="../ui/mainwindow.ui" line="250"/>
    294297        <source>&amp;File</source>
    295298        <translation>&amp;Файл</translation>
    296299    </message>
    297300    <message>
    298         <location filename="../ui/mainwindow.ui" line="275"/>
     301        <location filename="../ui/mainwindow.ui" line="272"/>
    299302        <source>&amp;Language</source>
    300303        <comment>Please, append &quot; / Language&quot; when translating this string.</comment>
     
    302305    </message>
    303306    <message>
    304         <location filename="../ui/mainwindow.ui" line="401"/>
     307        <location filename="../ui/mainwindow.ui" line="398"/>
    305308        <source>Context &amp;Help</source>
    306309        <translation>&amp;Контекстна допомога</translation>
    307310    </message>
    308311    <message>
    309         <location filename="../ui/mainwindow.ui" line="412"/>
     312        <location filename="../ui/mainwindow.ui" line="409"/>
    310313        <source>&amp;About TSPSG...</source>
    311314        <translation>&amp;Про TSPSG...</translation>
    312315    </message>
    313316    <message>
    314         <location filename="../ui/mainwindow.ui" line="473"/>
     317        <location filename="../ui/mainwindow.ui" line="470"/>
    315318        <source>&amp;Save</source>
    316319        <translation>&amp;Зберегти</translation>
    317320    </message>
    318321    <message>
    319         <location filename="../ui/mainwindow.ui" line="271"/>
     322        <location filename="../ui/mainwindow.ui" line="268"/>
    320323        <source>&amp;Settings</source>
    321324        <translation>&amp;Налаштування</translation>
    322325    </message>
    323326    <message>
    324         <location filename="../ui/mainwindow.ui" line="283"/>
     327        <location filename="../ui/mainwindow.ui" line="280"/>
    325328        <source>Style</source>
    326329        <translation>Вигляд</translation>
    327330    </message>
    328331    <message>
    329         <location filename="../ui/mainwindow.ui" line="288"/>
     332        <location filename="../ui/mainwindow.ui" line="285"/>
    330333        <source>Toolbars</source>
    331334        <translation>Панелі інструментів</translation>
    332335    </message>
    333336    <message>
    334         <location filename="../ui/mainwindow.ui" line="299"/>
     337        <location filename="../ui/mainwindow.ui" line="296"/>
    335338        <source>&amp;Help</source>
    336339        <translation>&amp;Допомога</translation>
    337340    </message>
    338341    <message>
    339         <location filename="../ui/mainwindow.ui" line="316"/>
     342        <location filename="../ui/mainwindow.ui" line="313"/>
    340343        <source>Main Toolbar</source>
    341344        <translation>Головна панель</translation>
    342345    </message>
    343346    <message>
    344         <location filename="../ui/mainwindow.ui" line="340"/>
     347        <location filename="../ui/mainwindow.ui" line="337"/>
    345348        <source>Save solution</source>
    346349        <translation>Зберегти розв&apos;язок</translation>
    347350    </message>
    348351    <message>
    349         <location filename="../ui/mainwindow.ui" line="348"/>
     352        <location filename="../ui/mainwindow.ui" line="345"/>
    350353        <source>&amp;New</source>
    351354        <translation>&amp;Створити</translation>
    352355    </message>
    353356    <message>
    354         <location filename="../ui/mainwindow.ui" line="351"/>
     357        <location filename="../ui/mainwindow.ui" line="348"/>
    355358        <source>New task</source>
    356359        <translation>Нова задача</translation>
    357360    </message>
    358361    <message>
    359         <location filename="../ui/mainwindow.ui" line="354"/>
     362        <location filename="../ui/mainwindow.ui" line="351"/>
    360363        <source>Create new task</source>
    361364        <translation>Створити нову задачу</translation>
    362365    </message>
    363366    <message>
    364         <location filename="../ui/mainwindow.ui" line="362"/>
     367        <location filename="../ui/mainwindow.ui" line="359"/>
    365368        <source>&amp;Open...</source>
    366369        <translation>&amp;Відкрити...</translation>
    367370    </message>
    368371    <message>
    369         <location filename="../ui/mainwindow.ui" line="365"/>
     372        <location filename="../ui/mainwindow.ui" line="362"/>
    370373        <source>Open task</source>
    371374        <translation>Відкрити умову</translation>
    372375    </message>
    373376    <message>
    374         <location filename="../ui/mainwindow.ui" line="368"/>
     377        <location filename="../ui/mainwindow.ui" line="365"/>
    375378        <source>Open saved task</source>
    376379        <translation>Відкрити збережену умову</translation>
    377380    </message>
    378381    <message>
    379         <location filename="../ui/mainwindow.ui" line="371"/>
     382        <location filename="../ui/mainwindow.ui" line="368"/>
    380383        <source>Ctrl+O</source>
    381384        <translation></translation>
    382385    </message>
    383386    <message>
    384         <location filename="../ui/mainwindow.ui" line="376"/>
     387        <location filename="../ui/mainwindow.ui" line="373"/>
    385388        <source>&amp;Preferences...</source>
    386389        <translation>&amp;Параметри...</translation>
    387390    </message>
    388391    <message>
    389         <location filename="../ui/mainwindow.ui" line="379"/>
     392        <location filename="../ui/mainwindow.ui" line="376"/>
    390393        <source>Application preferences</source>
    391394        <translation>Параметри додатку</translation>
    392395    </message>
    393396    <message>
    394         <location filename="../ui/mainwindow.ui" line="387"/>
     397        <location filename="../ui/mainwindow.ui" line="384"/>
    395398        <source>&amp;Contents</source>
    396399        <translation>&amp;Зміст</translation>
    397400    </message>
    398401    <message>
    399         <location filename="../ui/mainwindow.ui" line="390"/>
     402        <location filename="../ui/mainwindow.ui" line="387"/>
    400403        <source>Open help contents</source>
    401404        <translation>Відкрити зміст допомоги</translation>
    402405    </message>
    403406    <message>
    404         <location filename="../ui/mainwindow.ui" line="393"/>
     407        <location filename="../ui/mainwindow.ui" line="390"/>
    405408        <source>Ctrl+F1</source>
    406409        <translation></translation>
    407410    </message>
    408411    <message>
    409         <location filename="../ui/mainwindow.ui" line="404"/>
     412        <location filename="../ui/mainwindow.ui" line="401"/>
    410413        <source>Open context help</source>
    411414        <translation>Відкрити контекстну допомогу</translation>
    412415    </message>
    413416    <message>
    414         <location filename="../ui/mainwindow.ui" line="407"/>
     417        <location filename="../ui/mainwindow.ui" line="404"/>
    415418        <source>F1</source>
    416419        <translation></translation>
    417420    </message>
    418421    <message>
    419         <location filename="../ui/mainwindow.ui" line="415"/>
     422        <location filename="../ui/mainwindow.ui" line="412"/>
    420423        <source>About application</source>
    421424        <translation>Про додаток</translation>
    422425    </message>
    423426    <message>
    424         <location filename="../ui/mainwindow.ui" line="420"/>
     427        <location filename="../ui/mainwindow.ui" line="417"/>
    425428        <source>E&amp;xit</source>
    426429        <translation>В&amp;ихід</translation>
    427430    </message>
    428431    <message>
    429         <location filename="../ui/mainwindow.ui" line="423"/>
     432        <location filename="../ui/mainwindow.ui" line="420"/>
    430433        <source>Exit application</source>
    431434        <translation>Вийти з додатку</translation>
    432435    </message>
    433436    <message>
    434         <location filename="../ui/mainwindow.ui" line="428"/>
     437        <location filename="../ui/mainwindow.ui" line="425"/>
    435438        <source>&amp;Task...</source>
    436439        <translation>&amp;Умову...</translation>
    437440    </message>
    438441    <message>
    439         <location filename="../ui/mainwindow.ui" line="431"/>
    440         <location filename="../ui/mainwindow.ui" line="476"/>
     442        <location filename="../ui/mainwindow.ui" line="428"/>
     443        <location filename="../ui/mainwindow.ui" line="473"/>
    441444        <source>Save task</source>
    442445        <translation>Зберегти умову</translation>
    443446    </message>
    444447    <message>
    445         <location filename="../ui/mainwindow.ui" line="434"/>
     448        <location filename="../ui/mainwindow.ui" line="431"/>
    446449        <source>Save task to file</source>
    447450        <translation>Зберегти умову задачі у файл</translation>
    448451    </message>
    449452    <message>
    450         <location filename="../ui/mainwindow.ui" line="445"/>
     453        <location filename="../ui/mainwindow.ui" line="442"/>
    451454        <source>&amp;Autodetect</source>
    452455        <translation>&amp;Автовизначення</translation>
    453456    </message>
    454457    <message>
    455         <location filename="../ui/mainwindow.ui" line="479"/>
     458        <location filename="../ui/mainwindow.ui" line="476"/>
    456459        <source>Save current task</source>
    457460        <translation>Зберегти поточну умову</translation>
    458461    </message>
    459462    <message>
    460         <location filename="../ui/mainwindow.ui" line="491"/>
     463        <location filename="../ui/mainwindow.ui" line="488"/>
    461464        <source>About &amp;Qt...</source>
    462465        <translation>Про &amp;Qt...</translation>
    463466    </message>
    464467    <message>
    465         <location filename="../ui/mainwindow.ui" line="494"/>
     468        <location filename="../ui/mainwindow.ui" line="491"/>
    466469        <source>About Qt library</source>
    467470        <translation>Про бібліотеку Qt</translation>
    468471    </message>
    469472    <message>
    470         <location filename="../ui/mainwindow.ui" line="508"/>
     473        <location filename="../ui/mainwindow.ui" line="505"/>
    471474        <source>System Default</source>
    472475        <translation>За промовчанням</translation>
    473476    </message>
    474477    <message>
    475         <location filename="../ui/mainwindow.ui" line="511"/>
     478        <location filename="../ui/mainwindow.ui" line="508"/>
    476479        <source>Automatically choose the most appropriate style</source>
    477480        <translation>Автоматично обирати вигляд, що найбільш підходить</translation>
    478481    </message>
    479482    <message>
    480         <location filename="../src/mainwindow.cpp" line="352"/>
    481         <location filename="../src/mainwindow.cpp" line="361"/>
     483        <location filename="../src/mainwindow.cpp" line="356"/>
     484        <location filename="../src/mainwindow.cpp" line="365"/>
    482485        <source>Language change</source>
    483486        <translation>Зміна мови</translation>
    484487    </message>
    485488    <message>
    486         <location filename="../src/mainwindow.cpp" line="1151"/>
     489        <location filename="../src/mainwindow.cpp" line="1309"/>
    487490        <source>Unsaved Changes</source>
    488491        <translation>Незбережені зміни</translation>
    489492    </message>
    490493    <message>
    491         <location filename="../src/mainwindow.cpp" line="151"/>
     494        <location filename="../src/mainwindow.cpp" line="155"/>
    492495        <source>All Supported Formats</source>
    493496        <translation>Усі підтримувані формати</translation>
    494497    </message>
    495498    <message>
    496         <location filename="../src/mainwindow.cpp" line="154"/>
    497         <location filename="../src/mainwindow.cpp" line="218"/>
    498         <location filename="../src/mainwindow.cpp" line="1253"/>
     499        <location filename="../src/mainwindow.cpp" line="158"/>
     500        <location filename="../src/mainwindow.cpp" line="222"/>
     501        <location filename="../src/mainwindow.cpp" line="1411"/>
    499502        <source>All Files</source>
    500503        <translation>Усі файли</translation>
    501504    </message>
    502505    <message>
    503         <location filename="../src/mainwindow.cpp" line="152"/>
    504         <location filename="../src/mainwindow.cpp" line="153"/>
     506        <location filename="../src/mainwindow.cpp" line="156"/>
     507        <location filename="../src/mainwindow.cpp" line="157"/>
    505508        <source>%1 Task Files</source>
    506509        <translation>Файли умов %1</translation>
    507510    </message>
    508511    <message>
    509         <location filename="../src/mainwindow.cpp" line="1103"/>
     512        <location filename="../src/mainwindow.cpp" line="1261"/>
    510513        <source>Language Change</source>
    511514        <translation>Зміна мови</translation>
    512515    </message>
    513516    <message>
    514         <location filename="../src/mainwindow.cpp" line="212"/>
     517        <location filename="../src/mainwindow.cpp" line="216"/>
    515518        <source>PDF Files</source>
    516519        <translation>Файлы PDF</translation>
    517520    </message>
    518521    <message>
    519         <location filename="../src/mainwindow.cpp" line="214"/>
     522        <location filename="../src/mainwindow.cpp" line="218"/>
    520523        <source>HTML Files</source>
    521524        <translation>Файли HTML</translation>
    522525    </message>
    523526    <message>
    524         <location filename="../src/mainwindow.cpp" line="216"/>
     527        <location filename="../src/mainwindow.cpp" line="220"/>
    525528        <source>OpenDocument Files</source>
    526529        <translation>Файли OpenDocument</translation>
    527530    </message>
    528531    <message>
    529         <location filename="../src/mainwindow.cpp" line="681"/>
    530         <location filename="../src/mainwindow.cpp" line="688"/>
    531         <location filename="../src/mainwindow.cpp" line="910"/>
     532        <location filename="../src/mainwindow.cpp" line="807"/>
     533        <location filename="../src/mainwindow.cpp" line="814"/>
     534        <location filename="../src/mainwindow.cpp" line="1068"/>
    532535        <source>(%1;%2)</source>
    533536        <translation></translation>
    534537    </message>
    535538    <message numerus="yes">
    536         <location filename="../src/mainwindow.cpp" line="691"/>
     539        <location filename="../src/mainwindow.cpp" line="817"/>
    537540        <source>%n alternate candidate(s) for branching: %1.</source>
    538541        <translation>
     
    543546    </message>
    544547    <message numerus="yes">
    545         <location filename="../src/mainwindow.cpp" line="728"/>
     548        <location filename="../src/mainwindow.cpp" line="858"/>
    546549        <source>The price is &lt;b&gt;%n&lt;/b&gt; unit(s).</source>
    547550        <translation>
     
    552555    </message>
    553556    <message>
    554         <location filename="../src/mainwindow.cpp" line="921"/>
     557        <location filename="../src/mainwindow.cpp" line="1079"/>
    555558        <source>Root</source>
    556559        <translation>Корінь</translation>
    557560    </message>
    558561    <message>
    559         <location filename="../src/mainwindow.cpp" line="1122"/>
     562        <location filename="../src/mainwindow.cpp" line="1280"/>
    560563        <source>Set application style to %1</source>
    561564        <translation>Змінити вигляд додатку на %1</translation>
    562565    </message>
    563566    <message>
    564         <location filename="../src/mainwindow.cpp" line="1237"/>
     567        <location filename="../src/mainwindow.cpp" line="1395"/>
    565568        <source>Configure...</source>
    566569        <translation>Налаштувати...</translation>
    567570    </message>
    568571    <message>
    569         <location filename="../src/mainwindow.cpp" line="1239"/>
     572        <location filename="../src/mainwindow.cpp" line="1397"/>
    570573        <source>Customize toolbars</source>
    571574        <translation>Налаштування панелей інструментів</translation>
    572575    </message>
    573576    <message>
    574         <location filename="../src/mainwindow.cpp" line="1246"/>
     577        <location filename="../src/mainwindow.cpp" line="1404"/>
    575578        <source>Check for %1 updates</source>
    576579        <translation>Перевірити оновлення %1</translation>
    577580    </message>
    578581    <message>
    579         <location filename="../src/mainwindow.cpp" line="1252"/>
     582        <location filename="../src/mainwindow.cpp" line="1410"/>
    580583        <source>%1 Task File</source>
    581584        <translation>Файл умови %1</translation>
    582585    </message>
    583586    <message>
    584         <location filename="../src/mainwindow.cpp" line="341"/>
    585         <location filename="../src/mainwindow.cpp" line="381"/>
     587        <location filename="../src/mainwindow.cpp" line="345"/>
     588        <location filename="../src/mainwindow.cpp" line="385"/>
    586589        <source>Settings Changed</source>
    587590        <translation>Параметри змінено</translation>
    588591    </message>
    589592    <message>
    590         <location filename="../src/mainwindow.cpp" line="158"/>
     593        <location filename="../src/mainwindow.cpp" line="162"/>
    591594        <source>Task Load</source>
    592595        <translation>Завантаження умови</translation>
    593596    </message>
    594597    <message>
    595         <location filename="../src/mainwindow.cpp" line="255"/>
    596         <location filename="../src/mainwindow.cpp" line="270"/>
     598        <location filename="../src/mainwindow.cpp" line="259"/>
     599        <location filename="../src/mainwindow.cpp" line="274"/>
    597600        <source>Solution Graph</source>
    598601        <translation>Граф розв&apos;язку</translation>
    599602    </message>
    600603    <message>
    601         <location filename="../src/mainwindow.cpp" line="271"/>
     604        <location filename="../src/mainwindow.cpp" line="275"/>
    602605        <source>Generated with %1</source>
    603606        <translation>Створено за допомогою %1</translation>
    604607    </message>
    605608    <message>
    606         <location filename="../src/mainwindow.cpp" line="295"/>
     609        <location filename="../src/mainwindow.cpp" line="299"/>
    607610        <source>Unable to save the solution graph.
    608611Error: %1</source>
     
    611614    </message>
    612615    <message>
    613         <location filename="../src/mainwindow.cpp" line="426"/>
     616        <location filename="../src/mainwindow.cpp" line="430"/>
    614617        <source>Unsupported Feature</source>
    615618        <translation type="unfinished"></translation>
    616619    </message>
    617620    <message>
    618         <location filename="../src/mainwindow.cpp" line="426"/>
     621        <location filename="../src/mainwindow.cpp" line="430"/>
    619622        <source>Sorry, but this feature is not supported on your platform
    620623or support for this feature was not installed.</source>
     
    622625    </message>
    623626    <message>
    624         <location filename="../src/mainwindow.cpp" line="444"/>
     627        <location filename="../src/mainwindow.cpp" line="450"/>
    625628        <source>Version</source>
    626629        <translation>Версія</translation>
    627630    </message>
    628631    <message>
    629         <location filename="../src/mainwindow.cpp" line="453"/>
     632        <location filename="../src/mainwindow.cpp" line="459"/>
    630633        <source>Target OS (ARCH)</source>
    631634        <translation>Цільова ОС (архітектура)</translation>
    632635    </message>
    633636    <message>
    634         <location filename="../src/mainwindow.cpp" line="455"/>
    635         <location filename="../src/mainwindow.cpp" line="459"/>
     637        <location filename="../src/mainwindow.cpp" line="461"/>
     638        <location filename="../src/mainwindow.cpp" line="465"/>
    636639        <source>Qt library</source>
    637640        <translation>Бібліотека Qt</translation>
    638641    </message>
    639642    <message>
    640         <location filename="../src/mainwindow.cpp" line="455"/>
     643        <location filename="../src/mainwindow.cpp" line="461"/>
    641644        <source>shared</source>
    642645        <translation>динамічна</translation>
    643646    </message>
    644647    <message>
    645         <location filename="../src/mainwindow.cpp" line="456"/>
     648        <location filename="../src/mainwindow.cpp" line="462"/>
    646649        <source>Build time</source>
    647650        <translation>Часу збірки</translation>
    648651    </message>
    649652    <message>
    650         <location filename="../src/mainwindow.cpp" line="457"/>
     653        <location filename="../src/mainwindow.cpp" line="463"/>
    651654        <source>Runtime</source>
    652655        <translation>Часу виконання</translation>
    653656    </message>
    654657    <message>
    655         <location filename="../src/mainwindow.cpp" line="459"/>
     658        <location filename="../src/mainwindow.cpp" line="465"/>
    656659        <source>static</source>
    657660        <translation>статична</translation>
    658661    </message>
    659662    <message>
    660         <location filename="../src/mainwindow.cpp" line="461"/>
     663        <location filename="../src/mainwindow.cpp" line="467"/>
    661664        <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>
    662665        <translation>Збірка &lt;b&gt;%1&lt;/b&gt;, зібрана &lt;b&gt;%2&lt;/b&gt; о &lt;b&gt;%3&lt;/b&gt;</translation>
    663666    </message>
    664667    <message>
    665         <location filename="../src/mainwindow.cpp" line="462"/>
     668        <location filename="../src/mainwindow.cpp" line="468"/>
    666669        <source>Algorithm</source>
    667670        <translation>Алгоритм</translation>
    668671    </message>
    669672    <message>
    670         <location filename="../src/mainwindow.cpp" line="464"/>
    671         <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>
    672         <translation type="unfinished"></translation>
    673     </message>
    674     <message>
    675         <location filename="../src/mainwindow.cpp" line="587"/>
     673        <location filename="../src/mainwindow.cpp" line="470"/>
     674        <source>This program is free software: you can redistribute it and/or modify&lt;br&gt;
     675it under the terms of the GNU General Public License as published by&lt;br&gt;
     676the Free Software Foundation, either version 3 of the License, or&lt;br&gt;
     677(at your option) any later version.&lt;br&gt;
     678&lt;br&gt;
     679This program is distributed in the hope that it will be useful,&lt;br&gt;
     680but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br&gt;
     681MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br&gt;
     682GNU General Public License for more details.&lt;br&gt;
     683&lt;br&gt;
     684You should have received a copy of the GNU General Public License&lt;br&gt;
     685along with TSPSG.  If not, see &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;www.gnu.org/licenses/&lt;/a&gt;.</source>
     686        <translation type="unfinished">Ця програма - вільне програмне забезпечення. Ви можете розповсюджувати&lt;br&gt;
     687її та/або вносити зміни до неї відповідно до умов Загальної Громадської&lt;br&gt;
     688Ліцензії у тому вигляді, у якому вона була опублікована Фундацією&lt;br&gt;
     689Вільного Програмного Забезпечення; або версії 3 Ліцензії, або (на Ваш&lt;br&gt;
     690розсуд) будь-якої більш пізньої версії.&lt;br&gt;
     691&lt;br&gt;
     692Ця програма розповсюджується із сподіванням, що вона буде корисною,&lt;br&gt;
     693але БЕЗ БУДЬ-ЯКОЇ ҐАРАНТІЇ, без навіть УЯВНОЇ ҐАРАНТІЇ КОМЕРЦІЙНОЇ&lt;br&gt;
     694ПРИДАТНОСТІ чи ВІДПОВІДНОСТІ БУДЬ-ЯКОМУ ПЕВНОМУ ЗАСТОСУВАННЮ.&lt;br&gt;
     695Зверніться до Загальної Громадської Ліцензії GNU за подробицями.&lt;br&gt;
     696&lt;br&gt;
     697Ви мали отримати копію Загальної Громадської Ліцензії GNU разом з цією&lt;br&gt;
     698програмою. У разі її відсутності, зверніться до &lt;a href=&quot;http://www.gnu.org/licenses/&quot;&gt;www.gnu.org/licenses/&lt;/a&gt;.
     699</translation>
     700    </message>
     701    <message>
     702        <location filename="../src/mainwindow.cpp" line="484"/>
     703        <source>This software was created using LGPL version of &lt;b&gt;Qt framework&lt;/b&gt;,&lt;br&gt;
     704see &lt;a href=&quot;http://qt.nokia.com/&quot;&gt;qt.nokia.com&lt;/a&gt;&lt;br&gt;
     705&lt;br&gt;
     706Most icons used in this software are part of &lt;b&gt;Oxygen Icons&lt;/b&gt; project licensed according to the GNU Lesser General Public License,&lt;br&gt;
     707see &lt;a href=&quot;http://www.oxygen-icons.org/&quot;&gt;www.oxygen-icons.org&lt;/a&gt;&lt;br&gt;
     708&lt;br&gt;
     709Country flag icons used in this software are part of the free &lt;b&gt;Flag Icons&lt;/b&gt; collection created by &lt;b&gt;IconDrawer&lt;/b&gt;,&lt;br&gt;
     710see &lt;a href=&quot;http://www.icondrawer.com/&quot;&gt;www.icondrawer.com&lt;/a&gt;</source>
     711        <translation type="unfinished">Ця програма була створена за допомогою LGPL версії &lt;b&gt;Qt framework&lt;/b&gt;,&lt;br&gt;
     712дивіться &lt;a href=&quot;http://qt.nokia.com/&quot;&gt;qt.nokia.com&lt;/a&gt;&lt;br&gt;
     713&lt;br&gt;
     714Most icons used in this software are part of &lt;b&gt;Oxygen Icons&lt;/b&gt; project licensed according to the GNU Lesser General Public License,&lt;br&gt;
     715see &lt;a href=&quot;http://www.oxygen-icons.org/&quot;&gt;www.oxygen-icons.org&lt;/a&gt;&lt;br&gt;
     716&lt;br&gt;
     717Country flag icons used in this software are part of the free &lt;b&gt;Flag Icons&lt;/b&gt; collection created by &lt;b&gt;IconDrawer&lt;/b&gt;,&lt;br&gt;
     718see &lt;a href=&quot;http://www.icondrawer.com/&quot;&gt;www.icondrawer.com&lt;/a&gt;</translation>
     719    </message>
     720    <message>
     721        <location filename="../src/mainwindow.cpp" line="568"/>
     722        <source>About</source>
     723        <translation>Про</translation>
     724    </message>
     725    <message>
     726        <location filename="../src/mainwindow.cpp" line="569"/>
     727        <source>License</source>
     728        <translation>Ліцензія</translation>
     729    </message>
     730    <message>
     731        <location filename="../src/mainwindow.cpp" line="570"/>
     732        <source>Credits</source>
     733        <translation>Подяки</translation>
     734    </message>
     735    <message>
     736        <location filename="../src/mainwindow.cpp" line="633"/>
    676737        <source>Data error</source>
    677738        <translation>Помилка у даних</translation>
    678739    </message>
    679740    <message>
    680         <location filename="../src/mainwindow.cpp" line="587"/>
     741        <location filename="../src/mainwindow.cpp" line="633"/>
    681742        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    682743        <translation>Помилка у комірці  [Рядок %1; Колонка %2]: Невірний формат даних.</translation>
    683744    </message>
    684745    <message>
    685         <location filename="../src/mainwindow.cpp" line="601"/>
     746        <location filename="../src/mainwindow.cpp" line="651"/>
    686747        <source>Calculating optimal route...</source>
    687748        <translation>Обчислення оптимального шляху...</translation>
    688749    </message>
    689750    <message>
    690         <location filename="../src/mainwindow.cpp" line="602"/>
     751        <location filename="../src/mainwindow.cpp" line="652"/>
    691752        <source>Solution Progress</source>
    692753        <translation>Поступ розв&apos;язку</translation>
    693754    </message>
    694755    <message>
    695         <location filename="../src/mainwindow.cpp" line="616"/>
     756        <location filename="../src/mainwindow.cpp" line="696"/>
    696757        <source>Solution Result</source>
    697758        <translation>Результат розв&apos;язку</translation>
    698759    </message>
    699760    <message>
    700         <location filename="../src/mainwindow.cpp" line="616"/>
     761        <location filename="../src/mainwindow.cpp" line="696"/>
    701762        <source>Unable to find a solution.
    702763Maybe, this task has no solution.</source>
     
    705766    </message>
    706767    <message>
    707         <location filename="../src/mainwindow.cpp" line="619"/>
     768        <location filename="../src/mainwindow.cpp" line="722"/>
    708769        <source>Generating header</source>
    709770        <translation>Генерація заголовку</translation>
    710771    </message>
    711772    <message>
    712         <location filename="../src/mainwindow.cpp" line="625"/>
     773        <location filename="../src/mainwindow.cpp" line="733"/>
    713774        <source>Solution of Variant #%1 Task</source>
    714775        <translation>Розв&apos;язок завдання для варіанту №%1</translation>
    715776    </message>
    716777    <message>
    717         <location filename="../src/mainwindow.cpp" line="643"/>
     778        <location filename="../src/mainwindow.cpp" line="751"/>
    718779        <source>Task:</source>
    719780        <translation>Умова:</translation>
    720781    </message>
    721782    <message>
    722         <location filename="../src/mainwindow.cpp" line="240"/>
    723         <location filename="../src/mainwindow.cpp" line="295"/>
    724         <location filename="../src/mainwindow.cpp" line="309"/>
     783        <location filename="../src/mainwindow.cpp" line="244"/>
     784        <location filename="../src/mainwindow.cpp" line="299"/>
     785        <location filename="../src/mainwindow.cpp" line="313"/>
    725786        <source>Solution Save</source>
    726787        <translation>Збереження розв&apos;язку</translation>
    727788    </message>
    728789    <message>
    729         <location filename="../src/mainwindow.cpp" line="240"/>
    730         <location filename="../src/mainwindow.cpp" line="309"/>
     790        <location filename="../src/mainwindow.cpp" line="244"/>
     791        <location filename="../src/mainwindow.cpp" line="313"/>
    731792        <source>Unable to save the solution.
    732793Error: %1</source>
     
    735796    </message>
    736797    <message>
    737         <location filename="../src/mainwindow.cpp" line="341"/>
     798        <location filename="../src/mainwindow.cpp" line="345"/>
    738799        <source>You have changed color settings.
    739800They will be applied to the next solution output.</source>
     
    742803    </message>
    743804    <message>
    744         <location filename="../src/mainwindow.cpp" line="352"/>
     805        <location filename="../src/mainwindow.cpp" line="356"/>
    745806        <source>Language will be autodetected on the next %1 start.</source>
    746807        <translation>Мову буде автоматично визначено при наступному запуску %1.</translation>
    747808    </message>
    748809    <message>
    749         <location filename="../src/mainwindow.cpp" line="381"/>
     810        <location filename="../src/mainwindow.cpp" line="385"/>
    750811        <source>You have changed the application language.
    751812To get current solution output in the new language
     
    756817    </message>
    757818    <message>
    758         <location filename="../src/mainwindow.cpp" line="389"/>
     819        <location filename="../src/mainwindow.cpp" line="393"/>
    759820        <source>Style Change</source>
    760821        <translation>Зміна вигляду</translation>
    761822    </message>
    762823    <message>
    763         <location filename="../src/mainwindow.cpp" line="389"/>
     824        <location filename="../src/mainwindow.cpp" line="393"/>
    764825        <source>To apply the default style you need to restart %1.</source>
    765826        <translation>Щоб застосувати вигляд за промовчанням необхідно перзапустити %1.</translation>
    766827    </message>
    767828    <message>
    768         <location filename="../src/mainwindow.cpp" line="544"/>
     829        <location filename="../src/mainwindow.cpp" line="579"/>
     830        <source>Translation</source>
     831        <translation>Переклад</translation>
     832    </message>
     833    <message>
     834        <location filename="../src/mainwindow.cpp" line="589"/>
    769835        <source>About %1</source>
    770836        <translation>Про %1</translation>
    771837    </message>
    772838    <message>
    773         <location filename="../src/mainwindow.cpp" line="597"/>
     839        <location filename="../src/mainwindow.cpp" line="643"/>
    774840        <source>%v of %1 parts found</source>
    775841        <translation>Знайдено %v з %1 переходів</translation>
    776842    </message>
    777843    <message>
    778         <location filename="../src/mainwindow.cpp" line="620"/>
     844        <location filename="../src/mainwindow.cpp" line="723"/>
    779845        <source>Generating solution output...</source>
    780846        <translation>Генерація тексту розв&apos;язку...</translation>
    781847    </message>
    782848    <message>
    783         <location filename="../src/mainwindow.cpp" line="641"/>
     849        <location filename="../src/mainwindow.cpp" line="749"/>
    784850        <source>Variant #%1 Task</source>
    785851        <translation>Умова варіанту №%1</translation>
    786852    </message>
    787853    <message>
    788         <location filename="../src/mainwindow.cpp" line="654"/>
     854        <location filename="../src/mainwindow.cpp" line="762"/>
    789855        <source>Variant #%1 Solution</source>
    790856        <translation>Розв&apos;язок варіанту №%1</translation>
    791857    </message>
    792858    <message>
    793         <location filename="../src/mainwindow.cpp" line="659"/>
     859        <location filename="../src/mainwindow.cpp" line="767"/>
    794860        <source>Generating step %v</source>
    795861        <translation>Генерація кроку %v</translation>
    796862    </message>
    797863    <message>
    798         <location filename="../src/mainwindow.cpp" line="676"/>
     864        <location filename="../src/mainwindow.cpp" line="802"/>
    799865        <source>Step #%1</source>
    800866        <translation>Крок №%1</translation>
    801867    </message>
    802868    <message>
    803         <location filename="../src/mainwindow.cpp" line="681"/>
     869        <location filename="../src/mainwindow.cpp" line="807"/>
    804870        <source>Selected route %1 %2 part.</source>
    805871        <translation>Обрано шлях %1 %2.</translation>
    806872    </message>
    807873    <message>
    808         <location filename="../src/mainwindow.cpp" line="681"/>
     874        <location filename="../src/mainwindow.cpp" line="807"/>
    809875        <source>with</source>
    810876        <translation>з переходом</translation>
    811877    </message>
    812878    <message>
    813         <location filename="../src/mainwindow.cpp" line="681"/>
     879        <location filename="../src/mainwindow.cpp" line="807"/>
    814880        <source>without</source>
    815881        <translation>без переходу</translation>
    816882    </message>
    817883    <message>
    818         <location filename="../src/mainwindow.cpp" line="713"/>
     884        <location filename="../src/mainwindow.cpp" line="839"/>
    819885        <source>Generating footer</source>
    820886        <translation>Генерація закінчення</translation>
    821887    </message>
    822888    <message>
    823         <location filename="../src/mainwindow.cpp" line="719"/>
     889        <location filename="../src/mainwindow.cpp" line="849"/>
    824890        <source>Optimal path:</source>
    825891        <translation>Оптимальний шлях:</translation>
    826892    </message>
    827893    <message>
    828         <location filename="../src/mainwindow.cpp" line="721"/>
     894        <location filename="../src/mainwindow.cpp" line="851"/>
    829895        <source>Resulting path:</source>
    830896        <translation>Знайдений шлях:</translation>
    831897    </message>
    832898    <message>
    833         <location filename="../src/mainwindow.cpp" line="724"/>
     899        <location filename="../src/mainwindow.cpp" line="854"/>
    834900        <source>City %1</source>
    835901        <translation>Місто %1</translation>
    836902    </message>
    837903    <message>
    838         <location filename="../src/mainwindow.cpp" line="730"/>
     904        <location filename="../src/mainwindow.cpp" line="860"/>
    839905        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    840906        <translation>Вартість - &lt;b&gt;%1&lt;/b&gt; одиниць.</translation>
    841907    </message>
    842908    <message>
    843         <location filename="../src/mainwindow.cpp" line="735"/>
     909        <location filename="../src/mainwindow.cpp" line="865"/>
    844910        <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>
    845911        <translation>&lt;b&gt;Увага!!!&lt;/b&gt;&lt;br&gt;Знайдений розв&apos;язок є рекордом, але може бути неоптимальним.&lt;br&gt;Для отримання оптимального розв&apos;язку, або перевірки поточного на оптимальність, потрібно продовжити ітерації.</translation>
    846912    </message>
    847913    <message>
    848         <location filename="../src/mainwindow.cpp" line="662"/>
    849         <location filename="../src/mainwindow.cpp" line="762"/>
     914        <location filename="../src/mainwindow.cpp" line="698"/>
     915        <location filename="../src/mainwindow.cpp" line="770"/>
     916        <location filename="../src/mainwindow.cpp" line="892"/>
    850917        <source>Cleaning up...</source>
    851918        <translation>Очищення...</translation>
    852919    </message>
    853920    <message>
    854         <location filename="../src/mainwindow.cpp" line="1103"/>
     921        <location filename="../src/mainwindow.cpp" line="1261"/>
    855922        <source>Unable to load the translation language.
    856923Falling back to autodetection.</source>
     
    859926    </message>
    860927    <message>
    861         <location filename="../src/mainwindow.cpp" line="1151"/>
     928        <location filename="../src/mainwindow.cpp" line="1309"/>
    862929        <source>Would you like to save changes in the current task?</source>
    863930        <translation>Бажаете зберегти зміни у поточній задачі?</translation>
    864931    </message>
    865932    <message>
    866         <location filename="../src/mainwindow.cpp" line="1024"/>
     933        <location filename="../src/mainwindow.cpp" line="1182"/>
    867934        <source>Set application language to %1</source>
    868935        <translation>Змінити мову додатку на %1</translation>
    869936    </message>
    870937    <message>
    871         <location filename="../src/mainwindow.cpp" line="1244"/>
     938        <location filename="../src/mainwindow.cpp" line="1402"/>
    872939        <source>Check for &amp;Updates...</source>
    873940        <translation>Перевірити &amp;оновлення...</translation>
    874941    </message>
    875942    <message>
    876         <location filename="../src/mainwindow.cpp" line="1261"/>
     943        <location filename="../src/mainwindow.cpp" line="1419"/>
    877944        <source>Task Save</source>
    878945        <translation>Збереження умови</translation>
    879946    </message>
    880947    <message>
    881         <location filename="../src/mainwindow.cpp" line="361"/>
     948        <location filename="../src/mainwindow.cpp" line="365"/>
    882949        <source>You have language autodetection turned on.
    883950It needs to be off.
     
    888955    </message>
    889956    <message>
    890         <location filename="../src/mainwindow.cpp" line="172"/>
    891         <location filename="../src/mainwindow.cpp" line="196"/>
    892         <location filename="../src/mainwindow.cpp" line="366"/>
    893         <location filename="../src/mainwindow.h" line="141"/>
     957        <location filename="../src/mainwindow.cpp" line="176"/>
     958        <location filename="../src/mainwindow.cpp" line="200"/>
     959        <location filename="../src/mainwindow.cpp" line="370"/>
     960        <location filename="../src/mainwindow.h" line="152"/>
    894961        <source>Untitled</source>
    895962        <translation>Без імені</translation>
     963    </message>
     964</context>
     965<context>
     966    <name>QProgressDialog</name>
     967    <message>
     968        <location filename="../src/mainwindow.cpp" line="647"/>
     969        <source>Cancel</source>
     970        <comment>No need to translate this. This translation will be taken from Qt translation files.</comment>
     971        <translation type="unfinished"></translation>
    896972    </message>
    897973</context>
  • trunk/resources/common.qrc

    r123 r124  
    1818        <file>icons/roll.png</file>
    1919    </qresource>
     20    <qresource prefix="/files">
     21        <file>COPYING</file>
     22    </qresource>
    2023</RCC>
  • trunk/src/mainwindow.cpp

    r123 r124  
    2323
    2424#include "mainwindow.h"
     25
     26#ifdef Q_OS_WIN32
     27        #include "shobjidl.h"
     28#endif
    2529
    2630#ifdef _T_T_L_
     
    436440void MainWindow::actionHelpAboutTriggered()
    437441{
     442        QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
     443
    438444QString title;
    439445#ifdef HANDHELD
     
    462468        about += QString("%1: <b>%2</b><br>").arg(tr("Algorithm"), CTSPSolver::getVersionId());
    463469        about += "<br>";
    464         about += tr("TSPSG is free software: you can redistribute it and/or modify it<br>"
    465                 "under the terms of the GNU General Public License as published<br>"
    466                 "by the Free Software Foundation, either version 3 of the License,<br>"
    467                 "or (at your option) any later version.<br>"
    468                 "<br>"
    469                 "TSPSG is distributed in the hope that it will be useful, but<br>"
    470                 "WITHOUT ANY WARRANTY; without even the implied warranty of<br>"
    471                 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>"
    472                 "GNU General Public License for more details.<br>"
    473                 "<br>"
    474                 "You should have received a copy of the GNU General Public License<br>"
    475                 "along with TSPSG.  If not, see <a href=\"http://www.gnu.org/licenses/\">http://www.gnu.org/licenses/</a>.");
     470        about += tr("This program is free software: you can redistribute it and/or modify<br>\n"
     471                "it under the terms of the GNU General Public License as published by<br>\n"
     472                "the Free Software Foundation, either version 3 of the License, or<br>\n"
     473                "(at your option) any later version.<br>\n"
     474                "<br>\n"
     475                "This program is distributed in the hope that it will be useful,<br>\n"
     476                "but WITHOUT ANY WARRANTY; without even the implied warranty of<br>\n"
     477                "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>\n"
     478                "GNU General Public License for more details.<br>\n"
     479                "<br>\n"
     480                "You should have received a copy of the GNU General Public License<br>\n"
     481                "along with TSPSG.  If not, see <a href=\"http://www.gnu.org/licenses/\">www.gnu.org/licenses/</a>.");
     482
     483QString credits;
     484        credits += tr("This software was created using LGPL version of <b>Qt framework</b>,<br>\n"
     485                "see <a href=\"http://qt.nokia.com/\">qt.nokia.com</a><br>\n"
     486                "<br>\n"
     487                "Most icons used in this software are part of <b>Oxygen Icons</b> project "
     488                "licensed according to the GNU Lesser General Public License,<br>\n"
     489                "see <a href=\"http://www.oxygen-icons.org/\">www.oxygen-icons.org</a><br>\n"
     490                "<br>\n"
     491                "Country flag icons used in this software are part of the free "
     492                "<b>Flag Icons</b> collection created by <b>IconDrawer</b>,<br>\n"
     493                "see <a href=\"http://www.icondrawer.com/\">www.icondrawer.com</a>");
     494
     495QFile f(":/files/COPYING");
     496        f.open(QIODevice::ReadOnly);
     497
     498QString translation = QApplication::translate("--------", "AUTHORS %1", "Please, provide translator credits here. %1 will be replaced with VERSION");
     499        if ((translation != "AUTHORS %1") && (translation.contains("%1"))) {
     500QString about = QApplication::translate("--------", "VERSION", "Please, provide your translation version here.");
     501                if (about != "VERSION")
     502                        translation = translation.arg(about);
     503        }
    476504
    477505QDialog *dlg = new QDialog(this);
    478506QLabel *lblIcon = new QLabel(dlg),
    479         *lblTitle = new QLabel(dlg),
    480         *lblTranslated = new QLabel(dlg);
     507        *lblTitle = new QLabel(dlg);
    481508#ifdef HANDHELD
    482509QLabel *lblSubTitle = new QLabel(QString("<b>&copy; 2007-%1 <a href=\"http://%2/\">%3</a></b>").arg(QDate::currentDate().toString("yyyy"), QApplication::organizationDomain(), QApplication::organizationName()), dlg);
    483510#endif // HANDHELD
     511QTabWidget *tabs = new QTabWidget(dlg);
    484512QTextBrowser *txtAbout = new QTextBrowser(dlg);
     513QTextBrowser *txtLicense = new QTextBrowser(dlg);
     514QTextBrowser *txtCredits = new QTextBrowser(dlg);
    485515QVBoxLayout *vb = new QVBoxLayout();
    486516QHBoxLayout *hb1 = new QHBoxLayout(),
     
    509539        txtAbout->setHtml(about);
    510540        txtAbout->moveCursor(QTextCursor::Start);
    511 #ifndef HANDHELD
    512         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()));
    513 #endif // HANDHELD
     541        txtAbout->setFrameShape(QFrame::NoFrame);
     542
     543//      txtCredits->setWordWrapMode(QTextOption::NoWrap);
     544        txtCredits->setOpenExternalLinks(true);
     545        txtCredits->setHtml(credits);
     546        txtCredits->moveCursor(QTextCursor::Start);
     547        txtCredits->setFrameShape(QFrame::NoFrame);
     548
     549        txtLicense->setWordWrapMode(QTextOption::NoWrap);
     550        txtLicense->setOpenExternalLinks(true);
     551        txtLicense->setText(f.readAll());
     552        txtLicense->moveCursor(QTextCursor::Start);
     553        txtLicense->setFrameShape(QFrame::NoFrame);
    514554
    515555        bb->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor));
    516 
    517         lblTranslated->setText(QApplication::translate("--------", "AUTHORS", "Please, provide translator credits here."));
    518         if (lblTranslated->text() == "AUTHORS")
    519                 lblTranslated->hide();
    520         else {
    521                 lblTranslated->setOpenExternalLinks(true);
    522 #ifndef HANDHELD
    523                 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()));
    524 #endif // HANDHELD
    525                 hb2->addWidget(lblTranslated);
    526         }
    527 
    528         // This one isn't displayed anywhere, yet. Provided as a placeholder for future use.
    529         QApplication::translate("--------", "VERSION", "Please, provide your translation version here.");
    530556
    531557        hb2->addWidget(bb);
     
    538564        vb->addWidget(lblSubTitle);
    539565#endif // HANDHELD
    540         vb->addWidget(txtAbout);
     566
     567        tabs->addTab(txtAbout, tr("About"));
     568        tabs->addTab(txtLicense, tr("License"));
     569        tabs->addTab(txtCredits, tr("Credits"));
     570        if (translation != "AUTHORS %1") {
     571QTextBrowser *txtTranslation = new QTextBrowser(dlg);
     572//              txtTranslation->setWordWrapMode(QTextOption::NoWrap);
     573                txtTranslation->setOpenExternalLinks(true);
     574                txtTranslation->setText(translation);
     575                txtTranslation->moveCursor(QTextCursor::Start);
     576                txtTranslation->setFrameShape(QFrame::NoFrame);
     577
     578                tabs->addTab(txtTranslation, tr("Translation"));
     579        }
     580#ifndef HANDHELD
     581        tabs->setStyleSheet(QString("QTabWidget::pane {background-color: %1; border-color: %3; border-width: 1px; border-style: solid; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 1px;} QTabBar::tab {background-color: %2; border-color: %3; border-width: 1px; border-style: solid; border-bottom: none; border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 2px 6px;} QTabBar::tab:selected {background-color: %4;} QTabBar::tab:!selected {margin-top: 1px;}").arg(palette().base().color().name(), palette().button().color().name(), palette().shadow().color().name(), palette().light().color().name()));
     582#endif // HANDHELD
     583
     584        vb->addWidget(tabs);
    541585        vb->addLayout(hb2);
    542586
     
    556600
    557601        dlg->resize(450, 350);
     602        QApplication::restoreOverrideCursor();
    558603
    559604        dlg->exec();
     
    597642        pb->setFormat(tr("%v of %1 parts found").arg(n));
    598643        pd.setBar(pb);
     644QPushButton *cancel = new QPushButton(&pd);
     645        cancel->setIcon(QIcon::fromTheme("dialog-cancel", QIcon(":/images/icons/dialog-cancel.png")));
     646        cancel->setText(QApplication::translate("QProgressDialog", "Cancel", "No need to translate this. This translation will be taken from Qt translation files."));
     647        pd.setCancelButton(cancel);
    599648        pd.setMaximum(n);
    600649        pd.setAutoReset(false);
     
    605654        pd.show();
    606655
     656#ifdef Q_OS_WIN32
     657HRESULT hr = CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_ITaskbarList3, (LPVOID*)&tl);
     658        if (SUCCEEDED(hr)) {
     659                hr = tl->HrInit();
     660                if (FAILED(hr)) {
     661                        tl->Release();
     662                        tl = NULL;
     663                } else {
     664//                      tl->SetProgressState(winId(), TBPF_INDETERMINATE);
     665                        tl->SetProgressValue(winId(), 0, n * 2);
     666                }
     667        }
     668#endif
     669
    607670CTSPSolver solver;
     671        solver.setCleanupOnCancel(false);
    608672        connect(&solver, SIGNAL(routePartFound(int)), &pd, SLOT(setValue(int)));
    609673        connect(&pd, SIGNAL(canceled()), &solver, SLOT(cancel()));
     674#ifdef Q_OS_WIN32
     675        if (tl != NULL)
     676                connect(&solver, SIGNAL(routePartFound(int)), SLOT(solverRoutePartFound(int)));
     677#endif
    610678SStep *root = solver.solve(n, matrix);
     679#ifdef Q_OS_WIN32
     680        if (tl != NULL)
     681                disconnect(&solver, SIGNAL(routePartFound(int)), this, SLOT(solverRoutePartFound(int)));
     682#endif
    611683        disconnect(&solver, SIGNAL(routePartFound(int)), &pd, SLOT(setValue(int)));
    612684        disconnect(&pd, SIGNAL(canceled()), &solver, SLOT(cancel()));
    613685        if (!root) {
    614686                pd.reset();
    615                 if (!solver.wasCanceled())
     687                if (!solver.wasCanceled()) {
     688#ifdef Q_OS_WIN32
     689                        if (tl != NULL) {
     690//                              tl->SetProgressValue(winId(), n, n * 2);
     691                                tl->SetProgressState(winId(), TBPF_ERROR);
     692                        }
     693#endif
     694                        QApplication::alert(this);
    616695                        QMessageBox::warning(this, tr("Solution Result"), tr("Unable to find a solution.\nMaybe, this task has no solution."));
     696                }
     697                pd.setLabelText(tr("Cleaning up..."));
     698                pd.setMaximum(0);
     699                pd.setCancelButton(NULL);
     700                pd.show();
     701#ifdef Q_OS_WIN32
     702                if (tl != NULL)
     703                        tl->SetProgressState(winId(), TBPF_INDETERMINATE);
     704#endif
     705                QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
     706
     707QFuture<void> f = QtConcurrent::run(&solver, &CTSPSolver::cleanup, false);
     708                while (!f.isFinished()) {
     709                        QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
     710                }
     711                pd.reset();
     712#ifdef Q_OS_WIN32
     713                if (tl != NULL) {
     714                        tl->SetProgressState(winId(), TBPF_NOPROGRESS);
     715                        tl->Release();
     716                        tl = NULL;
     717                }
     718#endif
    617719                return;
    618720        }
     
    621723        pd.setMaximum(solver.getTotalSteps() + 1);
    622724        pd.setValue(0);
     725
     726#ifdef Q_OS_WIN32
     727        if (tl != NULL)
     728                tl->SetProgressValue(winId(), spinCities->value(), spinCities->value() + solver.getTotalSteps() + 1);
     729#endif
    623730
    624731        solutionText->clear();
     
    665772                        pd.show();
    666773                        QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
    667                         solver.cleanup(true);
     774#ifdef Q_OS_WIN32
     775                        if (tl != NULL)
     776                                tl->SetProgressState(winId(), TBPF_INDETERMINATE);
     777#endif
     778QFuture<void> f = QtConcurrent::run(&solver, &CTSPSolver::cleanup, false);
     779                        while (!f.isFinished()) {
     780                                QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
     781                        }
    668782                        solutionText->clear();
    669783                        toggleSolutionActions(false);
     784#ifdef Q_OS_WIN32
     785                        if (tl != NULL) {
     786                                tl->SetProgressState(winId(), TBPF_NOPROGRESS);
     787                                tl->Release();
     788                                tl = NULL;
     789                        }
     790#endif
    670791                        return;
    671792                }
    672793                pd.setValue(n);
     794#ifdef Q_OS_WIN32
     795                if (tl != NULL)
     796                        tl->SetProgressValue(winId(), spinCities->value() + n, spinCities->value() + solver.getTotalSteps() + 1);
     797#endif
    673798
    674799                cur.beginEditBlock();
     
    713838        pb->setFormat(tr("Generating footer"));
    714839        pd.setValue(n);
     840#ifdef Q_OS_WIN32
     841        if (tl != NULL)
     842                tl->SetProgressValue(winId(), spinCities->value() + n, spinCities->value() + solver.getTotalSteps() + 1);
     843#endif
    715844
    716845        cur.beginEditBlock();
     
    764893        pd.setCancelButton(NULL);
    765894        QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
    766         solver.cleanup(true);
     895#ifdef Q_OS_WIN32
     896        if (tl != NULL)
     897                tl->SetProgressState(winId(), TBPF_INDETERMINATE);
     898#endif
     899QFuture<void> f = QtConcurrent::run(&solver, &CTSPSolver::cleanup, false);
     900        while (!f.isFinished()) {
     901                QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
     902        }
    767903        toggleSolutionActions();
    768904        tabWidget->setCurrentIndex(1);
     905#ifdef Q_OS_WIN32
     906        if (tl != NULL) {
     907                tl->SetProgressState(winId(), TBPF_NOPROGRESS);
     908                tl->Release();
     909                tl = NULL;
     910        }
     911#endif
     912
     913        pd.reset();
     914        QApplication::alert(this, 3000);
    769915}
    770916
     
    833979}
    834980#endif // QT_NO_PRINTER
     981
     982#ifdef Q_OS_WIN32
     983void MainWindow::solverRoutePartFound(int n)
     984{
     985#ifdef Q_OS_WIN32
     986        tl->SetProgressValue(winId(), n, spinCities->value() * 2);
     987#else
     988        Q_UNUSED(n);
     989#endif // Q_OS_WIN32
     990}
     991#endif // Q_OS_WIN32
    835992
    836993void MainWindow::spinCitiesValueChanged(int n)
  • trunk/src/mainwindow.h

    r118 r124  
    3535
    3636#include "tspmodel.h"
     37
     38#ifdef Q_OS_WIN32
     39        // Forward declaration. A real one is in shobjidl.h
     40        struct ITaskbarList3;
     41#endif
    3742
    3843using namespace TSPSolver;
     
    8893        void printPreview(QPrinter *printer);
    8994#endif // QT_NO_PRINTER
     95#ifdef Q_OS_WIN32
     96        void solverRoutePartFound(int n);
     97#endif // Q_OS_WIN32
    9098        void spinCitiesValueChanged(int nCities);
    9199
     
    111119        QRect currentGeometry;
    112120#endif // Q_OS_WINCE_WM
     121
     122#ifdef Q_OS_WIN32
     123        ITaskbarList3 *tl;
     124#endif // Q_OS_WIN32
    113125
    114126        // The solution graph SVG
  • trunk/src/tspsolver.cpp

    r116 r124  
    4343 */
    4444CTSPSolver::CTSPSolver(QObject *parent)
    45         : QObject(parent), nCities(0), total(0), root(NULL) {}
     45        : QObject(parent), cc(true), nCities(0), total(0), root(NULL) {}
    4646
    4747/*!
     
    5151 * \note It is not required to call this function manually. This function is always called by solve() at the beginning of the solution process.
    5252 *
    53  * \sa solve()
     53 * \sa solve(), setCleanupOnCancel()
    5454 */
    5555void CTSPSolver::cleanup(bool processEvents)
    5656{
    57 #ifdef QAPPLICATION_H
    58         if (!processEvents)
    59                 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
    60 #endif
    6157        route.clear();
    6258        mayNotBeOptimal = false;
    6359        if (root != NULL)
    6460                deleteTree(root, processEvents);
    65 #ifdef QAPPLICATION_H
    66         if (!processEvents)
    67                 QApplication::restoreOverrideCursor();
    68 #endif
    6961}
    7062
     
    115107{
    116108        return !mayNotBeOptimal;
     109}
     110
     111/*!
     112 * \brief Sets whether or not to call cleanup() on solution cancel.
     113 * \param enable Set to \c true to enable clenup (default).
     114 *
     115 *  This may be useful if you want to make cleanup yourself or provide indication of clenup to user.
     116 *
     117 * \note Please, note that cleanup() is explicitly called at the start of each solution.
     118 *       Disabling cleanup and forgetting to do it manually may considerably increase the solution time for large tasks (with more than 15 cities).
     119 * \sa cleanup()
     120 */
     121void CTSPSolver::setCleanupOnCancel(bool enable)
     122{
     123        cc = enable;
    117124}
    118125
     
    174181                locker.relock();
    175182                if ((nRow == -1) || (nCol == -1) || canceled) {
    176                         cleanup();
     183                        if (canceled && cc)
     184                                cleanup();
    177185                        return NULL;
    178186                }
  • trunk/src/tspsolver.h

    r116 r124  
    113113        CTSPSolver(QObject *parent = NULL);
    114114        void cleanup(bool processEvents = false);
    115         QString getSortedPath(const QString &city, const QString &separator = " -> ") const;
     115        QString getSortedPath(const QString &city, const QString &separator = QString(" -> ")) const;
    116116        int getTotalSteps() const;
    117117        bool isOptimal() const;
     118        void setCleanupOnCancel(bool enable = true);
    118119        SStep *solve(int numCities, const TMatrix &task);
    119120        bool wasCanceled() const;
     
    131132
    132133private:
    133         bool mayNotBeOptimal, canceled;
     134        bool mayNotBeOptimal, canceled, cc;
    134135        int nCities, total;
    135136        SStep *root;
  • trunk/tspsg.pro

    r122 r124  
    9191}
    9292
     93win32:LIBS += -lole32
     94
    9395# Include file(s)
    9496include(tspsg.pri)
Note: See TracChangeset for help on using the changeset viewer.