主界面小对话框中添加 计数器重置按钮

This commit is contained in:
2026-09-12 08:34:25 +08:00
parent 7d411deab0
commit 96c5fab758
15 changed files with 1039 additions and 856 deletions
+116 -106
View File
@@ -1928,18 +1928,18 @@
<message>
<location filename="InkJetPrinter.cpp" line="1063"/>
<location filename="InkJetPrinter.cpp" line="1064"/>
<location filename="mainwidget.cpp" line="412"/>
<location filename="mainwidget.cpp" line="442"/>
<source>自检完成!!!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3236"/>
<location filename="InkJetPrinter.cpp" line="3241"/>
<source>警告</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="101"/>
<location filename="InkJetPrinter.cpp" line="3641"/>
<location filename="InkJetPrinter.cpp" line="3646"/>
<source>提示</source>
<translation type="unfinished"></translation>
</message>
@@ -2000,7 +2000,7 @@
</message>
<message>
<location filename="InkJetPrinter.cpp" line="1331"/>
<location filename="mainwidget.cpp" line="413"/>
<location filename="mainwidget.cpp" line="443"/>
<source>停止打印,自动关闭高压.</source>
<translation type="unfinished"></translation>
</message>
@@ -2027,91 +2027,91 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3052"/>
<location filename="InkJetPrinter.cpp" line="3057"/>
<source>压力过高,请检查管路是否堵塞,然后点击故障恢复按钮</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3137"/>
<location filename="InkJetPrinter.cpp" line="3425"/>
<location filename="InkJetPrinter.cpp" line="3481"/>
<location filename="InkJetPrinter.cpp" line="3142"/>
<location filename="InkJetPrinter.cpp" line="3430"/>
<location filename="InkJetPrinter.cpp" line="3486"/>
<source>请刷墨水卡,请使用原厂墨水耗材,否则机器将在%1小时后禁止使用!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3139"/>
<location filename="InkJetPrinter.cpp" line="3144"/>
<source>墨水液位报警超过48小时,机器无法正常打印,请先添加原厂墨水再刷墨水卡,以恢复喷码机的正常工作!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3147"/>
<location filename="InkJetPrinter.cpp" line="3552"/>
<location filename="InkJetPrinter.cpp" line="3600"/>
<location filename="InkJetPrinter.cpp" line="3152"/>
<location filename="InkJetPrinter.cpp" line="3557"/>
<location filename="InkJetPrinter.cpp" line="3605"/>
<source>请刷溶剂卡,请使用原厂溶剂耗材,否则机器将在%1小时后禁止使用!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3149"/>
<location filename="InkJetPrinter.cpp" line="3154"/>
<source>溶剂液位报警超过48小时,机器无法正常打印,请先添加溶剂再刷溶剂卡以恢复喷码机的正常工作!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3157"/>
<location filename="InkJetPrinter.cpp" line="3162"/>
<source>保养期还有%1天到期,请及时保养,否则喷码机容易损坏</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3159"/>
<location filename="InkJetPrinter.cpp" line="3164"/>
<source>保养期已超过%1天,请进行保养以恢复喷码机的正常使用</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3315"/>
<location filename="InkJetPrinter.cpp" line="3320"/>
<source>刷墨水卡成功, 请及时将该墨水卡对应的墨水添加到机器中</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3318"/>
<location filename="InkJetPrinter.cpp" line="3323"/>
<source>刷墨水卡成功!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3327"/>
<location filename="InkJetPrinter.cpp" line="3332"/>
<source>刷溶剂卡成功, 请及时将该溶剂卡对应的溶剂添加到机器中</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3330"/>
<location filename="InkJetPrinter.cpp" line="3335"/>
<source>刷溶剂卡成功!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3405"/>
<location filename="InkJetPrinter.cpp" line="3410"/>
<source>请及时使用墨水盒附带的IC卡激活墨水盒</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3479"/>
<location filename="InkJetPrinter.cpp" line="3484"/>
<source>墨水液位报警超过%1小时,机器无法正常打印,请先添加原厂墨水再刷墨水卡,以恢复喷码机的正常工作!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3532"/>
<location filename="InkJetPrinter.cpp" line="3537"/>
<source>请及时使用溶剂盒附带的IC卡激活溶剂盒</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3598"/>
<location filename="InkJetPrinter.cpp" line="3603"/>
<source>溶剂液位报警超过%1小时,机器无法正常打印,请先添加溶剂再刷溶剂卡以恢复喷码机的正常工作!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3665"/>
<location filename="InkJetPrinter.cpp" line="3670"/>
<source>File not found: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InkJetPrinter.cpp" line="3188"/>
<location filename="InkJetPrinter.cpp" line="3193"/>
<source>刷卡倒计时起始时间文件不存在</source>
<translation type="unfinished"></translation>
</message>
@@ -3084,14 +3084,14 @@
<message>
<location filename="MainWidget.ui" line="731"/>
<location filename="MainWidget.ui" line="763"/>
<location filename="mainwidget.cpp" line="1166"/>
<location filename="mainwidget.cpp" line="1196"/>
<source>喷嘴开启</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="MainWidget.ui" line="847"/>
<location filename="MainWidget.ui" line="879"/>
<location filename="mainwidget.cpp" line="1159"/>
<location filename="mainwidget.cpp" line="1189"/>
<source>喷嘴关闭</source>
<translation type="unfinished"></translation>
</message>
@@ -3111,277 +3111,277 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="232"/>
<location filename="mainwidget.cpp" line="251"/>
<location filename="mainwidget.cpp" line="1413"/>
<location filename="mainwidget.cpp" line="1438"/>
<location filename="mainwidget.cpp" line="262"/>
<location filename="mainwidget.cpp" line="281"/>
<location filename="mainwidget.cpp" line="1443"/>
<location filename="mainwidget.cpp" line="1468"/>
<source>警告</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="232"/>
<location filename="mainwidget.cpp" line="262"/>
<source>回收槽未关,是否关闭回收槽后关机!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="251"/>
<location filename="mainwidget.cpp" line="281"/>
<source>是否确认关机?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="293"/>
<location filename="mainwidget.cpp" line="326"/>
<location filename="mainwidget.cpp" line="352"/>
<location filename="mainwidget.cpp" line="323"/>
<location filename="mainwidget.cpp" line="356"/>
<location filename="mainwidget.cpp" line="382"/>
<source>正在准备关机,请等待%1秒...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="361"/>
<location filename="mainwidget.cpp" line="391"/>
<source>准备关机...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="386"/>
<location filename="mainwidget.cpp" line="416"/>
<source>关机失败!!!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2520"/>
<location filename="mainwidget.cpp" line="2531"/>
<location filename="mainwidget.cpp" line="2535"/>
<location filename="mainwidget.cpp" line="2547"/>
<location filename="mainwidget.cpp" line="2563"/>
<location filename="mainwidget.cpp" line="2550"/>
<location filename="mainwidget.cpp" line="2561"/>
<location filename="mainwidget.cpp" line="2565"/>
<location filename="mainwidget.cpp" line="2577"/>
<location filename="mainwidget.cpp" line="2593"/>
<source>错误</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2520"/>
<location filename="mainwidget.cpp" line="2550"/>
<source>喷印间隔过短,应高于%1!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2531"/>
<location filename="mainwidget.cpp" line="2561"/>
<source>喷头盖未关,请先关喷头盖!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2535"/>
<location filename="mainwidget.cpp" line="2565"/>
<source>墨线未开,请先开墨线开关!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2547"/>
<location filename="mainwidget.cpp" line="2577"/>
<source>当前总列数 %1 ,支持的总列数为 %2,请减少打印串的长度</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2563"/>
<location filename="mainwidget.cpp" line="2593"/>
<source>打印耗时 %1ms ,触发间隔 :%2ms ,触发间隔至少应当大于打印耗时3ms</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1156"/>
<location filename="mainwidget.cpp" line="1186"/>
<source>喷嘴已开启</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1156"/>
<location filename="mainwidget.cpp" line="1202"/>
<location filename="mainwidget.cpp" line="1186"/>
<location filename="mainwidget.cpp" line="1232"/>
<source>喷嘴开启中</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1162"/>
<location filename="mainwidget.cpp" line="1192"/>
<source>喷嘴已关闭</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1162"/>
<location filename="mainwidget.cpp" line="1192"/>
<source>喷嘴关闭中</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1179"/>
<location filename="mainwidget.cpp" line="1424"/>
<location filename="mainwidget.cpp" line="1209"/>
<location filename="mainwidget.cpp" line="1454"/>
<source>正在排气...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1729"/>
<location filename="mainwidget.cpp" line="1766"/>
<location filename="mainwidget.cpp" line="1759"/>
<location filename="mainwidget.cpp" line="1796"/>
<source>高压故障</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1733"/>
<location filename="mainwidget.cpp" line="1770"/>
<location filename="mainwidget.cpp" line="1763"/>
<location filename="mainwidget.cpp" line="1800"/>
<source>相位故障</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1737"/>
<location filename="mainwidget.cpp" line="1774"/>
<location filename="mainwidget.cpp" line="1767"/>
<location filename="mainwidget.cpp" line="1804"/>
<source>粘度故障</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1741"/>
<location filename="mainwidget.cpp" line="1778"/>
<location filename="mainwidget.cpp" line="1771"/>
<location filename="mainwidget.cpp" line="1808"/>
<source>回收故障</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1745"/>
<location filename="mainwidget.cpp" line="1782"/>
<location filename="mainwidget.cpp" line="1775"/>
<location filename="mainwidget.cpp" line="1812"/>
<source>溶液液位</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1749"/>
<location filename="mainwidget.cpp" line="1786"/>
<location filename="mainwidget.cpp" line="1779"/>
<location filename="mainwidget.cpp" line="1816"/>
<source>墨水液位</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1753"/>
<location filename="mainwidget.cpp" line="1790"/>
<location filename="mainwidget.cpp" line="1783"/>
<location filename="mainwidget.cpp" line="1820"/>
<source>墨水缸满</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1757"/>
<location filename="mainwidget.cpp" line="1794"/>
<location filename="mainwidget.cpp" line="1787"/>
<location filename="mainwidget.cpp" line="1824"/>
<source>墨线开关</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1813"/>
<location filename="mainwidget.cpp" line="1821"/>
<location filename="mainwidget.cpp" line="1843"/>
<location filename="mainwidget.cpp" line="1851"/>
<source>正常</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2405"/>
<location filename="mainwidget.cpp" line="2435"/>
<source>相位故障, 关闭回收槽</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2406"/>
<location filename="mainwidget.cpp" line="2407"/>
<location filename="mainwidget.cpp" line="2436"/>
<location filename="mainwidget.cpp" line="2437"/>
<source>相位故障,关闭回收槽</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1030"/>
<location filename="mainwidget.cpp" line="1060"/>
<source>提示</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1031"/>
<location filename="mainwidget.cpp" line="1061"/>
<source>随机码文本将展出到U盘,请插入U盘</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1414"/>
<location filename="mainwidget.cpp" line="1439"/>
<location filename="mainwidget.cpp" line="1444"/>
<location filename="mainwidget.cpp" line="1469"/>
<source>回收槽之前发生阻塞或回收槽时间设置错误,是否强制将当前位置设为到顶位置?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="1565"/>
<location filename="mainwidget.cpp" line="1566"/>
<location filename="mainwidget.cpp" line="1595"/>
<location filename="mainwidget.cpp" line="1596"/>
<source>%1.%2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2173"/>
<location filename="mainwidget.cpp" line="2203"/>
<source>墨水缸满报警</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2185"/>
<location filename="mainwidget.cpp" line="2215"/>
<source>墨水液位报警</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2196"/>
<location filename="mainwidget.cpp" line="2226"/>
<source>溶剂液位报警</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2227"/>
<location filename="mainwidget.cpp" line="2228"/>
<location filename="mainwidget.cpp" line="2257"/>
<location filename="mainwidget.cpp" line="2258"/>
<source>高压故障,暂停打印</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2230"/>
<location filename="mainwidget.cpp" line="2260"/>
<source>高压故障,暂停打印.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2245"/>
<location filename="mainwidget.cpp" line="2275"/>
<source>高压故障,关回收槽</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2246"/>
<location filename="mainwidget.cpp" line="2276"/>
<source>高压故障,关回收槽和墨线</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2297"/>
<location filename="mainwidget.cpp" line="2298"/>
<location filename="mainwidget.cpp" line="2327"/>
<location filename="mainwidget.cpp" line="2328"/>
<source>回收故障,关闭回收槽,关墨线</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2302"/>
<location filename="mainwidget.cpp" line="2332"/>
<source>回收故障.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2311"/>
<location filename="mainwidget.cpp" line="2341"/>
<source>回收异常,墨线可能偏离.(%1)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2325"/>
<location filename="mainwidget.cpp" line="2355"/>
<source>正在喷印.......</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2370"/>
<location filename="mainwidget.cpp" line="2400"/>
<source>相位故障:飞行时间错误!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2374"/>
<location filename="mainwidget.cpp" line="2404"/>
<source>相位故障:相位检测错误!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2382"/>
<location filename="mainwidget.cpp" line="2383"/>
<location filename="mainwidget.cpp" line="2384"/>
<location filename="mainwidget.cpp" line="2412"/>
<location filename="mainwidget.cpp" line="2413"/>
<location filename="mainwidget.cpp" line="2414"/>
<source>相位故障,准备关机</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2390"/>
<location filename="mainwidget.cpp" line="2391"/>
<location filename="mainwidget.cpp" line="2392"/>
<location filename="mainwidget.cpp" line="2420"/>
<location filename="mainwidget.cpp" line="2421"/>
<location filename="mainwidget.cpp" line="2422"/>
<source>相位故障,暂停打印</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2397"/>
<location filename="mainwidget.cpp" line="2427"/>
<source>相位故障,屏蔽DAC输出</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwidget.cpp" line="2398"/>
<location filename="mainwidget.cpp" line="2399"/>
<location filename="mainwidget.cpp" line="2428"/>
<location filename="mainwidget.cpp" line="2429"/>
<source>相位故障,屏蔽充电</source>
<translation type="unfinished"></translation>
</message>
@@ -4728,6 +4728,16 @@ p, li { white-space: pre-wrap; }
<source>清空产品计数</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="setnumdlg.ui" line="109"/>
<source>重置计数器1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="setnumdlg.ui" line="122"/>
<source>重置计数器2</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SystemManage</name>