zint-barcode-generator/frontend_qt/grpAztec.ui
gitlost d222add96d - AZTEC/CHANNEL/CODABLOCKF/CODE16K/CODE49/CODEONE/DATAMATRIX/
DOTCODE/GRIDMATRIX/HANXIN/MICROPDF417/MICROQR/PDF417/QRCODE/
  RMQR/ULTRA: set `option_1/2/3` to values used in encodation
  ("Feedback options"), and add new access methods
  `encodedOption1()` etc. to Qt Backend, and use in GUI to provide
  better feedback on "Automatic" selections
- AZTEC: give more precise warnings in low ECC situations, and
  indicate via `option_1` by setting to -1 (min 3 words), 0
  (<5% + 3 words) (`ecc_ratio`)
- set_height: fix non-compliance false positives by using epsilon
  in checks (prompted by CODABLOCKF non-compliant warning for
  zint-generated compliant height - floating point `rows` mult !=
  `zero_count` div; one test regression for CODE93);
  better warning messages on non-compliant heights (min/max)
- manual/man page: fix DATAMATRIX Sizes tables "28 12x26" ->
  "27 12x26"
- GUI: AZTEC/CODEONE: add Zint versions to comboboxes
- DOTCODE: improve error messages re size too small/large
- ULTRA: better ZINT_TEST codeword dump (ZINT_DEBUG_TEST)
- general: various tabs -> spaces; prettify main .rc files;
  trailing spaces; small amount of code fiddling (CODE16K)
2025-03-07 16:51:36 +00:00

797 lines
21 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpAztec</class>
<widget class="QWidget" name="grpAztec">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>461</width>
<height>256</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayoutAztec">
<item>
<layout class="QGridLayout" name="gridLayoutAztec">
<item row="0" column="0">
<widget class="QRadioButton" name="radAztecAuto">
<property name="text">
<string>Auto&amp;matic Resizing</string>
</property>
<property name="toolTip">
<string>Size, type and error correction level will
be set based on data</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupAztecSizeECC</string>
</attribute>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="txtAztecAutoInfo">
<property name="frame">
<bool>false</bool>
</property>
<property name="readonly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radAztecSize">
<property name="text">
<string>Adjust Si&amp;ze To:</string>
</property>
<property name="toolTip">
<string>Set size (layers) and whether compact or not</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupAztecSizeECC</string>
</attribute>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbAztecSize">
<property name="maxVisibleItems">
<number>21</number>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Set size (layers) and whether compact or not</string>
</property>
<item>
<property name="text">
<string>15 x 15 Compact (Zint 1)</string>
</property>
</item>
<item>
<property name="text">
<string>19 x 19 Compact (Zint 2)</string>
</property>
</item>
<item>
<property name="text">
<string>23 x 23 Compact (Zint 3)</string>
</property>
</item>
<item>
<property name="text">
<string>27 x 27 Compact (Zint 4)</string>
</property>
</item>
<item>
<property name="text">
<string>19 x 19 (1 Layer) (Zint 5)</string>
</property>
</item>
<item>
<property name="text">
<string>23 x 23 (2 Layers) (Zint 6)</string>
</property>
</item>
<item>
<property name="text">
<string>27 x 27 (3 Layers) (Zint 7)</string>
</property>
</item>
<item>
<property name="text">
<string>31 x 31 (4 Layers) (Zint 8)</string>
</property>
</item>
<item>
<property name="text">
<string>37 x 37 (5 Layers) (Zint 9)</string>
</property>
</item>
<item>
<property name="text">
<string>41 x 41 (6 Layers) (Zint 10)</string>
</property>
</item>
<item>
<property name="text">
<string>45 x 45 (7 Layers) (Zint 11)</string>
</property>
</item>
<item>
<property name="text">
<string>49 x 49 (8 Layers) (Zint 12)</string>
</property>
</item>
<item>
<property name="text">
<string>53 x 53 (9 Layers) (Zint 13)</string>
</property>
</item>
<item>
<property name="text">
<string>57 x 57 (10 Layers) (Zint 14)</string>
</property>
</item>
<item>
<property name="text">
<string>61 x 61 (11 Layers) (Zint 15)</string>
</property>
</item>
<item>
<property name="text">
<string>67 x 67 (12 Layers) (Zint 16)</string>
</property>
</item>
<item>
<property name="text">
<string>71 x 71 (13 Layers) (Zint 17)</string>
</property>
</item>
<item>
<property name="text">
<string>75 x 75 (14 Layers) (Zint 18)</string>
</property>
</item>
<item>
<property name="text">
<string>79 x 79 (15 Layers) (Zint 19)</string>
</property>
</item>
<item>
<property name="text">
<string>83 x 83 (16 Layers) (Zint 20)</string>
</property>
</item>
<item>
<property name="text">
<string>87 x 87 (17 Layers) (Zint 21)</string>
</property>
</item>
<item>
<property name="text">
<string>91 x 91 (18 Layers) (Zint 22)</string>
</property>
</item>
<item>
<property name="text">
<string>95 x 95 (19 Layers) (Zint 23)</string>
</property>
</item>
<item>
<property name="text">
<string>101 x 101 (20 Layers) (Zint 24)</string>
</property>
</item>
<item>
<property name="text">
<string>105 x 105 (21 Layers) (Zint 25)</string>
</property>
</item>
<item>
<property name="text">
<string>109 x 109 (22 Layers) (Zint 26)</string>
</property>
</item>
<item>
<property name="text">
<string>113 x 113 (23 Layers) (Zint 27)</string>
</property>
</item>
<item>
<property name="text">
<string>117 x 117 (24 Layers) (Zint 28)</string>
</property>
</item>
<item>
<property name="text">
<string>121 x 121 (25 Layers) (Zint 29)</string>
</property>
</item>
<item>
<property name="text">
<string>125 x 125 (26 Layers) (Zint 30)</string>
</property>
</item>
<item>
<property name="text">
<string>131 x 131 (27 Layers) (Zint 31)</string>
</property>
</item>
<item>
<property name="text">
<string>135 x 135 (28 Layers) (Zint 32)</string>
</property>
</item>
<item>
<property name="text">
<string>139 x 139 (29 Layers) (Zint 33)</string>
</property>
</item>
<item>
<property name="text">
<string>143 x 143 (30 Layers) (Zint 34)</string>
</property>
</item>
<item>
<property name="text">
<string>147 x 147 (31 Layers) (Zint 35)</string>
</property>
</item>
<item>
<property name="text">
<string>151 x 151 (32 Layers) (Zint 36)</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="radAztecECC">
<property name="text">
<string>Add Minimum E&amp;rror Correction:</string>
</property>
<property name="toolTip">
<string>Set minimum percentage of capacity to use
for error correction codewords</string>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroupAztecSizeECC</string>
</attribute>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="cmbAztecECC">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Set minimum percentage of capacity to use
for error correction codewords</string>
</property>
<item>
<property name="text">
<string>10% + 3 words</string>
</property>
</item>
<item>
<property name="text">
<string>23% + 3 words</string>
</property>
</item>
<item>
<property name="text">
<string>36% + 3 words</string>
</property>
</item>
<item>
<property name="text">
<string>50% + 3 words</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBoxAztecEncodingMode">
<property name="title">
<string>Encoding Mode</string>
</property>
<property name="toolTip">
<string>How to process data</string>
</property>
<layout class="QGridLayout" name="gridLayoutAztecEncodingMode">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<item row="0" column="0">
<widget class="QRadioButton" name="radAztecStand">
<property name="text">
<string>S&amp;tandard</string>
</property>
<property name="toolTip">
<string>Process data as normal</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radAztecGS1">
<property name="text">
<string>GS&amp;1 Data</string>
</property>
<property name="toolTip">
<string>Process data as GS1 General Specifications data,
formatted with Application Identifiers (AIs)</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QRadioButton" name="radAztecHIBC">
<property name="text">
<string>H&amp;IBC</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="groupBoxAztecStructApp">
<property name="title">
<string>Structured Append</string>
</property>
<property name="toolTip">
<string>Aztec Code supports Structured Append of up to
26 symbols</string>
</property>
<layout class="QGridLayout" name="gridLayoutAztecStructApp">
<item row="0" column="0">
<widget class="QLabel" name="lblAztecStructAppCount">
<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>cmbAztecStructAppCount</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 2 to 26</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cmbAztecStructAppCount">
<property name="toolTip">
<string>Mark symbol as part of a Structured Append sequence
containing a total of this number of symbols
Value ranges from 2 to 26</string>
</property>
<item>
<property name="text">
<string>Disabled</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>11</string>
</property>
</item>
<item>
<property name="text">
<string>12</string>
</property>
</item>
<item>
<property name="text">
<string>13</string>
</property>
</item>
<item>
<property name="text">
<string>14</string>
</property>
</item>
<item>
<property name="text">
<string>15</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>17</string>
</property>
</item>
<item>
<property name="text">
<string>18</string>
</property>
</item>
<item>
<property name="text">
<string>19</string>
</property>
</item>
<item>
<property name="text">
<string>20</string>
</property>
</item>
<item>
<property name="text">
<string>21</string>
</property>
</item>
<item>
<property name="text">
<string>22</string>
</property>
</item>
<item>
<property name="text">
<string>23</string>
</property>
</item>
<item>
<property name="text">
<string>24</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>26</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2">
<spacer name="spacerAztecStructApp2">
<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="lblAztecStructAppIndex">
<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>cmbAztecStructAppIndex</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="QComboBox" name="cmbAztecStructAppIndex">
<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>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>11</string>
</property>
</item>
<item>
<property name="text">
<string>12</string>
</property>
</item>
<item>
<property name="text">
<string>13</string>
</property>
</item>
<item>
<property name="text">
<string>14</string>
</property>
</item>
<item>
<property name="text">
<string>15</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>17</string>
</property>
</item>
<item>
<property name="text">
<string>18</string>
</property>
</item>
<item>
<property name="text">
<string>19</string>
</property>
</item>
<item>
<property name="text">
<string>20</string>
</property>
</item>
<item>
<property name="text">
<string>21</string>
</property>
</item>
<item>
<property name="text">
<string>22</string>
</property>
</item>
<item>
<property name="text">
<string>23</string>
</property>
</item>
<item>
<property name="text">
<string>24</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>26</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblAztecStructAppID">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Optional ID to indicate that symbols belong to
the same Structured Append sequence
Maximum length 32 and cannot contain spaces
(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>txtAztecStructAppID</cstring>
</property>
</widget>
</item>
<item row="1" column="1" colspan="4">
<widget class="QLineEdit" name="txtAztecStructAppID">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxLength">
<number>32</number>
</property>
<property name="toolTip">
<string>Optional ID to indicate that symbols belong to
the same Structured Append sequence
Maximum length 32 and cannot contain spaces
(ignored if disabled)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacerAztec">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>radAztecSize</sender>
<signal>toggled(bool)</signal>
<receiver>cmbAztecSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>85</x>
<y>47</y>
</hint>
<hint type="destinationlabel">
<x>331</x>
<y>47</y>
</hint>
</hints>
</connection>
<connection>
<sender>radAztecECC</sender>
<signal>toggled(bool)</signal>
<receiver>cmbAztecECC</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>200</x>
<y>80</y>
</hint>
<hint type="destinationlabel">
<x>366</x>
<y>80</y>
</hint>
</hints>
</connection>
</connections>
<buttongroups>
<buttongroup name="buttonGroupAztecSizeECC"/>
</buttongroups>
</ui>