调整app界面控件禁用,进度指示器忽略Esc键

This commit is contained in:
yangjiaxuan 2023-05-30 10:46:09 +08:00
parent 10cb69079f
commit a100c2940c
10 changed files with 380 additions and 351 deletions

Binary file not shown.

View File

@ -11,14 +11,18 @@
<context>
<name>DeviceUser</name>
<message>
<location filename="device_user.cpp" line="94"/>
<location filename="device_user.cpp" line="109"/>
<location filename="device_user.cpp" line="89"/>
<location filename="device_user.cpp" line="104"/>
<location filename="device_user.cpp" line="246"/>
<location filename="device_user.cpp" line="261"/>
<source>Select log file path</source>
<translation></translation>
</message>
<message>
<location filename="device_user.cpp" line="94"/>
<location filename="device_user.cpp" line="109"/>
<location filename="device_user.cpp" line="89"/>
<location filename="device_user.cpp" line="104"/>
<location filename="device_user.cpp" line="246"/>
<location filename="device_user.cpp" line="261"/>
<source>text(*.txt)</source>
<translation>(*.txt)</translation>
</message>
@ -2334,22 +2338,22 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="790"/>
<location filename="mainwindow.cpp" line="1562"/>
<location filename="mainwindow.cpp" line="1585"/>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2673"/>
<location filename="mainwindow.cpp" line="780"/>
<location filename="mainwindow.cpp" line="1559"/>
<location filename="mainwindow.cpp" line="1582"/>
<location filename="mainwindow.cpp" line="2373"/>
<location filename="mainwindow.cpp" line="2670"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1563"/>
<location filename="mainwindow.cpp" line="1560"/>
<source>modified, save it?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="781"/>
<source>file lost, remove it?</source>
<translation></translation>
</message>
@ -2374,17 +2378,17 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1581"/>
<location filename="mainwindow.cpp" line="1578"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1582"/>
<location filename="mainwindow.cpp" line="1579"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1586"/>
<location filename="mainwindow.cpp" line="1583"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
@ -2399,12 +2403,12 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1809"/>
<location filename="mainwindow.cpp" line="1806"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1820"/>
<location filename="mainwindow.cpp" line="1817"/>
<source>Insert images</source>
<translation></translation>
</message>
@ -2417,17 +2421,17 @@ Do you want to clear?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1135"/>
<location filename="mainwindow.cpp" line="1122"/>
<source>binary</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1137"/>
<location filename="mainwindow.cpp" line="1124"/>
<source>gray</source>
<translation>256</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1139"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>rgb</source>
<translation>24</translation>
</message>
@ -2447,203 +2451,210 @@ Do you want to clear?</source>
</message>
<message>
<location filename="mainwindow.cpp" line="330"/>
<location filename="mainwindow.cpp" line="2826"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="3804"/>
<source>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</source>
<translation>-&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="673"/>
<location filename="mainwindow.cpp" line="3588"/>
<location filename="mainwindow.cpp" line="663"/>
<location filename="mainwindow.cpp" line="3546"/>
<source>default scheme</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1312"/>
<location filename="mainwindow.cpp" line="1309"/>
<source>thumbnailBar enabled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1316"/>
<location filename="mainwindow.cpp" line="1313"/>
<source>thumbnailBar hidden</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1584"/>
<location filename="mainwindow.cpp" line="1581"/>
<source>cancel</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2167"/>
<location filename="mainwindow.cpp" line="2024"/>
<location filename="mainwindow.cpp" line="2088"/>
<location filename="mainwindow.cpp" line="2164"/>
<source>save succeed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2178"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2202"/>
<location filename="mainwindow.cpp" line="2199"/>
<source>Please select at least one picture before export</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2325"/>
<location filename="mainwindow.cpp" line="2322"/>
<source>Not supported</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2353"/>
<location filename="mainwindow.cpp" line="2350"/>
<source>Warning</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2353"/>
<location filename="mainwindow.cpp" line="2350"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2826"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="3815"/>
<source>Prompt</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2840"/>
<location filename="mainwindow.cpp" line="2837"/>
<source>&lt;p&gt;DriverVer: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2841"/>
<location filename="mainwindow.cpp" line="2838"/>
<source>&lt;p&gt;Vendor: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2842"/>
<location filename="mainwindow.cpp" line="2839"/>
<source>&lt;p&gt;Copyright: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2843"/>
<location filename="mainwindow.cpp" line="2840"/>
<source>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</source>
<translation>&lt;p&gt;: &lt;a href=%1&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2844"/>
<location filename="mainwindow.cpp" line="2841"/>
<source>&lt;p&gt;Company address: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2845"/>
<location filename="mainwindow.cpp" line="2842"/>
<source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2846"/>
<location filename="mainwindow.cpp" line="2843"/>
<source>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</source>
<translation>&lt;p&gt;: &lt;a href=%1&gt;%2&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2846"/>
<location filename="mainwindow.cpp" line="2843"/>
<source>Baidu map access</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3815"/>
<source>Open device failed</source>
<translation></translation>
</message>
<message>
<source>type: %1</source>
<translation type="vanished">: %1</translation>
@ -2657,7 +2668,7 @@ Please finish scanning first.</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3842"/>
<location filename="mainwindow.cpp" line="3808"/>
<source>Device %1 is open</source>
<translation> %1 </translation>
</message>
@ -2666,70 +2677,70 @@ Please finish scanning first.</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3392"/>
<location filename="mainwindow.cpp" line="3350"/>
<source>cache path folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3396"/>
<location filename="mainwindow.cpp" line="3354"/>
<source>aquireinto folder limit:%1</source>
<translation>访%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3480"/>
<location filename="mainwindow.cpp" line="3438"/>
<source>Image processing failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3484"/>
<location filename="mainwindow.cpp" line="3442"/>
<source>Ocr init failed</source>
<translation>OCR初始化错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3488"/>
<location filename="mainwindow.cpp" line="3446"/>
<source>Ocr failed</source>
<translation>OCR错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3492"/>
<location filename="mainwindow.cpp" line="3450"/>
<source>File does not exist</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3496"/>
<location filename="mainwindow.cpp" line="3454"/>
<source>Failed to load dynamic library</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3500"/>
<location filename="mainwindow.cpp" line="3458"/>
<source>File data error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3504"/>
<location filename="mainwindow.cpp" line="3462"/>
<source>Image format processing error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3508"/>
<location filename="mainwindow.cpp" line="3466"/>
<source>Out of memory</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3512"/>
<location filename="mainwindow.cpp" line="3470"/>
<source>Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3762"/>
<location filename="mainwindow.cpp" line="3781"/>
<location filename="mainwindow.cpp" line="3720"/>
<location filename="mainwindow.cpp" line="3739"/>
<source>The language switch is successful and takes effect the next time the software is started!</source>
<translation>!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3819"/>
<location filename="mainwindow.cpp" line="3777"/>
<source>Are you sure to delete selected file?</source>
<translation></translation>
</message>
@ -2747,7 +2758,7 @@ Please finish scanning first.</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3476"/>
<location filename="mainwindow.cpp" line="3434"/>
<source>Insufficient access rights</source>
<translation>访</translation>
</message>
@ -2772,18 +2783,18 @@ Please finish scanning first.</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3704"/>
<location filename="mainwindow.cpp" line="3662"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3704"/>
<location filename="mainwindow.cpp" line="3662"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<location filename="mainwindow.cpp" line="3682"/>
<location filename="mainwindow.cpp" line="3698"/>
<source>The device does not support this operation</source>
<translation></translation>
</message>
@ -2792,8 +2803,8 @@ Please finish scanning first.</source>
<translation type="vanished">IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3361"/>
<location filename="mainwindow.cpp" line="3399"/>
<location filename="mainwindow.cpp" line="3319"/>
<location filename="mainwindow.cpp" line="3357"/>
<source>error</source>
<translation></translation>
</message>
@ -2808,7 +2819,7 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2674"/>
<location filename="mainwindow.cpp" line="2671"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
@ -2874,18 +2885,8 @@ Continue to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="658"/>
<location filename="mainwindow.cpp" line="2897"/>
<location filename="mainwindow.cpp" line="2898"/>
<location filename="mainwindow.cpp" line="2942"/>
<location filename="mainwindow.cpp" line="2943"/>
<location filename="mainwindow.cpp" line="3007"/>
<location filename="mainwindow.cpp" line="3008"/>
<location filename="mainwindow.cpp" line="3068"/>
<location filename="mainwindow.cpp" line="3069"/>
<source>start failed</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="99"/>
@ -2973,7 +2974,7 @@ Continue to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="724"/>
<location filename="mainwindow.cpp" line="714"/>
<source>Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-&gt; automatically save</source>
<translation>-&gt;</translation>
</message>
@ -3018,12 +3019,12 @@ Continue to close?</source>
<translation type="vanished"> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2097"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2173"/>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2030"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2094"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2170"/>
<source>save image doc failed: </source>
<translation> </translation>
</message>
@ -3062,17 +3063,17 @@ Continue to close?</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3134"/>
<source>Detected that there is less than 1GB of disk space. Do you want to continue?</source>
<translation>1GB?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3362"/>
<location filename="mainwindow.cpp" line="3320"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2377"/>
<location filename="mainwindow.cpp" line="2374"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
@ -3082,39 +3083,39 @@ Are you sure to close?</source>
<translation type="vanished"> : %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2167"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2178"/>
<location filename="mainwindow.cpp" line="2202"/>
<location filename="mainwindow.cpp" line="2388"/>
<location filename="mainwindow.cpp" line="2737"/>
<location filename="mainwindow.cpp" line="2741"/>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<location filename="mainwindow.cpp" line="3761"/>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3819"/>
<location filename="mainwindow.cpp" line="2024"/>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2088"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2164"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2175"/>
<location filename="mainwindow.cpp" line="2199"/>
<location filename="mainwindow.cpp" line="2385"/>
<location filename="mainwindow.cpp" line="2734"/>
<location filename="mainwindow.cpp" line="2738"/>
<location filename="mainwindow.cpp" line="3134"/>
<location filename="mainwindow.cpp" line="3682"/>
<location filename="mainwindow.cpp" line="3698"/>
<location filename="mainwindow.cpp" line="3719"/>
<location filename="mainwindow.cpp" line="3738"/>
<location filename="mainwindow.cpp" line="3777"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2389"/>
<location filename="mainwindow.cpp" line="2386"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2725"/>
<location filename="mainwindow.cpp" line="2722"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2726"/>
<location filename="mainwindow.cpp" line="2723"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
@ -3123,22 +3124,22 @@ Are you sure to close?</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2737"/>
<location filename="mainwindow.cpp" line="2734"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2741"/>
<location filename="mainwindow.cpp" line="2738"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2817"/>
<location filename="mainwindow.cpp" line="2814"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2817"/>
<location filename="mainwindow.cpp" line="2814"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -3179,7 +3180,7 @@ Are you sure to close?</source>
<translation type="vanished">&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;: %2&lt;br&gt;: &amp;#169; %3&lt;/p&gt;&lt;p&gt;%4%5%6%7%8%9&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2838"/>
<location filename="mainwindow.cpp" line="2835"/>
<source>about %1</source>
<translation> %1</translation>
</message>

