mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
GUI: data dialog: convert Line Feeds if escaping on input, escape on output
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
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>429</width>
|
||||
<width>500</width>
|
||||
<height>333</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -27,8 +27,7 @@
|
||||
<string>&Data</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Input data. Line Feeds (0xA0) will
|
||||
be converted to spaces</string>
|
||||
<string>Input data</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>txtDataInput</cstring>
|
||||
@ -56,7 +55,7 @@ be converted to spaces</string>
|
||||
<string>&From File...</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Get input data from a file. Certain characters <br/>will be converted to escape sequences
|
||||
<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>
|
||||
@ -70,7 +69,7 @@ be converted to spaces</string>
|
||||
<tr><td>Record Separator (0x1E)</td><td>&nbsp;\R</td></tr>
|
||||
<tr><td>Backslash (0x5C)</td><td>&nbsp;\\</td></tr>
|
||||
</table>
|
||||
Note that Line Feed (0x0A) is not included</string>
|
||||
Note that Line Feeds (0x0A) are not included,<br/> but any present will be escaped on update</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -85,9 +84,9 @@ Note that Line Feed (0x0A) is not included</string>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
<widget class="QStatusBar" name="statusBarData">
|
||||
<property name="sizeGripEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
@ -95,7 +94,7 @@ Note that Line Feed (0x0A) is not included</string>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btnOK">
|
||||
@ -103,7 +102,8 @@ Note that Line Feed (0x0A) is not included</string>
|
||||
<string> &OK</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Close window and update input data</string>
|
||||
<string>Close window and update input data
|
||||
Line Feeds (0xA0) will be escaped as "\n"</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Reference in New Issue
Block a user