mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
c0ec67f99e
they render correctly when have RGBA alpha channel - GUI: update_preview() after Data Dialog return to ensure preview in sync - GUI: add automatic info feedback to "Automatic" combo item of size/row/height comboboxes - backend_qt: always call getMaxRectsRightBottom() for render fudge; use ZBarcode_Clear() instead of ZBarcode_Delete() after 1st call - update BWIPP to latest & add some MICROQR tests to exercise optimize change
798 lines
21 KiB
XML
798 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&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&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</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>19 x 19 Compact</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>23 x 23 Compact</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>27 x 27 Compact</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>19 x 19 (1 Layer)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>23 x 23 (2 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>27 x 27 (3 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>31 x 31 (4 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>37 x 37 (5 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>41 x 41 (6 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>45 x 45 (7 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>49 x 49 (8 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>53 x 53 (9 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>57 x 57 (10 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>61 x 61 (11 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>67 x 67 (12 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>71 x 71 (13 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>75 x 75 (14 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>79 x 79 (15 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>83 x 83 (16 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>87 x 87 (17 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>91 x 91 (18 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>95 x 95 (19 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>101 x 101 (20 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>105 x 105 (21 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>109 x 109 (22 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>113 x 113 (23 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>117 x 117 (24 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>121 x 121 (25 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>125 x 125 (26 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>131 x 131 (27 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>135 x 135 (28 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>139 x 139 (29 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>143 x 143 (30 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>147 x 147 (31 Layers)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>151 x 151 (32 Layers)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QRadioButton" name="radAztecECC">
|
|
<property name="text">
|
|
<string>Add Minimum E&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&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&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&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 "/"</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&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&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&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>
|