mirror of
https://github.com/woo-j/zint.git
synced 2024-12-23 01:33:55 +03:00
c8033695d9
EMF/PCX/PNG/TIF only, i.e. excluding EPS, GIF & SVG) - Add support for specifying scale by X-dimension and resolution with new option `--scalexdimdp` for CLI/Tcl & new API function `ZBarcode_Scale_From_XdimDp()` (+ `ZBarcode_XdimDp_From_Scale()` & `ZBarcode_Default_Xdim()`) and new GUI popup; manual: document - BMP/EMF/PCX/PNG/TIF: use new `dpmm` resolution field (for EMF following Inkscape) - backend_qt: add `dpmm()`, `vectorWidth()`, `vectorHeight()`, `noPng()`, `getVersion()`, `takesGS1AIData()`, & `XdimDp` stuff incl. new `QZintXdimDp` struct for passing around scale vars & use in `getAsCLI()`; add comments - Raise `scale` limit to 200 (from 100) to allow for large dpmm - output: create directories & subdirectories as necessary for output path using new function `out_fopen()` and use in BMP/EMF/ EPS/GIF/PCX/PNG/SVG/TIF - DPLEIT/DPIDENT: format HRT according to (incomplete) documentation, and set default height to 72X (from 50X) - CODE128B renamed to CODE128AB as can use subsets A and/or B - CODABAR: fix minimum height calc - EMF: fix indexing of handles (zero-based not 1-based) - GUI: fix symbology zap (previous technique of clearing and re-loading settings without doing a sync no longer works); fix UPCEAN guard descent enable - MAILMARK: better error message if input < 14 characters - GUI: add "Default" button for DAFT tracker ratio & enable/disable various default buttons; use new `takesGS1AIData()` to enable/disable GS1-specific checkboxes - CLI: use new `validate_float()` to parse float options (7 significant digits allowed only, no scientific notation) - DATAMATRIX/GRIDMATRIX/PDF417/QR/ULTRA: micro-optimize structapp ID parse - library/CLI: fiddle with static asserts (make CHAR_BIT sensitive, supposedly) - win32/README: update building libpng (assembly removed) - README.linux: document incompatibility of Qt6 >= 6.3 - manual: expand Barcode Studio waffle - test suite: change range separator to hyphen and allow multiple excludes
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="verticalLayout">
|
|
<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="horizontalLayout">
|
|
<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>
|