增加保存成功提示

This commit is contained in:
yangjiaxuan 2022-08-20 15:33:44 +08:00
parent b7d4797cb6
commit 9f3c0c0c59
4 changed files with 163 additions and 151 deletions

Binary file not shown.

View File

@ -2110,16 +2110,16 @@ bug description:
<message>
<location filename="mainwindow.cpp" line="506"/>
<location filename="mainwindow.cpp" line="561"/>
<location filename="mainwindow.cpp" line="1451"/>
<location filename="mainwindow.cpp" line="1475"/>
<location filename="mainwindow.cpp" line="2214"/>
<location filename="mainwindow.cpp" line="2538"/>
<location filename="mainwindow.cpp" line="1460"/>
<location filename="mainwindow.cpp" line="1484"/>
<location filename="mainwindow.cpp" line="2225"/>
<location filename="mainwindow.cpp" line="2549"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="507"/>
<location filename="mainwindow.cpp" line="1452"/>
<location filename="mainwindow.cpp" line="1461"/>
<source>modified, save it?</source>
<translation>
</translation>
@ -2134,7 +2134,7 @@ bug description:
<translation type="vanished"> </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="792"/>
<location filename="mainwindow.cpp" line="800"/>
<source> disconnected</source>
<translation> </translation>
</message>
@ -2151,220 +2151,222 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1472"/>
<location filename="mainwindow.cpp" line="1481"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1473"/>
<location filename="mainwindow.cpp" line="1482"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1476"/>
<location filename="mainwindow.cpp" line="1485"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1510"/>
<location filename="mainwindow.cpp" line="1519"/>
<source>Information</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1511"/>
<location filename="mainwindow.cpp" line="1520"/>
<source>Insufficient disk space</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1697"/>
<location filename="mainwindow.cpp" line="1706"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1708"/>
<location filename="mainwindow.cpp" line="1717"/>
<source>Insert images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1890"/>
<location filename="mainwindow.cpp" line="1897"/>
<location filename="mainwindow.cpp" line="1952"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2035"/>
<source>info</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="857"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="1890"/>
<location filename="mainwindow.cpp" line="1891"/>
<location filename="mainwindow.cpp" line="1892"/>
<location filename="mainwindow.cpp" line="1952"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2030"/>
<location filename="mainwindow.cpp" line="865"/>
<location filename="mainwindow.cpp" line="866"/>
<location filename="mainwindow.cpp" line="1900"/>
<location filename="mainwindow.cpp" line="1901"/>
<location filename="mainwindow.cpp" line="1902"/>
<location filename="mainwindow.cpp" line="1963"/>
<location filename="mainwindow.cpp" line="2039"/>
<location filename="mainwindow.cpp" line="2040"/>
<location filename="mainwindow.cpp" line="2041"/>
<source>save failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1897"/>
<location filename="mainwindow.cpp" line="1896"/>
<location filename="mainwindow.cpp" line="1959"/>
<location filename="mainwindow.cpp" line="2035"/>
<source>save succeed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1907"/>
<location filename="mainwindow.cpp" line="2046"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2119"/>
<location filename="mainwindow.cpp" line="2130"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2119"/>
<location filename="mainwindow.cpp" line="2130"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2119"/>
<location filename="mainwindow.cpp" line="2130"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2119"/>
<location filename="mainwindow.cpp" line="2130"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2119"/>
<location filename="mainwindow.cpp" line="2130"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2119"/>
<location filename="mainwindow.cpp" line="2130"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2162"/>
<location filename="mainwindow.cpp" line="2173"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2170"/>
<location filename="mainwindow.cpp" line="2181"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2170"/>
<location filename="mainwindow.cpp" line="2181"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2170"/>
<location filename="mainwindow.cpp" line="2181"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2170"/>
<location filename="mainwindow.cpp" line="2181"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2191"/>
<location filename="mainwindow.cpp" line="2202"/>
<source>Warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2191"/>
<location filename="mainwindow.cpp" line="2202"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3302"/>
<location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="3304"/>
<location filename="mainwindow.cpp" line="3324"/>
<location filename="mainwindow.cpp" line="3325"/>
<location filename="mainwindow.cpp" line="3326"/>
<source>folder limit</source>
<translation>访访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3378"/>
<location filename="mainwindow.cpp" line="3404"/>
<source>Are you sure to close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3378"/>
<location filename="mainwindow.cpp" line="3404"/>
<source> ?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3388"/>
<location filename="mainwindow.cpp" line="3389"/>
<location filename="mainwindow.cpp" line="3414"/>
<location filename="mainwindow.cpp" line="3415"/>
<source>close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3479"/>
<location filename="mainwindow.cpp" line="3505"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3479"/>
<location filename="mainwindow.cpp" line="3505"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3502"/>
<location filename="mainwindow.cpp" line="3520"/>
<location filename="mainwindow.cpp" line="3528"/>
<location filename="mainwindow.cpp" line="3546"/>
<source>The device does not support this operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3504"/>
<location filename="mainwindow.cpp" line="3522"/>
<location filename="mainwindow.cpp" line="3530"/>
<location filename="mainwindow.cpp" line="3548"/>
<source>IO error</source>
<translation>IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3278"/>
<location filename="mainwindow.cpp" line="3302"/>
<location filename="mainwindow.cpp" line="3300"/>
<location filename="mainwindow.cpp" line="3324"/>
<source>error</source>
<translation></translation>
</message>
@ -2379,115 +2381,115 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2539"/>
<location filename="mainwindow.cpp" line="2550"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2664"/>
<location filename="mainwindow.cpp" line="2675"/>
<source>confirm the operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2665"/>
<location filename="mainwindow.cpp" line="2676"/>
<source>Are you sure to clear the rollor acount?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2681"/>
<location filename="mainwindow.cpp" line="2692"/>
<source>Please re-enter the Abount screen to obtain the latest value</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2726"/>
<location filename="mainwindow.cpp" line="2737"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2728"/>
<location filename="mainwindow.cpp" line="2739"/>
<source>&lt;p&gt;%1: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2730"/>
<location filename="mainwindow.cpp" line="2741"/>
<source>roller number</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3095"/>
<location filename="mainwindow.cpp" line="3111"/>
<source>open scanner </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3096"/>
<location filename="mainwindow.cpp" line="3312"/>
<location filename="mainwindow.cpp" line="3112"/>
<location filename="mainwindow.cpp" line="3338"/>
<source>app name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3118"/>
<location filename="mainwindow.cpp" line="3351"/>
<location filename="mainwindow.cpp" line="3140"/>
<location filename="mainwindow.cpp" line="3377"/>
<source>success</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3127"/>
<location filename="mainwindow.cpp" line="3149"/>
<source>apply setting </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3127"/>
<location filename="mainwindow.cpp" line="3149"/>
<source> success</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3127"/>
<location filename="mainwindow.cpp" line="3149"/>
<source> failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3145"/>
<location filename="mainwindow.cpp" line="3366"/>
<location filename="mainwindow.cpp" line="3167"/>
<location filename="mainwindow.cpp" line="3392"/>
<source>failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3168"/>
<location filename="mainwindow.cpp" line="3190"/>
<source>warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3168"/>
<location filename="mainwindow.cpp" line="3190"/>
<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>
</message>
<message>
<location filename="mainwindow.cpp" line="3320"/>
<location filename="mainwindow.cpp" line="3346"/>
<source>lost config</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3347"/>
<location filename="mainwindow.cpp" line="3373"/>
<source>apply setting</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1111"/>
<location filename="mainwindow.cpp" line="1112"/>
<location filename="mainwindow.cpp" line="1113"/>
<location filename="mainwindow.cpp" line="2821"/>
<location filename="mainwindow.cpp" line="2822"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="2869"/>
<location filename="mainwindow.cpp" line="2870"/>
<location filename="mainwindow.cpp" line="2871"/>
<location filename="mainwindow.cpp" line="2937"/>
<location filename="mainwindow.cpp" line="2938"/>
<location filename="mainwindow.cpp" line="2939"/>
<location filename="mainwindow.cpp" line="3005"/>
<location filename="mainwindow.cpp" line="3006"/>
<location filename="mainwindow.cpp" line="3007"/>
<location filename="mainwindow.cpp" line="1119"/>
<location filename="mainwindow.cpp" line="1120"/>
<location filename="mainwindow.cpp" line="1121"/>
<location filename="mainwindow.cpp" line="2832"/>
<location filename="mainwindow.cpp" line="2833"/>
<location filename="mainwindow.cpp" line="2834"/>
<location filename="mainwindow.cpp" line="2885"/>
<location filename="mainwindow.cpp" line="2886"/>
<location filename="mainwindow.cpp" line="2887"/>
<location filename="mainwindow.cpp" line="2953"/>
<location filename="mainwindow.cpp" line="2954"/>
<location filename="mainwindow.cpp" line="2955"/>
<location filename="mainwindow.cpp" line="3021"/>
<location filename="mainwindow.cpp" line="3022"/>
<location filename="mainwindow.cpp" line="3023"/>
<source>start failed</source>
<translation></translation>
</message>
@ -2530,15 +2532,15 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="509"/>
<location filename="mainwindow.cpp" line="564"/>
<location filename="mainwindow.cpp" line="1454"/>
<location filename="mainwindow.cpp" line="1512"/>
<location filename="mainwindow.cpp" line="2217"/>
<location filename="mainwindow.cpp" line="2231"/>
<location filename="mainwindow.cpp" line="2540"/>
<location filename="mainwindow.cpp" line="2595"/>
<location filename="mainwindow.cpp" line="2667"/>
<location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="3380"/>
<location filename="mainwindow.cpp" line="1463"/>
<location filename="mainwindow.cpp" line="1521"/>
<location filename="mainwindow.cpp" line="2228"/>
<location filename="mainwindow.cpp" line="2242"/>
<location filename="mainwindow.cpp" line="2551"/>
<location filename="mainwindow.cpp" line="2606"/>
<location filename="mainwindow.cpp" line="2678"/>
<location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="3406"/>
<source>yes</source>
<translation></translation>
</message>
@ -2550,94 +2552,102 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="511"/>
<location filename="mainwindow.cpp" line="565"/>
<location filename="mainwindow.cpp" line="1455"/>
<location filename="mainwindow.cpp" line="2218"/>
<location filename="mainwindow.cpp" line="2232"/>
<location filename="mainwindow.cpp" line="2541"/>
<location filename="mainwindow.cpp" line="2596"/>
<location filename="mainwindow.cpp" line="2668"/>
<location filename="mainwindow.cpp" line="3381"/>
<location filename="mainwindow.cpp" line="1464"/>
<location filename="mainwindow.cpp" line="2229"/>
<location filename="mainwindow.cpp" line="2243"/>
<location filename="mainwindow.cpp" line="2552"/>
<location filename="mainwindow.cpp" line="2607"/>
<location filename="mainwindow.cpp" line="2679"/>
<location filename="mainwindow.cpp" line="3407"/>
<source>no</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="744"/>
<location filename="mainwindow.cpp" line="752"/>
<source>found device </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="754"/>
<location filename="mainwindow.cpp" line="762"/>
<source> reconnected</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="756"/>
<location filename="mainwindow.cpp" line="764"/>
<source>already connected, but open faild</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="893"/>
<location filename="mainwindow.cpp" line="992"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1000"/>
<source>%1%2%3.%4</source>
<translation>%1%2%3.%4</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3279"/>
<location filename="mainwindow.cpp" line="3301"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2215"/>
<location filename="mainwindow.cpp" line="2226"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2228"/>
<location filename="mainwindow.cpp" line="1896"/>
<location filename="mainwindow.cpp" line="1900"/>
<location filename="mainwindow.cpp" line="1907"/>
<location filename="mainwindow.cpp" line="1959"/>
<location filename="mainwindow.cpp" line="1963"/>
<location filename="mainwindow.cpp" line="2035"/>
<location filename="mainwindow.cpp" line="2039"/>
<location filename="mainwindow.cpp" line="2046"/>
<location filename="mainwindow.cpp" line="2239"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2229"/>
<location filename="mainwindow.cpp" line="2240"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2592"/>
<location filename="mainwindow.cpp" line="2603"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2593"/>
<location filename="mainwindow.cpp" line="2604"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2606"/>
<location filename="mainwindow.cpp" line="2610"/>
<location filename="mainwindow.cpp" line="2686"/>
<location filename="mainwindow.cpp" line="2617"/>
<location filename="mainwindow.cpp" line="2621"/>
<location filename="mainwindow.cpp" line="2697"/>
<source>hint</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2606"/>
<location filename="mainwindow.cpp" line="2678"/>
<location filename="mainwindow.cpp" line="2617"/>
<location filename="mainwindow.cpp" line="2689"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2610"/>
<location filename="mainwindow.cpp" line="2684"/>
<location filename="mainwindow.cpp" line="2621"/>
<location filename="mainwindow.cpp" line="2695"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2653"/>
<location filename="mainwindow.cpp" line="2664"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2653"/>
<location filename="mainwindow.cpp" line="2664"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -2670,28 +2680,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>
</message>
<message>
<location filename="mainwindow.cpp" line="2704"/>
<location filename="mainwindow.cpp" line="2715"/>
<source>About %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2705"/>
<location filename="mainwindow.cpp" line="2716"/>
<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>
</message>
<message>
<location filename="mainwindow.cpp" line="2720"/>
<location filename="mainwindow.cpp" line="2731"/>
<source>about %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2721"/>
<location filename="mainwindow.cpp" line="2732"/>
<source>&lt;p&gt;Version: %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2722"/>
<location filename="mainwindow.cpp" line="2733"/>
<source>&lt;p&gt;CopyRight: &amp;#169; %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: &amp;#169; %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; &amp;#169; %1&lt;/p&gt;</translation>

