1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-25 12:55:59 +00:00

CODEONE/ULTRA overrun fixes; TELEPEN fixes; CODEONE/LOGMARS/VIN/CODABAR options; GUI updates; tests

This commit is contained in:
gitlost
2020-06-04 18:45:25 +01:00
parent 8131471573
commit 6242e02638
80 changed files with 6393 additions and 2179 deletions

View File

@@ -6,10 +6,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>441</width>
<height>238</height>
<width>400</width>
<height>227</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
@@ -17,27 +23,25 @@
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radQRAuto">
<widget class="QLabel" name="labelQRSize">
<property name="text">
<string>A&amp;utomatic Resizing</string>
<string>Size:</string>
</property>
<property name="checked">
<bool>true</bool>
<property name="buddy">
<cstring>cmbQRSize</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radQRSize">
<property name="text">
<string>Adjust Si&amp;ze To:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<item row="0" column="1">
<widget class="QComboBox" name="cmbQRSize">
<property name="enabled">
<bool>false</bool>
<property name="maxVisibleItems">
<number>21</number>
</property>
<item>
<property name="text">
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>21 x 21 (Version 1)</string>
@@ -240,18 +244,23 @@
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="radQRECC">
<item row="1" column="0">
<widget class="QLabel" name="labelQRECC">
<property name="text">
<string>Add &amp;Error Correction:</string>
<string>Error Correction:</string>
</property>
<property name="buddy">
<cstring>cmbQRECC</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<item row="1" column="1">
<widget class="QComboBox" name="cmbQRECC">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>~20% (Level L)</string>
@@ -277,95 +286,59 @@
</layout>
</item>
<item>
<widget class="QGroupBox" name="grpQRMode">
<property name="minimumSize">
<widget class="QGroupBox" name="groupBoxQREncodingMode">
<property name="title">
<string>Encoding Mode</string>
</property>
<layout class="QGridLayout" name="gridLayoutQREncodingMode">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<item row="0" column="0">
<widget class="QRadioButton" name="radQRStand">
<property name="text">
<string>Standard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radQRGS1">
<property name="text">
<string>GS1 Data Mode</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radQRHIBC">
<property name="text">
<string>HIBC QR Code</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>70</height>
<width>20</width>
<height>43</height>
</size>
</property>
<property name="title">
<string>Data Encoding</string>
</property>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>411</width>
<height>80</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QRadioButton" name="radQRStand">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="radQRHIBC">
<property name="text">
<string>&amp;HIBC QR Code</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radQRGS1">
<property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>radQRSize</sender>
<signal>toggled(bool)</signal>
<receiver>cmbQRSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>89</x>
<y>39</y>
</hint>
<hint type="destinationlabel">
<x>255</x>
<y>46</y>
</hint>
</hints>
</connection>
<connection>
<sender>radQRECC</sender>
<signal>toggled(bool)</signal>
<receiver>cmbQRECC</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>95</x>
<y>79</y>
</hint>
<hint type="destinationlabel">
<x>308</x>
<y>79</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>