Add Structured Append support for AZTEC, CODEONE, DATAMATRIX, DOTCODE,

GRIDMATRIX, MAXICODE, MICROPDF417, PDF417, QRCODE, ULTRA
DOTCODE: use pre-calculated generator poly coeffs in Reed-Solomon for
  performance improvement
PDF417/MICROPDF417: use common routine pdf417_initial()
GUI: code lines <= 118, shorthand widget_obj(),
  shorten calling upcean_addon_gap(), upcean_guard_descent()
various backend: var name debug -> debug_print
This commit is contained in:
gitlost 2021-09-28 21:42:44 +01:00
parent e8b1f7a12e
commit c0791ad85e
69 changed files with 6738 additions and 1822 deletions

View file

@ -27,6 +27,9 @@
<property name="text">
<string>&amp;Number of Data Columns:</string>
</property>
<property name="toolTip">
<string>Set number of data characters in a row</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
@ -37,6 +40,9 @@
</item>
<item row="0" column="2">
<widget class="QComboBox" name="cmbMPDFCols">
<property name="toolTip">
<string>Set number of data characters in a row</string>
</property>
<item>
<property name="text">
<string>Automatic</string>
@ -71,6 +77,9 @@
<property name="title">
<string>Encoding Mode</string>
</property>
<property name="toolTip">
<string>How to process data</string>
</property>
<layout class="QGridLayout" name="gridLayoutMPDFEncodingMode">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
@ -80,6 +89,9 @@
<property name="text">
<string>S&amp;tandard Mode</string>
</property>
<property name="toolTip">
<string>Process data as normal</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
@ -90,6 +102,151 @@
<property name="text">
<string>H&amp;IBC MicroPDF417</string>
</property>
<property name="toolTip">
<string>Process data as a Health Industry Barcode (HIBC)
Labeler Identification Code (LIC)
For Provider Applications Standard (PAS), preface
the data with a slash &quot;/&quot;</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBoxMPDFStructApp">
<property name="title">
<string>Structured Append</string>
</property>
<property name="toolTip">
<string>MicroPDF417 supports Structured Append of up to
99,999 symbols</string>
</property>
<layout class="QGridLayout" name="gridLayoutMPDFStructApp">
<item row="0" column="0">
<widget class="QLabel" name="lblMPDFStructAppCount">
<property name="text">
<string>C&amp;ount:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnMPDFStructAppCount</cstring>
</property>
<property name="toolTip">
<string>Mark symbol as part of a Structured Append sequence
containing a total of this number of symbols
Value ranges from 1 (Disabled) to 99999</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spnMPDFStructAppCount">
<property name="toolTip">
<string>Mark symbol as part of a Structured Append sequence
containing a total of this number of symbols
Value ranges from 1 (Disabled) to 99999</string>
</property>
<property name="specialValueText">
<string>1 (Disabled)</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>99999</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacerPDFStructApp">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="0" column="3">
<widget class="QLabel" name="lblMPDFStructAppIndex">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Inde&amp;x:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnMPDFStructAppIndex</cstring>
</property>
<property name="toolTip">
<string>Position of symbol in Structured Append sequence
Value ranges from 1 to count
(ignored if disabled)</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QSpinBox" name="spnMPDFStructAppIndex">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Position of symbol in Structured Append sequence
Value ranges from 1 to count
(ignored if disabled)</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>99999</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblMPDFStructAppID">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Optional ID to indicate that symbols belong to the same
Structured Append sequence
Numbers only, in triplets, maximum length 30 (10 triplets)
(ignored if disabled)</string>
</property>
<property name="text">
<string>I&amp;D:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>txtMPDFStructAppID</cstring>
</property>
</widget>
</item>
<item row="1" column="1" colspan="4">
<widget class="QLineEdit" name="txtMPDFStructAppID">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxLength">
<number>30</number>
</property>
<property name="toolTip">
<string>Optional ID to indicate that symbols belong to the same
Structured Append sequence
Numbers only, in triplets, maximum length 30 (10 triplets)
(ignored if disabled)</string>
</property>
</widget>
</item>
</layout>