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
460 lines
13 KiB
XML
460 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>grpUltra</class>
|
|
<widget class="QWidget" name="grpUltra">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>461</width>
|
|
<height>237</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="verticalLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radUltraAuto">
|
|
<property name="text">
|
|
<string>Auto&matic Resizing</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Size 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">buttonGroupUltraSizeECC</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="txtUltraAutoInfo">
|
|
<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="radUltraEcc">
|
|
<property name="text">
|
|
<string>E&rror Correction Level:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set percentage of capacity to use for
|
|
error correction codewords</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">buttonGroupUltraSizeECC</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="cmbUltraEcc">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set percentage of capacity to use for
|
|
error correction codewords</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>ECO - Error Detection Only</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>EC1 - Approx 5%</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>EC2 - Approx 9%</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>EC3 - Approx 17%</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>EC4 - Approx 25%</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>EC5 - Approx 33%</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="labelUltraRevision">
|
|
<property name="text">
|
|
<string>Rev&ision:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set revision to use on output</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbUltraRevision</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="cmbUltraRevision">
|
|
<property name="toolTip">
|
|
<string>Set revision to use on output</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>1 (default)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>2</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxUltraEncodingMode">
|
|
<property name="title">
|
|
<string>Encoding Mode</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>How to process data</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayoutUltraEncodingMode">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetMinimumSize</enum>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radUltraStand">
|
|
<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>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QRadioButton" name="radUltraGS1">
|
|
<property name="text">
|
|
<string>GS&1 Data Mode</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Process data as GS1 General Specifications data,
|
|
formatted with Application Identifiers (AIs)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxUltraStructApp">
|
|
<property name="title">
|
|
<string>Structured Append</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ultracode supports Structured Append of up to
|
|
8 symbols</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayoutUltraStructApp">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lblUltraStructAppCount">
|
|
<property name="text">
|
|
<string>C&ount:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeft|Qt::AlignLeading|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbUltraStructAppCount</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="cmbUltraStructAppCount">
|
|
<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 8</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>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<spacer name="spacerUltraStructApp2">
|
|
<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="lblUltraStructAppIndex">
|
|
<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>cmbUltraStructAppIndex</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="cmbUltraStructAppIndex">
|
|
<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>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<spacer name="spacerUltraStructApp5">
|
|
<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="lblUltraStructAppID">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Optional ID (File Number) to indicate that symbols
|
|
belong to the same Structured Append sequence
|
|
Value ranges from 1 to 80088
|
|
(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>spnUltraStructAppID</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="7">
|
|
<widget class="QSpinBox" name="spnUltraStructAppID">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Optional ID (File Number) to indicate that symbols
|
|
belong to the same Structured Append sequence
|
|
Value ranges from 1 to 80088
|
|
(ignored if disabled)</string>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>80088</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<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>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>radUltraEcc</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>cmbUltraEcc</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>
|
|
</connections>
|
|
<buttongroups>
|
|
<buttongroup name="buttonGroupUltraSizeECC"/>
|
|
</buttongroups>
|
|
</ui>
|