mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
32c9e6a98e
(was only set on BMP output to length of BMP pixel array) EXCODE39: change to display check digit in HRT by default CODE39/EXCODE39/LOGMARS: new hidden check digit option (`option_2 = 2`) qr.c: suppress bogus gcc-13 warning (only appears on optimize) GUI: move some symbology-specific options into Data Tab so separate tab unnecessary (those with few options and no Composite/ECI), namely: all C25XXX, CODE39/EXCODE39/LOGMARS, MSI_PLESSEY, CODABAR, DAFT, DPD, MAILMARK_2D, ITF-14, PZN, UPNQR, CHANNEL, CODE93 and VIN, adjusting grp uis. change Data dialog button (ellipsis) QToolButton -> QPushButton & vice versa zap/clear/eye/swap/scale buttons QPushButton -> QToolButton for better mac compat (also makes sense); remove some mac hacks that no longer seem necessary; use folder icon for Export dialog directory button manual: document new Symbology-specific groupbox & CODE39/etc hidden check digit option; add annexes on Qt and Tcl backends; narrow some tables for better txt output; remove echoed image tags in txt (pandoc 3.1.5 regression?); add one-page HTML output to Makefile; also tex output (debug); add class attributes to images to aid HTML styling; various other fiddlings
139 lines
4.5 KiB
XML
139 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DataDialog</class>
|
|
<widget class="QDialog" name="DataDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>500</width>
|
|
<height>333</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Input Data</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:res/zint-qt.ico</normaloff>:res/zint-qt.ico</iconset>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vLayoutData">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>&Data</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Input data</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtDataInput</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="txtDataInput">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hLayoutData">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btnFromFile">
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&From File...</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Import input data from a file. Certain characters <br/>will be converted to escape sequences
|
|
<table cellspacing="3">
|
|
<tr><td>End of Transmission (0x04)</td><td>&nbsp;\E</td></tr>
|
|
<tr><td>Bell (0x07)</td><td>&nbsp;\a</td></tr>
|
|
<tr><td>Backspace (0x08)</td><td>&nbsp;\b</td></tr>
|
|
<tr><td>Horizontal Tab (0x09)</td><td>&nbsp;\t</td></tr>
|
|
<tr><td>Vertical Tab (0x0B)</td><td>&nbsp;\v</td></tr>
|
|
<tr><td>Form Feed (0x0C)</td><td>&nbsp;\f</td></tr>
|
|
<tr><td>Carriage Return (0x0D)</td><td>&nbsp;\r</td></tr>
|
|
<tr><td>Escape (0x1B)</td><td>&nbsp;\e</td></tr>
|
|
<tr><td>Group Separator (0x1D)</td><td>&nbsp;\G</td></tr>
|
|
<tr><td>Record Separator (0x1E)</td><td>&nbsp;\R</td></tr>
|
|
<tr><td>Backslash (0x5C)</td><td>&nbsp;\\</td></tr>
|
|
</table>
|
|
Note that Line Feeds (0x0A) are not included,<br/> but any present will be escaped on update</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnDataClear">
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string> C&lear</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Clear data window</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStatusBar" name="statusBarData">
|
|
<property name="sizeGripEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnOK">
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string> &OK</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Close window and update input data
|
|
Line Feeds (0xA0) will be escaped as "\n"</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnCancel">
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Close window without updating input data</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|