mirror of
https://github.com/woo-j/zint.git
synced 2024-12-23 01:33:55 +03:00
e14d9e99d5
backend_qt: add encodedWidth, encodedRows DBAR_EXPSTK: add max rows option (option_3) CODE16K/CODE49: add min rows option (option_1) GUI: HIBC xxx -> HIBC
769 lines
20 KiB
XML
769 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>grpQR</class>
|
|
<widget class="QWidget" name="grpQR">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<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>
|
|
<layout class="QVBoxLayout" name="verticalLayoutQR">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayoutQR">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="labelQRSize">
|
|
<property name="text">
|
|
<string>Si&ze:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set size (version) of symbol</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbQRSize</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="cmbQRSize">
|
|
<property name="maxVisibleItems">
|
|
<number>21</number>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set size (version) of symbol</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Automatic</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>21 x 21 (Version 1)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>25 x 25 (Version 2)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>29 x 29 (Version 3)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>33 x 33 (Version 4)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>37 x 37 (Version 5)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>41 x 41 (Version 6)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>45 x 45 (Version 7)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>49 x 49 (Version 8)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>53 x 53 (Version 9)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>57 x 57 (Version 10)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>61 x 61 (Version 11)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>65 x 65 (Version 12)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>69 x 69 (Version 13)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>73 x 73 (Version 14)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>77 x 77 (Version 15)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>81 x 81 (Version 16)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>85 x 85 (Version 17)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>89 x 89 (Version 18)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>93 x 93 (Version 19)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>97 x 97 (Version 20)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>101 x 101 (Version 21)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>105 x 105 (Version 22)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>109 x 109 (Version 23)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>113 x 113 (Version 24)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>117 x 117 (Version 25)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>121 x 121 (Version 26)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>125 x 125 (Version 27)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>129 x 129 (Version 28)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>133 x 133 (Version 29)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>137 x 137 (Version 30)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>141 x 141 (Version 31)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>145 x 145 (Version 32)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>149 x 149 (Version 33)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>153 x 153 (Version 34)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>157 x 157 (Version 35)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>161 x 161 (Version 36)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>165 x 165 (Version 37)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>169 x 169 (Version 38)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>173 x 173 (Version 39)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>177 x 177 (Version 40)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="labelQRECC">
|
|
<property name="text">
|
|
<string>E&rror Correction:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set percentage of capacity to use for
|
|
error correction codewords</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbQRECC</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="cmbQRECC">
|
|
<property name="toolTip">
|
|
<string>Set percentage of capacity to use for
|
|
error correction codewords</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Automatic</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>~20% (Level L)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>~37% (Level M)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>~55% (Level Q)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>~65% (Level H)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="labelQRMask">
|
|
<property name="text">
|
|
<string>&Mask:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Manually specify which mask to use</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbQRMask</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="cmbQRMask">
|
|
<property name="toolTip">
|
|
<string>Manually specify which mask to use</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Automatic</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
<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>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxQREncodingMode">
|
|
<property name="title">
|
|
<string>Encoding Mode</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>How to process data</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>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="radQRGS1">
|
|
<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="radQRHIBC">
|
|
<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="QCheckBox" name="chkQRFullMultibyte">
|
|
<property name="text">
|
|
<string>&Full Multibyte</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Use Kanji multibyte encoding for binary
|
|
and Latin data</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxQRStructApp">
|
|
<property name="title">
|
|
<string>Structured Append</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>QR Code supports Structured Append of up to
|
|
16 symbols</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayoutQRStructApp">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lblQRStructAppCount">
|
|
<property name="text">
|
|
<string>C&ount:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbQRStructAppCount</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 16</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="cmbQRStructAppCount">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</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 16</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>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<spacer name="spacerQRStructApp2">
|
|
<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="lblQRStructAppIndex">
|
|
<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>cmbQRStructAppIndex</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="cmbQRStructAppIndex">
|
|
<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>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>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<spacer name="spacerQRStructApp5">
|
|
<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="lblQRStructAppID">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>ID (parity) to indicate that symbols belong
|
|
to the same Structured Append sequence
|
|
Value ranges from 0 to 255
|
|
(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>spnQRStructAppID</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="7">
|
|
<widget class="QSpinBox" name="spnQRStructAppID">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>ID (parity) to indicate that symbols belong
|
|
to the same Structured Append sequence
|
|
Value ranges from 0 to 255
|
|
(ignored if disabled)</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>255</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacerQR">
|
|
<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/>
|
|
</ui>
|