From d3760c0fde0649e29ded30c9a27f34e9edce93ac Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Thu, 21 Dec 2023 16:51:43 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=BC=A9=E7=95=A5=E5=9B=BE=E5=8F=B3=E9=94=AE?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=EF=BC=8C=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=88=96=E7=9D=80=E5=85=B3=E9=97=AD=E6=89=80=E6=9C=89=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=A6=82=E6=9E=9C=E9=87=8C=E9=9D=A2=E6=9C=89=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E7=9B=AE=E5=BD=95=E7=9A=84=E5=9B=BE=E7=89=87=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=9C=AA=E4=BF=9D=E5=AD=98=EF=BC=8C=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E8=A6=81=E7=BB=A7=E7=BB=AD=EF=BC=9B=202.=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BF=9D=E5=AD=98=E6=97=B6=EF=BC=8C=E4=BD=8D=E4=BA=8E?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E7=9B=AE=E5=BD=95=E7=9A=84=E5=9B=BE=E7=89=87?= =?UTF-8?q?=EF=BC=8C=E5=8D=B3=E4=BD=BF=E8=87=AA=E5=8A=A8=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=8B=BE=E9=80=89=E4=B9=9F=E9=9C=80=E8=A6=81=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=AF=B9=E8=AF=9D=E6=A1=86=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner2/Scanner_zh_CN.qm | Bin 38422 -> 38708 bytes app/scanner2/Scanner_zh_CN.ts | 368 +++++++++++++++++---------------- app/scanner2/Scanner_zh_EN.qm | Bin 49911 -> 50457 bytes app/scanner2/Scanner_zh_EN.ts | 370 ++++++++++++++++++---------------- app/scanner2/mainwindow.cpp | 82 ++++++-- 5 files changed, 444 insertions(+), 376 deletions(-) diff --git a/app/scanner2/Scanner_zh_CN.qm b/app/scanner2/Scanner_zh_CN.qm index 688a08ecff006ba68cec25e9465560c5251d8887..d34bac238846e5d89f40078abc8db2fb5911f86e 100644 GIT binary patch delta 1725 zcmZuxeN@eN82{W~{eJiU-tJ9rY-kBlxKZpyR1#raE)$g+3Rm~uQn&PSr=%_xGtM_u zjB(TZq8dXU@b ztGU0)Zv$68Wm9beSN?d@vsA8lE=$n_a4Sc!6`El0RYmZ;{ti&q>PA-(Yt(EAceX=2 zd;$=X1MREZ2zNodqz!QGgLd5>dOsul5C|O#?Jl0|*I6EC%2+uE+VkD!3h4Y(fYm&t zyh>o$7B`N#fj&v206!x_YX$?$S}>&Q0#JGoLqEO)476i-%a=gpc7(SQmNz3JUkCKF zW8|x0z~qf?EEd@?kJVg8BWv_9h87)wt$HC4(B?*GFXSBd0EF9c?AZxq*TQk@4MHnZ zJ*o2_*f7uF7t5WfO>O|>dh9>_5a?}3(^ri^ZW^dsTmJjBf6>Jf2IkrWH+#Y-NCg)>E)5+?=DTdRaE2=z$o#ZXT%n82*4BCFbn-qC>jC>M-sf8qAaf#9 zb-_|r5Fh`~RwC*a8>^c*#de=xr*Q#q{mIu&-3QFD@`oxJFwMa?ZZ(koGT(Um9$^mO z3Ad6euI#*0z0jz>b$TQ`Z%okH?@ zPheG?8_SY}wC96>tYl&N;50z|R;W1iE@1W))?KG+M!Y6$oKy`IY-cXf^kU&Wq560# zkXJ9%MBS$LWno7{eDQtcWn=LK&F7VRU51>)8>b3Q0uK+nG*%wlaD74_&Vm7U!TIOa&3DxZ+df>dcS0dG8&wx@KDMTAs) zi3Tt0bE&p7h6X=Isxw|AzqwM~lydmM5h~Tqzd`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ner2/Scanner_zh_CN.ts +++ b/app/scanner2/Scanner_zh_CN.ts @@ -628,20 +628,20 @@ Page range will be "Chosen Pages". - - + + Input is not valid. Page range will be 'Chosen Pages'. 输入无效。 页码范围将是“被选页码” - + Question 询问 - + The file already exists. Do you want to overwrite it? 文件已存在,是否替换? @@ -1303,17 +1303,17 @@ Page range will be 'Chosen Pages'. 取消 - + configuration scheme name change 配置改名 - + tips 提示 - + The content can not be empty 内容不能为空 @@ -1737,12 +1737,12 @@ Please make sure the two passwords are the same. 保存 - + Question 询问 - + The file already exists. Do you want to overwrite it? 文件已存在,是否替换? @@ -2229,7 +2229,7 @@ bug description: - + act_acquireInto 扫描至... @@ -2459,22 +2459,22 @@ bug description: 选择设备源... - + HuaGoScan 华高扫描软件 - + Grid 多列显示 - + Move To... 移动到... - + Insert files 插入文件 @@ -2483,22 +2483,24 @@ bug description: 没有发现扫描仪 - - - - - + + + + + + + Question 询问 - + modified, save it? 图像已被修改。 是否保存修改? - + file lost, remove it? 文件已丢失,是否删除? @@ -2523,17 +2525,17 @@ bug description: 扫描完成 - + Clear, then start scan 清空并启动扫描 - + Do NOT clear, then start scan 不清空并启动扫描 - + Already exist images in image list. Do you want to clear? 图像列表中已存在图像。 @@ -2548,12 +2550,12 @@ Do you want to clear? 磁盘空间不足,请删除不需要的文件,以保证有足够的空间 - + Open images 打开图片 - + Insert images 插入图片 @@ -2566,17 +2568,17 @@ Do you want to clear? 保存失败 - + binary 黑白 - + gray 256级灰度 - + rgb 24位彩色 @@ -2585,24 +2587,24 @@ Do you want to clear? 请手动唤醒设备 - + UniScan 紫光扫描软件 - + Scan 扫描软件 - + DeliScan 得力扫描软件 - - - + + + Please go to 'Menu Bar ->Scan' to select a device 请前往菜单栏“扫描->选择设备源...”选择设备 @@ -2611,234 +2613,246 @@ Do you want to clear? 未找到设备源! - - + + default scheme 默认配置方案 - + This scan is complete. Do you want to continue scanning? 本次扫描完成,是否继续扫描? - + thumbnailBar enabled 显示缩略图栏 - + thumbnailBar hidden 隐藏缩略图栏 - + cancel 取消 - - - + + There are pictures that have not been saved. +Are you sure to close this image? + 此图像未保存,确定关闭? + + + + There are pictures that have not been saved. +Are you sure to close all images? + 有图像未保存,确定全部关闭? + + + + + save succeed 保存成功 - - - + + + find savePath in thumbnail 图片名在列表中已存在 - + Please select at least one picture before export 请至少选中一张图片再进行导出 - + File name 文件名 - + File path 文件路径 - + File size 文件大小 - + Creation date/time 创建时间 - + Modified date/time 修改时间 - + Accessed date/time 访问时间 - + Format 格式 - + Width 宽度 - + Height 高度 - + depth 深度 - + Color model 色彩模式 - + DPI 每英寸像素点 - + Print size 打印尺寸 - + Frame - + None - + Mono 黑白 - + Gray 灰度 - + Color 彩色 - + Not supported 不支持 - + Warning 警告 - + Device is Running! Please finish scanning first. 设备正在运行! 请先结束扫描。 - + <p>After-sale telephone: %1</p> <p>售后电话: %1</p> - + <p>Company GPS: <a href="%1">%2</a></p> <p>公司地图定位: <a href="%1">%2</a></p> - - - + + + Device is offline 设备已断开 - + Open failed 打开失败 - - - - - - + + + + + + Prompt 提示 - + <p>DriverVer: %1</p> <p>版本号: %1</p> - - - + + + <p>Vendor: %1</p> <p>制造商: %1</p> - - - + + + <p>Copyright: %1</p> <p>版权信息: %1</p> - - - + + + <p>Company website: <a href="%1">%1</a></p> <p>Company website: <a href=%1>%1</p> <p>公司网址: <a href="%1">%1</p> - - - + + + <p>Company address: %1</p> <p>公司地址: %1</p> - - - + + + <p>Company telephone: %1</p> <p>公司电话: %1</p> - + Baidu map access 百度地图访问 @@ -2859,8 +2873,8 @@ Please finish scanning first. 扫描张数: %1 - - + + Device %1 is open 设备 %1 已打开 @@ -2869,76 +2883,76 @@ Please finish scanning first. 关于 - + cache path folder limit:%1 无法访问当前缓存路径:%1 请尝试在【用户】菜单登录管理员账户,前往【缓存设置】更改缓存路径。 - + aquireinto folder limit:%1 无法访问当前缓存路径:%1 请尝试在【扫描到】更改缓存路径。 - + Image processing failed 图像处理失败 - + Ocr init failed OCR初始化错误 - + Ocr failed OCR错误 - + File does not exist 文件不存在 - + Failed to load dynamic library 加载动态库失败 - + File data error 文件数据错误 - + Image format processing error 图像格式处理错误 - + Out of memory 内存不足 - + Failed 错误 - + The Device has reached roller life 纸轮搓纸次数已超过设计使用范围,扫描过程中搓纸失败、歪斜、搓多张等异常频次可能会明显增多, 请注意及时清洁、并联系设备供应商购买替换纸轮! - - + + The language switch is successful and takes effect the next time the software is started! 语言切换成功,下次启动软件时生效! - + Are you sure to delete selected file? 您确定彻底删除选中项文件? @@ -2956,7 +2970,7 @@ Please finish scanning first. 请尝试在【用户】菜单登录管理员账户,前往【缓存设置】更改缓存路径 - + Insufficient access rights 文件访问权限不足 @@ -2981,18 +2995,18 @@ Please finish scanning first. 关闭 - + tip 提示 - + Other versions not available 未获取到其他版本 - - + + The device does not support this operation 操作失败 @@ -3001,8 +3015,8 @@ Please finish scanning first. IO错误 - - + + error 错误 @@ -3017,7 +3031,7 @@ Continue to close? 是否继续关闭? - + Sure to sign out administrator account? 是否确定登出管理员账户? @@ -3087,92 +3101,92 @@ Continue to close? 启动失败 - + HanvonScan 汉王扫描软件 - + LanxumScan 立思辰扫描软件 - + CumtennScan 沧田扫描软件 - + MicrotekScan Microtek DocWizard EX 扫描软件 - + menu_language 语言 - + act_simpCN 简体中文 - + act_English English - + auto save 自动保存 - + when switching pictures, save the edited pictures directly without reminding 切换图片时,不提醒,直接保存编辑过的图片 - + statusBar displayed 显示状态栏 - + statusBar hidden 隐藏状态栏 - + toolBar displayed 显示工具栏 - + toolBar hidden 隐藏工具栏 - + colorInfo enabled 启用图像信息 - + colorInfo disenabled 关闭图像信息 - + enabling automatic saving 启用自动保存 - + cancel auto save 取消自动保存 - + Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-> automatically save 切换图片时,自动保存编辑过的图像。若想取消,请取消勾选菜单项:图像->自动保存 @@ -3217,12 +3231,12 @@ Continue to close? 创建图片文件失败: - - - - - - + + + + + + save image doc failed: 保存图片文件失败: @@ -3261,17 +3275,17 @@ Continue to close? 滚轴张数: %1 - + Detected that there is less than 1GB of disk space. Do you want to continue? 检测到磁盘空间已不足1GB,是否继续? - + start failed! 启动安装程序失败! - + There are pictures that have not been saved. Are you sure to close? 有图像未保存,确定关闭? @@ -3281,40 +3295,40 @@ Are you sure to close? 发现设备 : %1 - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + tips 提示 - + Are you sure to close? 确定关闭应用软件? - + confirm operation 确认操作 - + are you sure to clear the roller count? 您确定要清除滚轴计数吗 @@ -3323,22 +3337,22 @@ Are you sure to close? 提示 - + Roller scanned count has been set to 0. 辊轴计数已置零 - + Roller scanned count reset failed. 重置滚轴计数失败 - + Error 错误 - + Document missing! It would be deleted or renamed. 文档丢失!文档可能已被删除或被重命名。 @@ -3379,7 +3393,7 @@ Are you sure to close? <p>%1</p><p>版本: %2<br>版权: &#169; %3</p><p>%4%5%6%7%8%9</p> - + about %1 关于 %1 diff --git a/app/scanner2/Scanner_zh_EN.qm b/app/scanner2/Scanner_zh_EN.qm index 27a83c03c3914aa1dd9185682c51f9a48df4ec1e..aa52daca2778201a33ab41eb8ee372cd02890486 100644 GIT binary patch delta 1955 zcmc&#`&(0W82{|RIor<8*>nOuiqgD1OHrpNm{~xfh?z|x#k`E&rBR9q z&MyQ56hSr+MY-!!ikGmW$4i=MkC~Nbr50Y&wDQs`>xZ8Hfqppq?E8M-^S+<=dhX=- zxN?0q_$hvN`sZ_vSDfy6uBpy>KY^QI^cVHJ6}fti*PTLl|0F-SSDwFbw?MJ9V8w%2&w=J ziNA%ISqMxJycl^L{pW@O{n`;+Ius~ggW)BIft{aY#QqDw=z$o0k3P`x?#ciEzq|bX?!9>>TV+wZX!{$l?hGu)wq3nW6^e^6)1m#W%!!(Y>y(+XD#sNe#OKi zEkMOJR_|-(s!i;^Zv?kx7z^i(oTrqf@+Qs`#ftcdLG|Og-9I^icRINP;fsOyPIDi} z(z)O!cjiPBu=z)Jn~xW(LVP+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ul%$c6P~&c%IHsuN;+3^m+9xShqaJJR~;!$)`M5lF-rexh#@q zoQvH5_!UssB0t+jl36tJyWXX=2R_5t7^HQYNn#Y<*Xq{No{S05POU5=x~1ArMx7y} zFJ_N*TA91rtEY*%_@wrFyB65?k#=AfQCEGZhu5)$L@~wck zL+7RsqY{O>pl!1O1n5ltJ%DkqZgE5)O{;+wjrfXdddp5HxVLz`H<;DpUHR1bKLUsE AvH$=8 diff --git a/app/scanner2/Scanner_zh_EN.ts b/app/scanner2/Scanner_zh_EN.ts index bd20cdf9..2fff2054 100644 --- a/app/scanner2/Scanner_zh_EN.ts +++ b/app/scanner2/Scanner_zh_EN.ts @@ -630,20 +630,20 @@ The page range will be “selected pages” - - + + Input is not valid. Page range will be 'Chosen Pages'. Input invalid. The page range will be “selected pages” - + Question Ask - + The file already exists. Do you want to overwrite it? The file already exists. Do you want to overwrite it? @@ -1249,17 +1249,17 @@ The page range will be “selected pages” Cancel - + configuration scheme name change Rename configuration - + tips Prompt - + The content can not be empty The content can not be empty @@ -1674,12 +1674,12 @@ Please make sure the two passwords are the same. Save - + Question Ask - + The file already exists. Do you want to overwrite it? The file already exists. Do you want to overwrite it? @@ -2085,7 +2085,7 @@ Please make sure the two passwords are the same. - + act_acquireInto Scan to... @@ -2315,62 +2315,62 @@ Please make sure the two passwords are the same. Select device source... - + HanvonScan Hanvon scanning software - + LanxumScan LANXUM scanning software - + CumtennScan CUMTENN scanning software - + MicrotekScan Microtek DocWizard EX V1.0 - + DeliScan Deli scanning software - + HuaGoScan HUAGOSCAN scanning software - + menu_language Language - + act_simpCN 简体中文 - + act_English English - + Grid Multi-column display - + Move To... Move to... - + Insert files Insert file @@ -2379,76 +2379,78 @@ Please make sure the two passwords are the same. No scanner detected - + auto save Auto save - + when switching pictures, save the edited pictures directly without reminding Do not show prompt and save the edited images directly when switching images. - + statusBar displayed Show status bar - + statusBar hidden Hide status bar - + toolBar displayed Show toolbar - + toolBar hidden Hide toolbar - + colorInfo enabled Enable image information - + colorInfo disenabled Disable image information - + enabling automatic saving Enable auto save - + cancel auto save Cancel auto save - + Automatically save the edited the edited iamge when switching pictures. To cancel, uncheck the menu item: image-> automatically save Save edited images automatically when switching images. If you want to cancel, please deselect the menu item: Auto save images. - - - - - + + + + + + + Question Ask - + This scan is complete. Do you want to continue scanning? This scan is complete. Do you want to continue scanning? - + modified, save it? Image modified, save changes? @@ -2465,7 +2467,7 @@ Please make sure the two passwords are the same. No - + file lost, remove it? File lost; delete? @@ -2511,34 +2513,34 @@ Please reselect a path or clear disk space immediately. Failed to create image file: - - - - - - + + + + + + save image doc failed: Failed to save image: - + binary Black and white - - - + + + Please go to 'Menu Bar ->Scan' to select a device Please go to the menu bar 'Scan ->Select device source...' to select a device - + gray Grayscale - + rgb Color @@ -2547,13 +2549,13 @@ Please reselect a path or clear disk space immediately. Failed to start - + UniScan UNI scanning software - - + + default scheme Default scheme @@ -2562,7 +2564,7 @@ Please reselect a path or clear disk space immediately. Please wake up the device manually - + Scan Scanning software @@ -2571,273 +2573,287 @@ Please reselect a path or clear disk space immediately. Device is awake - + thumbnailBar enabled Show thumbnail bar - + thumbnailBar hidden Hide thumbnail bar - + Clear, then start scan Clear and start scan - + Do NOT clear, then start scan Do not clear and start scan - + cancel Cancel - + Already exist images in image list. Do you want to clear? Image already exists in the list of images. Clear? - + Open images Open image - + Insert images Insert image - - - - - - - - - - - - - - - - - - - + + There are pictures that have not been saved. +Are you sure to close this image? + There are pictures that have not been saved. +Are you sure to close this image? + + + + There are pictures that have not been saved. +Are you sure to close all images? + There are pictures that have not been saved. +Are you sure to close all images? + + + + + + + + + + + + + + + + + + + + + tips prompt - - - + + + save succeed Saved successfully - - - + + + find savePath in thumbnail Image name already exists in the list - + Please select at least one picture before export Please select at least one image and then export - + File name File name - + File path File path - + File size File size - + Creation date/time Creation time - + Modified date/time Modification time - + Accessed date/time Access time - + Format Format - + Width Width - + Height Height - + depth Depth - + Color model Color mode - + DPI Pixels per inch - + Print size Print size - + Frame Frame - + None None - + Mono Black and white - + Gray Gray scale - + Color Color - + Not supported Not supported - + Warning Warning - + Device is Running! Please finish scanning first. Device is currently running! Please stop scanning first. - + There are pictures that have not been saved. Are you sure to close? There are unsaved images; are you sure you want to close? - + Are you sure to close? Are you sure you want to close? - + Sure to sign out administrator account? Are you sure you want to log out of the administrator account? - + <p>After-sale telephone: %1</p> <p>After-sale telephone: %1</p> - + <p>Company GPS: <a href="%1">%2</a></p> <p>Company Location: <a href="%1">%2</a></p> - - - + + + Device is offline Device is offline - + Open failed Open failed - + The Device has reached roller life The paper roller has reached its service life, and the frequency of abnormalities during the scanning process may increase. Please contact the equipment supplier promptly to purchase a replacement paper roller! - - - - - - + + + + + + Prompt Prompt - + <p>DriverVer: %1</p> <p>Version: %1</p> - - - + + + <p>Vendor: %1</p> <p>Manufacturer: %1</p> - - - + + + <p>Copyright: %1</p> <p>Copyright: %1</p> - - - + + + <p>Company website: <a href="%1">%1</a></p> <p>Company website: <a href=%1>%1</p> <p>Website: <a href="%1">%1</p> @@ -2847,21 +2863,21 @@ Please contact the equipment supplier promptly to purchase a replacement paper r Device source not found! - - - + + + <p>Company address: %1</p> <p>Address: %1</p> - - - + + + <p>Company telephone: %1</p> <p>Phone Number: %1</p> - + Baidu map access Baidu map access @@ -2916,23 +2932,23 @@ Please contact the equipment supplier promptly to purchase a replacement paper r Total count: %1 - + Detected that there is less than 1GB of disk space. Do you want to continue? Detected that there is less than 1GB of disk space. Do you want to continue? - - + + Device %1 is open Device %1 is open - + confirm operation Confirm operation - + are you sure to clear the roller count? Are you sure you want to clear the roller count? @@ -2941,22 +2957,22 @@ Please contact the equipment supplier promptly to purchase a replacement paper r Prompt - + Roller scanned count has been set to 0. Roller count reset to zero. - + Roller scanned count reset failed. Failed to reset roller count. - + Error Error - + Document missing! It would be deleted or renamed. File lost! File may be deleted or renamed. @@ -2973,13 +2989,13 @@ Please contact the equipment supplier promptly to purchase a replacement paper r About - + cache path folder limit:%1 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. - + aquireinto folder limit:%1 Unable to access the current path:%1 Please try to change the cache path in [Scan to]. @@ -2993,7 +3009,7 @@ Please try to change the cache path in [Scan to]. <p>%1</p><p>Version: %2<br>Copyright: &#169; %3</p><p>%4%5%6%7%8%9</p> - + about %1 About %1 @@ -3038,13 +3054,13 @@ Please try to change the cache path in [Scan to]. failed - - + + error Error - + start failed! Failed to start! @@ -3054,52 +3070,52 @@ Please try to change the cache path in [Scan to]. Please go to “Scan to” and change the accessible scan folder and then perform the scan. - + Insufficient access rights Insufficient file access permissions - + Image processing failed Image processing failed - + Ocr init failed OCR initialization error - + Ocr failed OCR failed - + File does not exist File does not exist - + Failed to load dynamic library Failed to load dynamic library - + File data error File data error - + Image format processing error Image format processing error - + Out of memory Insufficient memory - + Failed Failed @@ -3120,18 +3136,18 @@ Please go to “Scan to” and change the accessible scan folder and then perfor Close - + tip Prompt - + Other versions not available No other versions obtained - - + + The device does not support this operation Operation failed @@ -3140,13 +3156,13 @@ Please go to “Scan to” and change the accessible scan folder and then perfor IO error - - + + The language switch is successful and takes effect the next time the software is started! The language switch is successful and takes effect the next time the software is started! - + Are you sure to delete selected file? Are you sure to delete the selected file completely? diff --git a/app/scanner2/mainwindow.cpp b/app/scanner2/mainwindow.cpp index 0fdd3f6b..c36b1305 100644 --- a/app/scanner2/mainwindow.cpp +++ b/app/scanner2/mainwindow.cpp @@ -2199,6 +2199,27 @@ void MainWindow::on_act_closeFile_triggered() return; } + bool isCache = false; + for (int i = 0; i < (int)selectFileNames.size(); ++i) + { + if (0 == selectFileNames[i].indexOf(Dialog_ClrCache::getCachePath())) + { + isCache = true; + break; + } + } + if (isCache) + { + QMessageBox msg(QMessageBox::Question, tr("Question"), + tr("There are pictures that have not been saved.\nAre you sure to close this image?"), + QMessageBox::Yes | QMessageBox::No, this); + msg.exec(); + if (msg.clickedButton() != msg.button(QMessageBox::Yes)) + { + return; + } + } + if (-1 != m_currIndex) { bool select = false; @@ -2238,15 +2259,44 @@ void MainWindow::on_act_closeAll_triggered() return; } - int count = 0; auto_save_info_.index = 0; auto_save_info_.path = ""; + + int count = 0; m_thumb->getItemCount(&count); - if (0 == count) + + if (count == 0) { return; } + bool isCache = false; + for (int i = 0; i < count; ++i) + { + + QString fileName; + m_thumb->getItemFileName(i, fileName); + if (0 == fileName.indexOf(Dialog_ClrCache::getCachePath())) + { + isCache = true; + break; + } + } + + if (isCache) + { + QMessageBox msg(QMessageBox::Question, tr("Question"), + tr("There are pictures that have not been saved.\nAre you sure to close all images?"), + QMessageBox::Yes | QMessageBox::No, this); + msg.exec(); + if (msg.clickedButton() != msg.button(QMessageBox::Yes)) + { + return; + } + } + + + startSaveMessageBox(this); m_thumb->removeAllItems(HGImgThumb::ThumbRemoveFlag_NULL); @@ -2273,13 +2323,8 @@ void MainWindow::on_act_save_triggered() { QString savePath; bool isOcr =false; - if (!auto_save_changes_) - { - savePath = auto_save_info_.path; - isOcr = auto_save_info_.isOcr; - } - else - savePath = m_currFilePath; + savePath = auto_save_info_.path; + isOcr = auto_save_info_.isOcr; int jpegQuality = auto_save_info_.jpegQuality; int tiffCompressionBW = auto_save_info_.tiffCompressionBW; @@ -2288,7 +2333,7 @@ void MainWindow::on_act_save_triggered() bool find = false; int count = 0; - if(!auto_save_changes_ || auto_save_info_.path.isEmpty()) + if(auto_save_info_.path.isEmpty()) { Dialog_SaveAs dlg(false, this); if(savePath.length()) @@ -2298,27 +2343,20 @@ void MainWindow::on_act_save_triggered() dlg.set_current_directory(savePath.left(pos)); } - if (!auto_save_changes_) + if (!dlg.exec()) { - if (!dlg.exec()) - { - return; - } + return; } - else - savePath = m_currFilePath; - if (!auto_save_changes_) - { - savePath = auto_save_info_.path = dlg.getSavePath(); - isOcr = auto_save_info_.isOcr = dlg.isOcr(); - } + savePath = auto_save_info_.path = dlg.getSavePath(); + isOcr = auto_save_info_.isOcr = dlg.isOcr(); jpegQuality = auto_save_info_.jpegQuality = dlg.getJpegQuality(); tiffQuality = auto_save_info_.tiffQuality = dlg.getTiffQuality(); tiffCompression = auto_save_info_.tiffCompression = dlg.getTiffCompression(); tiffCompressionBW = auto_save_info_.tiffCompressionBW = dlg.getTiffCompressionBW(); } + if(auto_save_changes_ && save_from_changed_) { // appendix ...