Tabs/typo in zint.h; PostNet -> POSTNET; ui: shortcuts, tooltips; tests inkscape -> libreoffice

This commit is contained in:
gitlost
2020-10-03 22:51:08 +01:00
parent 36c19053d7
commit e37a82a8f1
90 changed files with 1048 additions and 840 deletions

View File

@ -8,11 +8,11 @@ set(zint-qt_SRCS barcodeitem.cpp main.cpp mainwindow.cpp datawindow.cpp sequen
QT5_WRAP_CPP(zint-qt_SRCS mainwindow.h datawindow.h sequencewindow.h exportwindow.h)
QT5_WRAP_UI(zint-qt_SRCS mainWindow.ui extData.ui extSequence.ui extExport.ui)
# grpAztec.ui grpC49.ui grpDBExtend.ui grpLOGMARS.ui grpPDF417.ui grpUPCA.ui
# grpC11.ui grpChannel.ui grpDM.ui grpMaxicode.ui grpPZN.ui grpUPCEAN.ui
# grpC128.ui grpCodabar.ui grpDotCode.ui grpMicroPDF.ui grpQR.ui grpVIN.ui
# grpC16k.ui grpCodablockF.ui grpGrid.ui grpMQR.ui grpRMQR.ui
# grpC39.ui grpCodeOne.ui grpHX.ui grpMSICheck.ui grpUltra.ui
# grpAztec.ui grpC49.ui grpDBExtend.ui grpLOGMARS.ui grpPDF417.ui grpUPCEAN.ui
# grpC11.ui grpChannel.ui grpDM.ui grpMaxicode.ui grpQR.ui grpVIN.ui
# grpC128.ui grpCodabar.ui grpDotCode.ui grpMicroPDF.ui grpRMQR.ui
# grpC16k.ui grpCodablockF.ui grpGrid.ui grpMQR.ui grpUltra.ui
# grpC39.ui grpCodeOne.ui grpHX.ui grpMSICheck.ui grpUPCA.ui
QT5_ADD_RESOURCES(zint-qt_SRCS resources.qrc)

View File

@ -24,7 +24,14 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Data</string>
<string>&amp;Data</string>
</property>
<property name="toolTip">
<string>Input data. Newlines (Line Feeds (0xA0))
will be converted to spaces</string>
</property>
<property name="buddy">
<cstring>txtDataInput</cstring>
</property>
</widget>
</item>
@ -46,14 +53,34 @@
<item>
<widget class="QPushButton" name="btnFromFile">
<property name="text">
<string>From File...</string>
<string>&amp;From File...</string>
</property>
<property name="toolTip">
<string>Get input data from a file. Certain characters &lt;br/&gt;will be converted to escape sequences
&lt;table cellpadding=&quot;3&quot;&gt;
&lt;tr&gt;&lt;td&gt;End of Transmission (0x04)&lt;/td&gt;&lt;td&gt;\E&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Bell (0x07)&lt;/td&gt;&lt;td&gt;\a&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Backspace (0x08)&lt;/td&gt;&lt;td&gt;\b&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Horizontal Tab (0x09)&lt;/td&gt;&lt;td&gt;\t&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Vertical Tab (0x0B)&lt;/td&gt;&lt;td&gt;\v&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Form Feed (0x0C)&lt;/td&gt;&lt;td&gt;\f&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Carriage Return (0x0D)&lt;/td&gt;&lt;td&gt;\r&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Escape (0x1B)&lt;/td&gt;&lt;td&gt;\e&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Group Selector (0x1D)&lt;/td&gt;&lt;td&gt;\G&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Record Selector (0x1E)&lt;/td&gt;&lt;td&gt;\R&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Backslash (0x5C)&lt;/td&gt;&lt;td&gt;\\&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
Note that newlines (Line Feed (0x0A)) are &lt;br/&gt;not included</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnReset">
<property name="text">
<string>Reset</string>
<string>&amp;Reset</string>
</property>
<property name="toolTip">
<string>Clear data window</string>
</property>
</widget>
</item>
@ -73,14 +100,20 @@
<item>
<widget class="QPushButton" name="btnOK">
<property name="text">
<string>OK</string>
<string>&amp;OK</string>
</property>
<property name="toolTip">
<string>Close window and update input data</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCancel">
<property name="text">
<string>Cancel</string>
<string>&amp;Cancel</string>
</property>
<property name="toolTip">
<string>Close window without updating input data</string>
</property>
</widget>
</item>

View File

@ -74,7 +74,7 @@
</rect>
</property>
<property name="toolTip">
<string>Sat the naming convention used by the files</string>
<string>Set the naming convention used by the files</string>
</property>
<item>
<property name="text">
@ -153,7 +153,7 @@
<string>Find a destination for your files</string>
</property>
<property name="text">
<string>...</string>
<string>&amp;...</string>
</property>
</widget>
<widget class="QLabel" name="label">
@ -166,7 +166,13 @@
</rect>
</property>
<property name="text">
<string>Destination Path:</string>
<string>&amp;Destination Path:</string>
</property>
<property name="toolTip">
<string>Destination folder</string>
</property>
<property name="buddy">
<cstring>linDestPath</cstring>
</property>
</widget>
<widget class="QLabel" name="label_2">
@ -179,7 +185,13 @@
</rect>
</property>
<property name="text">
<string>File Name Prefix:</string>
<string>File Name &amp;Prefix:</string>
</property>
<property name="toolTip">
<string>The first part of the filenames</string>
</property>
<property name="buddy">
<cstring>linPrefix</cstring>
</property>
</widget>
<widget class="QLabel" name="label_3">
@ -192,7 +204,13 @@
</rect>
</property>
<property name="text">
<string>File Name:</string>
<string>File &amp;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>
<widget class="QLabel" name="label_4">
@ -205,7 +223,13 @@
</rect>
</property>
<property name="text">
<string>File Format:</string>
<string>File &amp;Format:</string>
</property>
<property name="toolTip">
<string>The type of file which you want to create</string>
</property>
<property name="buddy">
<cstring>cmbFileFormat</cstring>
</property>
</widget>
<widget class="QPushButton" name="btnCancel">
@ -218,7 +242,10 @@
</rect>
</property>
<property name="text">
<string>Close</string>
<string>&amp;Close</string>
</property>
<property name="toolTip">
<string>Close window</string>
</property>
</widget>
<widget class="QPushButton" name="btnOK">
@ -231,23 +258,26 @@
</rect>
</property>
<property name="text">
<string>Export</string>
<string>&amp;Export</string>
</property>
<property name="toolTip">
<string>Create files</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="txtFeedback">
<property name="geometry">
<rect>
<x>0</x>
<x>10</x>
<y>180</y>
<width>441</width>
<height>321</height>
<width>430</width>
<height>315</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="lblFeedback">
<property name="geometry">
<rect>
<x>0</x>
<x>10</x>
<y>160</y>
<width>101</width>
<height>17</height>

View File

@ -42,28 +42,57 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Start Value:</string>
<string>&amp;Start Value:</string>
</property>
<property name="buddy">
<cstring>linStartVal</cstring>
</property>
<property name="toolTip">
<string>Start sequence at this value</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>End Value:</string>
<string>End &amp;Value:</string>
</property>
<property name="buddy">
<cstring>linEndVal</cstring>
</property>
<property name="toolTip">
<string>End sequence at this value</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblIncrement">
<property name="text">
<string>Increment By:</string>
<string>Increment &amp;By:</string>
</property>
<property name="buddy">
<cstring>linIncVal</cstring>
</property>
<property name="toolTip">
<string>Go from start to end in steps of this amount</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Format:</string>
<string>&amp;Format:</string>
</property>
<property name="buddy">
<cstring>linFormat</cstring>
</property>
<property name="toolTip">
<string>Format sequence using special characters&lt;table cellpadding=&quot;3&quot;&gt;
&lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td&gt;Number or space&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;$&lt;/td&gt;&lt;td&gt;Number or &apos;0&apos;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;*&lt;/td&gt;&lt;td&gt;Number or &apos;*&apos;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Other&lt;/td&gt;&lt;td&gt;Insert literally&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</string>
</property>
</widget>
</item>
@ -72,6 +101,9 @@
<property name="text">
<string>Sequence:</string>
</property>
<property name="toolTip">
<string>Create a data sequence</string>
</property>
</widget>
</item>
<item>
@ -79,13 +111,22 @@
<property name="text">
<string>Sequence File:</string>
</property>
<property name="toolTip">
<string>Get a data sequence from a file</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<widget class="QLabel" name="lblExport">
<property name="text">
<string>Generate Bar Codes:</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Save the symbols to files</string>
</property>
</widget>
</item>
</layout>
@ -100,6 +141,9 @@
<property name="frame">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Start sequence at this value</string>
</property>
</widget>
</item>
<item>
@ -107,6 +151,9 @@
<property name="text">
<string>10</string>
</property>
<property name="toolTip">
<string>End sequence at this value</string>
</property>
</widget>
</item>
<item>
@ -114,6 +161,9 @@
<property name="text">
<string>1</string>
</property>
<property name="toolTip">
<string>Go from start to end in steps of this amount</string>
</property>
</widget>
</item>
<item>
@ -121,6 +171,14 @@
<property name="text">
<string>$$$$$$</string>
</property>
<property name="toolTip">
<string>Format sequence using special characters&lt;table cellpadding=&quot;3&quot;&gt;
&lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td&gt;Number or space&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;$&lt;/td&gt;&lt;td&gt;Number or &apos;0&apos;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;*&lt;/td&gt;&lt;td&gt;Number or &apos;*&apos;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Other&lt;/td&gt;&lt;td&gt;Insert literally&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</string>
</property>
</widget>
</item>
<item>
@ -129,17 +187,17 @@
<string>Create a data sequence</string>
</property>
<property name="text">
<string>Create</string>
<string>Crea&amp;te</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnImport">
<property name="toolTip">
<string>Get a data sequence from file</string>
<string>Get a data sequence from a file</string>
</property>
<property name="text">
<string>Import...</string>
<string>&amp;Import...</string>
</property>
</widget>
</item>
@ -149,10 +207,10 @@
<bool>false</bool>
</property>
<property name="toolTip">
<string>Save the symbols to file</string>
<string>Save the symbols to files</string>
</property>
<property name="text">
<string>Export...</string>
<string>&amp;Export...</string>
</property>
</widget>
</item>
@ -172,7 +230,10 @@
</sizepolicy>
</property>
<property name="title">
<string>Sequence Preview</string>
<string>Sequence &amp;Data</string>
</property>
<property name="toolTip">
<string>The data to be encoded, one line per symbol</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
@ -212,14 +273,20 @@
<item>
<widget class="QPushButton" name="btnReset">
<property name="text">
<string>Reset</string>
<string>&amp;Reset</string>
</property>
<property name="toolTip">
<string>Clear the sequence data</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnClose">
<property name="text">
<string>Close</string>
<string>&amp;Close</string>
</property>
<property name="toolTip">
<string>Close window</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radAztecAuto">
<property name="text">
<string>Automatic Resizing</string>
<string>Auto&amp;matic Resizing</string>
</property>
<property name="checked">
<bool>true</bool>
@ -35,7 +35,7 @@
<item row="1" column="0">
<widget class="QRadioButton" name="radAztecSize">
<property name="text">
<string>Adjust Size To:</string>
<string>Adjust Si&amp;ze To:</string>
</property>
</widget>
</item>
@ -229,7 +229,7 @@
<item row="2" column="0">
<widget class="QRadioButton" name="radAztecECC">
<property name="text">
<string>Add Minimum Error Correction:</string>
<string>Add Minimum E&amp;rror Correction:</string>
</property>
</widget>
</item>
@ -274,7 +274,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radAztecStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -284,14 +284,14 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radAztecGS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radAztecHIBC">
<property name="text">
<string>HIBC Aztec Code</string>
<string>H&amp;IBC Aztec Code</string>
</property>
</widget>
</item>

View File

@ -29,7 +29,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radC11TwoCheckDigits">
<property name="text">
<string>Two (Mod-11)</string>
<string>&amp;Two (Mod-11)</string>
</property>
<property name="checked">
<bool>true</bool>
@ -39,14 +39,14 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radC11OneCheckDigit">
<property name="text">
<string>One (Mod-11)</string>
<string>&amp;One (Mod-11)</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radC11NoCheckDigits">
<property name="text">
<string>No Check Digit</string>
<string>&amp;No Check Digit</string>
</property>
</widget>
</item>

View File

@ -32,7 +32,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radC128Stand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -42,21 +42,21 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radC128CSup">
<property name="text">
<string>Subset C Supression</string>
<string>Subset &amp;C Suppression</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radC128EAN">
<property name="text">
<string>GS1-128</string>
<string>GS&amp;1-128</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="radC128HIBC">
<property name="text">
<string>HIBC 128</string>
<string>H&amp;IBC 128</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelRowSeparatorHeight">
<property name="text">
<string>Row Separator Height:</string>
<string>&amp;Row Separator Height:</string>
</property>
<property name="buddy">
<cstring>cmbC16kRowSepHeight</cstring>
@ -70,7 +70,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radC16kStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -80,7 +80,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radC16kGS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radC39Stand">
<property name="text">
<string>No Check Digit</string>
<string>&amp;No Check Digit</string>
</property>
<property name="checked">
<bool>true</bool>
@ -35,14 +35,14 @@
<item row="1" column="0">
<widget class="QRadioButton" name="radC39HIBC">
<property name="text">
<string>HIBC 39</string>
<string>H&amp;IBC 39</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radC39Check">
<property name="text">
<string>Mod-43 Check Digit</string>
<string>&amp;Mod-43 Check Digit</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelRowSeparatorHeight">
<property name="text">
<string>Row Separator Height:</string>
<string>&amp;Row Separator Height:</string>
</property>
<property name="buddy">
<cstring>cmbC49RowSepHeight</cstring>
@ -70,7 +70,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radC49Stand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -80,7 +80,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radC49GS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>

View File

@ -17,7 +17,7 @@
<item>
<widget class="QCheckBox" name="chkCodabarCheck">
<property name="text">
<string>Add Check Character (Mod-16)</string>
<string>Add &amp;Check Character (Mod-16)</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelWidth">
<property name="text">
<string>Symbol Width (Columns):</string>
<string>Symbol &amp;Width (Columns):</string>
</property>
<property name="buddy">
<cstring>cmbCbfWidth</cstring>
@ -342,7 +342,7 @@
<item row="1" column="0">
<widget class="QLabel" name="labelHeight">
<property name="text">
<string>Symbol Height (Rows):</string>
<string>Symbol &amp;Height (Rows):</string>
</property>
<property name="buddy">
<cstring>cmbCbfHeight</cstring>
@ -584,7 +584,7 @@
<item row="2" column="0">
<widget class="QLabel" name="labelRowSeparatorHeight">
<property name="text">
<string>Row Separator Height:</string>
<string>&amp;Row Separator Height:</string>
</property>
<property name="buddy">
<cstring>cmbCbfRowSepHeight</cstring>
@ -629,7 +629,7 @@
<item>
<widget class="QRadioButton" name="radCbfStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -639,7 +639,7 @@
<item>
<widget class="QRadioButton" name="radCbfHIBC">
<property name="text">
<string>HIBC Codablock-F</string>
<string>H&amp;IBC Codablock-F</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lblChannel">
<property name="text">
<string>Symbol Size:</string>
<string>Symbol Si&amp;ze:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
@ -108,7 +108,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radC1Stand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -118,7 +118,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radC1GS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lblDM200Size">
<property name="text">
<string>Size:</string>
<string>Si&amp;ze:</string>
</property>
<property name="buddy">
<cstring>cmbDM200Size</cstring>
@ -298,7 +298,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radDM200Stand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -308,14 +308,14 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radDM200GS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radDM200HIBC">
<property name="text">
<string>HIBC Data Matrix</string>
<string>H&amp;IBC Data Matrix</string>
</property>
</widget>
</item>
@ -325,7 +325,7 @@
<item>
<widget class="QCheckBox" name="chkDMRectangle">
<property name="text">
<string>Suppress Rectangular Symbols in Automatic Mode</string>
<string>Suppress &amp;Rectangular Symbols in Automatic Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -335,7 +335,7 @@
<item>
<widget class="QCheckBox" name="chkDMRE">
<property name="text">
<string>Allow DMRE in Automatic Mode</string>
<string>Allo&amp;w DMRE in Automatic Mode</string>
</property>
<property name="checked">
<bool>false</bool>
@ -345,7 +345,7 @@
<item>
<widget class="QCheckBox" name="chkDMGSSep">
<property name="text">
<string>Use separator GS for GS1</string>
<string>&amp;Use separator GS for GS1</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -321,7 +321,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radDotGS1">
<property name="text">
<string>&amp;GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelGridSize">
<property name="text">
<string>Size:</string>
<string>Si&amp;ze:</string>
</property>
<property name="buddy">
<cstring>cmbGridSize</cstring>
@ -109,7 +109,7 @@
<item row="1" column="0">
<widget class="QLabel" name="labelGridECC">
<property name="text">
<string>Error Correction:</string>
<string>E&amp;rror Correction:</string>
</property>
<property name="buddy">
<cstring>cmbGridECC</cstring>
@ -182,7 +182,7 @@
<item>
<widget class="QCheckBox" name="chkGridFullMultibyte">
<property name="text">
<string>Full Multibyte</string>
<string>&amp;Full Multibyte</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelHXSize">
<property name="text">
<string>Size:</string>
<string>Si&amp;ze:</string>
</property>
<property name="buddy">
<cstring>cmbHXSize</cstring>
@ -467,7 +467,7 @@
<item row="1" column="0">
<widget class="QLabel" name="labelHXECC">
<property name="text">
<string>Error Correction:</string>
<string>E&amp;rror Correction:</string>
</property>
<property name="buddy">
<cstring>cmbHXECC</cstring>
@ -508,7 +508,7 @@
<item>
<widget class="QCheckBox" name="chkHXFullMultibyte">
<property name="text">
<string>Full Multibyte</string>
<string>&amp;Full Multibyte</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -29,7 +29,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radLOGMARSStand">
<property name="text">
<string>No Check Digit</string>
<string>&amp;No Check Digit</string>
</property>
<property name="checked">
<bool>true</bool>
@ -39,7 +39,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radLOGMARSCheck">
<property name="text">
<string>One (Mod-43)</string>
<string>&amp;One (Mod-43)</string>
</property>
</widget>
</item>

View File

@ -24,7 +24,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="lavelMQRSize" >
<property name="text" >
<string>Size:</string>
<string>Si&amp;ze:</string>
</property>
<property name="buddy">
<cstring>cmbMQRSize</cstring>
@ -63,7 +63,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="labelMQRECC" >
<property name="text" >
<string>Error Correction:</string>
<string>E&amp;rror Correction:</string>
</property>
<property name="buddy">
<cstring>cmbMQRECC</cstring>
@ -99,7 +99,7 @@
<item>
<widget class="QCheckBox" name="chkMQRFullMultibyte">
<property name="text">
<string>Full Multibyte</string>
<string>&amp;Full Multibyte</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -41,7 +41,7 @@
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Primary Message:</string>
<string>P&amp;rimary Message:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

View File

@ -78,7 +78,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radMPDFStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -88,7 +88,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radMPDFHIBC">
<property name="text">
<string>HIBC MicroPDF417</string>
<string>H&amp;IBC MicroPDF417</string>
</property>
</widget>
</item>

View File

@ -146,7 +146,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="lblPDFECC" >
<property name="text" >
<string>&amp;Error Correction Capacity:</string>
<string>E&amp;rror Correction Capacity:</string>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
@ -224,7 +224,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radPDFStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -234,7 +234,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radPDFHIBC">
<property name="text">
<string>HIBC PDF417</string>
<string>H&amp;IBC PDF417</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelQRSize">
<property name="text">
<string>Size:</string>
<string>Si&amp;ze:</string>
</property>
<property name="buddy">
<cstring>cmbQRSize</cstring>
@ -247,7 +247,7 @@
<item row="1" column="0">
<widget class="QLabel" name="labelQRECC">
<property name="text">
<string>Error Correction:</string>
<string>E&amp;rror Correction:</string>
</property>
<property name="buddy">
<cstring>cmbQRECC</cstring>
@ -297,7 +297,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radQRStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -307,14 +307,14 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radQRGS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radQRHIBC">
<property name="text">
<string>HIBC QR Code</string>
<string>H&amp;IBC QR Code</string>
</property>
</widget>
</item>
@ -324,7 +324,7 @@
<item>
<widget class="QCheckBox" name="chkQRFullMultibyte">
<property name="text">
<string>Full Multibyte</string>
<string>&amp;Full Multibyte</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="labelRMQRSize">
<property name="text">
<string>Size:</string>
<string>Si&amp;ze:</string>
</property>
<property name="buddy">
<cstring>cmbRMQRSize</cstring>
@ -237,7 +237,7 @@
<item row="1" column="0">
<widget class="QLabel" name="labelRMQRECC">
<property name="text">
<string>Error Correction:</string>
<string>E&amp;rror Correction:</string>
</property>
<property name="buddy">
<cstring>cmbRMQRECC</cstring>
@ -277,7 +277,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radRMQRStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -287,7 +287,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radRMQRGS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>
@ -297,7 +297,7 @@
<item>
<widget class="QCheckBox" name="chkRMQRFullMultibyte">
<property name="text">
<string>Full Multibyte</string>
<string>&amp;Full Multibyte</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -25,7 +25,7 @@
<item>
<widget class="QLabel" name="lblUPCAAddonGap">
<property name="text">
<string>&amp;Add-on Gap:</string>
<string>A&amp;dd-on Gap:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

View File

@ -25,7 +25,7 @@
<item>
<widget class="QLabel" name="lblUPCEANAddonGap">
<property name="text">
<string>&amp;Add-on Gap:</string>
<string>A&amp;dd-on Gap:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

View File

@ -25,13 +25,20 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radUltraAuto">
<property name="text">
<string>A&amp;utomatic Resizing</string>
<string>Auto&amp;matic Resizing</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radUltraEcc">
<property name="text">
<string>E&amp;rror Correction Level:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbUltraEcc">
<property name="enabled">
@ -72,13 +79,6 @@
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radUltraEcc">
<property name="text">
<string>Error Correction Level:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
@ -93,7 +93,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="radUltraStand">
<property name="text">
<string>Standard Mode</string>
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
@ -103,7 +103,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="radUltraGS1">
<property name="text">
<string>GS1 Data Mode</string>
<string>GS&amp;1 Data Mode</string>
</property>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QCheckBox" name="chkVINImportChar">
<property name="text">
<string>Import Character Prefix</string>
<string>&amp;Import Character Prefix</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@ -129,7 +129,7 @@
</property>
<widget class="QWidget" name="tabGeneral">
<attribute name="title">
<string>General</string>
<string>&amp;General</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
@ -167,7 +167,7 @@
or import from file</string>
</property>
<property name="text">
<string>...</string>
<string>&amp;...</string>
</property>
</widget>
</item>
@ -301,7 +301,7 @@ or import from file</string>
<bool>false</bool>
</property>
<property name="text">
<string>&amp;2D Component Data:</string>
<string>2D &amp;Component Data:</string>
</property>
<property name="buddy">
<cstring>txtComposite</cstring>
@ -540,22 +540,23 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QCheckBox" name="chkEscape">
<property name="toolTip">
<string>Process escape sequences in input data
\0 - NUL character (0x00)
\E - End of Transmission (0x04)
\a - Bell (0x07)
\b - Backspace (0x08)
\t - Horizontal Tab (0x09)
\n - Line Feed (0x0A)
\v - Vertical Tab (0x0B)
\f - Form Feed (0x0C)
\r - Carriage Return (0x0D)
\e - Escape (0x1B)
\G - Group Selector (0x1D)
\R - Record Selector (0x1E)
\\ - Backslash (0x5C)
\xNN - 8-bit character (N hex)
\uNNNN - 16-bit Unicode (N hex)</string>
<string>Process escape sequences in input data&lt;table cellpadding=&quot;3&quot;&gt;
&lt;tr&gt;&lt;td&gt;\0&lt;/td&gt;&lt;td&gt;NUL character (0x00)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\E&lt;/td&gt;&lt;td&gt;End of Transmission (0x04)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\a&lt;/td&gt;&lt;td&gt;Bell (0x07)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\b&lt;/td&gt;&lt;td&gt;Backspace (0x08)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\t&lt;/td&gt;&lt;td&gt;Horizontal Tab (0x09)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\n&lt;/td&gt;&lt;td&gt;Line Feed (0x0A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\v&lt;/td&gt;&lt;td&gt;Vertical Tab (0x0B)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\f&lt;/td&gt;&lt;td&gt;Form Feed (0x0C)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\r&lt;/td&gt;&lt;td&gt;Carriage Return (0x0D)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\e&lt;/td&gt;&lt;td&gt;Escape (0x1B)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\G&lt;/td&gt;&lt;td&gt;Group Selector (0x1D)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\R&lt;/td&gt;&lt;td&gt;Record Selector (0x1E)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\\&lt;/td&gt;&lt;td&gt;Backslash (0x5C)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\xNN&lt;/td&gt;&lt;td&gt;8-bit character (N hex)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;\uNNNN&lt;/td&gt;&lt;td&gt;16-bit Unicode (N hex)&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</string>
</property>
<property name="text">
<string>&amp;Parse Escapes</string>
@ -605,7 +606,7 @@ p, li { white-space: pre-wrap; }
</size>
</property>
<attribute name="title">
<string>Appearance</string>
<string>A&amp;ppearance</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
@ -773,7 +774,7 @@ p, li { white-space: pre-wrap; }
<item row="5" column="0">
<widget class="QLabel" name="lblScale">
<property name="text">
<string>&amp;Printing Scale:</string>
<string>Printing Sca&amp;le:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
@ -874,7 +875,7 @@ p, li { white-space: pre-wrap; }
<bool>true</bool>
</property>
<property name="text">
<string>Colour: </string>
<string>Colour:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@ -1003,7 +1004,7 @@ p, li { white-space: pre-wrap; }
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Dot Size:</string>
<string>Dot S&amp;ize:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@ -1123,13 +1124,6 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</widget>
<tabstops>
<tabstop>tabMain</tabstop>
<tabstop>txtData</tabstop>
<tabstop>chkComposite</tabstop>
<tabstop>cmbCompType</tabstop>
<tabstop>txtComposite</tabstop>
</tabstops>
<resources>
<include location="resources.qrc"/>
</resources>

View File

@ -52,27 +52,27 @@ MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags fl)
"Australia Post Reply-Paid",
"Australia Post Routing Code",
"Australia Post Standard Customer",
"Aztec Code (ISO 24778)",
"Aztec Code (ISO 24778) (and HIBC)",
"Aztec Runes",
"Channel Code",
"Codabar",
"Codablock-F",
"Codablock-F (and HIBC)",
"Code 11",
"Code 128 (ISO 15417)",
"Code 128 (ISO 15417) (and GS1-128 and HIBC)",
"Code 16k",
"Code 2 of 5 Data Logic",
"Code 2 of 5 IATA",
"Code 2 of 5 Industrial",
"Code 2 of 5 Interleaved",
"Code 2 of 5 Standard",
"Code 2 of 5 Standard (Matrix)",
"Code 32 (Italian Pharmacode)",
"Code 39 (ISO 16388)",
"Code 39 (ISO 16388) (and HIBC)",
"Code 39 Extended",
"Code 49",
"Code 93",
"Code One",
"DAFT Code",
"Data Matrix (ISO 16022)",
"Data Matrix (ISO 16022) (and HIBC)",
"Deutsche Post Identcode",
"Deutsche Post Leitcode",
"DotCode",
@ -96,17 +96,17 @@ MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags fl)
"Korean Postal Barcode",
"LOGMARS",
"Maxicode (ISO 16023)",
"MicroPDF417 (ISO 24728)",
"MicroPDF417 (ISO 24728) (and HIBC)",
"Micro QR Code",
"MSI Plessey",
"NVE-18 (SSCC-18)",
"PDF417 (ISO 15438)",
"PDF417 (ISO 15438) (and Compact and HIBC)",
"Pharmacode",
"Pharmacode 2-track",
"Pharma Zentralnummer (PZN)",
"PLANET",
"Postnet",
"QR Code (ISO 18004)",
"POSTNET",
"QR Code (ISO 18004) (and HIBC)",
"Rectangular Micro QR (rMQR)",
"Royal Mail 4-state Barcode",
"Royal Mail 4-state Mailmark",
@ -217,7 +217,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags fl)
connect(&m_bc.bc, SIGNAL(encoded()), SLOT(on_encoded()));
QShortcut *ctrl_q = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q), this);
QShortcut *ctrl_q = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_Q), this);
connect(ctrl_q, SIGNAL(activated()), SLOT(quit_now()));
}
@ -582,7 +582,7 @@ void MainWindow::change_options()
if (tabMain->count()==3)
tabMain->removeTab(1);
chkComposite->setText(tr("Add 2D Component"));
chkComposite->setText(tr("Add &2D Component"));
btype->setItemText(0, tr("No border"));
combobox_item_enabled(cmbFontSetting, 1, true);
cmbFontSetting->setItemText(2, tr("Small"));
@ -594,8 +594,8 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Code 128"));
chkComposite->setText(tr("Add 2D Component (GS1-128 only)"));
tabMain->insertTab(1,m_optionWidget,tr("Cod&e 128"));
chkComposite->setText(tr("Add &2D Component (GS1-128 only)"));
connect(m_optionWidget->findChild<QObject*>("radC128EAN"), SIGNAL(toggled( bool )), SLOT(composite_ean_check()));
connect(m_optionWidget->findChild<QObject*>("radC128Stand"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radC128CSup"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -610,7 +610,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("PDF417"));
tabMain->insertTab(1,m_optionWidget,tr("PDF41&7"));
connect(m_optionWidget->findChild<QObject*>("cmbPDFECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbPDFCols"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radPDFTruncated"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -626,7 +626,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Micro PDF417"));
tabMain->insertTab(1,m_optionWidget,tr("Micro PDF41&7"));
connect(m_optionWidget->findChild<QObject*>("cmbMPDFCols"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radMPDFStand"), SIGNAL(toggled( bool )), SLOT(update_preview()));
}
@ -638,7 +638,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("DotCode"));
tabMain->insertTab(1,m_optionWidget,tr("DotCod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbDotCols"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radDotStand"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radDotGS1"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -651,7 +651,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Aztec Code"));
tabMain->insertTab(1,m_optionWidget,tr("Aztec Cod&e"));
connect(m_optionWidget->findChild<QObject*>("radAztecAuto"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radAztecSize"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radAztecECC"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -669,7 +669,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("MSI Plessey"));
tabMain->insertTab(1,m_optionWidget,tr("MSI Pless&ey"));
connect(m_optionWidget->findChild<QObject*>("cmbMSICheck"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
}
@ -680,7 +680,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Code 11"));
tabMain->insertTab(1,m_optionWidget,tr("Cod&e 11"));
connect(m_optionWidget->findChild<QObject*>("radC11TwoCheckDigits"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radC11OneCheckDigit"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radC11NoCheckDigits"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -698,7 +698,7 @@ void MainWindow::change_options()
connect(m_optionWidget->findChild<QObject*>("radC39HIBC"), SIGNAL(clicked( bool )), SLOT(update_preview()));
if (symbology == BARCODE_EXCODE39)
{
tabMain->insertTab(1,m_optionWidget,tr("Code 39 Extended"));
tabMain->insertTab(1,m_optionWidget,tr("Cod&e 39 Extended"));
if(m_optionWidget->findChild<QRadioButton*>("radC39HIBC")->isChecked() == true)
{
m_optionWidget->findChild<QRadioButton*>("radC39HIBC")->setChecked(false);
@ -707,7 +707,7 @@ void MainWindow::change_options()
m_optionWidget->findChild<QRadioButton*>("radC39HIBC")->setEnabled(false);
}
else {
tabMain->insertTab(1,m_optionWidget,tr("Code 39"));
tabMain->insertTab(1,m_optionWidget,tr("Cod&e 39"));
m_optionWidget->findChild<QRadioButton*>("radC39HIBC")->setEnabled(true);
}
}
@ -731,7 +731,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Code 16K"));
tabMain->insertTab(1,m_optionWidget,tr("Cod&e 16K"));
btype->setItemText(0, tr("Default (bind)"));
connect(m_optionWidget->findChild<QObject*>("cmbC16kRowSepHeight"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radC16kStand"), SIGNAL(toggled( bool )), SLOT(update_preview()));
@ -755,7 +755,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Codablock-F"));
tabMain->insertTab(1,m_optionWidget,tr("Codablock&-F"));
btype->setItemText(0, tr("Default (bind)"));
connect(m_optionWidget->findChild<QObject*>("cmbCbfWidth"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbCbfHeight"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
@ -793,7 +793,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("QR Code"));
tabMain->insertTab(1,m_optionWidget,tr("QR Cod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbQRSize"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbQRECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radQRStand"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -809,7 +809,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("rMQR Code"));
tabMain->insertTab(1,m_optionWidget,tr("rMQR Cod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbRMQRSize"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbRMQRECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radRMQRStand"), SIGNAL(clicked( bool )), SLOT(update_preview()));
@ -824,7 +824,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Han Xin Code"));
tabMain->insertTab(1,m_optionWidget,tr("Han Xin Cod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbHXSize"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbHXECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("chkHXFullMultibyte"), SIGNAL(stateChanged( int )), SLOT(update_preview()));
@ -837,7 +837,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Micro QR Code"));
tabMain->insertTab(1,m_optionWidget,tr("Micro QR Cod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbMQRSize"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbMQRECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("chkMQRFullMultibyte"), SIGNAL(stateChanged( int )), SLOT(update_preview()));
@ -863,7 +863,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Maxicode"));
tabMain->insertTab(1,m_optionWidget,tr("Maxicod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbMaxiMode"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbMaxiMode"), SIGNAL(currentIndexChanged( int )), SLOT(maxi_primary()));
connect(m_optionWidget->findChild<QObject*>("txtMaxiPrimary"), SIGNAL(textChanged( const QString& )), SLOT(update_preview()));
@ -876,7 +876,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Channel Code"));
tabMain->insertTab(1,m_optionWidget,tr("Channel Cod&e"));
connect(m_optionWidget->findChild<QObject*>("cmbChannel"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
}
@ -887,7 +887,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Code One"));
tabMain->insertTab(1,m_optionWidget,tr("Code On&e"));
connect(m_optionWidget->findChild<QObject*>("cmbC1Size"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radC1GS1"), SIGNAL(toggled( bool )), SLOT(update_preview()));
}
@ -899,7 +899,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Code 49"));
tabMain->insertTab(1,m_optionWidget,tr("Cod&e 49"));
connect(m_optionWidget->findChild<QObject*>("cmbC49RowSepHeight"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radC49GS1"), SIGNAL(toggled( bool )), SLOT(update_preview()));
}
@ -911,7 +911,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("GS1 DataBar Stacked"));
tabMain->insertTab(1,m_optionWidget,tr("GS1 DataBar Stack&ed"));
connect(m_optionWidget->findChild<QObject*>("cmbCols"), SIGNAL(currentIndexChanged ( int )), SLOT(update_preview()));
}
@ -922,7 +922,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("Ultracode"));
tabMain->insertTab(1,m_optionWidget,tr("Ultracod&e"));
connect(m_optionWidget->findChild<QObject*>("radUltraAuto"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radUltraEcc"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbUltraEcc"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
@ -956,11 +956,11 @@ void MainWindow::change_options()
m_optionWidget=uiload.load(&file);
file.close();
if (symbology == BARCODE_UPCE || symbology == BARCODE_UPCE_CHK || symbology == BARCODE_UPCE_CC) {
tabMain->insertTab(1, m_optionWidget, tr("UPC-E"));
tabMain->insertTab(1, m_optionWidget, tr("UPC-&E"));
} else if (symbology == BARCODE_ISBNX) {
tabMain->insertTab(1, m_optionWidget, tr("ISBN"));
} else {
tabMain->insertTab(1, m_optionWidget, tr("EAN"));
tabMain->insertTab(1, m_optionWidget, tr("&EAN"));
}
combobox_item_enabled(cmbFontSetting, 1, false);
if (cmbFontSetting->currentIndex() == 1) {
@ -977,7 +977,7 @@ void MainWindow::change_options()
return;
m_optionWidget=uiload.load(&file);
file.close();
tabMain->insertTab(1,m_optionWidget,tr("VIN"));
tabMain->insertTab(1,m_optionWidget,tr("&VIN"));
connect(m_optionWidget->findChild<QObject*>("chkVINImportChar"), SIGNAL(clicked( bool )), SLOT(update_preview()));
}

View File

@ -25,10 +25,7 @@
#include "ui_mainWindow.h"
#include "barcodeitem.h"
class QAction;
class QActionGroup;
class QLabel;
class QMenu;
class MainWindow : public QWidget, private Ui::mainWindow
{
@ -138,8 +135,6 @@ protected:
void combobox_item_enabled(QComboBox *comboBox, int index, bool enabled);
void upcean_addon_gap(QComboBox *comboBox, QLabel *label, int base);
void set_gs1_mode(bool gs1_mode);
bool fixed_height();
bool no_hrt();
const char *get_setting_name(int symbology);
int get_button_group_index(const QStringList &children);
void set_radiobutton_from_setting(QSettings &settings, const QString &setting, const QStringList &children, int default_val = 0);

View File

@ -158,8 +158,10 @@ void SequenceWindow::check_generate()
preview_copy = txtPreview->toPlainText();
if(preview_copy.isEmpty()) {
btnExport->setEnabled(false);
lblExport->setEnabled(false);
} else {
btnExport->setEnabled(true);
lblExport->setEnabled(true);
}
}