mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-29 06:15:23 -04:00
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:
parent
e8b1f7a12e
commit
c0791ad85e
69 changed files with 6738 additions and 1822 deletions
|
@ -27,6 +27,9 @@
|
|||
<property name="text">
|
||||
<string>Symbol Si&ze:</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Set size (version) of symbol</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
|
@ -37,6 +40,9 @@
|
|||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="cmbC1Size">
|
||||
<property name="toolTip">
|
||||
<string>Set size (version) of symbol</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Automatic</string>
|
||||
|
@ -101,6 +107,9 @@
|
|||
<property name="title">
|
||||
<string>Encoding Mode</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>How to process data</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayoutC1EncodingMode">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetMinimumSize</enum>
|
||||
|
@ -110,6 +119,9 @@
|
|||
<property name="text">
|
||||
<string>S&tandard Mode</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Process data as normal</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
@ -121,9 +133,168 @@
|
|||
<string>GS&1 Data Mode</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>GS1 system (Application Identifiers)
|
||||
<string>Process data as GS1 General Specifications data,
|
||||
formatted with Application Identifiers (AIs)
|
||||
(ignored if disabled)</string>
|
||||
</property>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBoxC1StructApp">
|
||||
<property name="title">
|
||||
<string>Structured Append</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Code One supports Structured Append of up to
|
||||
128 symbols</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayoutC1StructApp">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="lblC1StructAppCount">
|
||||
<property name="text">
|
||||
<string>C&ount:</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>spnC1StructAppCount</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 128</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QSpinBox" name="spnC1StructAppCount">
|
||||
<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 128</string>
|
||||
</property>
|
||||
<property name="specialValueText">
|
||||
<string>1 (Disabled)</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>128</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<spacer name="spacerC1StructApp2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>10</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="0" column="3">
|
||||
<widget class="QLabel" name="lblC1StructAppIndex">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inde&x:</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>spnC1StructAppIndex</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="spnC1StructAppIndex">
|
||||
<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>128</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="5">
|
||||
<spacer name="spacerC1StructApp5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>10</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="0" column="6">
|
||||
<widget class="QLabel" name="lblC1StructAppIDDisabled">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Structured Append ID not available for Code One</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ID:</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>txtC1StructAppIDDisabled</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="7">
|
||||
<widget class="QLineEdit" name="txtC1StructAppIDDisabled">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Structured Append ID not available for Code One</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>N/A</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue