按键扫描工具勾选除摩尔纹和选择自动文本方向识别增加提示;
This commit is contained in:
parent
62ef2dd07f
commit
eba82113f1
Binary file not shown.
|
@ -162,33 +162,41 @@
|
|||
<context>
|
||||
<name>Form_DeviceConfig</name>
|
||||
<message>
|
||||
<location filename="form_deviceconfig.cpp" line="259"/>
|
||||
<location filename="form_deviceconfig.cpp" line="269"/>
|
||||
<source>Default</source>
|
||||
<translation>恢复默认</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="form_deviceconfig.cpp" line="432"/>
|
||||
<location filename="form_deviceconfig.cpp" line="442"/>
|
||||
<source>Custom gamma</source>
|
||||
<translation>自定义色调曲线</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="form_deviceconfig.cpp" line="817"/>
|
||||
<location filename="form_deviceconfig.cpp" line="827"/>
|
||||
<location filename="form_deviceconfig.cpp" line="893"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1390"/>
|
||||
<source>Prompt</source>
|
||||
<translation>提示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="form_deviceconfig.cpp" line="873"/>
|
||||
<location filename="form_deviceconfig.cpp" line="903"/>
|
||||
<location filename="form_deviceconfig.cpp" line="933"/>
|
||||
<location filename="form_deviceconfig.cpp" line="971"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1009"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1053"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1083"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1121"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1365"/>
|
||||
<location filename="form_deviceconfig.cpp" line="883"/>
|
||||
<location filename="form_deviceconfig.cpp" line="920"/>
|
||||
<location filename="form_deviceconfig.cpp" line="950"/>
|
||||
<location filename="form_deviceconfig.cpp" line="988"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1026"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1070"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1100"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1138"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1382"/>
|
||||
<source>The funtion is unsupported</source>
|
||||
<translation>此版本不支持该功能</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="form_deviceconfig.cpp" line="893"/>
|
||||
<location filename="form_deviceconfig.cpp" line="1390"/>
|
||||
<source>This function may cause a decrease in the speed of drawing.</source>
|
||||
<translation>此功能可能会导致出图速度降低.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Form_SaveParam</name>
|
||||
|
@ -381,23 +389,24 @@
|
|||
<translation type="vanished">用户自定义页数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="form_saveparam.cpp" line="35"/>
|
||||
<location filename="form_saveparam.cpp" line="270"/>
|
||||
<location filename="form_saveparam.cpp" line="297"/>
|
||||
<location filename="form_saveparam.cpp" line="304"/>
|
||||
<location filename="form_saveparam.cpp" line="34"/>
|
||||
<location filename="form_saveparam.cpp" line="257"/>
|
||||
<location filename="form_saveparam.cpp" line="284"/>
|
||||
<location filename="form_saveparam.cpp" line="291"/>
|
||||
<source>e.g. '%1%2'</source>
|
||||
<translation>例如.“%1%2”</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="form_saveparam.cpp" line="216"/>
|
||||
<source>Browse directory</source>
|
||||
<translation type="vanished">文件夹路径</translation>
|
||||
<translation>文件夹路径</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="mainwindow.ui" line="14"/>
|
||||
<location filename="mainwindow.cpp" line="46"/>
|
||||
<location filename="mainwindow.cpp" line="48"/>
|
||||
<source>Scan Tool</source>
|
||||
<translation>扫描工具</translation>
|
||||
</message>
|
||||
|
@ -427,106 +436,107 @@
|
|||
<translation>选择设备</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="51"/>
|
||||
<location filename="mainwindow.cpp" line="53"/>
|
||||
<source>Show</source>
|
||||
<translation>打开</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="53"/>
|
||||
<location filename="mainwindow.cpp" line="55"/>
|
||||
<source>Exit</source>
|
||||
<translation>退出</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="70"/>
|
||||
<location filename="mainwindow.cpp" line="72"/>
|
||||
<source>Device Type</source>
|
||||
<translation>设备类型</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="71"/>
|
||||
<location filename="mainwindow.cpp" line="73"/>
|
||||
<source>Button Id</source>
|
||||
<translation>按键ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="72"/>
|
||||
<location filename="mainwindow.cpp" line="74"/>
|
||||
<source>Device Config</source>
|
||||
<translation>设备配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="73"/>
|
||||
<location filename="mainwindow.cpp" line="75"/>
|
||||
<source>Save Param</source>
|
||||
<translation>保存参数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="90"/>
|
||||
<location filename="mainwindow.cpp" line="1053"/>
|
||||
<location filename="mainwindow.cpp" line="1491"/>
|
||||
<location filename="mainwindow.cpp" line="92"/>
|
||||
<location filename="mainwindow.cpp" line="1055"/>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<source>Manual</source>
|
||||
<translation>手动</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="90"/>
|
||||
<location filename="mainwindow.cpp" line="1053"/>
|
||||
<location filename="mainwindow.cpp" line="1491"/>
|
||||
<location filename="mainwindow.cpp" line="92"/>
|
||||
<location filename="mainwindow.cpp" line="1055"/>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<source>Button 1</source>
|
||||
<translation>按键 1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="90"/>
|
||||
<location filename="mainwindow.cpp" line="1053"/>
|
||||
<location filename="mainwindow.cpp" line="1491"/>
|
||||
<location filename="mainwindow.cpp" line="92"/>
|
||||
<location filename="mainwindow.cpp" line="1055"/>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<source>Button 2</source>
|
||||
<translation>按键 2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="90"/>
|
||||
<location filename="mainwindow.cpp" line="1053"/>
|
||||
<location filename="mainwindow.cpp" line="1491"/>
|
||||
<location filename="mainwindow.cpp" line="92"/>
|
||||
<location filename="mainwindow.cpp" line="1055"/>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<source>Button 3</source>
|
||||
<translation>按键 3</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="90"/>
|
||||
<location filename="mainwindow.cpp" line="1053"/>
|
||||
<location filename="mainwindow.cpp" line="1491"/>
|
||||
<location filename="mainwindow.cpp" line="92"/>
|
||||
<location filename="mainwindow.cpp" line="1055"/>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<source>Button 4</source>
|
||||
<translation>按键 4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="90"/>
|
||||
<location filename="mainwindow.cpp" line="1053"/>
|
||||
<location filename="mainwindow.cpp" line="1491"/>
|
||||
<location filename="mainwindow.cpp" line="92"/>
|
||||
<location filename="mainwindow.cpp" line="1055"/>
|
||||
<location filename="mainwindow.cpp" line="1505"/>
|
||||
<source>Button 5</source>
|
||||
<translation>按键 5</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="612"/>
|
||||
<location filename="mainwindow.cpp" line="1023"/>
|
||||
<location filename="mainwindow.cpp" line="1456"/>
|
||||
<location filename="mainwindow.cpp" line="1462"/>
|
||||
<location filename="mainwindow.cpp" line="1476"/>
|
||||
<location filename="mainwindow.cpp" line="1508"/>
|
||||
<location filename="mainwindow.cpp" line="614"/>
|
||||
<location filename="mainwindow.cpp" line="1025"/>
|
||||
<location filename="mainwindow.cpp" line="1465"/>
|
||||
<location filename="mainwindow.cpp" line="1471"/>
|
||||
<location filename="mainwindow.cpp" line="1484"/>
|
||||
<location filename="mainwindow.cpp" line="1490"/>
|
||||
<location filename="mainwindow.cpp" line="1522"/>
|
||||
<source>Tips</source>
|
||||
<translation>提示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="612"/>
|
||||
<location filename="mainwindow.cpp" line="1023"/>
|
||||
<location filename="mainwindow.cpp" line="1462"/>
|
||||
<location filename="mainwindow.cpp" line="614"/>
|
||||
<location filename="mainwindow.cpp" line="1025"/>
|
||||
<location filename="mainwindow.cpp" line="1471"/>
|
||||
<source>Device is offline</source>
|
||||
<translation>设备已断开</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="927"/>
|
||||
<location filename="mainwindow.cpp" line="929"/>
|
||||
<source>binary</source>
|
||||
<translation>黑白</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="929"/>
|
||||
<location filename="mainwindow.cpp" line="931"/>
|
||||
<source>gray</source>
|
||||
<translation>256级灰度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="931"/>
|
||||
<location filename="mainwindow.cpp" line="933"/>
|
||||
<source>rgb</source>
|
||||
<translation>24位彩色</translation>
|
||||
</message>
|
||||
|
@ -535,13 +545,13 @@
|
|||
<translation type="vanished">不支持打开设备 %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1456"/>
|
||||
<location filename="mainwindow.cpp" line="1508"/>
|
||||
<location filename="mainwindow.cpp" line="1465"/>
|
||||
<location filename="mainwindow.cpp" line="1522"/>
|
||||
<source>No item selected</source>
|
||||
<translation>请选择配置项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1476"/>
|
||||
<location filename="mainwindow.cpp" line="1490"/>
|
||||
<source>Device type mismatch</source>
|
||||
<translation>设备类型不匹配</translation>
|
||||
</message>
|
||||
|
@ -550,12 +560,12 @@
|
|||
<translation type="vanished">手动扫描配置不可被删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1512"/>
|
||||
<location filename="mainwindow.cpp" line="1526"/>
|
||||
<source>Question</source>
|
||||
<translation>询问</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="1513"/>
|
||||
<location filename="mainwindow.cpp" line="1527"/>
|
||||
<source>Are you sure you want to remove the item?</source>
|
||||
<translation>确认删除配置项?</translation>
|
||||
</message>
|
||||
|
|
|
@ -886,6 +886,13 @@ void Form_DeviceConfig::on_string_list_comboBoxClicked()
|
|||
return;
|
||||
}
|
||||
|
||||
bool ok = false;
|
||||
if ((deviceConfigEx->name == SANE_STD_OPT_NAME_TEXT_DIRECTION) &&
|
||||
0 == strcmp(to_default_language(comboBox->currentText().toStdString().c_str(), &ok), OPTION_VALUE_WGFX_ZDWBFXSB))
|
||||
{
|
||||
QMessageBox::information(this, tr("Prompt"), tr("This function may cause a decrease in the speed of drawing."));
|
||||
}
|
||||
|
||||
deviceConfigEx->stringValue = currentText;
|
||||
if ((method & SANE_INFO_RELOAD_OPTIONS) == SANE_INFO_RELOAD_OPTIONS)
|
||||
{
|
||||
|
@ -1378,6 +1385,11 @@ void Form_DeviceConfig::on_checkedClicked()
|
|||
return;
|
||||
}
|
||||
|
||||
if (currentState && (deviceConfigEx->name == SANE_STD_OPT_NAME_RID_MORR))
|
||||
{
|
||||
QMessageBox::information(this, tr("Prompt"), tr("This function may cause a decrease in the speed of drawing."));
|
||||
}
|
||||
|
||||
deviceConfigEx->boolValue = currentState;
|
||||
if ((method & SANE_INFO_RELOAD_OPTIONS) == SANE_INFO_RELOAD_OPTIONS)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue