Commit Graph

166 Commits

Author SHA1 Message Date
Gres
7227fc9844 Change messages text 2020-04-20 20:46:29 +03:00
Gres
7c87371fe5 Add task debug print 2020-04-20 20:46:29 +03:00
Gres
8bd89db060 Collect updater errors and signal only on final failure 2020-04-20 20:46:29 +03:00
Gres
a865381b65 Enable trace if env variable is set 2020-04-20 20:46:29 +03:00
Gres
0c3893ddf8 Add support of zip archived components 2020-04-20 20:46:29 +03:00
Gres
7bc5030ed5 Cleanup 2020-04-20 20:46:29 +03:00
Gres
5be05c46d8 Change action order in context menu 2020-04-20 20:46:29 +03:00
Gres
eff7552d07 Replace one-use methods with lambdas 2020-04-20 20:46:29 +03:00
Gres
1ba4f6be4d Check for supported actions in setter 2020-04-20 20:46:29 +03:00
Gres
b2e0694dfa Disable edition updates via delegate 2020-04-20 20:46:29 +03:00
Gres
69819dee7f Add ability to select all updates and reset action from menu 2020-04-20 20:46:29 +03:00
Gres
576d9d5662 Add support of multiple update urls 2020-04-20 20:46:29 +03:00
Gres
d931015d6b Remove unused tesseract engines after some time 2020-04-20 20:46:29 +03:00
Gres
5397521c79 Hide result before capture 2020-04-20 20:46:29 +03:00
Gres
b9ff1eaca3 Add items to run new capture to result menu 2020-04-20 20:46:29 +03:00
Gres
ae8801d837 Change widgets that show paths 2020-04-20 20:46:29 +03:00
Gres
071eadc088 Fix last update check date handling 2020-04-20 20:46:29 +03:00
Gres
56bacbfc7e Warn if version might be outdated 2020-04-20 20:46:29 +03:00
Gres
ee899c1b23 Add ability to select updates via context menu 2020-04-20 20:46:29 +03:00
Gres
0ef82187d6 Add size to update info 2020-04-20 20:46:29 +03:00
Gres
7e73804348 Shuffle update urls 2020-04-20 20:46:29 +03:00
Gres
b2f5cc93f2 Show used translator name 2020-04-20 20:46:29 +03:00
Gres
77a1f4a00b Change cursor on selected area 2020-04-20 20:46:29 +03:00
Gres
8d2e726715 Add ability to capture multiple areas 2020-04-20 20:46:29 +03:00
Gres
5f4ef955e1 Add support of multiple component urls 2020-04-20 20:46:29 +03:00
Gres
35cbdb17e8 Move update download handling to separate method 2020-04-20 20:46:29 +03:00
Gres
bbe7d0a729 Add ability to move result widget with middle button 2020-04-20 20:46:29 +03:00
Gres
013370e51e Write trace to file for debugging 2020-04-20 20:46:29 +03:00
Gres
58f6283fe3 Move about info to settings 2020-04-20 20:46:29 +03:00
Gres
45e12265c1 Show update download progress 2020-04-20 20:46:29 +03:00
Gres
8aa10754e2 Add methods to convert between component/index 2020-04-20 20:46:29 +03:00
Gres
040d0ff540 Change user agent string 2020-04-20 20:46:29 +03:00
Gres
a85dafa18d Ensure page is visible during translation
Because some translator sites require it
2020-04-20 20:46:29 +03:00
Gres
6f7270f229 Preserve translators order in settings 2020-04-20 20:46:29 +03:00
Gres
2f1779ee9b Add ability to show debug page from translator window
Also always enable chromium debug mode
2020-04-20 20:46:29 +03:00
Gres
4dd2d2ddb6 Add ability to show translator from menu and close it 2020-04-20 20:46:29 +03:00
Gres
9ea8974108 Hide previous results before capturing new 2020-04-20 20:46:29 +03:00
Gres
ff19f87b44 Improve support of empty input data 2020-04-20 20:46:29 +03:00
Gres
e36fbbf3b0 Change about message 2020-04-20 20:46:29 +03:00
Gres
15d4bcb36e Change help and area tooltip drawing 2020-04-20 20:46:29 +03:00
Gres
0738a88eb7 Add ability to lock capture areas and capture them by hotkey 2020-04-20 20:46:29 +03:00
Gres
aac286df9d Fix corrector work with empty corrections 2020-04-20 20:46:29 +03:00
Gres
e70f5c21a5 Add ability to change result font and background colors 2020-04-20 20:46:29 +03:00
Gres
ac1267c88d Show current languages for capture area 2020-04-20 20:46:29 +03:00
Gres
1ff3fb1f1b Add ability to edit results 2020-04-20 20:46:29 +03:00
Gres
c9b2677bec Remove unneeded variable 2020-04-20 20:46:29 +03:00
Gres
9e72e67ee7 Check if translated before copy to clipboard 2020-04-20 20:46:28 +03:00
Gres
258073c785 Move common model to separate class 2020-04-20 20:46:28 +03:00
Gres
87987f4a71 Move updater setup to separate function 2020-04-20 20:46:28 +03:00
Gres
c2a1dab1c7 Show results with errors 2020-04-20 20:46:28 +03:00
Gres
4ca17dca30 Update supported translation languages 2020-04-20 20:46:28 +03:00
Gres
2da5363448 Move interaction with last result to representer 2020-04-20 20:46:28 +03:00
Gres
d55ccd82b9 Compact capture editor 2020-04-20 20:46:28 +03:00
Gres
7ed6742f51 Add ability to swap languages in customization menu 2020-04-20 20:46:28 +03:00
Gres
872b047d70 Show translated/recognized text on top if there is no space below 2020-04-20 20:46:28 +03:00
Gres
4b5fb132f7 Place editor respecting available space 2020-04-20 20:46:28 +03:00
Gres
e1c2defd71 Add ability to edit selected rect 2020-04-20 20:46:28 +03:00
Gres
cc815f4245 Changed language codes to singleton 2020-04-20 20:46:28 +03:00
Gres
aee380fcd5 Move task creation to separate class 2020-04-20 20:46:28 +03:00
Gres
6336d3545a Change overlay drawing 2020-04-20 20:46:28 +03:00
Gres
295353332f Move available translations getter to translator class 2020-04-20 20:46:28 +03:00
Gres
10f5e5e387 Add default translation state to help 2020-04-20 20:46:28 +03:00
Gres
12b8d332c8 Cleanup 2020-04-20 20:46:28 +03:00
Gres
ce83cfff54 Change default result font family 2020-04-20 20:46:28 +03:00
Gres
4edb231c4e Move service classes to separate namespace 2020-04-20 20:46:28 +03:00
Gres
2874177bc4 Use one capture widget for all screens instead of one per screen 2020-04-20 20:46:28 +03:00
Gres
178c954124 Prevent capture stuck 2020-04-20 20:46:28 +03:00
Gres
668c8f1183 Add capture help message 2020-04-20 20:46:28 +03:00
Gres
71b74bb286 Rename capture overlay 2020-04-20 20:46:28 +03:00
Gres
d7cb1e3f56 Add translation search path in resources 2020-04-20 20:46:28 +03:00
Gres
1757b2b89f Recreate page on webengine render error/crash 2020-04-20 20:46:28 +03:00
Gres
705bae636d Use only one settings instance 2020-04-20 20:46:28 +03:00
Gres
2bf5515b0b Convert both translation languages ids to codes 2020-04-20 20:45:26 +03:00
Gres
0fcdff9be2 Added ability to toggle autorun 2020-04-20 20:45:26 +03:00
Gres
1f478bc48a Added ability to show/hide captured image and recognized text 2020-04-20 20:45:26 +03:00
Gres
69f7d10c3a Added ability to change result font 2020-04-20 20:45:26 +03:00
Gres
124d32857f Keep only available languages in correction selector 2020-04-20 20:45:26 +03:00
Gres
8b84fef929 Update only last check date when needed 2020-04-20 20:45:26 +03:00
Gres
cc00f0a54d Use localized language names 2020-04-20 20:45:26 +03:00
Gres
fa75537487 Print localized update name 2020-04-20 20:45:26 +03:00
Gres
1582bdf294 Added auto update checker 2020-04-20 20:45:26 +03:00
Gres
71bb96fe2f Refactoring 2020-04-20 20:45:26 +03:00
Gres
148bf249f8 Change updated file time if available 2020-04-20 20:45:26 +03:00
Gres
ced4fdd834 Load substitutions in legacy format 2020-04-20 20:45:26 +03:00
Gres
afe2cc1a2c Added ability to only check for updates without installing
For built in components
2020-04-20 20:45:26 +03:00
Gres
3847c8d61b Inform about updates 2020-04-20 20:45:26 +03:00
Gres
493262876f Added portable mode 2020-04-20 20:45:26 +03:00
Gres
83232bfc76 Add ability to apply settings without closing dialog 2020-04-20 20:45:26 +03:00
Gres
032895830c Removed outdated tooltips 2020-04-20 20:45:26 +03:00
Gres
d7b671a73d Tessdata and translators path and constant and point to default app writable location 2020-04-20 20:45:26 +03:00
Gres
bff2598285 Prevent setting names edition 2020-04-20 20:45:26 +03:00
Gres
40824e60de Add resource downloader/updater 2020-04-20 20:45:26 +03:00
Gres
c5889e1374 typo 2020-04-20 20:44:37 +03:00
Gres
bfe84af681 Check for empty path 2020-04-20 20:44:37 +03:00
Gres
9da8c516b6 Show translator script errors 2020-04-20 20:44:37 +03:00
Gres
835714d76d Change preferred ocr resolution 2020-04-20 20:44:37 +03:00
Gres
e7fe13c5f0 Change leptonica/qt conversion functions 2020-04-20 20:44:37 +03:00
Gres
cc4b0573d8 Show corrected text in result with uncorrected in tooltip 2020-04-20 20:44:37 +03:00
Gres
deb1bee2c7 Refactor scaling 2020-04-20 20:44:37 +03:00
Gres
d90fd735e6 Cleanup settings 2020-04-20 20:44:37 +03:00