mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
f943893d6d
and set Escaped flag; fix tooltip that they're converted to spaces; sequence dialog: re-organize to put Create Sequence stuff only in groupbox and put Import -> From File and Clear at bottom, similar to data dialog; mainwindow: use new Escaped flag from data dialog and set checkbox and statusbar message accordingly
127 lines
4.2 KiB
XML
127 lines
4.2 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="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="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="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="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>
|