View File

@ -1893,17 +1893,18 @@ void MainWindow::on_act_save_triggered()
m_thumb->updateItem(m_currIndex, savePath);
m_currFilePath = savePath;
m_modify = false;
QMessageBox::information(this, tr("tips"), tr("save succeed"));
}
else
{
QMessageBox::information(this, tr("info"), tr("save failed"));
QMessageBox::critical(this, tr("tips"), tr("save failed"));
m_dialogLog->addLog(tr("save failed"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("save failed"), true);
}
}
else
{
QMessageBox::information(this, tr("info"), tr("find savePath in thumbnail"));
QMessageBox::information(this, tr("tips"), tr("find savePath in thumbnail"));
}
return;
@ -1955,10 +1956,11 @@ void MainWindow::on_act_save_triggered()
m_thumb->refreshItem(m_currFilePath);
m_modify = false;
updateActionStatus();
QMessageBox::information(this, tr("tips"), tr("save succeed"));
}
else
{
QMessageBox::information(this, tr("info"), tr("save failed"));
QMessageBox::critical(this, tr("tips"), tr("save failed"));
}
}
@ -2030,18 +2032,18 @@ void MainWindow::on_act_saveAs_triggered()
if (HGBASE_ERR_OK == saveImage(img, &saveInfo, isOcr, getStdString(savePath).c_str()))
{
QMessageBox::information(this, tr("tips"), tr("save succeed"));
}
else
{
QMessageBox::information(this, tr("info"), tr("save failed"));
QMessageBox::critical(this, tr("tips"), tr("save failed"));
m_dialogLog->addLog(tr("save failed"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("save failed"), true);
}
}
else
{
QMessageBox::information(this, tr("info"), tr("find savePath in thumbnail"));
QMessageBox::information(this, tr("tips"), tr("find savePath in thumbnail"));
}
}
}

View File

@ -1724,10 +1724,6 @@ Do you want to clear?</source>
<source>Insert images</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>info</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>save failed</source>
<translation type="unfinished"></translation>
@ -2050,6 +2046,10 @@ Are you sure to close?</source>
<source>folder limit</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>save succeed</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Phonon::</name>