Binary file not shown.

View File

@ -39,14 +39,18 @@
<context>
<name>DeviceUser</name>
<message>
<location filename="device_user.cpp" line="94"/>
<location filename="device_user.cpp" line="109"/>
<location filename="device_user.cpp" line="89"/>
<location filename="device_user.cpp" line="104"/>
<location filename="device_user.cpp" line="246"/>
<location filename="device_user.cpp" line="261"/>
<source>Select log file path</source>
<translation>Select log file path</translation>
</message>
<message>
<location filename="device_user.cpp" line="94"/>
<location filename="device_user.cpp" line="109"/>
<location filename="device_user.cpp" line="89"/>
<location filename="device_user.cpp" line="104"/>
<location filename="device_user.cpp" line="246"/>
<location filename="device_user.cpp" line="261"/>
<source>text(*.txt)</source>
<translation>Text(*.txt)</translation>
</message>
@ -2278,21 +2282,21 @@ Please make sure the two passwords are the same.</source>
<translation>Cancel auto save</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="724"/>
<location filename="mainwindow.cpp" line="714"/>
<source>Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-&gt; automatically save</source>
<translation>Save edited images automatically when switching images. If you want to cancel, please deselect the menu item: Auto save images.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="790"/>
<location filename="mainwindow.cpp" line="1562"/>
<location filename="mainwindow.cpp" line="1585"/>
<location filename="mainwindow.cpp" line="2376"/>
<location filename="mainwindow.cpp" line="2673"/>
<location filename="mainwindow.cpp" line="780"/>
<location filename="mainwindow.cpp" line="1559"/>
<location filename="mainwindow.cpp" line="1582"/>
<location filename="mainwindow.cpp" line="2373"/>
<location filename="mainwindow.cpp" line="2670"/>
<source>Question</source>
<translation>Ask</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1563"/>
<location filename="mainwindow.cpp" line="1560"/>
<source>modified, save it?</source>
<translation>Image modified, save changes?</translation>
</message>
@ -2309,7 +2313,7 @@ Please make sure the two passwords are the same.</source>
<translation type="vanished">No</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="781"/>
<source>file lost, remove it?</source>
<translation>File lost; delete?</translation>
</message>
@ -2355,49 +2359,40 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Failed to create image file: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2033"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2097"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2173"/>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2030"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2094"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2170"/>
<source>save image doc failed: </source>
<translation>Failed to save image: </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1135"/>
<location filename="mainwindow.cpp" line="1122"/>
<source>binary</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="330"/>
<location filename="mainwindow.cpp" line="2826"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="3804"/>
<source>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</source>
<translation>Please go to &apos;Menu Bar -&gt;Scan&apos; to select a device</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1137"/>
<location filename="mainwindow.cpp" line="1124"/>
<source>gray</source>
<translation>Grayscale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1139"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>rgb</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="658"/>
<location filename="mainwindow.cpp" line="2897"/>
<location filename="mainwindow.cpp" line="2898"/>
<location filename="mainwindow.cpp" line="2942"/>
<location filename="mainwindow.cpp" line="2943"/>
<location filename="mainwindow.cpp" line="3007"/>
<location filename="mainwindow.cpp" line="3008"/>
<location filename="mainwindow.cpp" line="3068"/>
<location filename="mainwindow.cpp" line="3069"/>
<source>start failed</source>
<translation>Failed to start</translation>
<translation type="vanished">Failed to start</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="115"/>
@ -2405,8 +2400,8 @@ Please reselect a path or clear disk space immediately.</translation>
<translation>UNI scanning software</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="673"/>
<location filename="mainwindow.cpp" line="3588"/>
<location filename="mainwindow.cpp" line="663"/>
<location filename="mainwindow.cpp" line="3546"/>
<source>default scheme</source>
<translation>Default scheme</translation>
</message>
@ -2424,255 +2419,261 @@ Please reselect a path or clear disk space immediately.</translation>
<translation type="vanished">Device is awake</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1312"/>
<location filename="mainwindow.cpp" line="1309"/>
<source>thumbnailBar enabled</source>
<translation>Show thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1316"/>
<location filename="mainwindow.cpp" line="1313"/>
<source>thumbnailBar hidden</source>
<translation>Hide thumbnail bar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1581"/>
<location filename="mainwindow.cpp" line="1578"/>
<source>Clear, then start scan</source>
<translation>Clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1582"/>
<location filename="mainwindow.cpp" line="1579"/>
<source>Do NOT clear, then start scan</source>
<translation>Do not clear and start scan</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1584"/>
<location filename="mainwindow.cpp" line="1581"/>
<source>cancel</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1586"/>
<location filename="mainwindow.cpp" line="1583"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>Image already exists in the list of images.
Clear?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1809"/>
<location filename="mainwindow.cpp" line="1806"/>
<source>Open images</source>
<translation>Open image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1820"/>
<location filename="mainwindow.cpp" line="1817"/>
<source>Insert images</source>
<translation>Insert image</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2032"/>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2096"/>
<location filename="mainwindow.cpp" line="2167"/>
<location filename="mainwindow.cpp" line="2172"/>
<location filename="mainwindow.cpp" line="2178"/>
<location filename="mainwindow.cpp" line="2202"/>
<location filename="mainwindow.cpp" line="2388"/>
<location filename="mainwindow.cpp" line="2737"/>
<location filename="mainwindow.cpp" line="2741"/>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<location filename="mainwindow.cpp" line="3761"/>
<location filename="mainwindow.cpp" line="3780"/>
<location filename="mainwindow.cpp" line="3819"/>
<location filename="mainwindow.cpp" line="2024"/>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2088"/>
<location filename="mainwindow.cpp" line="2093"/>
<location filename="mainwindow.cpp" line="2164"/>
<location filename="mainwindow.cpp" line="2169"/>
<location filename="mainwindow.cpp" line="2175"/>
<location filename="mainwindow.cpp" line="2199"/>
<location filename="mainwindow.cpp" line="2385"/>
<location filename="mainwindow.cpp" line="2734"/>
<location filename="mainwindow.cpp" line="2738"/>
<location filename="mainwindow.cpp" line="3134"/>
<location filename="mainwindow.cpp" line="3682"/>
<location filename="mainwindow.cpp" line="3698"/>
<location filename="mainwindow.cpp" line="3719"/>
<location filename="mainwindow.cpp" line="3738"/>
<location filename="mainwindow.cpp" line="3777"/>
<source>tips</source>
<translation>prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2027"/>
<location filename="mainwindow.cpp" line="2091"/>
<location filename="mainwindow.cpp" line="2167"/>
<location filename="mainwindow.cpp" line="2024"/>
<location filename="mainwindow.cpp" line="2088"/>
<location filename="mainwindow.cpp" line="2164"/>
<source>save succeed</source>
<translation>Saved successfully</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2038"/>
<location filename="mainwindow.cpp" line="2178"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2175"/>
<source>find savePath in thumbnail</source>
<translation>Image name already exists in the list</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2202"/>
<location filename="mainwindow.cpp" line="2199"/>
<source>Please select at least one picture before export</source>
<translation>Please select at least one image and then export</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>File name</source>
<translation>File name</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>File path</source>
<translation>File path</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>File size</source>
<translation>File size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>Creation date/time</source>
<translation>Creation time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>Modified date/time</source>
<translation>Modification time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2264"/>
<location filename="mainwindow.cpp" line="2261"/>
<source>Accessed date/time</source>
<translation>Access time</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Width</source>
<translation>Width</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Height</source>
<translation>Height</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>depth</source>
<translation>Depth</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Color model</source>
<translation>Color mode</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>DPI</source>
<translation>Pixels per inch</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Print size</source>
<translation>Print size</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2307"/>
<location filename="mainwindow.cpp" line="2304"/>
<source>Frame</source>
<translation>Frame</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>None</source>
<translation>None</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>Mono</source>
<translation>Black and white</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>Gray</source>
<translation>Gray scale</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2321"/>
<location filename="mainwindow.cpp" line="2318"/>
<source>Color</source>
<translation>Color</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2325"/>
<location filename="mainwindow.cpp" line="2322"/>
<source>Not supported</source>
<translation>Not supported</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2353"/>
<location filename="mainwindow.cpp" line="2350"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2353"/>
<location filename="mainwindow.cpp" line="2350"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>Device is currently running!
Please stop scanning first.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2377"/>
<location filename="mainwindow.cpp" line="2374"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation>There are unsaved images; are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2389"/>
<location filename="mainwindow.cpp" line="2386"/>
<source>Are you sure to close?</source>
<translation>Are you sure you want to close?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2674"/>
<location filename="mainwindow.cpp" line="2671"/>
<source>Sure to sign out administrator account?</source>
<translation>Are you sure you want to log out of the administrator account?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2826"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="3815"/>
<source>Prompt</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2840"/>
<location filename="mainwindow.cpp" line="2837"/>
<source>&lt;p&gt;DriverVer: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;VerSion: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2841"/>
<location filename="mainwindow.cpp" line="2838"/>
<source>&lt;p&gt;Vendor: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Vendor: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2842"/>
<location filename="mainwindow.cpp" line="2839"/>
<source>&lt;p&gt;Copyright: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Copyright: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2843"/>
<location filename="mainwindow.cpp" line="2840"/>
<source>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company website: &lt;a href=%1&gt;%1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2844"/>
<location filename="mainwindow.cpp" line="2841"/>
<source>&lt;p&gt;Company address: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company address: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2845"/>
<location filename="mainwindow.cpp" line="2842"/>
<source>&lt;p&gt;Company telephone: %1&lt;/p&gt;</source>
<translation>&lt;p&gt;Company telephone: %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2846"/>
<location filename="mainwindow.cpp" line="2843"/>
<source>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</source>
<translation>&lt;p&gt;Company GPS: &lt;a href=%1&gt;%2&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2846"/>
<location filename="mainwindow.cpp" line="2843"/>
<source>Baidu map access</source>
<translation>Baidu map access</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3815"/>
<source>Open device failed</source>
<translation>Open device failed</translation>
</message>
<message>
<source>type: %1</source>
<translation type="vanished">Type: %1</translation>
@ -2720,22 +2721,22 @@ Are you sure to close?</source>
<translation type="vanished">Total count: %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3176"/>
<location filename="mainwindow.cpp" line="3134"/>
<source>Detected that there is less than 1GB of disk space. Do you want to continue?</source>
<translation>Detected that there is less than 1GB of disk space. Do you want to continue?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3842"/>
<location filename="mainwindow.cpp" line="3808"/>
<source>Device %1 is open</source>
<translation>Device %1 is open</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2725"/>
<location filename="mainwindow.cpp" line="2722"/>
<source>confirm operation</source>
<translation>Confirm operation</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2726"/>
<location filename="mainwindow.cpp" line="2723"/>
<source>are you sure to clear the roller count?</source>
<translation>Are you sure you want to clear the roller count?</translation>
</message>
@ -2744,22 +2745,22 @@ Are you sure to close?</source>
<translation type="vanished">Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2737"/>
<location filename="mainwindow.cpp" line="2734"/>
<source>Roller scanned count has been set to 0.</source>
<translation>Roller count reset to zero.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2741"/>
<location filename="mainwindow.cpp" line="2738"/>
<source>Roller scanned count reset failed.</source>
<translation>Failed to reset roller count.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2817"/>
<location filename="mainwindow.cpp" line="2814"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2817"/>
<location filename="mainwindow.cpp" line="2814"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation>File lost! File may be deleted or renamed.</translation>
</message>
@ -2776,13 +2777,13 @@ Are you sure to close?</source>
<translation type="vanished">About</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3392"/>
<location filename="mainwindow.cpp" line="3350"/>
<source>cache path folder limit:%1</source>
<translation>Unable to access the current path:%1
Please try to log in to the administrator account in the [User] menu and go to the [Cache settings] to change the cache path.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3396"/>
<location filename="mainwindow.cpp" line="3354"/>
<source>aquireinto folder limit:%1</source>
<translation>Unable to access the current path:%1
Please try to change the cache path in [Scan to].</translation>
@ -2796,7 +2797,7 @@ Please try to change the cache path in [Scan to].</translation>
<translation type="vanished">&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;Version: %2&lt;br&gt;Copyright: &amp;#169; %3&lt;/p&gt;&lt;p&gt;%4%5%6%7%8%9&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2838"/>
<location filename="mainwindow.cpp" line="2835"/>
<source>about %1</source>
<translation>About %1</translation>
</message>
@ -2841,13 +2842,13 @@ Please try to change the cache path in [Scan to].</translation>
<translation type="vanished">failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3361"/>
<location filename="mainwindow.cpp" line="3399"/>
<location filename="mainwindow.cpp" line="3319"/>
<location filename="mainwindow.cpp" line="3357"/>
<source>error</source>
<translation>Error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3362"/>
<location filename="mainwindow.cpp" line="3320"/>
<source>start failed!</source>
<translation>Failed to start!</translation>
</message>
@ -2857,52 +2858,52 @@ Please try to change the cache path in [Scan to].</translation>
Please go to Scan to and change the accessible scan folder and then perform the scan.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3476"/>
<location filename="mainwindow.cpp" line="3434"/>
<source>Insufficient access rights</source>
<translation>Insufficient file access permissions</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3480"/>
<location filename="mainwindow.cpp" line="3438"/>
<source>Image processing failed</source>
<translation>Image processing failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3484"/>
<location filename="mainwindow.cpp" line="3442"/>
<source>Ocr init failed</source>
<translation>OCR initialization error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3488"/>
<location filename="mainwindow.cpp" line="3446"/>
<source>Ocr failed</source>
<translation>OCR failed</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3492"/>
<location filename="mainwindow.cpp" line="3450"/>
<source>File does not exist</source>
<translation>File does not exist</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3496"/>
<location filename="mainwindow.cpp" line="3454"/>
<source>Failed to load dynamic library</source>
<translation>Failed to load dynamic library</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3500"/>
<location filename="mainwindow.cpp" line="3458"/>
<source>File data error</source>
<translation>File data error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3504"/>
<location filename="mainwindow.cpp" line="3462"/>
<source>Image format processing error</source>
<translation>Image format processing error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3508"/>
<location filename="mainwindow.cpp" line="3466"/>
<source>Out of memory</source>
<translation>Insufficient memory</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3512"/>
<location filename="mainwindow.cpp" line="3470"/>
<source>Failed</source>
<translation>Failed</translation>
</message>
@ -2923,18 +2924,18 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
<translation type="vanished">Close </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3704"/>
<location filename="mainwindow.cpp" line="3662"/>
<source>tip</source>
<translation>Prompt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3704"/>
<location filename="mainwindow.cpp" line="3662"/>
<source>Other versions not available</source>
<translation>No other versions obtained</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3724"/>
<location filename="mainwindow.cpp" line="3740"/>
<location filename="mainwindow.cpp" line="3682"/>
<location filename="mainwindow.cpp" line="3698"/>
<source>The device does not support this operation</source>
<translation>Device does not support this operation</translation>
</message>
@ -2943,13 +2944,13 @@ Please go to “Scan to” and change the accessible scan folder and then perfor
<translation type="vanished">IO error</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3762"/>
<location filename="mainwindow.cpp" line="3781"/>
<location filename="mainwindow.cpp" line="3720"/>
<location filename="mainwindow.cpp" line="3739"/>
<source>The language switch is successful and takes effect the next time the software is started!</source>
<translation>The language switch is successful and takes effect the next time the software is started!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3819"/>
<location filename="mainwindow.cpp" line="3777"/>
<source>Are you sure to delete selected file?</source>
<translation>Are you sure to delete the selected file completely?</translation>
</message>

