抽离printsettings前的暂存

This commit is contained in:
2026-06-26 15:29:45 +08:00
parent 864b60020e
commit 7c25953cef
7 changed files with 478 additions and 155 deletions
+138 -114
View File
@@ -26,7 +26,7 @@
<enum>Qt::StrongFocus</enum>
</property>
<property name="currentIndex">
<number>4</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -564,10 +564,36 @@
<x>210</x>
<y>60</y>
<width>521</width>
<height>191</height>
<height>81</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="2">
<widget class="QPushButton" name="pushButtonApplyPulseFix">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>脉冲数修正</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/icon/pulse.png</normaloff>:/icon/pulse.png</iconset>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labelTriggerPulsePerMm">
<property name="minimumSize">
@@ -612,118 +638,6 @@
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pushButtonApplyPulseFix">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>脉冲数修正</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/icon/pulse.png</normaloff>:/icon/pulse.png</iconset>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelSynTriggerPrintLen">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>37</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>喷印间隔(毫米):</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="spinBoxSynTriggerPrintLen">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelSynPrintMode">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>同步喷印模式:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="comboBoxSynPrintMode">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>37</height>
</size>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>按字符宽度</string>
</property>
</item>
<item>
<property name="text">
<string>按喷印比例</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2">
<widget class="QComboBox" name="comboBoxSyncActType">
<property name="sizePolicy">
@@ -815,6 +729,116 @@
</property>
</widget>
</widget>
<widget class="QLabel" name="labelSynTriggerPrintLen">
<property name="geometry">
<rect>
<x>100</x>
<y>350</y>
<width>179</width>
<height>37</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>37</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>喷印间隔(毫米):</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="spinBoxSynTriggerPrintLen">
<property name="geometry">
<rect>
<x>280</x>
<y>350</y>
<width>150</width>
<height>31</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
</widget>
<widget class="QComboBox" name="comboBoxSynPrintMode">
<property name="geometry">
<rect>
<x>280</x>
<y>310</y>
<width>150</width>
<height>36</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>37</height>
</size>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>按字符宽度</string>
</property>
</item>
<item>
<property name="text">
<string>按喷印比例</string>
</property>
</item>
</widget>
<widget class="QLabel" name="labelSynPrintMode">
<property name="geometry">
<rect>
<x>90</x>
<y>310</y>
<width>179</width>
<height>36</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>同步喷印模式:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
<widget class="QWidget" name="other">
<attribute name="title">