Changeset 281303f1f7 in tspsg
- Timestamp:
- Aug 21, 2009, 2:28:30 AM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 2fb523720a
- Parents:
- 6dfdef0c3e
- Files:
-
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
i18n/en.ts
r6dfdef0c3e r281303f1f7 140 140 <name>MainWindow</name> 141 141 <message> 142 <location filename="../src/mainwindow.cpp" line="5 43"/>143 <location filename="../src/mainwindow.cpp" line="5 52"/>142 <location filename="../src/mainwindow.cpp" line="558"/> 143 <location filename="../src/mainwindow.cpp" line="567"/> 144 144 <source>Language change</source> 145 145 <translation type="unfinished"></translation> … … 184 184 <message> 185 185 <location filename="../src/mainwindow.cpp" line="239"/> 186 <location filename="../src/mainwindow.cpp" line="2 89"/>187 <location filename="../src/mainwindow.cpp" line="3 23"/>186 <location filename="../src/mainwindow.cpp" line="297"/> 187 <location filename="../src/mainwindow.cpp" line="341"/> 188 188 <source>All Files</source> 189 189 <translation type="unfinished"></translation> 190 190 </message> 191 191 <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"/> 193 198 <source>HTML Files</source> 194 199 <translation type="unfinished"></translation> 195 200 </message> 196 201 <message> 197 <location filename="../src/mainwindow.cpp" line="2 87"/>202 <location filename="../src/mainwindow.cpp" line="295"/> 198 203 <source>OpenDocument Files</source> 199 204 <translation type="unfinished"></translation> 200 205 </message> 201 206 <message> 202 <location filename="../src/mainwindow.cpp" line="3 22"/>207 <location filename="../src/mainwindow.cpp" line="340"/> 203 208 <source>%1 Task File</source> 204 209 <translation type="unfinished"></translation> 205 210 </message> 206 211 <message> 207 <location filename="../src/mainwindow.cpp" line="3 53"/>212 <location filename="../src/mainwindow.cpp" line="371"/> 208 213 <source>Settings Changed</source> 209 214 <translation type="unfinished"></translation> 210 215 </message> 211 216 <message> 212 <location filename="../src/mainwindow.cpp" line="3 53"/>217 <location filename="../src/mainwindow.cpp" line="371"/> 213 218 <source>You have changed color settings. 214 219 Do you wish to apply them to current solution text?</source> … … 216 221 </message> 217 222 <message> 218 <location filename="../src/mainwindow.cpp" line="4 38"/>223 <location filename="../src/mainwindow.cpp" line="456"/> 219 224 <source>Data error</source> 220 225 <translation type="unfinished"></translation> 221 226 </message> 222 227 <message> 223 <location filename="../src/mainwindow.cpp" line="4 38"/>228 <location filename="../src/mainwindow.cpp" line="456"/> 224 229 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 225 230 <translation type="unfinished"></translation> 226 231 </message> 227 232 <message> 228 <location filename="../src/mainwindow.cpp" line="4 54"/>233 <location filename="../src/mainwindow.cpp" line="469"/> 229 234 <source>Variant #%1</source> 230 235 <translation type="unfinished"></translation> 231 236 </message> 232 237 <message> 233 <location filename="../src/mainwindow.cpp" line="4 55"/>238 <location filename="../src/mainwindow.cpp" line="470"/> 234 239 <source>Task:</source> 235 240 <translation type="unfinished"></translation> 236 241 </message> 237 242 <message> 238 <location filename="../src/mainwindow.cpp" line="4 58"/>239 <location filename="../src/mainwindow.cpp" line="4 84"/>243 <location filename="../src/mainwindow.cpp" line="473"/> 244 <location filename="../src/mainwindow.cpp" line="499"/> 240 245 <source>Solution of Variant #%1 task</source> 241 246 <translation type="unfinished"></translation> 242 247 </message> 243 248 <message> 244 <location filename="../src/mainwindow.cpp" line="4 65"/>249 <location filename="../src/mainwindow.cpp" line="480"/> 245 250 <source>Step #%1</source> 246 251 <translation type="unfinished"></translation> 247 252 </message> 248 253 <message> 249 <location filename="../src/mainwindow.cpp" line="4 68"/>254 <location filename="../src/mainwindow.cpp" line="483"/> 250 255 <source>This step has alternate candidates for branching.</source> 251 256 <translation type="unfinished"></translation> 252 257 </message> 253 258 <message> 254 <location filename="../src/mainwindow.cpp" line="4 80"/>259 <location filename="../src/mainwindow.cpp" line="495"/> 255 260 <source>Optimal path:</source> 256 261 <translation type="unfinished"></translation> 257 262 </message> 258 263 <message> 259 <location filename="../src/mainwindow.cpp" line="4 82"/>264 <location filename="../src/mainwindow.cpp" line="497"/> 260 265 <source>The price is <b>%1</b> units.</source> 261 266 <translation type="unfinished"></translation> 262 267 </message> 263 268 <message> 264 <location filename="../src/mainwindow.cpp" line="5 43"/>269 <location filename="../src/mainwindow.cpp" line="558"/> 265 270 <source>Language will be autodetected on next application start.</source> 266 271 <translation type="unfinished"></translation> 267 272 </message> 268 273 <message> 269 <location filename="../src/mainwindow.cpp" line="5 52"/>274 <location filename="../src/mainwindow.cpp" line="567"/> 270 275 <source>You have language autodetection turned on. 271 276 It needs to be off. … … 274 279 </message> 275 280 <message> 281 <location filename="../src/mainwindow.h" line="78"/> 276 282 <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"/> 279 284 <source>Untitled</source> 280 285 <translation type="unfinished"></translation> … … 657 662 <name>SettingsDialog</name> 658 663 <message> 659 <location filename="../ui/settingsdialog.ce.ui" line="14"/>660 664 <location filename="../ui/settingsdialog.ui" line="14"/> 661 665 <source>Preferences</source> … … 663 667 </message> 664 668 <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"/> 667 670 <source>Random values:</source> 668 671 <translation type="unfinished"></translation> 669 672 </message> 670 673 <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"/> 673 675 <source>&Minimal:</source> 674 676 <translation type="unfinished"></translation> 675 677 </message> 676 678 <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"/> 679 680 <source>Minimum for random number generation</source> 680 681 <translation type="unfinished"></translation> 681 682 </message> 682 683 <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"/> 685 685 <source>Ma&ximal:</source> 686 686 <translation type="unfinished"></translation> 687 687 </message> 688 688 <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"/> 691 690 <source>Maximum for random number generation</source> 692 691 <translation type="unfinished"></translation> 693 692 </message> 694 693 <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>&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>&Font...</source> 716 <translation type="unfinished"></translation> 717 </message> 718 <message> 696 719 <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>&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>&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"/> 729 721 <source>Help</source> 730 722 <translation type="unfinished"></translation> 731 723 </message> 732 724 <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"/> 735 726 <source>Get preferences help</source> 736 727 <translation type="unfinished"></translation> 737 728 </message> 738 729 <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"/> 741 731 <source>Save new preferences</source> 742 732 <translation type="unfinished"></translation> 743 733 </message> 744 734 <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"/> 747 736 <source>&OK</source> 748 737 <translation type="unfinished"></translation> 749 738 </message> 750 739 <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"/> 753 741 <source>Close without saving preferences</source> 754 742 <translation type="unfinished"></translation> 755 743 </message> 756 744 <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"/> 759 746 <source>&Cancel</source> 760 747 <translation type="unfinished"></translation> 761 748 </message> 762 749 <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"/> 769 751 <source>Restore main window state and position on application restart</source> 770 752 <translation type="unfinished"></translation> 771 753 </message> 772 754 <message> 773 <location filename="../ ui/settingsdialog.ui" line="286"/>755 <location filename="../src/settingsdialog.cpp" line="80"/> 774 756 <source>Save main window state and position</source> 775 757 <translation type="unfinished"></translation> 776 758 </message> 777 759 <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"/> 779 762 <source>Hover mouse pointer over dialog elements to get additional help</source> 780 763 <translation type="unfinished"></translation> -
i18n/ru.ts
r6dfdef0c3e r281303f1f7 148 148 <name>MainWindow</name> 149 149 <message> 150 <location filename="../src/mainwindow.cpp" line="5 40"/>151 <location filename="../src/mainwindow.cpp" line="5 49"/>150 <location filename="../src/mainwindow.cpp" line="558"/> 151 <location filename="../src/mainwindow.cpp" line="567"/> 152 152 <source>Language change</source> 153 153 <translation>Смена языка</translation> … … 176 176 <message> 177 177 <location filename="../src/mainwindow.cpp" line="239"/> 178 <location filename="../src/mainwindow.cpp" line="2 89"/>179 <location filename="../src/mainwindow.cpp" line="3 23"/>178 <location filename="../src/mainwindow.cpp" line="297"/> 179 <location filename="../src/mainwindow.cpp" line="341"/> 180 180 <source>All Files</source> 181 181 <translation>Все файлы</translation> … … 198 198 </message> 199 199 <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"/> 201 206 <source>HTML Files</source> 202 207 <translation>Файлы HTML</translation> 203 208 </message> 204 209 <message> 205 <location filename="../src/mainwindow.cpp" line="2 87"/>210 <location filename="../src/mainwindow.cpp" line="295"/> 206 211 <source>OpenDocument Files</source> 207 212 <translation>Файлы OpenDocument</translation> 208 213 </message> 209 214 <message> 210 <location filename="../src/mainwindow.cpp" line="3 22"/>215 <location filename="../src/mainwindow.cpp" line="340"/> 211 216 <source>%1 Task File</source> 212 217 <translation>Файл условия %1</translation> 213 218 </message> 214 219 <message> 215 <location filename="../src/mainwindow.cpp" line="3 53"/>220 <location filename="../src/mainwindow.cpp" line="371"/> 216 221 <source>Settings Changed</source> 217 222 <translation>Параметры изменены</translation> 218 223 </message> 219 224 <message> 220 <location filename="../src/mainwindow.cpp" line="3 53"/>225 <location filename="../src/mainwindow.cpp" line="371"/> 221 226 <source>You have changed color settings. 222 227 Do you wish to apply them to current solution text?</source> … … 225 230 </message> 226 231 <message> 227 <location filename="../src/mainwindow.cpp" line="4 38"/>232 <location filename="../src/mainwindow.cpp" line="456"/> 228 233 <source>Data error</source> 229 234 <translation>Ошибка в данных</translation> 230 235 </message> 231 236 <message> 232 <location filename="../src/mainwindow.cpp" line="4 38"/>237 <location filename="../src/mainwindow.cpp" line="456"/> 233 238 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 234 239 <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation> 235 240 </message> 236 241 <message> 237 <location filename="../src/mainwindow.cpp" line="4 51"/>242 <location filename="../src/mainwindow.cpp" line="469"/> 238 243 <source>Variant #%1</source> 239 244 <translation>Вариант №%1</translation> 240 245 </message> 241 246 <message> 242 <location filename="../src/mainwindow.cpp" line="4 52"/>247 <location filename="../src/mainwindow.cpp" line="470"/> 243 248 <source>Task:</source> 244 249 <translation>Условие:</translation> 245 250 </message> 246 251 <message> 247 <location filename="../src/mainwindow.cpp" line="4 55"/>248 <location filename="../src/mainwindow.cpp" line="4 81"/>252 <location filename="../src/mainwindow.cpp" line="473"/> 253 <location filename="../src/mainwindow.cpp" line="499"/> 249 254 <source>Solution of Variant #%1 task</source> 250 255 <translation>Решение варианта №%1</translation> 251 256 </message> 252 257 <message> 253 <location filename="../src/mainwindow.cpp" line="4 62"/>258 <location filename="../src/mainwindow.cpp" line="480"/> 254 259 <source>Step #%1</source> 255 260 <translation>Шаг №%1</translation> 256 261 </message> 257 262 <message> 258 <location filename="../src/mainwindow.cpp" line="4 65"/>263 <location filename="../src/mainwindow.cpp" line="483"/> 259 264 <source>This step has alternate candidates for branching.</source> 260 265 <translation>У этого шага есть альтернативные кандидаты на ветвление.</translation> 261 266 </message> 262 267 <message> 263 <location filename="../src/mainwindow.cpp" line="4 77"/>268 <location filename="../src/mainwindow.cpp" line="495"/> 264 269 <source>Optimal path:</source> 265 270 <translation>Оптимальный путь:</translation> 266 271 </message> 267 272 <message> 268 <location filename="../src/mainwindow.cpp" line="4 79"/>273 <location filename="../src/mainwindow.cpp" line="497"/> 269 274 <source>The price is <b>%1</b> units.</source> 270 275 <translation>Стоимость - <b>%1</b> единиц.</translation> 271 276 </message> 272 277 <message> 273 <location filename="../src/mainwindow.cpp" line="5 40"/>278 <location filename="../src/mainwindow.cpp" line="558"/> 274 279 <source>Language will be autodetected on next application start.</source> 275 280 <translation>Язык будет автоматически определен при следующем запуске приложения.</translation> 276 281 </message> 277 282 <message> 278 <location filename="../src/mainwindow.cpp" line="5 49"/>283 <location filename="../src/mainwindow.cpp" line="567"/> 279 284 <source>You have language autodetection turned on. 280 285 It needs to be off. … … 287 292 <location filename="../src/mainwindow.h" line="78"/> 288 293 <location filename="../src/mainwindow.cpp" line="263"/> 289 <location filename="../src/mainwindow.cpp" line="5 54"/>294 <location filename="../src/mainwindow.cpp" line="572"/> 290 295 <source>Untitled</source> 291 296 <translation>Без имени</translation> … … 668 673 <name>SettingsDialog</name> 669 674 <message> 670 <location filename="../ui/settingsdialog.ce.ui" line="14"/>671 675 <location filename="../ui/settingsdialog.ui" line="14"/> 672 676 <source>Preferences</source> … … 674 678 </message> 675 679 <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"/> 678 681 <source>Random values:</source> 679 682 <translation>Случайные значения:</translation> 680 683 </message> 681 684 <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"/> 684 686 <source>&Minimal:</source> 685 687 <translation>&Минимум:</translation> 686 688 </message> 687 689 <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"/> 690 691 <source>Minimum for random number generation</source> 691 692 <translation>Нижняя граница для генерации случайных значений</translation> 692 693 </message> 693 694 <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"/> 696 696 <source>Ma&ximal:</source> 697 697 <translation>М&аксимум:</translation> 698 698 </message> 699 699 <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"/> 702 701 <source>Maximum for random number generation</source> 703 702 <translation>Верхняя граница для генерации случайных значений</translation> 704 703 </message> 705 704 <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"/> 708 706 <source>Output settings:</source> 709 707 <translation>Параметры вывода:</translation> 710 708 </message> 711 709 <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"/> 714 711 <source>Font color for printing</source> 715 712 <translation>Цвет шрифта, используемого при печати</translation> 716 713 </message> 717 714 <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"/> 720 716 <source>&Color...</source> 721 717 <translation>&Цвет...</translation> 722 718 </message> 723 719 <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"/> 726 721 <source>Font face for printing</source> 727 722 <translation>Вид шрифта, используемого при печати</translation> 728 723 </message> 729 724 <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"/> 732 726 <source>&Font...</source> 733 727 <translation>&Шрифт...</translation> 734 728 </message> 735 729 <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"/> 740 732 <source>Help</source> 741 733 <translation>Помощь</translation> 742 734 </message> 743 735 <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"/> 746 737 <source>Get preferences help</source> 747 738 <translation>Получить помощь по настройкам</translation> 748 739 </message> 749 740 <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"/> 752 742 <source>Save new preferences</source> 753 743 <translation>Сохранить новые параметры</translation> 754 744 </message> 755 745 <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"/> 758 747 <source>&OK</source> 759 748 <translation></translation> 760 749 </message> 761 750 <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"/> 764 752 <source>Close without saving preferences</source> 765 753 <translation>Закрыть окно без сохранения параметров</translation> 766 754 </message> 767 755 <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"/> 770 757 <source>&Cancel</source> 771 758 <translation>&Отмена</translation> 772 759 </message> 773 760 <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"/> 780 762 <source>Restore main window state and position on application restart</source> 781 763 <translation>Восстанавливать состояние и размеры главного окна после перезапуска приложения</translation> 782 764 </message> 783 765 <message> 784 <location filename="../ ui/settingsdialog.ui" line="286"/>766 <location filename="../src/settingsdialog.cpp" line="80"/> 785 767 <source>Save main window state and position</source> 786 768 <translation>Сохранять состояние и положение главного окна</translation> 787 769 </message> 788 770 <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"/> 790 773 <source>Hover mouse pointer over dialog elements to get additional help</source> 791 774 <translation>Наведите указатель мыши на элемент диалога, чтоб получить подсказку</translation> -
i18n/uk.ts
r6dfdef0c3e r281303f1f7 521 521 </message> 522 522 <message> 523 <location filename="../src/mainwindow.cpp" line="5 40"/>524 <location filename="../src/mainwindow.cpp" line="5 49"/>523 <location filename="../src/mainwindow.cpp" line="558"/> 524 <location filename="../src/mainwindow.cpp" line="567"/> 525 525 <source>Language change</source> 526 526 <translation>Зміна мови</translation> … … 549 549 <message> 550 550 <location filename="../src/mainwindow.cpp" line="239"/> 551 <location filename="../src/mainwindow.cpp" line="2 89"/>552 <location filename="../src/mainwindow.cpp" line="3 23"/>551 <location filename="../src/mainwindow.cpp" line="297"/> 552 <location filename="../src/mainwindow.cpp" line="341"/> 553 553 <source>All Files</source> 554 554 <translation>Усі файли</translation> … … 571 571 </message> 572 572 <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"/> 574 579 <source>HTML Files</source> 575 580 <translation>Файли HTML</translation> 576 581 </message> 577 582 <message> 578 <location filename="../src/mainwindow.cpp" line="2 87"/>583 <location filename="../src/mainwindow.cpp" line="295"/> 579 584 <source>OpenDocument Files</source> 580 585 <translation>Файли OpenDocument</translation> 581 586 </message> 582 587 <message> 583 <location filename="../src/mainwindow.cpp" line="3 22"/>588 <location filename="../src/mainwindow.cpp" line="340"/> 584 589 <source>%1 Task File</source> 585 590 <translation>Файл умови %1</translation> 586 591 </message> 587 592 <message> 588 <location filename="../src/mainwindow.cpp" line="3 53"/>593 <location filename="../src/mainwindow.cpp" line="371"/> 589 594 <source>Settings Changed</source> 590 595 <translation>Параметри змінено</translation> 591 596 </message> 592 597 <message> 593 <location filename="../src/mainwindow.cpp" line="3 53"/>598 <location filename="../src/mainwindow.cpp" line="371"/> 594 599 <source>You have changed color settings. 595 600 Do you wish to apply them to current solution text?</source> … … 598 603 </message> 599 604 <message> 600 <location filename="../src/mainwindow.cpp" line="4 38"/>605 <location filename="../src/mainwindow.cpp" line="456"/> 601 606 <source>Data error</source> 602 607 <translation>Помилка у даних</translation> 603 608 </message> 604 609 <message> 605 <location filename="../src/mainwindow.cpp" line="4 38"/>610 <location filename="../src/mainwindow.cpp" line="456"/> 606 611 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 607 612 <translation>Помилка у комірці [Рядок %1; Колонка %2]: Невірний формат даних.</translation> 608 613 </message> 609 614 <message> 610 <location filename="../src/mainwindow.cpp" line="4 51"/>615 <location filename="../src/mainwindow.cpp" line="469"/> 611 616 <source>Variant #%1</source> 612 617 <translation>Варіант №%1</translation> 613 618 </message> 614 619 <message> 615 <location filename="../src/mainwindow.cpp" line="4 52"/>620 <location filename="../src/mainwindow.cpp" line="470"/> 616 621 <source>Task:</source> 617 622 <translation>Умова:</translation> 618 623 </message> 619 624 <message> 620 <location filename="../src/mainwindow.cpp" line="4 55"/>621 <location filename="../src/mainwindow.cpp" line="4 81"/>625 <location filename="../src/mainwindow.cpp" line="473"/> 626 <location filename="../src/mainwindow.cpp" line="499"/> 622 627 <source>Solution of Variant #%1 task</source> 623 628 <translation>Розв'язок варіанту №%1</translation> 624 629 </message> 625 630 <message> 626 <location filename="../src/mainwindow.cpp" line="4 62"/>631 <location filename="../src/mainwindow.cpp" line="480"/> 627 632 <source>Step #%1</source> 628 633 <translation>Крок №%1</translation> 629 634 </message> 630 635 <message> 631 <location filename="../src/mainwindow.cpp" line="4 65"/>636 <location filename="../src/mainwindow.cpp" line="483"/> 632 637 <source>This step has alternate candidates for branching.</source> 633 638 <translation>У цьому кроці є альтернативні кандидати на розгалудження.</translation> 634 639 </message> 635 640 <message> 636 <location filename="../src/mainwindow.cpp" line="4 77"/>641 <location filename="../src/mainwindow.cpp" line="495"/> 637 642 <source>Optimal path:</source> 638 643 <translation>Оптимальний шлях:</translation> 639 644 </message> 640 645 <message> 641 <location filename="../src/mainwindow.cpp" line="4 79"/>646 <location filename="../src/mainwindow.cpp" line="497"/> 642 647 <source>The price is <b>%1</b> units.</source> 643 648 <translation>Вартість - <b>%1</b> одиниць.</translation> 644 649 </message> 645 650 <message> 646 <location filename="../src/mainwindow.cpp" line="5 40"/>651 <location filename="../src/mainwindow.cpp" line="558"/> 647 652 <source>Language will be autodetected on next application start.</source> 648 653 <translation>Мову буде автоматично визначено при наступному запуску додатку.</translation> 649 654 </message> 650 655 <message> 651 <location filename="../src/mainwindow.cpp" line="5 49"/>656 <location filename="../src/mainwindow.cpp" line="567"/> 652 657 <source>You have language autodetection turned on. 653 658 It needs to be off. … … 660 665 <location filename="../src/mainwindow.h" line="78"/> 661 666 <location filename="../src/mainwindow.cpp" line="263"/> 662 <location filename="../src/mainwindow.cpp" line="5 54"/>667 <location filename="../src/mainwindow.cpp" line="572"/> 663 668 <source>Untitled</source> 664 669 <translation>Без імені</translation> … … 668 673 <name>SettingsDialog</name> 669 674 <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"/> 676 676 <source>Restore main window state and position on application restart</source> 677 677 <translation>Відновлювати стан та розмір головного вікна після перезапуску додатку</translation> 678 678 </message> 679 679 <message> 680 <location filename="../ ui/settingsdialog.ui" line="286"/>680 <location filename="../src/settingsdialog.cpp" line="80"/> 681 681 <source>Save main window state and position</source> 682 682 <translation>Зберегти стан та розміщення головного вікна</translation> 683 683 </message> 684 684 <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"/> 686 687 <source>Hover mouse pointer over dialog elements to get additional help</source> 687 688 <translation>Наведіть покажчик миші на елемент ділогу, щоб отримати підказку</translation> 688 689 </message> 689 690 <message> 690 <location filename="../ui/settingsdialog.ce.ui" line="14"/>691 691 <location filename="../ui/settingsdialog.ui" line="14"/> 692 692 <source>Preferences</source> … … 694 694 </message> 695 695 <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"/> 698 697 <source>Random values:</source> 699 698 <translation>Випадкові значення:</translation> 700 699 </message> 701 700 <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"/> 704 702 <source>&Minimal:</source> 705 703 <translation>&Мінімум:</translation> 706 704 </message> 707 705 <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"/> 710 707 <source>Minimum for random number generation</source> 711 708 <translation>Нажня межа для генерації випадкових значень</translation> 712 709 </message> 713 710 <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"/> 716 712 <source>Ma&ximal:</source> 717 713 <translation>М&аксимум:</translation> 718 714 </message> 719 715 <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"/> 722 717 <source>Maximum for random number generation</source> 723 718 <translation>Верхня межа для генерації випадкових значень</translation> 724 719 </message> 725 720 <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"/> 728 722 <source>Output settings:</source> 729 723 <translation>Параметри виводу:</translation> 730 724 </message> 731 725 <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"/> 734 727 <source>Font color for printing</source> 735 728 <translation>Колір шрифта для друку</translation> 736 729 </message> 737 730 <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"/> 740 732 <source>&Color...</source> 741 733 <translation>&Колір...</translation> 742 734 </message> 743 735 <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"/> 746 737 <source>Font face for printing</source> 747 738 <translation>Вигляд шрифта для друку</translation> 748 739 </message> 749 740 <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"/> 752 742 <source>&Font...</source> 753 743 <translation>&Шрифт...</translation> 754 744 </message> 755 745 <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"/> 760 748 <source>Help</source> 761 749 <translation>Допомога</translation> 762 750 </message> 763 751 <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"/> 766 753 <source>Get preferences help</source> 767 754 <translation>Отримати допомогу по налагодженням</translation> 768 755 </message> 769 756 <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"/> 772 758 <source>Save new preferences</source> 773 759 <translation>Зберегти нові параметри</translation> 774 760 </message> 775 761 <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"/> 778 763 <source>&OK</source> 779 764 <translation></translation> 780 765 </message> 781 766 <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"/> 784 768 <source>Close without saving preferences</source> 785 769 <translation>Закрити вікно без збереження параметрів</translation> 786 770 </message> 787 771 <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"/> 790 773 <source>&Cancel</source> 791 774 <translation>&Скасувати</translation> -
src/os.h
r6dfdef0c3e r281303f1f7 43 43 #endif // ARCH 44 44 45 // Target OS detection. Done by Qt, so should work with any compiler. 45 46 #ifdef Q_OS_AIX 46 47 #define OS "AIX"ARCH -
src/settingsdialog.cpp
r6dfdef0c3e r281303f1f7 28 28 { 29 29 setupUi(this); 30 // Laying out elements 31 #ifdef Q_OS_WINCE 32 // Layout helper elements 33 QVBoxLayout *vbox1, *vbox2; 34 QHBoxLayout *hbox1, *hbox2; 35 QSpacerItem *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 71 QVBoxLayout *vbox1, *vbox2, *vbox3; 72 QHBoxLayout *hbox1, *hbox2, *hbox3; 73 QSpacerItem *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 30 153 connect(buttonOK,SIGNAL(clicked()),this,SLOT(accept())); 31 154 connect(buttonCancel,SIGNAL(clicked()),this,SLOT(reject())); -
src/settingsdialog.h
r6dfdef0c3e r281303f1f7 26 26 27 27 #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" 33 29 34 30 class SettingsDialog: public QDialog, public Ui::SettingsDialog … … 37 33 public: 38 34 SettingsDialog(QWidget *parent = 0); 35 bool colorChanged() const; 39 36 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 41 44 42 45 private: 43 Q Settings *settings;46 QColor color; 44 47 QFont font; 45 QColor color;46 48 bool newFont; 47 49 bool newColor; 50 QSettings *settings; 48 51 #ifndef Q_OS_WINCE 49 52 bool event(QEvent *); … … 52 55 private slots: 53 56 void accept(); 57 void buttonColorClicked(); 58 void buttonFontClicked(); 54 59 void spinRandMinValueChanged(int val) { spinRandMax->setMinimum(val + 1); } 55 void buttonFontClicked();56 void buttonColorClicked();57 60 }; 58 61 -
tspsg.pri
r6dfdef0c3e r281303f1f7 30 30 #Forms 31 31 FORMS += ui/mainwindow.ui \ 32 ui/settingsdialog.ui \ 33 ui/settingsdialog.ce.ui 32 ui/settingsdialog.ui 34 33 35 34 #Resource file(s) -
ui/settingsdialog.ui
r6dfdef0c3e r281303f1f7 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 415</width>10 <height>17 6</height>9 <width>243</width> 10 <height>174</height> 11 11 </rect> 12 12 </property> … … 18 18 <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset> 19 19 </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>&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>&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"> 32 341 <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>&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> 59 376 </item> 60 377 <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>&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&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>&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>&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&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> 292 415 </item> 293 416 </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>&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> 311 451 </property> 312 452 </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>&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>&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>&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> 425 478 </widget> 426 479 <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"/>435 480 <include location="../resources/tspsg.qrc"/> 436 481 </resources>
Note: See TracChangeset
for help on using the changeset viewer.