View File

@ -1524,15 +1524,15 @@ void MainWindow::updateActionStatus()
ui->act_consume->setEnabled(m_admin_loggedIn);
ui->act_clearRoller->setEnabled(m_admin_loggedIn);
ui->act_acquireInto->setEnabled(!m_isScanning);
m_act_acquireInto2->setEnabled(!m_isScanning);
ui->act_acquireSingle->setEnabled(!m_isScanning);
ui->act_acquire->setEnabled(!m_isScanning);
ui->act_scannerSettings->setEnabled(!m_isScanning);
ui->act_insertFromScanner->setEnabled(!m_isScanning);
ui->act_acquireInto->setEnabled(!m_isScanning && (m_devUser != nullptr));
m_act_acquireInto2->setEnabled(!m_isScanning && (m_devUser != nullptr));
ui->act_acquireSingle->setEnabled(!m_isScanning && (m_devUser != nullptr));
ui->act_acquire->setEnabled(!m_isScanning && (m_devUser != nullptr));
ui->act_scannerSettings->setEnabled(!m_isScanning && (m_devUser != nullptr));
ui->act_insertFromScanner->setEnabled(!m_isScanning && (m_devUser != nullptr));
ui->menu_scan->setEnabled(!m_isScanning);
ui->act_device_log->setEnabled(m_admin_loggedIn && !m_isScanning);
ui->act_driver_log->setEnabled(m_admin_loggedIn);
ui->act_device_log->setEnabled(m_admin_loggedIn && !m_isScanning && (m_devUser != nullptr));
ui->act_driver_log->setEnabled(m_admin_loggedIn && (m_devUser != nullptr));
// if(m_dialogLog != nullptr)
// m_dialogLog->pbtn_export->setEnabled(ui->act_Export->isEnabled());
@ -3784,6 +3784,15 @@ void MainWindow::on_act_deleteFile_triggered()
}
void MainWindow::on_act_selectDevice_triggered()
{
if (m_admin_loggedIn)
{
m_admin_loggedIn = false;
m_versionDll->PostUserLogoutInfo(HGVERSION_APPNAME_SCANNER, m_oemName);
}
DeviceUser *devUser = m_devUserMgr->OpenDeviceUser();
if (devUser != nullptr)
{
if (nullptr != m_devUser)
{
@ -3795,19 +3804,14 @@ void MainWindow::on_act_selectDevice_triggered()
m_wndStatusBar->setDeviceStatusInfo(tr("Please go to 'Menu Bar ->Scan' to select a device"), false);
}
if (m_admin_loggedIn)
{
m_admin_loggedIn = false;
updateActionStatus();
m_versionDll->PostUserLogoutInfo(HGVERSION_APPNAME_SCANNER, m_oemName);
}
DeviceUser *devUser = m_devUserMgr->OpenDeviceUser();
if (devUser != nullptr)
{
m_devUser = devUser;
m_wndStatusBar->setDeviceStatusInfo(tr("Device %1 is open").arg(m_devUser->GetName()), false);
connect(m_devUser, SIGNAL(newImage(void*)), this, SLOT(on_newImage(void*)), Qt::DirectConnection);
connect(m_devUser, &DeviceUser::scanEvent, this, &MainWindow::on_scanEvent, Qt::QueuedConnection);
updateActionStatus();
}
else
{
QMessageBox::information(this, tr("Prompt"), tr("Open device failed"));
}
}

View File

@ -2,7 +2,7 @@
#include "ui_dialog_progress_ui.h"
#include "lang/app_language.h"
#include "huagao/hgscanner_error.h"
#include <QCloseEvent>
#include <QKeyEvent>
#include <QTimer>
#include <thread>
@ -59,6 +59,14 @@ Dialog_progress_ui::~Dialog_progress_ui()
delete ui;
}
void Dialog_progress_ui::keyPressEvent(QKeyEvent *e)
{
if (e->key() == Qt::Key_Escape)
{
e->ignore();
}
}
void Dialog_progress_ui::on_pbtn_cancelScan_clicked()
{
if (!quit_)

View File

@ -18,6 +18,9 @@ public:
explicit Dialog_progress_ui(std::function<void (ui_result)> callback, std::function<void (int, void *, int)> *notify, QWidget *parent = nullptr);
~Dialog_progress_ui();
protected:
void keyPressEvent(QKeyEvent *e) override;
private:
static Dialog_progress_ui *m_param;

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>353</width>
<height>156</height>
<width>345</width>
<height>163</height>
</rect>
</property>
<property name="sizePolicy">
@ -18,14 +18,14 @@
</property>
<property name="minimumSize">
<size>
<width>324</width>
<height>156</height>
<width>345</width>
<height>163</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>99999</width>
<height>999999</height>
<width>345</width>
<height>163</height>
</size>
</property>
<property name="windowTitle">
@ -82,69 +82,6 @@
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_imgRecived">
<property name="text">
<string>image recived:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_imgRecived">
<property name="minimumSize">
<size>
<width>61</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>61</width>
<height>20</height>
</size>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_totalImgRecived">
<property name="text">
<string>total image recived:</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
@ -208,6 +145,69 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_imgRecived">
<property name="text">
<string>image recived:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_imgRecived">
<property name="minimumSize">
<size>
<width>61</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>61</width>
<height>20</height>
</size>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_totalImgRecived">
<property name="text">
<string>total image recived:</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">

View File

@ -60,6 +60,14 @@ void Dialog_Twain_Source_Select::GetIdentify(TW_IDENTITY *ds)
memcpy(ds, &m_ds, sizeof(TW_IDENTITY));
}
void Dialog_Twain_Source_Select::keyPressEvent(QKeyEvent *e)
{
if (e->key() == Qt::Key_Escape)
{
e->ignore();
}
}
void Dialog_Twain_Source_Select::filterTwainSource(int index)
{
#if !defined(OEM_HANWANG) && !defined(OEM_LISICHENG) && !defined(OEM_CANGTIAN) && !defined(OEM_ZHONGJING) && !defined(OEM_ZIGUANG) && !defined(OEM_NEUTRAL)

View File

@ -7,6 +7,7 @@
#include "app_cfg.h"
#include <QDialog>
#include <QListWidgetItem>
#include <QKeyEvent>
namespace Ui {
class Dialog_Twain_Source_Select;
@ -22,6 +23,9 @@ public:
void GetIdentify(TW_IDENTITY *ds);
protected:
void keyPressEvent(QKeyEvent *e) override;
private:
void filterTwainSource(int index);