修改导出前必须至少选中一张

This commit is contained in:
yangjiaxuan 2022-11-24 20:00:36 +08:00
parent 98a6d3f002
commit 11895ae265
4 changed files with 172 additions and 157 deletions

Binary file not shown.

View File

@ -2186,16 +2186,16 @@ bug description:
<message> <message>
<location filename="mainwindow.cpp" line="572"/> <location filename="mainwindow.cpp" line="572"/>
<location filename="mainwindow.cpp" line="627"/> <location filename="mainwindow.cpp" line="627"/>
<location filename="mainwindow.cpp" line="1596"/> <location filename="mainwindow.cpp" line="1593"/>
<location filename="mainwindow.cpp" line="1620"/> <location filename="mainwindow.cpp" line="1617"/>
<location filename="mainwindow.cpp" line="2418"/> <location filename="mainwindow.cpp" line="2420"/>
<location filename="mainwindow.cpp" line="2850"/> <location filename="mainwindow.cpp" line="2852"/>
<source>Question</source> <source>Question</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="573"/> <location filename="mainwindow.cpp" line="573"/>
<location filename="mainwindow.cpp" line="1597"/> <location filename="mainwindow.cpp" line="1594"/>
<source>modified, save it?</source> <source>modified, save it?</source>
<translation> <translation>
</translation> </translation>
@ -2227,39 +2227,39 @@ bug description:
<translation type="vanished"></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1617"/> <location filename="mainwindow.cpp" line="1614"/>
<source>Clear, then start scan</source> <source>Clear, then start scan</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1618"/> <location filename="mainwindow.cpp" line="1615"/>
<source>Do NOT clear, then start scan</source> <source>Do NOT clear, then start scan</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1621"/> <location filename="mainwindow.cpp" line="1618"/>
<source>Already exist images in image list. <source>Already exist images in image list.
Do you want to clear?</source> Do you want to clear?</source>
<translation> <translation>
</translation> </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1656"/> <location filename="mainwindow.cpp" line="1653"/>
<source>Information</source> <source>Information</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1657"/> <location filename="mainwindow.cpp" line="1654"/>
<source>Insufficient disk space</source> <source>Insufficient disk space</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1849"/> <location filename="mainwindow.cpp" line="1846"/>
<source>Open images</source> <source>Open images</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1860"/> <location filename="mainwindow.cpp" line="1857"/>
<source>Insert images</source> <source>Insert images</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2287,182 +2287,187 @@ Do you want to clear?</source>
<translation>24</translation> <translation>24</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1334"/> <location filename="mainwindow.cpp" line="1331"/>
<source>thumbnailBar enabled</source> <source>thumbnailBar enabled</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1338"/> <location filename="mainwindow.cpp" line="1335"/>
<source>thumbnailBar hidden</source> <source>thumbnailBar hidden</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2071"/> <location filename="mainwindow.cpp" line="2068"/>
<location filename="mainwindow.cpp" line="2137"/> <location filename="mainwindow.cpp" line="2134"/>
<location filename="mainwindow.cpp" line="2219"/> <location filename="mainwindow.cpp" line="2216"/>
<source>save succeed</source> <source>save succeed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2083"/> <location filename="mainwindow.cpp" line="2080"/>
<location filename="mainwindow.cpp" line="2231"/> <location filename="mainwindow.cpp" line="2228"/>
<source>find savePath in thumbnail</source> <source>find savePath in thumbnail</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2317"/> <location filename="mainwindow.cpp" line="2252"/>
<source>Please select at least one picture before export</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2319"/>
<source>File name</source> <source>File name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2317"/> <location filename="mainwindow.cpp" line="2319"/>
<source>File path</source> <source>File path</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2317"/> <location filename="mainwindow.cpp" line="2319"/>
<source>File size</source> <source>File size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2317"/> <location filename="mainwindow.cpp" line="2319"/>
<source>Creation date/time</source> <source>Creation date/time</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2317"/> <location filename="mainwindow.cpp" line="2319"/>
<source>Modified date/time</source> <source>Modified date/time</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2317"/> <location filename="mainwindow.cpp" line="2319"/>
<source>Accessed date/time</source> <source>Accessed date/time</source>
<translation>访</translation> <translation>访</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>Format</source> <source>Format</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>Width</source> <source>Width</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>Height</source> <source>Height</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>depth</source> <source>depth</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>Color model</source> <source>Color model</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>DPI</source> <source>DPI</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>Print size</source> <source>Print size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2360"/> <location filename="mainwindow.cpp" line="2362"/>
<source>Frame</source> <source>Frame</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2374"/> <location filename="mainwindow.cpp" line="2376"/>
<source>None</source> <source>None</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2374"/> <location filename="mainwindow.cpp" line="2376"/>
<source>Mono</source> <source>Mono</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2374"/> <location filename="mainwindow.cpp" line="2376"/>
<source>Gray</source> <source>Gray</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2374"/> <location filename="mainwindow.cpp" line="2376"/>
<source>Color</source> <source>Color</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2395"/> <location filename="mainwindow.cpp" line="2397"/>
<source>Warning</source> <source>Warning</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2395"/> <location filename="mainwindow.cpp" line="2397"/>
<source>Device is Running! <source>Device is Running!
Please finish scanning first.</source> Please finish scanning first.</source>
<translation> <translation>
</translation> </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3854"/> <location filename="mainwindow.cpp" line="3856"/>
<source>Image processing failed</source> <source>Image processing failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3858"/> <location filename="mainwindow.cpp" line="3860"/>
<source>Ocr init failed</source> <source>Ocr init failed</source>
<translation>OCR初始化错误</translation> <translation>OCR初始化错误</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3862"/> <location filename="mainwindow.cpp" line="3864"/>
<source>Ocr failed</source> <source>Ocr failed</source>
<translation>OCR错误</translation> <translation>OCR错误</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3866"/> <location filename="mainwindow.cpp" line="3868"/>
<source>Failed</source> <source>Failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1252"/> <location filename="mainwindow.cpp" line="1249"/>
<location filename="mainwindow.cpp" line="1253"/> <location filename="mainwindow.cpp" line="1250"/>
<location filename="mainwindow.cpp" line="3135"/> <location filename="mainwindow.cpp" line="3137"/>
<location filename="mainwindow.cpp" line="3136"/> <location filename="mainwindow.cpp" line="3138"/>
<location filename="mainwindow.cpp" line="3208"/> <location filename="mainwindow.cpp" line="3210"/>
<location filename="mainwindow.cpp" line="3209"/> <location filename="mainwindow.cpp" line="3211"/>
<location filename="mainwindow.cpp" line="3297"/> <location filename="mainwindow.cpp" line="3299"/>
<location filename="mainwindow.cpp" line="3298"/> <location filename="mainwindow.cpp" line="3300"/>
<location filename="mainwindow.cpp" line="3385"/> <location filename="mainwindow.cpp" line="3387"/>
<location filename="mainwindow.cpp" line="3386"/> <location filename="mainwindow.cpp" line="3388"/>
<source>already waked up device</source> <source>already waked up device</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3517"/> <location filename="mainwindow.cpp" line="3519"/>
<source>be ready</source> <source>be ready</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3714"/>
<location filename="mainwindow.cpp" line="3715"/>
<location filename="mainwindow.cpp" line="3716"/> <location filename="mainwindow.cpp" line="3716"/>
<location filename="mainwindow.cpp" line="3725"/> <location filename="mainwindow.cpp" line="3717"/>
<location filename="mainwindow.cpp" line="3726"/> <location filename="mainwindow.cpp" line="3718"/>
<location filename="mainwindow.cpp" line="3727"/> <location filename="mainwindow.cpp" line="3727"/>
<location filename="mainwindow.cpp" line="3728"/>
<location filename="mainwindow.cpp" line="3729"/>
<source>folder limit</source> <source>folder limit</source>
<translation>访 <translation>访
访</translation> 访</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3850"/> <location filename="mainwindow.cpp" line="3852"/>
<source>Insufficient access rights</source> <source>Insufficient access rights</source>
<translation>访</translation> <translation>访</translation>
</message> </message>
@ -2475,47 +2480,47 @@ Please finish scanning first.</source>
<translation type="obsolete"></translation> <translation type="obsolete"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3942"/> <location filename="mainwindow.cpp" line="3944"/>
<source>Are you sure to close </source> <source>Are you sure to close </source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3942"/> <location filename="mainwindow.cpp" line="3944"/>
<source> ?</source> <source> ?</source>
<translation>?</translation> <translation>?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3952"/> <location filename="mainwindow.cpp" line="3954"/>
<location filename="mainwindow.cpp" line="3953"/> <location filename="mainwindow.cpp" line="3955"/>
<source>close </source> <source>close </source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4048"/> <location filename="mainwindow.cpp" line="4050"/>
<source>tip</source> <source>tip</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4048"/> <location filename="mainwindow.cpp" line="4050"/>
<source>Other versions not available</source> <source>Other versions not available</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4071"/> <location filename="mainwindow.cpp" line="4073"/>
<location filename="mainwindow.cpp" line="4089"/> <location filename="mainwindow.cpp" line="4091"/>
<source>The device does not support this operation</source> <source>The device does not support this operation</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4073"/> <location filename="mainwindow.cpp" line="4075"/>
<location filename="mainwindow.cpp" line="4091"/> <location filename="mainwindow.cpp" line="4093"/>
<source>IO error</source> <source>IO error</source>
<translation>IO错误</translation> <translation>IO错误</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3682"/> <location filename="mainwindow.cpp" line="3684"/>
<location filename="mainwindow.cpp" line="3714"/> <location filename="mainwindow.cpp" line="3716"/>
<location filename="mainwindow.cpp" line="3725"/> <location filename="mainwindow.cpp" line="3727"/>
<source>error</source> <source>error</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2530,17 +2535,17 @@ Continue to close?</source>
</translation> </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2851"/> <location filename="mainwindow.cpp" line="2853"/>
<source>Sure to sign out administrator account?</source> <source>Sure to sign out administrator account?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2984"/> <location filename="mainwindow.cpp" line="2986"/>
<source>confirm the operation</source> <source>confirm the operation</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2985"/> <location filename="mainwindow.cpp" line="2987"/>
<source>Are you sure to clear the rollor acount?</source> <source>Are you sure to clear the rollor acount?</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2549,34 +2554,34 @@ Continue to close?</source>
<translation type="vanished"></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3045"/> <location filename="mainwindow.cpp" line="3047"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source> <source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3047"/> <location filename="mainwindow.cpp" line="3049"/>
<source>&lt;p&gt;%1: %2</source> <source>&lt;p&gt;%1: %2</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3049"/> <location filename="mainwindow.cpp" line="3051"/>
<source>roller number</source> <source>roller number</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3481"/> <location filename="mainwindow.cpp" line="3483"/>
<source>open scanner </source> <source>open scanner </source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3482"/> <location filename="mainwindow.cpp" line="3484"/>
<location filename="mainwindow.cpp" line="3908"/> <location filename="mainwindow.cpp" line="3910"/>
<source>app name</source> <source>app name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3512"/> <location filename="mainwindow.cpp" line="3514"/>
<location filename="mainwindow.cpp" line="3926"/> <location filename="mainwindow.cpp" line="3928"/>
<source>success</source> <source>success</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2593,18 +2598,18 @@ Continue to close?</source>
<translation type="vanished"></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3521"/> <location filename="mainwindow.cpp" line="3523"/>
<location filename="mainwindow.cpp" line="3931"/> <location filename="mainwindow.cpp" line="3933"/>
<source>failed</source> <source>failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3548"/> <location filename="mainwindow.cpp" line="3550"/>
<source>warning</source> <source>warning</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3544"/> <location filename="mainwindow.cpp" line="3546"/>
<source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source> <source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source>
<translation>, <translation>,
</translation> </translation>
@ -2614,26 +2619,26 @@ Continue to close?</source>
<translation type="vanished"></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3923"/> <location filename="mainwindow.cpp" line="3925"/>
<source>apply setting</source> <source>apply setting</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1233"/> <location filename="mainwindow.cpp" line="1230"/>
<location filename="mainwindow.cpp" line="1234"/> <location filename="mainwindow.cpp" line="1231"/>
<location filename="mainwindow.cpp" line="1235"/> <location filename="mainwindow.cpp" line="1232"/>
<location filename="mainwindow.cpp" line="3116"/>
<location filename="mainwindow.cpp" line="3117"/>
<location filename="mainwindow.cpp" line="3118"/> <location filename="mainwindow.cpp" line="3118"/>
<location filename="mainwindow.cpp" line="3189"/> <location filename="mainwindow.cpp" line="3119"/>
<location filename="mainwindow.cpp" line="3190"/> <location filename="mainwindow.cpp" line="3120"/>
<location filename="mainwindow.cpp" line="3191"/> <location filename="mainwindow.cpp" line="3191"/>
<location filename="mainwindow.cpp" line="3278"/> <location filename="mainwindow.cpp" line="3192"/>
<location filename="mainwindow.cpp" line="3279"/> <location filename="mainwindow.cpp" line="3193"/>
<location filename="mainwindow.cpp" line="3280"/> <location filename="mainwindow.cpp" line="3280"/>
<location filename="mainwindow.cpp" line="3366"/> <location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="3367"/> <location filename="mainwindow.cpp" line="3282"/>
<location filename="mainwindow.cpp" line="3368"/> <location filename="mainwindow.cpp" line="3368"/>
<location filename="mainwindow.cpp" line="3369"/>
<location filename="mainwindow.cpp" line="3370"/>
<source>start failed</source> <source>start failed</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2710,15 +2715,15 @@ Continue to close?</source>
<message> <message>
<location filename="mainwindow.cpp" line="575"/> <location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="630"/> <location filename="mainwindow.cpp" line="630"/>
<location filename="mainwindow.cpp" line="1599"/> <location filename="mainwindow.cpp" line="1596"/>
<location filename="mainwindow.cpp" line="1658"/> <location filename="mainwindow.cpp" line="1655"/>
<location filename="mainwindow.cpp" line="2421"/> <location filename="mainwindow.cpp" line="2423"/>
<location filename="mainwindow.cpp" line="2435"/> <location filename="mainwindow.cpp" line="2437"/>
<location filename="mainwindow.cpp" line="2852"/> <location filename="mainwindow.cpp" line="2854"/>
<location filename="mainwindow.cpp" line="2907"/> <location filename="mainwindow.cpp" line="2909"/>
<location filename="mainwindow.cpp" line="2987"/> <location filename="mainwindow.cpp" line="2989"/>
<location filename="mainwindow.cpp" line="3685"/> <location filename="mainwindow.cpp" line="3687"/>
<location filename="mainwindow.cpp" line="3944"/> <location filename="mainwindow.cpp" line="3946"/>
<source>yes</source> <source>yes</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2730,13 +2735,13 @@ Continue to close?</source>
<message> <message>
<location filename="mainwindow.cpp" line="577"/> <location filename="mainwindow.cpp" line="577"/>
<location filename="mainwindow.cpp" line="631"/> <location filename="mainwindow.cpp" line="631"/>
<location filename="mainwindow.cpp" line="1600"/> <location filename="mainwindow.cpp" line="1597"/>
<location filename="mainwindow.cpp" line="2422"/> <location filename="mainwindow.cpp" line="2424"/>
<location filename="mainwindow.cpp" line="2436"/> <location filename="mainwindow.cpp" line="2438"/>
<location filename="mainwindow.cpp" line="2853"/> <location filename="mainwindow.cpp" line="2855"/>
<location filename="mainwindow.cpp" line="2908"/> <location filename="mainwindow.cpp" line="2910"/>
<location filename="mainwindow.cpp" line="2988"/> <location filename="mainwindow.cpp" line="2990"/>
<location filename="mainwindow.cpp" line="3945"/> <location filename="mainwindow.cpp" line="3947"/>
<source>no</source> <source>no</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2762,15 +2767,15 @@ Continue to close?</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="963"/> <location filename="mainwindow.cpp" line="966"/>
<location filename="mainwindow.cpp" line="964"/> <location filename="mainwindow.cpp" line="967"/>
<location filename="mainwindow.cpp" line="1082"/> <location filename="mainwindow.cpp" line="1082"/>
<location filename="mainwindow.cpp" line="1083"/> <location filename="mainwindow.cpp" line="1083"/>
<source>create savepath failed: </source> <source>create savepath failed: </source>
<translation type="unfinished"> </translation> <translation type="unfinished"> </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="970"/> <location filename="mainwindow.cpp" line="973"/>
<location filename="mainwindow.cpp" line="1089"/> <location filename="mainwindow.cpp" line="1089"/>
<source>%1%2%3.%4</source> <source>%1%2%3.%4</source>
<translation>%1%2%3.%4</translation> <translation>%1%2%3.%4</translation>
@ -2784,85 +2789,86 @@ Continue to close?</source>
<message> <message>
<location filename="mainwindow.cpp" line="1026"/> <location filename="mainwindow.cpp" line="1026"/>
<location filename="mainwindow.cpp" line="1027"/> <location filename="mainwindow.cpp" line="1027"/>
<location filename="mainwindow.cpp" line="1137"/> <location filename="mainwindow.cpp" line="1134"/>
<location filename="mainwindow.cpp" line="1138"/> <location filename="mainwindow.cpp" line="1135"/>
<location filename="mainwindow.cpp" line="2076"/> <location filename="mainwindow.cpp" line="2073"/>
<location filename="mainwindow.cpp" line="2077"/> <location filename="mainwindow.cpp" line="2074"/>
<location filename="mainwindow.cpp" line="2078"/> <location filename="mainwindow.cpp" line="2075"/>
<location filename="mainwindow.cpp" line="2142"/> <location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2143"/> <location filename="mainwindow.cpp" line="2140"/>
<location filename="mainwindow.cpp" line="2144"/> <location filename="mainwindow.cpp" line="2141"/>
<location filename="mainwindow.cpp" line="2224"/> <location filename="mainwindow.cpp" line="2221"/>
<location filename="mainwindow.cpp" line="2225"/> <location filename="mainwindow.cpp" line="2222"/>
<location filename="mainwindow.cpp" line="2226"/> <location filename="mainwindow.cpp" line="2223"/>
<source>save image doc failed: </source> <source>save image doc failed: </source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3683"/> <location filename="mainwindow.cpp" line="3685"/>
<source>start failed!</source> <source>start failed!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2419"/> <location filename="mainwindow.cpp" line="2421"/>
<source>There are pictures that have not been saved. <source>There are pictures that have not been saved.
Are you sure to close?</source> Are you sure to close?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2071"/> <location filename="mainwindow.cpp" line="2068"/>
<location filename="mainwindow.cpp" line="2076"/> <location filename="mainwindow.cpp" line="2073"/>
<location filename="mainwindow.cpp" line="2083"/> <location filename="mainwindow.cpp" line="2080"/>
<location filename="mainwindow.cpp" line="2137"/> <location filename="mainwindow.cpp" line="2134"/>
<location filename="mainwindow.cpp" line="2142"/> <location filename="mainwindow.cpp" line="2139"/>
<location filename="mainwindow.cpp" line="2219"/> <location filename="mainwindow.cpp" line="2216"/>
<location filename="mainwindow.cpp" line="2224"/> <location filename="mainwindow.cpp" line="2221"/>
<location filename="mainwindow.cpp" line="2231"/> <location filename="mainwindow.cpp" line="2228"/>
<location filename="mainwindow.cpp" line="2432"/> <location filename="mainwindow.cpp" line="2252"/>
<location filename="mainwindow.cpp" line="2434"/>
<source>tips</source> <source>tips</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2433"/> <location filename="mainwindow.cpp" line="2435"/>
<source>Are you sure to close?</source> <source>Are you sure to close?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2904"/> <location filename="mainwindow.cpp" line="2906"/>
<source>confirm operation</source> <source>confirm operation</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2905"/> <location filename="mainwindow.cpp" line="2907"/>
<source>are you sure to clear the roller count?</source> <source>are you sure to clear the roller count?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2918"/> <location filename="mainwindow.cpp" line="2920"/>
<location filename="mainwindow.cpp" line="2922"/> <location filename="mainwindow.cpp" line="2924"/>
<location filename="mainwindow.cpp" line="3005"/> <location filename="mainwindow.cpp" line="3007"/>
<source>hint</source> <source>hint</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2918"/> <location filename="mainwindow.cpp" line="2920"/>
<location filename="mainwindow.cpp" line="2998"/> <location filename="mainwindow.cpp" line="3000"/>
<source>Roller scanned count has been set to 0.</source> <source>Roller scanned count has been set to 0.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2922"/> <location filename="mainwindow.cpp" line="2924"/>
<location filename="mainwindow.cpp" line="3003"/> <location filename="mainwindow.cpp" line="3005"/>
<source>Roller scanned count reset failed.</source> <source>Roller scanned count reset failed.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2973"/> <location filename="mainwindow.cpp" line="2975"/>
<source>Error</source> <source>Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2973"/> <location filename="mainwindow.cpp" line="2975"/>
<source>Document missing! It would be deleted or renamed.</source> <source>Document missing! It would be deleted or renamed.</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2895,28 +2901,28 @@ Are you sure to close?</source>
<translation type="vanished">&lt;br&gt;: &lt;a href=&apos;https://j.map.baidu.com/7e/1TO&apos;&gt;百度地图访问&lt;/a&gt;</translation> <translation type="vanished">&lt;br&gt;: &lt;a href=&apos;https://j.map.baidu.com/7e/1TO&apos;&gt;百度地图访问&lt;/a&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3023"/> <location filename="mainwindow.cpp" line="3025"/>
<source>About %1</source> <source>About %1</source>
<translation> %1</translation> <translation> %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3024"/> <location filename="mainwindow.cpp" line="3026"/>
<source>&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;</source> <source>&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;</source>
<translation>&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> <translation>&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>
<message> <message>
<location filename="mainwindow.cpp" line="3039"/> <location filename="mainwindow.cpp" line="3041"/>
<source>about %1</source> <source>about %1</source>
<translation> %1</translation> <translation> %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3040"/> <location filename="mainwindow.cpp" line="3042"/>
<source>&lt;p&gt;Version: %1&lt;/p&gt;</source> <source>&lt;p&gt;Version: %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: %1&lt;/p&gt;</oldsource> <oldsource>&lt;p&gt;: %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; %1&lt;/p&gt;</translation> <translation>&lt;p&gt; %1&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3041"/> <location filename="mainwindow.cpp" line="3043"/>
<source>&lt;p&gt;CopyRight: &amp;#169; %1&lt;/p&gt;</source> <source>&lt;p&gt;CopyRight: &amp;#169; %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: &amp;#169; %1&lt;/p&gt;</oldsource> <oldsource>&lt;p&gt;: &amp;#169; %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; &amp;#169; %1&lt;/p&gt;</translation> <translation>&lt;p&gt; &amp;#169; %1&lt;/p&gt;</translation>

View File

@ -2247,6 +2247,11 @@ void MainWindow::on_act_Export_triggered()
if (select) if (select)
selectIndexs.push_back(i); selectIndexs.push_back(i);
} }
if (selectIndexs.size() == 0)
{
QMessageBox::information(this, tr("tips"), tr("Please select at least one picture before export"));
return;
}
Dialog_Export dlg(count, selectIndexs, this); Dialog_Export dlg(count, selectIndexs, this);
if (dlg.exec()) if (dlg.exec())

View File

@ -2141,6 +2141,10 @@ Are you sure to close?</source>
<source>Failed</source> <source>Failed</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Please select at least one picture before export</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>Phonon::</name> <name>Phonon::</name>