Changeset 281303f1f7 in tspsg


Ignore:
Timestamp:
Aug 21, 2009, 2:28:30 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
2fb523720a
Parents:
6dfdef0c3e
Message:

Unified settingsdialog.ui and settingsdialog.ce.ui into settingsdialog.ui. Differences between WinCE and non-WinCE versions are now generated in the constructor.

Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • i18n/en.ts

    r6dfdef0c3e r281303f1f7  
    140140    <name>MainWindow</name>
    141141    <message>
    142         <location filename="../src/mainwindow.cpp" line="543"/>
    143         <location filename="../src/mainwindow.cpp" line="552"/>
     142        <location filename="../src/mainwindow.cpp" line="558"/>
     143        <location filename="../src/mainwindow.cpp" line="567"/>
    144144        <source>Language change</source>
    145145        <translation type="unfinished"></translation>
     
    184184    <message>
    185185        <location filename="../src/mainwindow.cpp" line="239"/>
    186         <location filename="../src/mainwindow.cpp" line="289"/>
    187         <location filename="../src/mainwindow.cpp" line="323"/>
     186        <location filename="../src/mainwindow.cpp" line="297"/>
     187        <location filename="../src/mainwindow.cpp" line="341"/>
    188188        <source>All Files</source>
    189189        <translation type="unfinished"></translation>
    190190    </message>
    191191    <message>
    192         <location filename="../src/mainwindow.cpp" line="285"/>
     192        <location filename="../src/mainwindow.cpp" line="291"/>
     193        <source>PDF Files</source>
     194        <translation type="unfinished"></translation>
     195    </message>
     196    <message>
     197        <location filename="../src/mainwindow.cpp" line="293"/>
    193198        <source>HTML Files</source>
    194199        <translation type="unfinished"></translation>
    195200    </message>
    196201    <message>
    197         <location filename="../src/mainwindow.cpp" line="287"/>
     202        <location filename="../src/mainwindow.cpp" line="295"/>
    198203        <source>OpenDocument Files</source>
    199204        <translation type="unfinished"></translation>
    200205    </message>
    201206    <message>
    202         <location filename="../src/mainwindow.cpp" line="322"/>
     207        <location filename="../src/mainwindow.cpp" line="340"/>
    203208        <source>%1 Task File</source>
    204209        <translation type="unfinished"></translation>
    205210    </message>
    206211    <message>
    207         <location filename="../src/mainwindow.cpp" line="353"/>
     212        <location filename="../src/mainwindow.cpp" line="371"/>
    208213        <source>Settings Changed</source>
    209214        <translation type="unfinished"></translation>
    210215    </message>
    211216    <message>
    212         <location filename="../src/mainwindow.cpp" line="353"/>
     217        <location filename="../src/mainwindow.cpp" line="371"/>
    213218        <source>You have changed color settings.
    214219Do you wish to apply them to current solution text?</source>
     
    216221    </message>
    217222    <message>
    218         <location filename="../src/mainwindow.cpp" line="438"/>
     223        <location filename="../src/mainwindow.cpp" line="456"/>
    219224        <source>Data error</source>
    220225        <translation type="unfinished"></translation>
    221226    </message>
    222227    <message>
    223         <location filename="../src/mainwindow.cpp" line="438"/>
     228        <location filename="../src/mainwindow.cpp" line="456"/>
    224229        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    225230        <translation type="unfinished"></translation>
    226231    </message>
    227232    <message>
    228         <location filename="../src/mainwindow.cpp" line="454"/>
     233        <location filename="../src/mainwindow.cpp" line="469"/>
    229234        <source>Variant #%1</source>
    230235        <translation type="unfinished"></translation>
    231236    </message>
    232237    <message>
    233         <location filename="../src/mainwindow.cpp" line="455"/>
     238        <location filename="../src/mainwindow.cpp" line="470"/>
    234239        <source>Task:</source>
    235240        <translation type="unfinished"></translation>
    236241    </message>
    237242    <message>
    238         <location filename="../src/mainwindow.cpp" line="458"/>
    239         <location filename="../src/mainwindow.cpp" line="484"/>
     243        <location filename="../src/mainwindow.cpp" line="473"/>
     244        <location filename="../src/mainwindow.cpp" line="499"/>
    240245        <source>Solution of Variant #%1 task</source>
    241246        <translation type="unfinished"></translation>
    242247    </message>
    243248    <message>
    244         <location filename="../src/mainwindow.cpp" line="465"/>
     249        <location filename="../src/mainwindow.cpp" line="480"/>
    245250        <source>Step #%1</source>
    246251        <translation type="unfinished"></translation>
    247252    </message>
    248253    <message>
    249         <location filename="../src/mainwindow.cpp" line="468"/>
     254        <location filename="../src/mainwindow.cpp" line="483"/>
    250255        <source>This step has alternate candidates for branching.</source>
    251256        <translation type="unfinished"></translation>
    252257    </message>
    253258    <message>
    254         <location filename="../src/mainwindow.cpp" line="480"/>
     259        <location filename="../src/mainwindow.cpp" line="495"/>
    255260        <source>Optimal path:</source>
    256261        <translation type="unfinished"></translation>
    257262    </message>
    258263    <message>
    259         <location filename="../src/mainwindow.cpp" line="482"/>
     264        <location filename="../src/mainwindow.cpp" line="497"/>
    260265        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    261266        <translation type="unfinished"></translation>
    262267    </message>
    263268    <message>
    264         <location filename="../src/mainwindow.cpp" line="543"/>
     269        <location filename="../src/mainwindow.cpp" line="558"/>
    265270        <source>Language will be autodetected on next application start.</source>
    266271        <translation type="unfinished"></translation>
    267272    </message>
    268273    <message>
    269         <location filename="../src/mainwindow.cpp" line="552"/>
     274        <location filename="../src/mainwindow.cpp" line="567"/>
    270275        <source>You have language autodetection turned on.
    271276It needs to be off.
     
    274279    </message>
    275280    <message>
     281        <location filename="../src/mainwindow.h" line="78"/>
    276282        <location filename="../src/mainwindow.cpp" line="263"/>
    277         <location filename="../src/mainwindow.cpp" line="557"/>
    278         <location filename="../src/mainwindow.h" line="78"/>
     283        <location filename="../src/mainwindow.cpp" line="572"/>
    279284        <source>Untitled</source>
    280285        <translation type="unfinished"></translation>
     
    657662    <name>SettingsDialog</name>
    658663    <message>
    659         <location filename="../ui/settingsdialog.ce.ui" line="14"/>
    660664        <location filename="../ui/settingsdialog.ui" line="14"/>
    661665        <source>Preferences</source>
     
    663667    </message>
    664668    <message>
    665         <location filename="../ui/settingsdialog.ce.ui" line="100"/>
    666         <location filename="../ui/settingsdialog.ui" line="151"/>
     669        <location filename="../ui/settingsdialog.ui" line="338"/>
    667670        <source>Random values:</source>
    668671        <translation type="unfinished"></translation>
    669672    </message>
    670673    <message>
    671         <location filename="../ui/settingsdialog.ce.ui" line="114"/>
    672         <location filename="../ui/settingsdialog.ui" line="165"/>
     674        <location filename="../ui/settingsdialog.ui" line="346"/>
    673675        <source>&amp;Minimal:</source>
    674676        <translation type="unfinished"></translation>
    675677    </message>
    676678    <message>
    677         <location filename="../ui/settingsdialog.ce.ui" line="127"/>
    678         <location filename="../ui/settingsdialog.ui" line="178"/>
     679        <location filename="../ui/settingsdialog.ui" line="365"/>
    679680        <source>Minimum for random number generation</source>
    680681        <translation type="unfinished"></translation>
    681682    </message>
    682683    <message>
    683         <location filename="../ui/settingsdialog.ce.ui" line="150"/>
    684         <location filename="../ui/settingsdialog.ui" line="201"/>
     684        <location filename="../ui/settingsdialog.ui" line="382"/>
    685685        <source>Ma&amp;ximal:</source>
    686686        <translation type="unfinished"></translation>
    687687    </message>
    688688    <message>
    689         <location filename="../ui/settingsdialog.ce.ui" line="163"/>
    690         <location filename="../ui/settingsdialog.ui" line="214"/>
     689        <location filename="../ui/settingsdialog.ui" line="401"/>
    691690        <source>Maximum for random number generation</source>
    692691        <translation type="unfinished"></translation>
    693692    </message>
    694693    <message>
    695         <location filename="../ui/settingsdialog.ce.ui" line="184"/>
     694        <location filename="../ui/settingsdialog.ui" line="428"/>
     695        <source>Output settings:</source>
     696        <translation type="unfinished"></translation>
     697    </message>
     698    <message>
     699        <location filename="../ui/settingsdialog.ui" line="466"/>
     700        <source>Font color for printing</source>
     701        <translation type="unfinished"></translation>
     702    </message>
     703    <message>
     704        <location filename="../ui/settingsdialog.ui" line="469"/>
     705        <source>&amp;Color...</source>
     706        <translation type="unfinished"></translation>
     707    </message>
     708    <message>
     709        <location filename="../ui/settingsdialog.ui" line="443"/>
     710        <source>Font face for printing</source>
     711        <translation type="unfinished"></translation>
     712    </message>
     713    <message>
     714        <location filename="../ui/settingsdialog.ui" line="446"/>
     715        <source>&amp;Font...</source>
     716        <translation type="unfinished"></translation>
     717    </message>
     718    <message>
    696719        <location filename="../ui/settingsdialog.ui" line="235"/>
    697         <source>Output settings:</source>
    698         <translation type="unfinished"></translation>
    699     </message>
    700     <message>
    701         <location filename="../ui/settingsdialog.ce.ui" line="210"/>
    702         <location filename="../ui/settingsdialog.ui" line="261"/>
    703         <source>Font color for printing</source>
    704         <translation type="unfinished"></translation>
    705     </message>
    706     <message>
    707         <location filename="../ui/settingsdialog.ce.ui" line="213"/>
    708         <location filename="../ui/settingsdialog.ui" line="264"/>
    709         <source>&amp;Color...</source>
    710         <translation type="unfinished"></translation>
    711     </message>
    712     <message>
    713         <location filename="../ui/settingsdialog.ce.ui" line="193"/>
    714         <location filename="../ui/settingsdialog.ui" line="244"/>
    715         <source>Font face for printing</source>
    716         <translation type="unfinished"></translation>
    717     </message>
    718     <message>
    719         <location filename="../ui/settingsdialog.ce.ui" line="196"/>
    720         <location filename="../ui/settingsdialog.ui" line="247"/>
    721         <source>&amp;Font...</source>
    722         <translation type="unfinished"></translation>
    723     </message>
    724     <message>
    725         <location filename="../ui/settingsdialog.ce.ui" line="279"/>
    726         <location filename="../ui/settingsdialog.ce.ui" line="285"/>
    727         <location filename="../ui/settingsdialog.ui" line="331"/>
    728         <location filename="../ui/settingsdialog.ui" line="337"/>
     720        <location filename="../ui/settingsdialog.ui" line="241"/>
    729721        <source>Help</source>
    730722        <translation type="unfinished"></translation>
    731723    </message>
    732724    <message>
    733         <location filename="../ui/settingsdialog.ce.ui" line="282"/>
    734         <location filename="../ui/settingsdialog.ui" line="334"/>
     725        <location filename="../ui/settingsdialog.ui" line="238"/>
    735726        <source>Get preferences help</source>
    736727        <translation type="unfinished"></translation>
    737728    </message>
    738729    <message>
    739         <location filename="../ui/settingsdialog.ce.ui" line="315"/>
    740         <location filename="../ui/settingsdialog.ui" line="391"/>
     730        <location filename="../ui/settingsdialog.ui" line="163"/>
    741731        <source>Save new preferences</source>
    742732        <translation type="unfinished"></translation>
    743733    </message>
    744734    <message>
    745         <location filename="../ui/settingsdialog.ce.ui" line="318"/>
    746         <location filename="../ui/settingsdialog.ui" line="394"/>
     735        <location filename="../ui/settingsdialog.ui" line="166"/>
    747736        <source>&amp;OK</source>
    748737        <translation type="unfinished"></translation>
    749738    </message>
    750739    <message>
    751         <location filename="../ui/settingsdialog.ce.ui" line="335"/>
    752         <location filename="../ui/settingsdialog.ui" line="411"/>
     740        <location filename="../ui/settingsdialog.ui" line="140"/>
    753741        <source>Close without saving preferences</source>
    754742        <translation type="unfinished"></translation>
    755743    </message>
    756744    <message>
    757         <location filename="../ui/settingsdialog.ce.ui" line="338"/>
    758         <location filename="../ui/settingsdialog.ui" line="414"/>
     745        <location filename="../ui/settingsdialog.ui" line="143"/>
    759746        <source>&amp;Cancel</source>
    760747        <translation type="unfinished"></translation>
    761748    </message>
    762749    <message>
    763         <location filename="../ui/settingsdialog.ui" line="41"/>
    764         <source>background-color: #0080C0</source>
    765         <translation type="unfinished"></translation>
    766     </message>
    767     <message>
    768         <location filename="../ui/settingsdialog.ui" line="283"/>
     750        <location filename="../src/settingsdialog.cpp" line="78"/>
    769751        <source>Restore main window state and position on application restart</source>
    770752        <translation type="unfinished"></translation>
    771753    </message>
    772754    <message>
    773         <location filename="../ui/settingsdialog.ui" line="286"/>
     755        <location filename="../src/settingsdialog.cpp" line="80"/>
    774756        <source>Save main window state and position</source>
    775757        <translation type="unfinished"></translation>
    776758    </message>
    777759    <message>
    778         <location filename="../ui/settingsdialog.ui" line="369"/>
     760        <location filename="../src/settingsdialog.cpp" line="100"/>
     761        <location filename="../ui/settingsdialog.ui" line="204"/>
    779762        <source>Hover mouse pointer over dialog elements to get additional help</source>
    780763        <translation type="unfinished"></translation>
  • i18n/ru.ts

    r6dfdef0c3e r281303f1f7  
    148148    <name>MainWindow</name>
    149149    <message>
    150         <location filename="../src/mainwindow.cpp" line="540"/>
    151         <location filename="../src/mainwindow.cpp" line="549"/>
     150        <location filename="../src/mainwindow.cpp" line="558"/>
     151        <location filename="../src/mainwindow.cpp" line="567"/>
    152152        <source>Language change</source>
    153153        <translation>Смена языка</translation>
     
    176176    <message>
    177177        <location filename="../src/mainwindow.cpp" line="239"/>
    178         <location filename="../src/mainwindow.cpp" line="289"/>
    179         <location filename="../src/mainwindow.cpp" line="323"/>
     178        <location filename="../src/mainwindow.cpp" line="297"/>
     179        <location filename="../src/mainwindow.cpp" line="341"/>
    180180        <source>All Files</source>
    181181        <translation>Все файлы</translation>
     
    198198    </message>
    199199    <message>
    200         <location filename="../src/mainwindow.cpp" line="285"/>
     200        <location filename="../src/mainwindow.cpp" line="291"/>
     201        <source>PDF Files</source>
     202        <translation>Файли PDF</translation>
     203    </message>
     204    <message>
     205        <location filename="../src/mainwindow.cpp" line="293"/>
    201206        <source>HTML Files</source>
    202207        <translation>Файлы HTML</translation>
    203208    </message>
    204209    <message>
    205         <location filename="../src/mainwindow.cpp" line="287"/>
     210        <location filename="../src/mainwindow.cpp" line="295"/>
    206211        <source>OpenDocument Files</source>
    207212        <translation>Файлы OpenDocument</translation>
    208213    </message>
    209214    <message>
    210         <location filename="../src/mainwindow.cpp" line="322"/>
     215        <location filename="../src/mainwindow.cpp" line="340"/>
    211216        <source>%1 Task File</source>
    212217        <translation>Файл условия %1</translation>
    213218    </message>
    214219    <message>
    215         <location filename="../src/mainwindow.cpp" line="353"/>
     220        <location filename="../src/mainwindow.cpp" line="371"/>
    216221        <source>Settings Changed</source>
    217222        <translation>Параметры изменены</translation>
    218223    </message>
    219224    <message>
    220         <location filename="../src/mainwindow.cpp" line="353"/>
     225        <location filename="../src/mainwindow.cpp" line="371"/>
    221226        <source>You have changed color settings.
    222227Do you wish to apply them to current solution text?</source>
     
    225230    </message>
    226231    <message>
    227         <location filename="../src/mainwindow.cpp" line="438"/>
     232        <location filename="../src/mainwindow.cpp" line="456"/>
    228233        <source>Data error</source>
    229234        <translation>Ошибка в данных</translation>
    230235    </message>
    231236    <message>
    232         <location filename="../src/mainwindow.cpp" line="438"/>
     237        <location filename="../src/mainwindow.cpp" line="456"/>
    233238        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    234239        <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation>
    235240    </message>
    236241    <message>
    237         <location filename="../src/mainwindow.cpp" line="451"/>
     242        <location filename="../src/mainwindow.cpp" line="469"/>
    238243        <source>Variant #%1</source>
    239244        <translation>Вариант №%1</translation>
    240245    </message>
    241246    <message>
    242         <location filename="../src/mainwindow.cpp" line="452"/>
     247        <location filename="../src/mainwindow.cpp" line="470"/>
    243248        <source>Task:</source>
    244249        <translation>Условие:</translation>
    245250    </message>
    246251    <message>
    247         <location filename="../src/mainwindow.cpp" line="455"/>
    248         <location filename="../src/mainwindow.cpp" line="481"/>
     252        <location filename="../src/mainwindow.cpp" line="473"/>
     253        <location filename="../src/mainwindow.cpp" line="499"/>
    249254        <source>Solution of Variant #%1 task</source>
    250255        <translation>Решение варианта №%1</translation>
    251256    </message>
    252257    <message>
    253         <location filename="../src/mainwindow.cpp" line="462"/>
     258        <location filename="../src/mainwindow.cpp" line="480"/>
    254259        <source>Step #%1</source>
    255260        <translation>Шаг №%1</translation>
    256261    </message>
    257262    <message>
    258         <location filename="../src/mainwindow.cpp" line="465"/>
     263        <location filename="../src/mainwindow.cpp" line="483"/>
    259264        <source>This step has alternate candidates for branching.</source>
    260265        <translation>У этого шага есть альтернативные кандидаты на ветвление.</translation>
    261266    </message>
    262267    <message>
    263         <location filename="../src/mainwindow.cpp" line="477"/>
     268        <location filename="../src/mainwindow.cpp" line="495"/>
    264269        <source>Optimal path:</source>
    265270        <translation>Оптимальный путь:</translation>
    266271    </message>
    267272    <message>
    268         <location filename="../src/mainwindow.cpp" line="479"/>
     273        <location filename="../src/mainwindow.cpp" line="497"/>
    269274        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    270275        <translation>Стоимость - &lt;b&gt;%1&lt;/b&gt; единиц.</translation>
    271276    </message>
    272277    <message>
    273         <location filename="../src/mainwindow.cpp" line="540"/>
     278        <location filename="../src/mainwindow.cpp" line="558"/>
    274279        <source>Language will be autodetected on next application start.</source>
    275280        <translation>Язык будет автоматически определен при следующем запуске приложения.</translation>
    276281    </message>
    277282    <message>
    278         <location filename="../src/mainwindow.cpp" line="549"/>
     283        <location filename="../src/mainwindow.cpp" line="567"/>
    279284        <source>You have language autodetection turned on.
    280285It needs to be off.
     
    287292        <location filename="../src/mainwindow.h" line="78"/>
    288293        <location filename="../src/mainwindow.cpp" line="263"/>
    289         <location filename="../src/mainwindow.cpp" line="554"/>
     294        <location filename="../src/mainwindow.cpp" line="572"/>
    290295        <source>Untitled</source>
    291296        <translation>Без имени</translation>
     
    668673    <name>SettingsDialog</name>
    669674    <message>
    670         <location filename="../ui/settingsdialog.ce.ui" line="14"/>
    671675        <location filename="../ui/settingsdialog.ui" line="14"/>
    672676        <source>Preferences</source>
     
    674678    </message>
    675679    <message>
    676         <location filename="../ui/settingsdialog.ce.ui" line="100"/>
    677         <location filename="../ui/settingsdialog.ui" line="151"/>
     680        <location filename="../ui/settingsdialog.ui" line="338"/>
    678681        <source>Random values:</source>
    679682        <translation>Случайные значения:</translation>
    680683    </message>
    681684    <message>
    682         <location filename="../ui/settingsdialog.ce.ui" line="114"/>
    683         <location filename="../ui/settingsdialog.ui" line="165"/>
     685        <location filename="../ui/settingsdialog.ui" line="346"/>
    684686        <source>&amp;Minimal:</source>
    685687        <translation>&amp;Минимум:</translation>
    686688    </message>
    687689    <message>
    688         <location filename="../ui/settingsdialog.ce.ui" line="127"/>
    689         <location filename="../ui/settingsdialog.ui" line="178"/>
     690        <location filename="../ui/settingsdialog.ui" line="365"/>
    690691        <source>Minimum for random number generation</source>
    691692        <translation>Нижняя граница для генерации случайных значений</translation>
    692693    </message>
    693694    <message>
    694         <location filename="../ui/settingsdialog.ce.ui" line="150"/>
    695         <location filename="../ui/settingsdialog.ui" line="201"/>
     695        <location filename="../ui/settingsdialog.ui" line="382"/>
    696696        <source>Ma&amp;ximal:</source>
    697697        <translation>М&amp;аксимум:</translation>
    698698    </message>
    699699    <message>
    700         <location filename="../ui/settingsdialog.ce.ui" line="163"/>
    701         <location filename="../ui/settingsdialog.ui" line="214"/>
     700        <location filename="../ui/settingsdialog.ui" line="401"/>
    702701        <source>Maximum for random number generation</source>
    703702        <translation>Верхняя граница для генерации случайных значений</translation>
    704703    </message>
    705704    <message>
    706         <location filename="../ui/settingsdialog.ce.ui" line="184"/>
    707         <location filename="../ui/settingsdialog.ui" line="235"/>
     705        <location filename="../ui/settingsdialog.ui" line="428"/>
    708706        <source>Output settings:</source>
    709707        <translation>Параметры вывода:</translation>
    710708    </message>
    711709    <message>
    712         <location filename="../ui/settingsdialog.ce.ui" line="210"/>
    713         <location filename="../ui/settingsdialog.ui" line="261"/>
     710        <location filename="../ui/settingsdialog.ui" line="466"/>
    714711        <source>Font color for printing</source>
    715712        <translation>Цвет шрифта, используемого при печати</translation>
    716713    </message>
    717714    <message>
    718         <location filename="../ui/settingsdialog.ce.ui" line="213"/>
    719         <location filename="../ui/settingsdialog.ui" line="264"/>
     715        <location filename="../ui/settingsdialog.ui" line="469"/>
    720716        <source>&amp;Color...</source>
    721717        <translation>&amp;Цвет...</translation>
    722718    </message>
    723719    <message>
    724         <location filename="../ui/settingsdialog.ce.ui" line="193"/>
    725         <location filename="../ui/settingsdialog.ui" line="244"/>
     720        <location filename="../ui/settingsdialog.ui" line="443"/>
    726721        <source>Font face for printing</source>
    727722        <translation>Вид шрифта, используемого при печати</translation>
    728723    </message>
    729724    <message>
    730         <location filename="../ui/settingsdialog.ce.ui" line="196"/>
    731         <location filename="../ui/settingsdialog.ui" line="247"/>
     725        <location filename="../ui/settingsdialog.ui" line="446"/>
    732726        <source>&amp;Font...</source>
    733727        <translation>&amp;Шрифт...</translation>
    734728    </message>
    735729    <message>
    736         <location filename="../ui/settingsdialog.ce.ui" line="279"/>
    737         <location filename="../ui/settingsdialog.ce.ui" line="285"/>
    738         <location filename="../ui/settingsdialog.ui" line="331"/>
    739         <location filename="../ui/settingsdialog.ui" line="337"/>
     730        <location filename="../ui/settingsdialog.ui" line="235"/>
     731        <location filename="../ui/settingsdialog.ui" line="241"/>
    740732        <source>Help</source>
    741733        <translation>Помощь</translation>
    742734    </message>
    743735    <message>
    744         <location filename="../ui/settingsdialog.ce.ui" line="282"/>
    745         <location filename="../ui/settingsdialog.ui" line="334"/>
     736        <location filename="../ui/settingsdialog.ui" line="238"/>
    746737        <source>Get preferences help</source>
    747738        <translation>Получить помощь по настройкам</translation>
    748739    </message>
    749740    <message>
    750         <location filename="../ui/settingsdialog.ce.ui" line="315"/>
    751         <location filename="../ui/settingsdialog.ui" line="391"/>
     741        <location filename="../ui/settingsdialog.ui" line="163"/>
    752742        <source>Save new preferences</source>
    753743        <translation>Сохранить новые параметры</translation>
    754744    </message>
    755745    <message>
    756         <location filename="../ui/settingsdialog.ce.ui" line="318"/>
    757         <location filename="../ui/settingsdialog.ui" line="394"/>
     746        <location filename="../ui/settingsdialog.ui" line="166"/>
    758747        <source>&amp;OK</source>
    759748        <translation></translation>
    760749    </message>
    761750    <message>
    762         <location filename="../ui/settingsdialog.ce.ui" line="335"/>
    763         <location filename="../ui/settingsdialog.ui" line="411"/>
     751        <location filename="../ui/settingsdialog.ui" line="140"/>
    764752        <source>Close without saving preferences</source>
    765753        <translation>Закрыть окно без сохранения параметров</translation>
    766754    </message>
    767755    <message>
    768         <location filename="../ui/settingsdialog.ce.ui" line="338"/>
    769         <location filename="../ui/settingsdialog.ui" line="414"/>
     756        <location filename="../ui/settingsdialog.ui" line="143"/>
    770757        <source>&amp;Cancel</source>
    771758        <translation>&amp;Отмена</translation>
    772759    </message>
    773760    <message>
    774         <location filename="../ui/settingsdialog.ui" line="41"/>
    775         <source>background-color: #0080C0</source>
    776         <translation></translation>
    777     </message>
    778     <message>
    779         <location filename="../ui/settingsdialog.ui" line="283"/>
     761        <location filename="../src/settingsdialog.cpp" line="78"/>
    780762        <source>Restore main window state and position on application restart</source>
    781763        <translation>Восстанавливать состояние и размеры главного окна после перезапуска приложения</translation>
    782764    </message>
    783765    <message>
    784         <location filename="../ui/settingsdialog.ui" line="286"/>
     766        <location filename="../src/settingsdialog.cpp" line="80"/>
    785767        <source>Save main window state and position</source>
    786768        <translation>Сохранять состояние и положение главного окна</translation>
    787769    </message>
    788770    <message>
    789         <location filename="../ui/settingsdialog.ui" line="369"/>
     771        <location filename="../src/settingsdialog.cpp" line="100"/>
     772        <location filename="../ui/settingsdialog.ui" line="204"/>
    790773        <source>Hover mouse pointer over dialog elements to get additional help</source>
    791774        <translation>Наведите указатель мыши на элемент диалога, чтоб получить подсказку</translation>
  • i18n/uk.ts

    r6dfdef0c3e r281303f1f7  
    521521    </message>
    522522    <message>
    523         <location filename="../src/mainwindow.cpp" line="540"/>
    524         <location filename="../src/mainwindow.cpp" line="549"/>
     523        <location filename="../src/mainwindow.cpp" line="558"/>
     524        <location filename="../src/mainwindow.cpp" line="567"/>
    525525        <source>Language change</source>
    526526        <translation>Зміна мови</translation>
     
    549549    <message>
    550550        <location filename="../src/mainwindow.cpp" line="239"/>
    551         <location filename="../src/mainwindow.cpp" line="289"/>
    552         <location filename="../src/mainwindow.cpp" line="323"/>
     551        <location filename="../src/mainwindow.cpp" line="297"/>
     552        <location filename="../src/mainwindow.cpp" line="341"/>
    553553        <source>All Files</source>
    554554        <translation>Усі файли</translation>
     
    571571    </message>
    572572    <message>
    573         <location filename="../src/mainwindow.cpp" line="285"/>
     573        <location filename="../src/mainwindow.cpp" line="291"/>
     574        <source>PDF Files</source>
     575        <translation>Файлы PDF</translation>
     576    </message>
     577    <message>
     578        <location filename="../src/mainwindow.cpp" line="293"/>
    574579        <source>HTML Files</source>
    575580        <translation>Файли HTML</translation>
    576581    </message>
    577582    <message>
    578         <location filename="../src/mainwindow.cpp" line="287"/>
     583        <location filename="../src/mainwindow.cpp" line="295"/>
    579584        <source>OpenDocument Files</source>
    580585        <translation>Файли OpenDocument</translation>
    581586    </message>
    582587    <message>
    583         <location filename="../src/mainwindow.cpp" line="322"/>
     588        <location filename="../src/mainwindow.cpp" line="340"/>
    584589        <source>%1 Task File</source>
    585590        <translation>Файл умови %1</translation>
    586591    </message>
    587592    <message>
    588         <location filename="../src/mainwindow.cpp" line="353"/>
     593        <location filename="../src/mainwindow.cpp" line="371"/>
    589594        <source>Settings Changed</source>
    590595        <translation>Параметри змінено</translation>
    591596    </message>
    592597    <message>
    593         <location filename="../src/mainwindow.cpp" line="353"/>
     598        <location filename="../src/mainwindow.cpp" line="371"/>
    594599        <source>You have changed color settings.
    595600Do you wish to apply them to current solution text?</source>
     
    598603    </message>
    599604    <message>
    600         <location filename="../src/mainwindow.cpp" line="438"/>
     605        <location filename="../src/mainwindow.cpp" line="456"/>
    601606        <source>Data error</source>
    602607        <translation>Помилка у даних</translation>
    603608    </message>
    604609    <message>
    605         <location filename="../src/mainwindow.cpp" line="438"/>
     610        <location filename="../src/mainwindow.cpp" line="456"/>
    606611        <source>Error in cell [Row %1; Column %2]: Invalid data format.</source>
    607612        <translation>Помилка у комірці  [Рядок %1; Колонка %2]: Невірний формат даних.</translation>
    608613    </message>
    609614    <message>
    610         <location filename="../src/mainwindow.cpp" line="451"/>
     615        <location filename="../src/mainwindow.cpp" line="469"/>
    611616        <source>Variant #%1</source>
    612617        <translation>Варіант №%1</translation>
    613618    </message>
    614619    <message>
    615         <location filename="../src/mainwindow.cpp" line="452"/>
     620        <location filename="../src/mainwindow.cpp" line="470"/>
    616621        <source>Task:</source>
    617622        <translation>Умова:</translation>
    618623    </message>
    619624    <message>
    620         <location filename="../src/mainwindow.cpp" line="455"/>
    621         <location filename="../src/mainwindow.cpp" line="481"/>
     625        <location filename="../src/mainwindow.cpp" line="473"/>
     626        <location filename="../src/mainwindow.cpp" line="499"/>
    622627        <source>Solution of Variant #%1 task</source>
    623628        <translation>Розв&apos;язок варіанту №%1</translation>
    624629    </message>
    625630    <message>
    626         <location filename="../src/mainwindow.cpp" line="462"/>
     631        <location filename="../src/mainwindow.cpp" line="480"/>
    627632        <source>Step #%1</source>
    628633        <translation>Крок №%1</translation>
    629634    </message>
    630635    <message>
    631         <location filename="../src/mainwindow.cpp" line="465"/>
     636        <location filename="../src/mainwindow.cpp" line="483"/>
    632637        <source>This step has alternate candidates for branching.</source>
    633638        <translation>У цьому кроці є альтернативні кандидати на розгалудження.</translation>
    634639    </message>
    635640    <message>
    636         <location filename="../src/mainwindow.cpp" line="477"/>
     641        <location filename="../src/mainwindow.cpp" line="495"/>
    637642        <source>Optimal path:</source>
    638643        <translation>Оптимальний шлях:</translation>
    639644    </message>
    640645    <message>
    641         <location filename="../src/mainwindow.cpp" line="479"/>
     646        <location filename="../src/mainwindow.cpp" line="497"/>
    642647        <source>The price is &lt;b&gt;%1&lt;/b&gt; units.</source>
    643648        <translation>Вартість - &lt;b&gt;%1&lt;/b&gt; одиниць.</translation>
    644649    </message>
    645650    <message>
    646         <location filename="../src/mainwindow.cpp" line="540"/>
     651        <location filename="../src/mainwindow.cpp" line="558"/>
    647652        <source>Language will be autodetected on next application start.</source>
    648653        <translation>Мову буде автоматично визначено при наступному запуску додатку.</translation>
    649654    </message>
    650655    <message>
    651         <location filename="../src/mainwindow.cpp" line="549"/>
     656        <location filename="../src/mainwindow.cpp" line="567"/>
    652657        <source>You have language autodetection turned on.
    653658It needs to be off.
     
    660665        <location filename="../src/mainwindow.h" line="78"/>
    661666        <location filename="../src/mainwindow.cpp" line="263"/>
    662         <location filename="../src/mainwindow.cpp" line="554"/>
     667        <location filename="../src/mainwindow.cpp" line="572"/>
    663668        <source>Untitled</source>
    664669        <translation>Без імені</translation>
     
    668673    <name>SettingsDialog</name>
    669674    <message>
    670         <location filename="../ui/settingsdialog.ui" line="41"/>
    671         <source>background-color: #0080C0</source>
    672         <translation></translation>
    673     </message>
    674     <message>
    675         <location filename="../ui/settingsdialog.ui" line="283"/>
     675        <location filename="../src/settingsdialog.cpp" line="78"/>
    676676        <source>Restore main window state and position on application restart</source>
    677677        <translation>Відновлювати стан та розмір головного вікна після перезапуску додатку</translation>
    678678    </message>
    679679    <message>
    680         <location filename="../ui/settingsdialog.ui" line="286"/>
     680        <location filename="../src/settingsdialog.cpp" line="80"/>
    681681        <source>Save main window state and position</source>
    682682        <translation>Зберегти стан та розміщення головного вікна</translation>
    683683    </message>
    684684    <message>
    685         <location filename="../ui/settingsdialog.ui" line="369"/>
     685        <location filename="../src/settingsdialog.cpp" line="100"/>
     686        <location filename="../ui/settingsdialog.ui" line="204"/>
    686687        <source>Hover mouse pointer over dialog elements to get additional help</source>
    687688        <translation>Наведіть покажчик миші на елемент ділогу, щоб отримати підказку</translation>
    688689    </message>
    689690    <message>
    690         <location filename="../ui/settingsdialog.ce.ui" line="14"/>
    691691        <location filename="../ui/settingsdialog.ui" line="14"/>
    692692        <source>Preferences</source>
     
    694694    </message>
    695695    <message>
    696         <location filename="../ui/settingsdialog.ce.ui" line="100"/>
    697         <location filename="../ui/settingsdialog.ui" line="151"/>
     696        <location filename="../ui/settingsdialog.ui" line="338"/>
    698697        <source>Random values:</source>
    699698        <translation>Випадкові значення:</translation>
    700699    </message>
    701700    <message>
    702         <location filename="../ui/settingsdialog.ce.ui" line="114"/>
    703         <location filename="../ui/settingsdialog.ui" line="165"/>
     701        <location filename="../ui/settingsdialog.ui" line="346"/>
    704702        <source>&amp;Minimal:</source>
    705703        <translation>&amp;Мінімум:</translation>
    706704    </message>
    707705    <message>
    708         <location filename="../ui/settingsdialog.ce.ui" line="127"/>
    709         <location filename="../ui/settingsdialog.ui" line="178"/>
     706        <location filename="../ui/settingsdialog.ui" line="365"/>
    710707        <source>Minimum for random number generation</source>
    711708        <translation>Нажня межа для генерації випадкових значень</translation>
    712709    </message>
    713710    <message>
    714         <location filename="../ui/settingsdialog.ce.ui" line="150"/>
    715         <location filename="../ui/settingsdialog.ui" line="201"/>
     711        <location filename="../ui/settingsdialog.ui" line="382"/>
    716712        <source>Ma&amp;ximal:</source>
    717713        <translation>М&amp;аксимум:</translation>
    718714    </message>
    719715    <message>
    720         <location filename="../ui/settingsdialog.ce.ui" line="163"/>
    721         <location filename="../ui/settingsdialog.ui" line="214"/>
     716        <location filename="../ui/settingsdialog.ui" line="401"/>
    722717        <source>Maximum for random number generation</source>
    723718        <translation>Верхня межа для генерації випадкових значень</translation>
    724719    </message>
    725720    <message>
    726         <location filename="../ui/settingsdialog.ce.ui" line="184"/>
    727         <location filename="../ui/settingsdialog.ui" line="235"/>
     721        <location filename="../ui/settingsdialog.ui" line="428"/>
    728722        <source>Output settings:</source>
    729723        <translation>Параметри виводу:</translation>
    730724    </message>
    731725    <message>
    732         <location filename="../ui/settingsdialog.ce.ui" line="210"/>
    733         <location filename="../ui/settingsdialog.ui" line="261"/>
     726        <location filename="../ui/settingsdialog.ui" line="466"/>
    734727        <source>Font color for printing</source>
    735728        <translation>Колір шрифта для друку</translation>
    736729    </message>
    737730    <message>
    738         <location filename="../ui/settingsdialog.ce.ui" line="213"/>
    739         <location filename="../ui/settingsdialog.ui" line="264"/>
     731        <location filename="../ui/settingsdialog.ui" line="469"/>
    740732        <source>&amp;Color...</source>
    741733        <translation>&amp;Колір...</translation>
    742734    </message>
    743735    <message>
    744         <location filename="../ui/settingsdialog.ce.ui" line="193"/>
    745         <location filename="../ui/settingsdialog.ui" line="244"/>
     736        <location filename="../ui/settingsdialog.ui" line="443"/>
    746737        <source>Font face for printing</source>
    747738        <translation>Вигляд шрифта для друку</translation>
    748739    </message>
    749740    <message>
    750         <location filename="../ui/settingsdialog.ce.ui" line="196"/>
    751         <location filename="../ui/settingsdialog.ui" line="247"/>
     741        <location filename="../ui/settingsdialog.ui" line="446"/>
    752742        <source>&amp;Font...</source>
    753743        <translation>&amp;Шрифт...</translation>
    754744    </message>
    755745    <message>
    756         <location filename="../ui/settingsdialog.ce.ui" line="279"/>
    757         <location filename="../ui/settingsdialog.ce.ui" line="285"/>
    758         <location filename="../ui/settingsdialog.ui" line="331"/>
    759         <location filename="../ui/settingsdialog.ui" line="337"/>
     746        <location filename="../ui/settingsdialog.ui" line="235"/>
     747        <location filename="../ui/settingsdialog.ui" line="241"/>
    760748        <source>Help</source>
    761749        <translation>Допомога</translation>
    762750    </message>
    763751    <message>
    764         <location filename="../ui/settingsdialog.ce.ui" line="282"/>
    765         <location filename="../ui/settingsdialog.ui" line="334"/>
     752        <location filename="../ui/settingsdialog.ui" line="238"/>
    766753        <source>Get preferences help</source>
    767754        <translation>Отримати допомогу по налагодженням</translation>
    768755    </message>
    769756    <message>
    770         <location filename="../ui/settingsdialog.ce.ui" line="315"/>
    771         <location filename="../ui/settingsdialog.ui" line="391"/>
     757        <location filename="../ui/settingsdialog.ui" line="163"/>
    772758        <source>Save new preferences</source>
    773759        <translation>Зберегти нові параметри</translation>
    774760    </message>
    775761    <message>
    776         <location filename="../ui/settingsdialog.ce.ui" line="318"/>
    777         <location filename="../ui/settingsdialog.ui" line="394"/>
     762        <location filename="../ui/settingsdialog.ui" line="166"/>
    778763        <source>&amp;OK</source>
    779764        <translation></translation>
    780765    </message>
    781766    <message>
    782         <location filename="../ui/settingsdialog.ce.ui" line="335"/>
    783         <location filename="../ui/settingsdialog.ui" line="411"/>
     767        <location filename="../ui/settingsdialog.ui" line="140"/>
    784768        <source>Close without saving preferences</source>
    785769        <translation>Закрити вікно без збереження параметрів</translation>
    786770    </message>
    787771    <message>
    788         <location filename="../ui/settingsdialog.ce.ui" line="338"/>
    789         <location filename="../ui/settingsdialog.ui" line="414"/>
     772        <location filename="../ui/settingsdialog.ui" line="143"/>
    790773        <source>&amp;Cancel</source>
    791774        <translation>&amp;Скасувати</translation>
  • src/os.h

    r6dfdef0c3e r281303f1f7  
    4343#endif // ARCH
    4444
     45// Target OS detection. Done by Qt, so should work with any compiler.
    4546#ifdef Q_OS_AIX
    4647        #define OS "AIX"ARCH
  • src/settingsdialog.cpp

    r6dfdef0c3e r281303f1f7  
    2828{
    2929        setupUi(this);
     30        // Laying out elements
     31#ifdef Q_OS_WINCE
     32        // Layout helper elements
     33QVBoxLayout *vbox1, *vbox2;
     34QHBoxLayout *hbox1, *hbox2;
     35QSpacerItem *spacer;
     36
     37        labelRandMin->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Preferred);
     38        labelRandMax->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Preferred);
     39
     40        // Top part (with white bg)
     41        vbox2 = new QVBoxLayout(bgWhite);
     42        vbox2->addWidget(groupRandomSettings);
     43        vbox2->addWidget(groupOutputSettings);
     44        spacer = new QSpacerItem(0,0,QSizePolicy::Minimum,QSizePolicy::Expanding);
     45        vbox2->addItem(spacer);
     46
     47        // Output settings group
     48        hbox1 = new QHBoxLayout(groupOutputSettings);
     49        hbox1->addWidget(buttonFont);
     50        hbox1->addWidget(buttonColor);
     51
     52        // Bottom part (with grey bg)
     53        hbox2 = new QHBoxLayout(bgGrey);
     54        hbox2->setMargin(6);
     55        hbox2->setSpacing(6);
     56        hbox2->addWidget(buttonHelp);
     57        spacer = new QSpacerItem(0,0,QSizePolicy::Expanding);
     58        hbox2->addItem(spacer);
     59        hbox2->addWidget(buttonOK);
     60        hbox2->addWidget(buttonCancel);
     61
     62        // Central layout
     63        vbox1 = new QVBoxLayout(this);
     64        vbox1->setMargin(0);
     65        vbox1->setSpacing(0);
     66        vbox1->addWidget(bgWhite);
     67        vbox1->addWidget(lineHorizontal);
     68        vbox1->addWidget(bgGrey);
     69#else
     70        // Layout helper elements
     71QVBoxLayout *vbox1, *vbox2, *vbox3;
     72QHBoxLayout *hbox1, *hbox2, *hbox3;
     73QSpacerItem *spacer;
     74
     75        cbSaveState = new QCheckBox(bgWhite);
     76        cbSaveState->setObjectName("cbSaveState");
     77#ifndef QT_NO_STATUSTIP
     78        cbSaveState->setStatusTip(trUtf8("Restore main window state and position on application restart"));
     79#endif // QT_NO_STATUSTIP
     80        cbSaveState->setText(trUtf8("Save main window state and position"));
     81        cbSaveState->setCursor(QCursor(Qt::PointingHandCursor));
     82
     83        imgIcon = new QLabel(this);
     84        imgIcon->setObjectName("imgIcon");
     85        imgIcon->setFrameShape(QFrame::StyledPanel);
     86        imgIcon->setLineWidth(0);
     87        imgIcon->setPixmap(QPixmap(QString::fromUtf8(":/images/icons/preferences_system.png")));
     88        imgIcon->setStyleSheet("background-color: #0080C0;");
     89        imgIcon->setAlignment(Qt::AlignCenter);
     90
     91        labelHint = new QLabel(bgGrey);
     92        labelHint->setObjectName("labelHint");
     93        labelHint->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Preferred);
     94        labelHint->setMinimumSize(QSize(175,28));
     95        labelHint->setMaximumSize(QSize(0xFFFFFF,28));
     96        labelHint->setTextFormat(Qt::PlainText);
     97//      labelHint->setAlignment(Qt::AlignLeft | Qt::AlignTop);
     98        labelHint->setWordWrap(true);
     99#ifndef QT_NO_STATUSTIP
     100        labelHint->setStatusTip(trUtf8("Hover mouse pointer over dialog elements to get additional help"));
     101#endif // QT_NO_STATUSTIP
     102
     103        lineVertical = new QFrame(this);
     104        lineVertical->setObjectName("lineVertical");
     105        lineVertical->setFrameShadow(QFrame::Plain);
     106        lineVertical->setFrameShape(QFrame::VLine);
     107        lineVertical->setLineWidth(2);
     108
     109        // Top line
     110        hbox1 = new QHBoxLayout();
     111        hbox1->addWidget(imgIcon);
     112        hbox1->addWidget(lineVertical);
     113        hbox1->addWidget(bgWhite);
     114
     115        // Output settings group
     116        vbox3 = new QVBoxLayout(groupOutputSettings);
     117        vbox3->addWidget(buttonFont);
     118        vbox3->addWidget(buttonColor);
     119
     120        // Random and Output settings groups
     121        hbox2 = new QHBoxLayout();
     122        hbox2->addWidget(groupRandomSettings);
     123        hbox2->addWidget(groupOutputSettings);
     124        spacer = new QSpacerItem(0,0,QSizePolicy::Expanding);
     125        hbox2->addItem(spacer);
     126
     127        // Top right part (with white bg)
     128        vbox2 = new QVBoxLayout(bgWhite);
     129        spacer = new QSpacerItem(0,0,QSizePolicy::Minimum,QSizePolicy::Expanding);
     130        vbox2->addItem(spacer);
     131        vbox2->addLayout(hbox2);
     132        vbox2->addWidget(cbSaveState);
     133        spacer = new QSpacerItem(0,0,QSizePolicy::Minimum,QSizePolicy::Expanding);
     134        vbox2->addItem(spacer);
     135
     136        // Bottom part (with grey bg)
     137        hbox3 = new QHBoxLayout(bgGrey);
     138        hbox3->setMargin(6);
     139        hbox3->setSpacing(6);
     140        hbox3->addWidget(buttonHelp);
     141        hbox3->addWidget(labelHint);
     142        hbox3->addWidget(buttonOK);
     143        hbox3->addWidget(buttonCancel);
     144
     145        // Central layout
     146        vbox1 = new QVBoxLayout(this);
     147        vbox1->setMargin(0);
     148        vbox1->setSpacing(0);
     149        vbox1->addLayout(hbox1);
     150        vbox1->addWidget(lineHorizontal);
     151        vbox1->addWidget(bgGrey);
     152#endif // Q_OS_WINCE
    30153        connect(buttonOK,SIGNAL(clicked()),this,SLOT(accept()));
    31154        connect(buttonCancel,SIGNAL(clicked()),this,SLOT(reject()));
  • src/settingsdialog.h

    r6dfdef0c3e r281303f1f7  
    2626
    2727#include "globals.h"
    28 #ifdef Q_OS_WINCE
    29         #include "ui_settingsdialog.ce.h"
    30 #else
    31         #include "ui_settingsdialog.h"
    32 #endif // Q_OS_WINCE
     28#include "ui_settingsdialog.h"
    3329
    3430class SettingsDialog: public QDialog, public Ui::SettingsDialog
     
    3733public:
    3834        SettingsDialog(QWidget *parent = 0);
     35        bool colorChanged() const;
    3936        bool fontChanged() const;
    40         bool colorChanged() const;
     37
     38#ifndef Q_OS_WINCE
     39        QCheckBox *cbSaveState;
     40        QLabel *imgIcon;
     41        QLabel *labelHint;
     42        QFrame *lineVertical;
     43#endif // Q_OS_WINCE
    4144
    4245private:
    43         QSettings *settings;
     46        QColor color;
    4447        QFont font;
    45         QColor color;
    4648        bool newFont;
    4749        bool newColor;
     50        QSettings *settings;
    4851#ifndef Q_OS_WINCE
    4952        bool event(QEvent *);
     
    5255private slots:
    5356        void accept();
     57        void buttonColorClicked();
     58        void buttonFontClicked();
    5459        void spinRandMinValueChanged(int val) { spinRandMax->setMinimum(val + 1); }
    55         void buttonFontClicked();
    56         void buttonColorClicked();
    5760};
    5861
  • tspsg.pri

    r6dfdef0c3e r281303f1f7  
    3030#Forms
    3131FORMS += ui/mainwindow.ui \
    32         ui/settingsdialog.ui \
    33         ui/settingsdialog.ce.ui
     32        ui/settingsdialog.ui
    3433
    3534#Resource file(s)
  • ui/settingsdialog.ui

    r6dfdef0c3e r281303f1f7  
    77    <x>0</x>
    88    <y>0</y>
    9     <width>415</width>
    10     <height>176</height>
     9    <width>243</width>
     10    <height>174</height>
    1111   </rect>
    1212  </property>
     
    1818    <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
    1919  </property>
    20   <layout class="QVBoxLayout">
    21    <property name="spacing">
    22     <number>0</number>
    23    </property>
    24    <property name="margin">
    25     <number>0</number>
    26    </property>
    27    <item>
    28     <layout class="QHBoxLayout">
    29      <property name="spacing">
    30       <number>0</number>
    31      </property>
     20  <widget class="Line" name="lineHorizontal">
     21   <property name="geometry">
     22    <rect>
     23     <x>0</x>
     24     <y>120</y>
     25     <width>241</width>
     26     <height>2</height>
     27    </rect>
     28   </property>
     29   <property name="maximumSize">
     30    <size>
     31     <width>16777215</width>
     32     <height>2</height>
     33    </size>
     34   </property>
     35   <property name="frameShadow">
     36    <enum>QFrame::Plain</enum>
     37   </property>
     38   <property name="lineWidth">
     39    <number>2</number>
     40   </property>
     41   <property name="orientation">
     42    <enum>Qt::Horizontal</enum>
     43   </property>
     44  </widget>
     45  <widget class="QWidget" name="bgGrey" native="true">
     46   <property name="geometry">
     47    <rect>
     48     <x>0</x>
     49     <y>130</y>
     50     <width>241</width>
     51     <height>41</height>
     52    </rect>
     53   </property>
     54   <property name="sizePolicy">
     55    <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
     56     <horstretch>0</horstretch>
     57     <verstretch>0</verstretch>
     58    </sizepolicy>
     59   </property>
     60   <property name="palette">
     61    <palette>
     62     <active>
     63      <colorrole role="Base">
     64       <brush brushstyle="SolidPattern">
     65        <color alpha="255">
     66         <red>240</red>
     67         <green>240</green>
     68         <blue>240</blue>
     69        </color>
     70       </brush>
     71      </colorrole>
     72      <colorrole role="Window">
     73       <brush brushstyle="SolidPattern">
     74        <color alpha="255">
     75         <red>240</red>
     76         <green>240</green>
     77         <blue>240</blue>
     78        </color>
     79       </brush>
     80      </colorrole>
     81     </active>
     82     <inactive>
     83      <colorrole role="Base">
     84       <brush brushstyle="SolidPattern">
     85        <color alpha="255">
     86         <red>240</red>
     87         <green>240</green>
     88         <blue>240</blue>
     89        </color>
     90       </brush>
     91      </colorrole>
     92      <colorrole role="Window">
     93       <brush brushstyle="SolidPattern">
     94        <color alpha="255">
     95         <red>240</red>
     96         <green>240</green>
     97         <blue>240</blue>
     98        </color>
     99       </brush>
     100      </colorrole>
     101     </inactive>
     102     <disabled>
     103      <colorrole role="Base">
     104       <brush brushstyle="SolidPattern">
     105        <color alpha="255">
     106         <red>240</red>
     107         <green>240</green>
     108         <blue>240</blue>
     109        </color>
     110       </brush>
     111      </colorrole>
     112      <colorrole role="Window">
     113       <brush brushstyle="SolidPattern">
     114        <color alpha="255">
     115         <red>240</red>
     116         <green>240</green>
     117         <blue>240</blue>
     118        </color>
     119       </brush>
     120      </colorrole>
     121     </disabled>
     122    </palette>
     123   </property>
     124   <property name="autoFillBackground">
     125    <bool>true</bool>
     126   </property>
     127   <widget class="QPushButton" name="buttonCancel">
     128    <property name="geometry">
     129     <rect>
     130      <x>160</x>
     131      <y>10</y>
     132      <width>75</width>
     133      <height>24</height>
     134     </rect>
     135    </property>
     136    <property name="cursor">
     137     <cursorShape>PointingHandCursor</cursorShape>
     138    </property>
     139    <property name="statusTip">
     140     <string>Close without saving preferences</string>
     141    </property>
     142    <property name="text">
     143     <string>&amp;Cancel</string>
     144    </property>
     145    <property name="icon">
     146     <iconset resource="../resources/tspsg.qrc">
     147      <normaloff>:/images/icons/button_cancel.png</normaloff>:/images/icons/button_cancel.png</iconset>
     148    </property>
     149   </widget>
     150   <widget class="QPushButton" name="buttonOK">
     151    <property name="geometry">
     152     <rect>
     153      <x>80</x>
     154      <y>10</y>
     155      <width>77</width>
     156      <height>26</height>
     157     </rect>
     158    </property>
     159    <property name="cursor">
     160     <cursorShape>PointingHandCursor</cursorShape>
     161    </property>
     162    <property name="statusTip">
     163     <string>Save new preferences</string>
     164    </property>
     165    <property name="text">
     166     <string>&amp;OK</string>
     167    </property>
     168    <property name="icon">
     169     <iconset resource="../resources/tspsg.qrc">
     170      <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
     171    </property>
     172    <property name="default">
     173     <bool>true</bool>
     174    </property>
     175   </widget>
     176   <widget class="QLabel" name="labelHint">
     177    <property name="geometry">
     178     <rect>
     179      <x>50</x>
     180      <y>10</y>
     181      <width>16</width>
     182      <height>28</height>
     183     </rect>
     184    </property>
     185    <property name="sizePolicy">
     186     <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
     187      <horstretch>0</horstretch>
     188      <verstretch>0</verstretch>
     189     </sizepolicy>
     190    </property>
     191    <property name="minimumSize">
     192     <size>
     193      <width>0</width>
     194      <height>28</height>
     195     </size>
     196    </property>
     197    <property name="maximumSize">
     198     <size>
     199      <width>16777215</width>
     200      <height>28</height>
     201     </size>
     202    </property>
     203    <property name="statusTip">
     204     <string>Hover mouse pointer over dialog elements to get additional help</string>
     205    </property>
     206    <property name="text">
     207     <string/>
     208    </property>
     209    <property name="textFormat">
     210     <enum>Qt::PlainText</enum>
     211    </property>
     212    <property name="alignment">
     213     <set>Qt::AlignJustify|Qt::AlignTop</set>
     214    </property>
     215    <property name="wordWrap">
     216     <bool>true</bool>
     217    </property>
     218   </widget>
     219   <widget class="QToolButton" name="buttonHelp">
     220    <property name="enabled">
     221     <bool>false</bool>
     222    </property>
     223    <property name="geometry">
     224     <rect>
     225      <x>10</x>
     226      <y>10</y>
     227      <width>23</width>
     228      <height>22</height>
     229     </rect>
     230    </property>
     231    <property name="cursor">
     232     <cursorShape>PointingHandCursor</cursorShape>
     233    </property>
     234    <property name="toolTip">
     235     <string>Help</string>
     236    </property>
     237    <property name="statusTip">
     238     <string>Get preferences help</string>
     239    </property>
     240    <property name="text">
     241     <string>Help</string>
     242    </property>
     243    <property name="icon">
     244     <iconset resource="../resources/tspsg.qrc">
     245      <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset>
     246    </property>
     247    <property name="autoRaise">
     248     <bool>true</bool>
     249    </property>
     250   </widget>
     251  </widget>
     252  <widget class="QWidget" name="bgWhite" native="true">
     253   <property name="geometry">
     254    <rect>
     255     <x>0</x>
     256     <y>0</y>
     257     <width>239</width>
     258     <height>111</height>
     259    </rect>
     260   </property>
     261   <property name="palette">
     262    <palette>
     263     <active>
     264      <colorrole role="Base">
     265       <brush brushstyle="SolidPattern">
     266        <color alpha="255">
     267         <red>255</red>
     268         <green>255</green>
     269         <blue>255</blue>
     270        </color>
     271       </brush>
     272      </colorrole>
     273      <colorrole role="Window">
     274       <brush brushstyle="SolidPattern">
     275        <color alpha="255">
     276         <red>255</red>
     277         <green>255</green>
     278         <blue>255</blue>
     279        </color>
     280       </brush>
     281      </colorrole>
     282     </active>
     283     <inactive>
     284      <colorrole role="Base">
     285       <brush brushstyle="SolidPattern">
     286        <color alpha="255">
     287         <red>255</red>
     288         <green>255</green>
     289         <blue>255</blue>
     290        </color>
     291       </brush>
     292      </colorrole>
     293      <colorrole role="Window">
     294       <brush brushstyle="SolidPattern">
     295        <color alpha="255">
     296         <red>255</red>
     297         <green>255</green>
     298         <blue>255</blue>
     299        </color>
     300       </brush>
     301      </colorrole>
     302     </inactive>
     303     <disabled>
     304      <colorrole role="Base">
     305       <brush brushstyle="SolidPattern">
     306        <color alpha="255">
     307         <red>255</red>
     308         <green>255</green>
     309         <blue>255</blue>
     310        </color>
     311       </brush>
     312      </colorrole>
     313      <colorrole role="Window">
     314       <brush brushstyle="SolidPattern">
     315        <color alpha="255">
     316         <red>255</red>
     317         <green>255</green>
     318         <blue>255</blue>
     319        </color>
     320       </brush>
     321      </colorrole>
     322     </disabled>
     323    </palette>
     324   </property>
     325   <property name="autoFillBackground">
     326    <bool>true</bool>
     327   </property>
     328   <widget class="QGroupBox" name="groupRandomSettings">
     329    <property name="geometry">
     330     <rect>
     331      <x>10</x>
     332      <y>10</y>
     333      <width>115</width>
     334      <height>84</height>
     335     </rect>
     336    </property>
     337    <property name="title">
     338     <string>Random values:</string>
     339    </property>
     340    <layout class="QVBoxLayout">
    32341     <item>
    33       <widget class="QLabel" name="imageSide">
    34        <property name="minimumSize">
    35         <size>
    36          <width>130</width>
    37          <height>0</height>
    38         </size>
    39        </property>
    40        <property name="styleSheet">
    41         <string>background-color: #0080C0</string>
    42        </property>
    43        <property name="frameShape">
    44         <enum>QFrame::StyledPanel</enum>
    45        </property>
    46        <property name="lineWidth">
    47         <number>0</number>
    48        </property>
    49        <property name="text">
    50         <string/>
    51        </property>
    52        <property name="pixmap">
    53         <pixmap resource="../resources/tspsg.qrc">:/images/icons/preferences_system.png</pixmap>
    54        </property>
    55        <property name="alignment">
    56         <set>Qt::AlignCenter</set>
    57        </property>
    58       </widget>
     342      <layout class="QHBoxLayout">
     343       <item>
     344        <widget class="QLabel" name="labelRandMin">
     345         <property name="text">
     346          <string>&amp;Minimal:</string>
     347         </property>
     348         <property name="buddy">
     349          <cstring>spinRandMin</cstring>
     350         </property>
     351        </widget>
     352       </item>
     353       <item>
     354        <widget class="QSpinBox" name="spinRandMin">
     355         <property name="sizePolicy">
     356          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     357           <horstretch>0</horstretch>
     358           <verstretch>0</verstretch>
     359          </sizepolicy>
     360         </property>
     361         <property name="cursor">
     362          <cursorShape>PointingHandCursor</cursorShape>
     363         </property>
     364         <property name="statusTip">
     365          <string>Minimum for random number generation</string>
     366         </property>
     367         <property name="maximum">
     368          <number>1000</number>
     369         </property>
     370         <property name="value">
     371          <number>1</number>
     372         </property>
     373        </widget>
     374       </item>
     375      </layout>
    59376     </item>
    60377     <item>
    61       <widget class="Line" name="lineVertical">
    62        <property name="frameShadow">
    63         <enum>QFrame::Plain</enum>
    64        </property>
    65        <property name="lineWidth">
    66         <number>2</number>
    67        </property>
    68        <property name="orientation">
    69         <enum>Qt::Vertical</enum>
    70        </property>
    71       </widget>
    72      </item>
    73      <item>
    74       <widget class="QWidget" name="background" native="true">
    75        <property name="palette">
    76         <palette>
    77          <active>
    78           <colorrole role="Base">
    79            <brush brushstyle="SolidPattern">
    80             <color alpha="255">
    81              <red>255</red>
    82              <green>255</green>
    83              <blue>255</blue>
    84             </color>
    85            </brush>
    86           </colorrole>
    87           <colorrole role="Window">
    88            <brush brushstyle="SolidPattern">
    89             <color alpha="255">
    90              <red>255</red>
    91              <green>255</green>
    92              <blue>255</blue>
    93             </color>
    94            </brush>
    95           </colorrole>
    96          </active>
    97          <inactive>
    98           <colorrole role="Base">
    99            <brush brushstyle="SolidPattern">
    100             <color alpha="255">
    101              <red>255</red>
    102              <green>255</green>
    103              <blue>255</blue>
    104             </color>
    105            </brush>
    106           </colorrole>
    107           <colorrole role="Window">
    108            <brush brushstyle="SolidPattern">
    109             <color alpha="255">
    110              <red>255</red>
    111              <green>255</green>
    112              <blue>255</blue>
    113             </color>
    114            </brush>
    115           </colorrole>
    116          </inactive>
    117          <disabled>
    118           <colorrole role="Base">
    119            <brush brushstyle="SolidPattern">
    120             <color alpha="255">
    121              <red>255</red>
    122              <green>255</green>
    123              <blue>255</blue>
    124             </color>
    125            </brush>
    126           </colorrole>
    127           <colorrole role="Window">
    128            <brush brushstyle="SolidPattern">
    129             <color alpha="255">
    130              <red>255</red>
    131              <green>255</green>
    132              <blue>255</blue>
    133             </color>
    134            </brush>
    135           </colorrole>
    136          </disabled>
    137         </palette>
    138        </property>
    139        <property name="autoFillBackground">
    140         <bool>true</bool>
    141        </property>
    142        <layout class="QVBoxLayout">
    143         <item>
    144          <layout class="QHBoxLayout">
    145           <property name="spacing">
    146            <number>6</number>
    147           </property>
    148           <item>
    149            <widget class="QGroupBox" name="groupRandomSettings">
    150             <property name="title">
    151              <string>Random values:</string>
    152             </property>
    153             <layout class="QVBoxLayout">
    154              <item>
    155               <layout class="QHBoxLayout">
    156                <item>
    157                 <widget class="QLabel" name="labelRandMin">
    158                  <property name="sizePolicy">
    159                   <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
    160                    <horstretch>0</horstretch>
    161                    <verstretch>0</verstretch>
    162                   </sizepolicy>
    163                  </property>
    164                  <property name="text">
    165                   <string>&amp;Minimal:</string>
    166                  </property>
    167                  <property name="buddy">
    168                   <cstring>spinRandMin</cstring>
    169                  </property>
    170                 </widget>
    171                </item>
    172                <item>
    173                 <widget class="QSpinBox" name="spinRandMin">
    174                  <property name="cursor">
    175                   <cursorShape>PointingHandCursor</cursorShape>
    176                  </property>
    177                  <property name="statusTip">
    178                   <string>Minimum for random number generation</string>
    179                  </property>
    180                  <property name="maximum">
    181                   <number>1000</number>
    182                  </property>
    183                  <property name="value">
    184                   <number>1</number>
    185                  </property>
    186                 </widget>
    187                </item>
    188               </layout>
    189              </item>
    190              <item>
    191               <layout class="QHBoxLayout">
    192                <item>
    193                 <widget class="QLabel" name="labelRandMax">
    194                  <property name="sizePolicy">
    195                   <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
    196                    <horstretch>0</horstretch>
    197                    <verstretch>0</verstretch>
    198                   </sizepolicy>
    199                  </property>
    200                  <property name="text">
    201                   <string>Ma&amp;ximal:</string>
    202                  </property>
    203                  <property name="buddy">
    204                   <cstring>spinRandMax</cstring>
    205                  </property>
    206                 </widget>
    207                </item>
    208                <item>
    209                 <widget class="QSpinBox" name="spinRandMax">
    210                  <property name="cursor">
    211                   <cursorShape>PointingHandCursor</cursorShape>
    212                  </property>
    213                  <property name="statusTip">
    214                   <string>Maximum for random number generation</string>
    215                  </property>
    216                  <property name="minimum">
    217                   <number>1</number>
    218                  </property>
    219                  <property name="maximum">
    220                   <number>1000</number>
    221                  </property>
    222                  <property name="value">
    223                   <number>10</number>
    224                  </property>
    225                 </widget>
    226                </item>
    227               </layout>
    228              </item>
    229             </layout>
    230            </widget>
    231           </item>
    232           <item>
    233            <widget class="QGroupBox" name="groupOutputSettings">
    234             <property name="title">
    235              <string>Output settings:</string>
    236             </property>
    237             <layout class="QVBoxLayout" name="verticalLayout">
    238              <item>
    239               <widget class="QPushButton" name="buttonFont">
    240                <property name="cursor">
    241                 <cursorShape>PointingHandCursor</cursorShape>
    242                </property>
    243                <property name="statusTip">
    244                 <string>Font face for printing</string>
    245                </property>
    246                <property name="text">
    247                 <string>&amp;Font...</string>
    248                </property>
    249                <property name="icon">
    250                 <iconset resource="../resources/tspsg.qrc">
    251                  <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset>
    252                </property>
    253               </widget>
    254              </item>
    255              <item>
    256               <widget class="QPushButton" name="buttonColor">
    257                <property name="cursor">
    258                 <cursorShape>PointingHandCursor</cursorShape>
    259                </property>
    260                <property name="statusTip">
    261                 <string>Font color for printing</string>
    262                </property>
    263                <property name="text">
    264                 <string>&amp;Color...</string>
    265                </property>
    266                <property name="icon">
    267                 <iconset resource="../resources/tspsg.qrc">
    268                  <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset>
    269                </property>
    270               </widget>
    271              </item>
    272             </layout>
    273            </widget>
    274           </item>
    275          </layout>
    276         </item>
    277         <item>
    278          <widget class="QCheckBox" name="cbSaveState">
    279           <property name="cursor">
    280            <cursorShape>PointingHandCursor</cursorShape>
    281           </property>
    282           <property name="statusTip">
    283            <string>Restore main window state and position on application restart</string>
    284           </property>
    285           <property name="text">
    286            <string>Save main window state and position</string>
    287           </property>
    288          </widget>
    289         </item>
    290        </layout>
    291       </widget>
     378      <layout class="QHBoxLayout">
     379       <item>
     380        <widget class="QLabel" name="labelRandMax">
     381         <property name="text">
     382          <string>Ma&amp;ximal:</string>
     383         </property>
     384         <property name="buddy">
     385          <cstring>spinRandMax</cstring>
     386         </property>
     387        </widget>
     388       </item>
     389       <item>
     390        <widget class="QSpinBox" name="spinRandMax">
     391         <property name="sizePolicy">
     392          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
     393           <horstretch>0</horstretch>
     394           <verstretch>0</verstretch>
     395          </sizepolicy>
     396         </property>
     397         <property name="cursor">
     398          <cursorShape>PointingHandCursor</cursorShape>
     399         </property>
     400         <property name="statusTip">
     401          <string>Maximum for random number generation</string>
     402         </property>
     403         <property name="minimum">
     404          <number>1</number>
     405         </property>
     406         <property name="maximum">
     407          <number>1000</number>
     408         </property>
     409         <property name="value">
     410          <number>10</number>
     411         </property>
     412        </widget>
     413       </item>
     414      </layout>
    292415     </item>
    293416    </layout>
    294    </item>
    295    <item>
    296     <widget class="Line" name="lineHorizontal">
    297      <property name="maximumSize">
    298       <size>
    299        <width>16777215</width>
    300        <height>2</height>
    301       </size>
    302      </property>
    303      <property name="frameShadow">
    304       <enum>QFrame::Plain</enum>
    305      </property>
    306      <property name="lineWidth">
    307       <number>2</number>
    308      </property>
    309      <property name="orientation">
    310       <enum>Qt::Horizontal</enum>
     417   </widget>
     418   <widget class="QGroupBox" name="groupOutputSettings">
     419    <property name="geometry">
     420     <rect>
     421      <x>131</x>
     422      <y>10</y>
     423      <width>95</width>
     424      <height>88</height>
     425     </rect>
     426    </property>
     427    <property name="title">
     428     <string>Output settings:</string>
     429    </property>
     430    <widget class="QPushButton" name="buttonFont">
     431     <property name="geometry">
     432      <rect>
     433       <x>10</x>
     434       <y>24</y>
     435       <width>75</width>
     436       <height>24</height>
     437      </rect>
     438     </property>
     439     <property name="cursor">
     440      <cursorShape>PointingHandCursor</cursorShape>
     441     </property>
     442     <property name="statusTip">
     443      <string>Font face for printing</string>
     444     </property>
     445     <property name="text">
     446      <string>&amp;Font...</string>
     447     </property>
     448     <property name="icon">
     449      <iconset resource="../resources/tspsg.qrc">
     450       <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset>
    311451     </property>
    312452    </widget>
    313    </item>
    314    <item>
    315     <layout class="QHBoxLayout">
    316      <property name="spacing">
    317       <number>6</number>
    318      </property>
    319      <property name="margin">
    320       <number>6</number>
    321      </property>
    322      <item>
    323       <widget class="QToolButton" name="buttonHelp">
    324        <property name="enabled">
    325         <bool>false</bool>
    326        </property>
    327        <property name="cursor">
    328         <cursorShape>PointingHandCursor</cursorShape>
    329        </property>
    330        <property name="toolTip">
    331         <string>Help</string>
    332        </property>
    333        <property name="statusTip">
    334         <string>Get preferences help</string>
    335        </property>
    336        <property name="text">
    337         <string>Help</string>
    338        </property>
    339        <property name="icon">
    340         <iconset resource="../resources/tspsg.qrc">
    341          <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset>
    342        </property>
    343        <property name="autoRaise">
    344         <bool>true</bool>
    345        </property>
    346       </widget>
    347      </item>
    348      <item>
    349       <widget class="QLabel" name="labelHint">
    350        <property name="sizePolicy">
    351         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
    352          <horstretch>0</horstretch>
    353          <verstretch>0</verstretch>
    354         </sizepolicy>
    355        </property>
    356        <property name="minimumSize">
    357         <size>
    358          <width>0</width>
    359          <height>28</height>
    360         </size>
    361        </property>
    362        <property name="maximumSize">
    363         <size>
    364          <width>16777215</width>
    365          <height>28</height>
    366         </size>
    367        </property>
    368        <property name="statusTip">
    369         <string>Hover mouse pointer over dialog elements to get additional help</string>
    370        </property>
    371        <property name="text">
    372         <string/>
    373        </property>
    374        <property name="textFormat">
    375         <enum>Qt::PlainText</enum>
    376        </property>
    377        <property name="alignment">
    378         <set>Qt::AlignJustify|Qt::AlignTop</set>
    379        </property>
    380        <property name="wordWrap">
    381         <bool>true</bool>
    382        </property>
    383       </widget>
    384      </item>
    385      <item>
    386       <widget class="QPushButton" name="buttonOK">
    387        <property name="cursor">
    388         <cursorShape>PointingHandCursor</cursorShape>
    389        </property>
    390        <property name="statusTip">
    391         <string>Save new preferences</string>
    392        </property>
    393        <property name="text">
    394         <string>&amp;OK</string>
    395        </property>
    396        <property name="icon">
    397         <iconset resource="../resources/tspsg.qrc">
    398          <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
    399        </property>
    400        <property name="default">
    401         <bool>true</bool>
    402        </property>
    403       </widget>
    404      </item>
    405      <item>
    406       <widget class="QPushButton" name="buttonCancel">
    407        <property name="cursor">
    408         <cursorShape>PointingHandCursor</cursorShape>
    409        </property>
    410        <property name="statusTip">
    411         <string>Close without saving preferences</string>
    412        </property>
    413        <property name="text">
    414         <string>&amp;Cancel</string>
    415        </property>
    416        <property name="icon">
    417         <iconset resource="../resources/tspsg.qrc">
    418          <normaloff>:/images/icons/button_cancel.png</normaloff>:/images/icons/button_cancel.png</iconset>
    419        </property>
    420       </widget>
    421      </item>
    422     </layout>
    423    </item>
    424   </layout>
     453    <widget class="QPushButton" name="buttonColor">
     454     <property name="geometry">
     455      <rect>
     456       <x>10</x>
     457       <y>54</y>
     458       <width>75</width>
     459       <height>24</height>
     460      </rect>
     461     </property>
     462     <property name="cursor">
     463      <cursorShape>PointingHandCursor</cursorShape>
     464     </property>
     465     <property name="statusTip">
     466      <string>Font color for printing</string>
     467     </property>
     468     <property name="text">
     469      <string>&amp;Color...</string>
     470     </property>
     471     <property name="icon">
     472      <iconset resource="../resources/tspsg.qrc">
     473       <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset>
     474     </property>
     475    </widget>
     476   </widget>
     477  </widget>
    425478 </widget>
    426479 <resources>
    427   <include location="../resources/tspsg.qrc"/>
    428   <include location="../resources/tspsg.qrc"/>
    429   <include location="../resources/tspsg.qrc"/>
    430   <include location="../resources/tspsg.qrc"/>
    431   <include location="../resources/tspsg.qrc"/>
    432   <include location="../resources/tspsg.qrc"/>
    433   <include location="../resources/tspsg.qrc"/>
    434   <include location="../resources/tspsg.qrc"/>
    435480  <include location="../resources/tspsg.qrc"/>
    436481 </resources>
Note: See TracChangeset for help on using the changeset viewer.