新二维码/条形码编辑逻辑

This commit is contained in:
2026-05-06 10:34:48 +08:00
parent a06c926162
commit a9e99f4425
76 changed files with 12679 additions and 12744 deletions
+81 -89
View File
@@ -26,7 +26,7 @@
<enum>Qt::StrongFocus</enum>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -35,8 +35,8 @@
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>210</x>
<y>30</y>
<x>220</x>
<y>90</y>
<width>122</width>
<height>25</height>
</rect>
@@ -57,8 +57,8 @@
<widget class="QSpinBox" name="spinBoxHighVoltageValue">
<property name="geometry">
<rect>
<x>340</x>
<y>20</y>
<x>350</x>
<y>80</y>
<width>121</width>
<height>37</height>
</rect>
@@ -82,8 +82,8 @@
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>210</x>
<y>80</y>
<x>220</x>
<y>160</y>
<width>121</width>
<height>25</height>
</rect>
@@ -104,8 +104,8 @@
<widget class="QSpinBox" name="spinBoxColDelay">
<property name="geometry">
<rect>
<x>340</x>
<y>70</y>
<x>350</x>
<y>150</y>
<width>122</width>
<height>37</height>
</rect>
@@ -123,8 +123,8 @@
<widget class="QLabel" name="label_38">
<property name="geometry">
<rect>
<x>149</x>
<y>120</y>
<x>160</x>
<y>230</y>
<width>181</width>
<height>37</height>
</rect>
@@ -139,9 +139,9 @@
<widget class="QComboBox" name="comboBox_selcetVolPara">
<property name="geometry">
<rect>
<x>340</x>
<y>120</y>
<width>185</width>
<x>351</x>
<y>230</y>
<width>220</width>
<height>37</height>
</rect>
</property>
@@ -158,80 +158,15 @@
</item>
<item>
<property name="text">
<string>5行5点阵</string>
<string>32点阵对5点阵的优化</string>
</property>
</item>
<item>
<property name="text">
<string>4行7点阵</string>
<string>32点阵对4点阵的优化</string>
</property>
</item>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>240</x>
<y>199</y>
<width>231</width>
<height>131</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="checkBoxUpDownInverse">
<property name="minimumSize">
<size>
<width>0</width>
<height>37</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>信息上下颠倒</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/icon/updown.png</normaloff>:/icon/updown.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBoxLeftRightInverse">
<property name="minimumSize">
<size>
<width>0</width>
<height>37</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>信息左右颠倒</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/icon/leftright.png</normaloff>:/icon/leftright.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
@@ -737,7 +672,7 @@ border-radius: 5px;</string>
<x>40</x>
<y>50</y>
<width>431</width>
<height>171</height>
<height>211</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_5">
@@ -925,7 +860,7 @@ border-radius: 5px;</string>
<property name="geometry">
<rect>
<x>540</x>
<y>20</y>
<y>30</y>
<width>171</width>
<height>111</height>
</rect>
@@ -963,8 +898,8 @@ border-radius: 5px;</string>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>560</x>
<y>130</y>
<x>530</x>
<y>150</y>
<width>191</width>
<height>131</height>
</rect>
@@ -1052,8 +987,8 @@ border-radius: 5px;</string>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>380</x>
<y>310</y>
<x>300</x>
<y>270</y>
<width>171</width>
<height>80</height>
</rect>
@@ -1103,8 +1038,8 @@ border-radius: 5px;</string>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>50</x>
<y>330</y>
<x>60</x>
<y>300</y>
<width>231</width>
<height>41</height>
</rect>
@@ -1472,6 +1407,63 @@ QRadioButton {
</widget>
</widget>
</widget>
<widget class="QWidget" name="other">
<attribute name="title">
<string>其他设置</string>
</attribute>
<widget class="QCheckBox" name="checkBoxUpDownInverse">
<property name="geometry">
<rect>
<x>320</x>
<y>120</y>
<width>135</width>
<height>37</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>37</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>信息上下颠倒</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/icon/updown.png</normaloff>:/icon/updown.png</iconset>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxLeftRightInverse">
<property name="geometry">
<rect>
<x>320</x>
<y>220</y>
<width>135</width>
<height>37</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>37</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>信息左右颠倒</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/icon/leftright.png</normaloff>:/icon/leftright.png</iconset>
</property>
</widget>
</widget>
</widget>
<widget class="QPushButton" name="closeBtn">
<property name="geometry">