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
255 lines
7.0 KiB
XML
255 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ExportDialog</class>
|
|
<widget class="QDialog" name="ExportDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>450</width>
|
|
<height>505</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Export Barcodes</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:res/zint-qt.ico</normaloff>:res/zint-qt.ico</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayoutExp">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayoutExpFile">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lblDestPath">
|
|
<property name="text">
|
|
<string>&Destination Path:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Destination folder</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>linDestPath</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="linDestPath">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>10</y>
|
|
<width>261</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Destination folder</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="btnDestPath">
|
|
<property name="toolTip">
|
|
<string>Find a destination for your files</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lblPrefix">
|
|
<property name="text">
|
|
<string>File Name &Prefix:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The first part of the filenames</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>linPrefix</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="linPrefix">
|
|
<property name="toolTip">
|
|
<string>The first part of the filenames</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>bcs_</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lblPostfix">
|
|
<property name="text">
|
|
<string>File Name Postfi&x:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The last part of the filenames</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>linPostfix</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="linPostfix">
|
|
<property name="toolTip">
|
|
<string>The last part of the filenames</string>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="lblFileName">
|
|
<property name="text">
|
|
<string>File &Name:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set the naming convention used by the files</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbFileName</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" colspan="2">
|
|
<widget class="QComboBox" name="cmbFileName">
|
|
<property name="toolTip">
|
|
<string>Set the naming convention used by the files</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Same as Data</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Serial Number</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="lblFileType">
|
|
<property name="text">
|
|
<string>File &Type:</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The type of file which you want to create</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbFileType</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" colspan="2">
|
|
<widget class="QComboBox" name="cmbFileType">
|
|
<property name="toolTip">
|
|
<string>The type of file which you want to create</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Portable Network Graphic (*.png)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Encapsulated Post Script (*.eps)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Graphics Interchange Format (*.gif)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Scalable Vector Graphic (*.svg)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Windows Bitmap (*.bmp)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>ZSoft PC Painter Image (*.pcx)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Extended Metafile (*.emf)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Tagged Image File Format (*.tif)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horzLayoutExpBtns">
|
|
<item>
|
|
<spacer name="horzSpacerExpBtns">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnOK">
|
|
<property name="text">
|
|
<string>&Export</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Create files</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnCancel">
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Close window</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lblFeedback">
|
|
<property name="text">
|
|
<string>Export Results:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="txtFeedback">
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|