mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Polish the GUI a bit
This commit is contained in:
parent
d0f4858762
commit
f2e67de4ea
@ -18,7 +18,7 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QRadioButton" name="radAztecAuto" >
|
||||
<property name="text" >
|
||||
<string>Automatic Resizing</string>
|
||||
<string>A&utomatic Resizing</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -28,7 +28,7 @@
|
||||
<item row="1" column="0" >
|
||||
<widget class="QRadioButton" name="radAztecSize" >
|
||||
<property name="text" >
|
||||
<string>Adjust Size To:</string>
|
||||
<string>Adjust Si&ze To:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -222,7 +222,7 @@
|
||||
<item row="2" column="0" >
|
||||
<widget class="QRadioButton" name="radAztecECC" >
|
||||
<property name="text" >
|
||||
<string>Add Minimum Error Correction:</string>
|
||||
<string>Add Minimum &Error Correction:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -256,7 +256,7 @@
|
||||
<item row="3" column="0" >
|
||||
<widget class="QCheckBox" name="chkAztecMode" >
|
||||
<property name="text" >
|
||||
<string>Encode as GS-1 Data</string>
|
||||
<string>Encode as &GS-1 Data</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpC128</class>
|
||||
<widget class="QWidget" name="grpC128" >
|
||||
@ -50,12 +49,12 @@
|
||||
<item row="2" column="0" colspan="2" >
|
||||
<widget class="QLabel" name="lblC128" >
|
||||
<property name="text" >
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Note: Composite symbols require a</p>
|
||||
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">GS1-128 linear component.</p></body></html></string>
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Note: Composite symbols require a</p>
|
||||
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">GS1-128 linear component.</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpC16k</class>
|
||||
<widget class="QWidget" name="grpC16k" >
|
||||
@ -17,7 +16,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC16kStand" >
|
||||
<property name="text" >
|
||||
<string>Standard Mode</string>
|
||||
<string>S&tandard Mode</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -27,7 +26,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC16kGS1" >
|
||||
<property name="text" >
|
||||
<string>GS-1 Data Mode</string>
|
||||
<string>&GS-1 Data Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpC39</class>
|
||||
<widget class="QWidget" name="grpC39" >
|
||||
@ -17,7 +16,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC39Stand" >
|
||||
<property name="text" >
|
||||
<string>No Check Digit</string>
|
||||
<string>&No Check Digit</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -27,14 +26,14 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC39Check" >
|
||||
<property name="text" >
|
||||
<string>Mod-43 Check Digit</string>
|
||||
<string>&Mod-43 Check Digit</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC39HIBC" >
|
||||
<property name="text" >
|
||||
<string>HIBC 39</string>
|
||||
<string>&HIBC 39</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC49Stand" >
|
||||
<property name="text" >
|
||||
<string>Standard Mode</string>
|
||||
<string>S&tandard Mode</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -26,7 +26,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC49GS1" >
|
||||
<property name="text" >
|
||||
<string>GS-1 Data Mode</string>
|
||||
<string>&GS-1 Data Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -44,8 +44,6 @@
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
<zorder>radC49Stand</zorder>
|
||||
<zorder>radC49GS1</zorder>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpChannel</class>
|
||||
<widget class="QWidget" name="grpChannel" >
|
||||
@ -19,10 +18,13 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="lblChannel" >
|
||||
<property name="text" >
|
||||
<string>Number of Channels:</string>
|
||||
<string>&Number of Channels:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbChannel</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpCodablock</class>
|
||||
<widget class="QWidget" name="grpCodablock" >
|
||||
@ -17,7 +16,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radCodaStand" >
|
||||
<property name="text" >
|
||||
<string>Standard Mode</string>
|
||||
<string>S&tandard Mode</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -27,14 +26,14 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radCodaGS1" >
|
||||
<property name="text" >
|
||||
<string>GS-1 Data Mode</string>
|
||||
<string>&GS-1 Data Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radCodaHIBC" >
|
||||
<property name="text" >
|
||||
<string>HIBC Codablock-F</string>
|
||||
<string>&HIBC Codablock-F</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -18,10 +18,13 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="lblChannel" >
|
||||
<property name="text" >
|
||||
<string>Symbol Size:</string>
|
||||
<string>S&ymbol Size:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbC1Size</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -89,7 +92,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC1Stand" >
|
||||
<property name="text" >
|
||||
<string>Standard Mode</string>
|
||||
<string>S&tandard Mode</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -99,7 +102,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radC1GS1" >
|
||||
<property name="text" >
|
||||
<string>GS-1 Data Mode</string>
|
||||
<string>&GS-1 Data Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -118,6 +121,11 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>cmbC1Size</tabstop>
|
||||
<tabstop>radC1Stand</tabstop>
|
||||
<tabstop>radC1GS1</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label" >
|
||||
<property name="text" >
|
||||
<string>Encoding Mode:</string>
|
||||
<string>Encoding &Mode:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbDMMode</cstring>
|
||||
@ -72,10 +72,13 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="lblDMNon200Size" >
|
||||
<property name="text" >
|
||||
<string>Size:</string>
|
||||
<string>Si&ze:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbDMNon200Size</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -205,7 +208,7 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QRadioButton" name="radDM200Stand" >
|
||||
<property name="text" >
|
||||
<string>Standard</string>
|
||||
<string>S&tandard</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -215,21 +218,24 @@
|
||||
<item row="0" column="2" >
|
||||
<widget class="QRadioButton" name="radDM200HIBC" >
|
||||
<property name="text" >
|
||||
<string>HIBC Data Matrix</string>
|
||||
<string>&HIBC Data Matrix</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2" >
|
||||
<widget class="QRadioButton" name="radDM200GS1" >
|
||||
<property name="text" >
|
||||
<string>GS-1 Data Mode</string>
|
||||
<string>&GS-1 Data Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" >
|
||||
<widget class="QLabel" name="lblDM200Size" >
|
||||
<property name="text" >
|
||||
<string>Size:</string>
|
||||
<string>Si&ze:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbDM200Size</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpMQR</class>
|
||||
<widget class="QWidget" name="grpMQR" >
|
||||
@ -19,7 +18,7 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QRadioButton" name="radMQRAuto" >
|
||||
<property name="text" >
|
||||
<string>Automatic Resizing</string>
|
||||
<string>A&utomatic Resizing</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -29,7 +28,7 @@
|
||||
<item row="1" column="0" >
|
||||
<widget class="QRadioButton" name="radMQRSize" >
|
||||
<property name="text" >
|
||||
<string>Adjust Size To:</string>
|
||||
<string>Adjust Si&ze To:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -63,7 +62,7 @@
|
||||
<item row="2" column="0" >
|
||||
<widget class="QRadioButton" name="radMQRECC" >
|
||||
<property name="text" >
|
||||
<string>Add Error Correction:</string>
|
||||
<string>Add &Error Correction:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpMSICheck</class>
|
||||
<widget class="QWidget" name="grpMSICheck" >
|
||||
@ -19,10 +18,13 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="lblMSICheck" >
|
||||
<property name="text" >
|
||||
<string>Check Digit:</string>
|
||||
<string>&Check Digit:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbMSICheck</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -23,7 +23,7 @@
|
||||
<rect>
|
||||
<x>18</x>
|
||||
<y>15</y>
|
||||
<width>400</width>
|
||||
<width>413</width>
|
||||
<height>69</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -80,10 +80,13 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="lblMaxiMode" >
|
||||
<property name="text" >
|
||||
<string>Encoding Mode:</string>
|
||||
<string>Encoding &Mode:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbMaxiMode</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -93,10 +96,13 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Primary Data:</string>
|
||||
<string>&Primary Data:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>txtMaxiPrimary</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpMicroPDF</class>
|
||||
<widget class="QWidget" name="grpMicroPDF" >
|
||||
@ -19,10 +18,13 @@
|
||||
<item row="0" column="0" colspan="2" >
|
||||
<widget class="QLabel" name="lblMPDFCols" >
|
||||
<property name="text" >
|
||||
<string>Number of Data Columns:</string>
|
||||
<string>&Number of Data Columns:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbMPDFCols</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -58,7 +60,7 @@
|
||||
<item row="1" column="0" >
|
||||
<widget class="QRadioButton" name="radMPDFStand" >
|
||||
<property name="text" >
|
||||
<string>Standard</string>
|
||||
<string>S&tandard</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -68,7 +70,7 @@
|
||||
<item row="1" column="1" colspan="2" >
|
||||
<widget class="QRadioButton" name="radMPDFHIBC" >
|
||||
<property name="text" >
|
||||
<string>HIBC MicroPDF417</string>
|
||||
<string>&HIBC MicroPDF417</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpPDF417</class>
|
||||
<widget class="QWidget" name="grpPDF417" >
|
||||
@ -19,10 +18,13 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="lblPDFCols" >
|
||||
<property name="text" >
|
||||
<string>Number of Data Columns:</string>
|
||||
<string>&Number of Data Columns:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbPDFCols</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -138,10 +140,13 @@
|
||||
<item row="1" column="0" >
|
||||
<widget class="QLabel" name="lblPDFECC" >
|
||||
<property name="text" >
|
||||
<string>Error Correction Capacity:</string>
|
||||
<string>&Error Correction Capacity:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbPDFECC</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -205,7 +210,7 @@
|
||||
<string>Ma&ximum Codeword Lengh:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>codewords</cstring>
|
||||
@ -228,7 +233,7 @@
|
||||
<item row="3" column="0" >
|
||||
<widget class="QRadioButton" name="radPDFStand" >
|
||||
<property name="text" >
|
||||
<string>Standard</string>
|
||||
<string>S&tandard</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -238,14 +243,14 @@
|
||||
<item row="3" column="1" >
|
||||
<widget class="QRadioButton" name="radPDFHIBC" >
|
||||
<property name="text" >
|
||||
<string>HIBC PDF417</string>
|
||||
<string>&HIBC PDF417</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" >
|
||||
<widget class="QRadioButton" name="radPDFTruncated" >
|
||||
<property name="text" >
|
||||
<string>Truncated</string>
|
||||
<string>&Truncated</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>grpQR</class>
|
||||
<widget class="QWidget" name="grpQR" >
|
||||
@ -19,7 +18,7 @@
|
||||
<item row="0" column="0" >
|
||||
<widget class="QRadioButton" name="radQRAuto" >
|
||||
<property name="text" >
|
||||
<string>Automatic Resizing</string>
|
||||
<string>A&utomatic Resizing</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
@ -29,7 +28,7 @@
|
||||
<item row="1" column="0" >
|
||||
<widget class="QRadioButton" name="radQRSize" >
|
||||
<property name="text" >
|
||||
<string>Adjust Size To:</string>
|
||||
<string>Adjust Si&ze To:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -243,7 +242,7 @@
|
||||
<item row="2" column="0" >
|
||||
<widget class="QRadioButton" name="radQRECC" >
|
||||
<property name="text" >
|
||||
<string>Add Error Correction:</string>
|
||||
<string>Add &Error Correction:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -277,7 +276,7 @@
|
||||
<item row="3" column="0" >
|
||||
<widget class="QCheckBox" name="chkQRHIBC" >
|
||||
<property name="text" >
|
||||
<string>HIBC QR Code</string>
|
||||
<string>&HIBC QR Code</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -37,6 +37,9 @@
|
||||
</item>
|
||||
<item row="0" column="3" >
|
||||
<widget class="QToolButton" name="toolButton_5" >
|
||||
<property name="toolTip" >
|
||||
<string>Zoom out</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>...</string>
|
||||
</property>
|
||||
@ -54,6 +57,9 @@
|
||||
</item>
|
||||
<item row="1" column="3" >
|
||||
<widget class="QSlider" name="scaleSlider" >
|
||||
<property name="toolTip" >
|
||||
<string>Adjust zoom</string>
|
||||
</property>
|
||||
<property name="minimum" >
|
||||
<number>50</number>
|
||||
</property>
|
||||
@ -76,6 +82,9 @@
|
||||
</item>
|
||||
<item row="2" column="3" >
|
||||
<widget class="QToolButton" name="toolButton_4" >
|
||||
<property name="toolTip" >
|
||||
<string>Zoom in</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="resources.qrc" >
|
||||
<normaloff>:/zoomin.png</normaloff>:/zoomin.png</iconset>
|
||||
@ -88,8 +97,11 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" >
|
||||
<item row="4" column="0" >
|
||||
<widget class="QToolButton" name="toolButton" >
|
||||
<property name="toolTip" >
|
||||
<string>Rotate anti-clockwise</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="resources.qrc" >
|
||||
<normaloff>:/rotateleft.png</normaloff>:/rotateleft.png</iconset>
|
||||
@ -102,8 +114,11 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1" >
|
||||
<item row="4" column="1" >
|
||||
<widget class="QSlider" name="rotateSlider" >
|
||||
<property name="toolTip" >
|
||||
<string>Adjust Rotation</string>
|
||||
</property>
|
||||
<property name="maximum" >
|
||||
<number>360</number>
|
||||
</property>
|
||||
@ -112,8 +127,11 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2" >
|
||||
<item row="4" column="2" >
|
||||
<widget class="QToolButton" name="toolButton_2" >
|
||||
<property name="toolTip" >
|
||||
<string>Rotate clockwise</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="resources.qrc" >
|
||||
<normaloff>:/rotateright.png</normaloff>:/rotateright.png</iconset>
|
||||
@ -134,10 +152,10 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="lblSymbology" >
|
||||
<property name="text" >
|
||||
<string>&Symbology:</string>
|
||||
<string>S&ymbology:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>bstyle</cstring>
|
||||
@ -152,6 +170,9 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip" >
|
||||
<string>Select type of barcode to generate.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@ -195,11 +216,14 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title" >
|
||||
<string>Data to Encode</string>
|
||||
<string>&Data to Encode</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4" >
|
||||
<item>
|
||||
<widget class="QLineEdit" name="txtData" >
|
||||
<property name="toolTip" >
|
||||
<string>Enter data to be encoded.</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Your Data Here!</string>
|
||||
</property>
|
||||
@ -239,8 +263,11 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2" >
|
||||
<item>
|
||||
<widget class="QCheckBox" name="chkComposite" >
|
||||
<property name="toolTip" >
|
||||
<string>Create a composite symbol.</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>&Add 2D Component</string>
|
||||
<string>Add &2D Component</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -263,7 +290,7 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Component T&ype:</string>
|
||||
<string>Component &Type:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>cmbCompType</cstring>
|
||||
@ -307,7 +334,7 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>&2D Component Data:</string>
|
||||
<string>2D Component Data:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>txtComposite</cstring>
|
||||
@ -331,6 +358,9 @@
|
||||
<height>60</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip" >
|
||||
<string/>
|
||||
</property>
|
||||
<property name="html" >
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
@ -355,8 +385,8 @@ p, li { white-space: pre-wrap; }
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>534</width>
|
||||
<height>324</height>
|
||||
<width>727</width>
|
||||
<height>243</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="title" >
|
||||
@ -370,41 +400,34 @@ p, li { white-space: pre-wrap; }
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="label_3" >
|
||||
<property name="text" >
|
||||
<string>Height:</string>
|
||||
<string>&Height:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1" >
|
||||
<widget class="QSpinBox" name="heightb" >
|
||||
<property name="suffix" >
|
||||
<string> X</string>
|
||||
</property>
|
||||
<property name="prefix" >
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maximum" >
|
||||
<number>300</number>
|
||||
</property>
|
||||
<property name="value" >
|
||||
<number>50</number>
|
||||
<property name="buddy" >
|
||||
<cstring>heightb</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QLabel" name="label_8" >
|
||||
<property name="text" >
|
||||
<string>Border width:</string>
|
||||
<string>B&order Width:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>bwidth</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1" >
|
||||
<widget class="QSpinBox" name="bwidth" >
|
||||
<property name="toolTip" >
|
||||
<string>Adjust width of boundary bars or border.</string>
|
||||
</property>
|
||||
<property name="suffix" >
|
||||
<string> X</string>
|
||||
</property>
|
||||
@ -422,15 +445,21 @@ p, li { white-space: pre-wrap; }
|
||||
<item row="2" column="0" >
|
||||
<widget class="QLabel" name="lblWhitespace" >
|
||||
<property name="text" >
|
||||
<string>Whitespace:</string>
|
||||
<string>&Whitespace:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>spnWhitespace</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1" >
|
||||
<widget class="QSpinBox" name="spnWhitespace" >
|
||||
<property name="toolTip" >
|
||||
<string>Adjust whitespace to left and right of barcode.</string>
|
||||
</property>
|
||||
<property name="suffix" >
|
||||
<string> X</string>
|
||||
</property>
|
||||
@ -439,15 +468,21 @@ p, li { white-space: pre-wrap; }
|
||||
<item row="3" column="0" >
|
||||
<widget class="QLabel" name="lblScale" >
|
||||
<property name="text" >
|
||||
<string>Printing Scale:</string>
|
||||
<string>&Printing Scale:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>spnScale</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1" >
|
||||
<widget class="QDoubleSpinBox" name="spnScale" >
|
||||
<property name="toolTip" >
|
||||
<string>Adjust image size when output to file.</string>
|
||||
</property>
|
||||
<property name="suffix" >
|
||||
<string/>
|
||||
</property>
|
||||
@ -468,6 +503,25 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1" >
|
||||
<widget class="QSpinBox" name="heightb" >
|
||||
<property name="toolTip" >
|
||||
<string>Adjust overall symbol height.</string>
|
||||
</property>
|
||||
<property name="suffix" >
|
||||
<string> X</string>
|
||||
</property>
|
||||
<property name="prefix" >
|
||||
<string/>
|
||||
</property>
|
||||
<property name="maximum" >
|
||||
<number>300</number>
|
||||
</property>
|
||||
<property name="value" >
|
||||
<number>50</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
@ -475,10 +529,13 @@ p, li { white-space: pre-wrap; }
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="label_9" >
|
||||
<property name="text" >
|
||||
<string>Border type:</string>
|
||||
<string>Border Ty&pe:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>btype</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -503,15 +560,18 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2" >
|
||||
<widget class="QPushButton" name="bgcolor" >
|
||||
<property name="toolTip" >
|
||||
<string/>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Backgound Colour</string>
|
||||
<string>&Backgound Colour</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2" >
|
||||
<widget class="QPushButton" name="fgcolor" >
|
||||
<property name="text" >
|
||||
<string>Foreground Colour</string>
|
||||
<string>&Foreground Colour</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -541,7 +601,17 @@ p, li { white-space: pre-wrap; }
|
||||
<item>
|
||||
<widget class="QPushButton" name="btnAbout" >
|
||||
<property name="text" >
|
||||
<string>About</string>
|
||||
<string>&About Zint</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btnReset" >
|
||||
<property name="toolTip" >
|
||||
<string>Reset zoom, rotation and colour.</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>&Reset Preview</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -560,8 +630,11 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btnSave" >
|
||||
<property name="toolTip" >
|
||||
<string>Save barcode image to file.</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Save</string>
|
||||
<string>&Save</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -583,7 +656,24 @@ p, li { white-space: pre-wrap; }
|
||||
<tabstop>chkComposite</tabstop>
|
||||
<tabstop>cmbCompType</tabstop>
|
||||
<tabstop>txtComposite</tabstop>
|
||||
<tabstop>btnAbout</tabstop>
|
||||
<tabstop>btnReset</tabstop>
|
||||
<tabstop>btnSave</tabstop>
|
||||
<tabstop>btnExit</tabstop>
|
||||
<tabstop>heightb</tabstop>
|
||||
<tabstop>bwidth</tabstop>
|
||||
<tabstop>spnWhitespace</tabstop>
|
||||
<tabstop>spnScale</tabstop>
|
||||
<tabstop>btype</tabstop>
|
||||
<tabstop>bgcolor</tabstop>
|
||||
<tabstop>fgcolor</tabstop>
|
||||
<tabstop>view</tabstop>
|
||||
<tabstop>toolButton_5</tabstop>
|
||||
<tabstop>scaleSlider</tabstop>
|
||||
<tabstop>toolButton_4</tabstop>
|
||||
<tabstop>toolButton</tabstop>
|
||||
<tabstop>rotateSlider</tabstop>
|
||||
<tabstop>toolButton_2</tabstop>
|
||||
</tabstops>
|
||||
<resources>
|
||||
<include location="resources.qrc" />
|
||||
|
@ -125,11 +125,22 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags fl)
|
||||
connect(btnSave, SIGNAL(clicked( bool )), SLOT(save()));
|
||||
connect(spnScale, SIGNAL(valueChanged( double )), SLOT(change_print_scale()));
|
||||
connect(btnExit, SIGNAL(clicked( bool )), SLOT(quit_now()));
|
||||
connect(btnReset, SIGNAL(clicked( bool )), SLOT(reset_view()));
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::reset_view()
|
||||
{
|
||||
scaleSlider->setSliderPosition( 100 );
|
||||
rotateSlider->setSliderPosition( 0 );
|
||||
m_fgcolor=qRgb(0,0,0);
|
||||
m_bgcolor=qRgb(0xff,0xff,0xff);
|
||||
update_preview();
|
||||
}
|
||||
|
||||
void MainWindow::scaleRotate()
|
||||
{
|
||||
view->resetTransform();
|
||||
|
@ -122,6 +122,7 @@ private slots:
|
||||
bool save();
|
||||
void about();
|
||||
void quit_now();
|
||||
void reset_view();
|
||||
|
||||
private:
|
||||
/* void createActions();
|
||||
|
Loading…
Reference in New Issue
Block a user