Polish the GUI a bit

This commit is contained in:
hooper114 2009-07-16 12:59:22 +00:00
parent d0f4858762
commit f2e67de4ea
18 changed files with 552 additions and 427 deletions

View File

@ -18,7 +18,7 @@
<item row="0" column="0" >
<widget class="QRadioButton" name="radAztecAuto" >
<property name="text" >
<string>Automatic Resizing</string>
<string>A&amp;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&amp;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 &amp;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 &amp;GS-1 Data</string>
</property>
</widget>
</item>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpC128</class>
<widget class="QWidget" name="grpC128">
<property name="geometry">
<widget class="QWidget" name="grpC128" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,63 +9,63 @@
<height>156</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC128Stand">
<property name="text">
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QRadioButton" name="radC128Stand" >
<property name="text" >
<string>S&amp;tandard</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radC128CSup">
<property name="text">
<item row="0" column="1" >
<widget class="QRadioButton" name="radC128CSup" >
<property name="text" >
<string>Subset &amp;C Supression</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radC128EAN">
<property name="text">
<item row="1" column="0" >
<widget class="QRadioButton" name="radC128EAN" >
<property name="text" >
<string>&amp;GS1-128</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="radC128HIBC">
<property name="text">
<item row="1" column="1" >
<widget class="QRadioButton" name="radC128HIBC" >
<property name="text" >
<string>&amp;HIBC 128</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="lblC128">
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
<item row="2" column="0" colspan="2" >
<widget class="QLabel" name="lblC128" >
<property name="text" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Note: Composite symbols require a&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;GS1-128 linear component.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
&lt;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&lt;/p>
&lt;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.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>43</height>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpC16k</class>
<widget class="QWidget" name="grpC16k">
<property name="geometry">
<widget class="QWidget" name="grpC16k" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,33 +9,33 @@
<height>123</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QRadioButton" name="radC16kStand">
<property name="text">
<string>Standard Mode</string>
<widget class="QRadioButton" name="radC16kStand" >
<property name="text" >
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC16kGS1">
<property name="text">
<string>GS-1 Data Mode</string>
<widget class="QRadioButton" name="radC16kGS1" >
<property name="text" >
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>60</height>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpC39</class>
<widget class="QWidget" name="grpC39">
<property name="geometry">
<widget class="QWidget" name="grpC39" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,40 +9,40 @@
<height>131</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QRadioButton" name="radC39Stand">
<property name="text">
<string>No Check Digit</string>
<widget class="QRadioButton" name="radC39Stand" >
<property name="text" >
<string>&amp;No Check Digit</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC39Check">
<property name="text">
<string>Mod-43 Check Digit</string>
<widget class="QRadioButton" name="radC39Check" >
<property name="text" >
<string>&amp;Mod-43 Check Digit</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC39HIBC">
<property name="text">
<string>HIBC 39</string>
<widget class="QRadioButton" name="radC39HIBC" >
<property name="text" >
<string>&amp;HIBC 39</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>42</height>

View File

@ -16,7 +16,7 @@
<item>
<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>
@ -26,7 +26,7 @@
<item>
<widget class="QRadioButton" name="radC49GS1" >
<property name="text" >
<string>GS-1 Data Mode</string>
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
@ -44,8 +44,6 @@
</spacer>
</item>
</layout>
<zorder>radC49Stand</zorder>
<zorder>radC49GS1</zorder>
</widget>
<resources/>
<connections/>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpChannel</class>
<widget class="QWidget" name="grpChannel">
<property name="geometry">
<widget class="QWidget" name="grpChannel" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,56 +9,59 @@
<height>78</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QLabel" name="lblChannel">
<property name="text">
<string>Number of Channels:</string>
<widget class="QLabel" name="lblChannel" >
<property name="text" >
<string>&amp;Number of Channels:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>cmbChannel</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbChannel">
<widget class="QComboBox" name="cmbChannel" >
<item>
<property name="text">
<property name="text" >
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>3</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>4</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>5</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>6</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>7</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>8</string>
</property>
</item>
@ -68,11 +70,11 @@
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>30</height>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpCodablock</class>
<widget class="QWidget" name="grpCodablock">
<property name="geometry">
<widget class="QWidget" name="grpCodablock" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,40 +9,40 @@
<height>118</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QRadioButton" name="radCodaStand">
<property name="text">
<string>Standard Mode</string>
<widget class="QRadioButton" name="radCodaStand" >
<property name="text" >
<string>S&amp;tandard Mode</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radCodaGS1">
<property name="text">
<string>GS-1 Data Mode</string>
<widget class="QRadioButton" name="radCodaGS1" >
<property name="text" >
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radCodaHIBC">
<property name="text">
<string>HIBC Codablock-F</string>
<widget class="QRadioButton" name="radCodaHIBC" >
<property name="text" >
<string>&amp;HIBC Codablock-F</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>29</height>

View File

@ -18,10 +18,13 @@
<item>
<widget class="QLabel" name="lblChannel" >
<property name="text" >
<string>Symbol Size:</string>
<string>S&amp;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&amp;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>&amp;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>

View File

@ -20,7 +20,7 @@
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Encoding Mode:</string>
<string>Encoding &amp;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&amp;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&amp;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>&amp;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>&amp;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&amp;ze:</string>
</property>
<property name="buddy" >
<cstring>cmbDM200Size</cstring>
</property>
</widget>
</item>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpMQR</class>
<widget class="QWidget" name="grpMQR">
<property name="geometry">
<widget class="QWidget" name="grpMQR" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,80 +9,80 @@
<height>159</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radMQRAuto">
<property name="text">
<string>Automatic Resizing</string>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QRadioButton" name="radMQRAuto" >
<property name="text" >
<string>A&amp;utomatic Resizing</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radMQRSize">
<property name="text">
<string>Adjust Size To:</string>
<item row="1" column="0" >
<widget class="QRadioButton" name="radMQRSize" >
<property name="text" >
<string>Adjust Si&amp;ze To:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbMQRSize">
<property name="enabled">
<item row="1" column="1" >
<widget class="QComboBox" name="cmbMQRSize" >
<property name="enabled" >
<bool>false</bool>
</property>
<item>
<property name="text">
<property name="text" >
<string>11 x 11 (Version M1)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>13 x 13 (Version M2)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>15 x 15 (Version M3)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>17 x 17 (Version M4)</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="radMQRECC">
<property name="text">
<string>Add Error Correction:</string>
<item row="2" column="0" >
<widget class="QRadioButton" name="radMQRECC" >
<property name="text" >
<string>Add &amp;Error Correction:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="cmbMQRECC">
<property name="enabled">
<item row="2" column="1" >
<widget class="QComboBox" name="cmbMQRECC" >
<property name="enabled" >
<bool>false</bool>
</property>
<item>
<property name="text">
<property name="text" >
<string>~20% (Level L)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>~37% (Level M)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>~55% (Level Q)</string>
</property>
</item>
@ -92,11 +91,11 @@
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>50</height>
@ -114,11 +113,11 @@
<receiver>cmbMQRSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<hint type="sourcelabel" >
<x>98</x>
<y>54</y>
</hint>
<hint type="destinationlabel">
<hint type="destinationlabel" >
<x>279</x>
<y>53</y>
</hint>
@ -130,11 +129,11 @@
<receiver>cmbMQRECC</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<hint type="sourcelabel" >
<x>114</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<hint type="destinationlabel" >
<x>279</x>
<y>89</y>
</hint>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpMSICheck</class>
<widget class="QWidget" name="grpMSICheck">
<property name="geometry">
<widget class="QWidget" name="grpMSICheck" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,46 +9,49 @@
<height>79</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QLabel" name="lblMSICheck">
<property name="text">
<string>Check Digit:</string>
<widget class="QLabel" name="lblMSICheck" >
<property name="text" >
<string>&amp;Check Digit:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>cmbMSICheck</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbMSICheck">
<widget class="QComboBox" name="cmbMSICheck" >
<item>
<property name="text">
<property name="text" >
<string>None</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>Mod-10</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>Mod-10 &amp; Mod-10</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>Mod-11</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>Mod-11 &amp; Mod-10</string>
</property>
</item>
@ -58,11 +60,11 @@
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>31</height>

View File

@ -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 &amp;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>&amp;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>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpMicroPDF</class>
<widget class="QWidget" name="grpMicroPDF">
<property name="geometry">
<widget class="QWidget" name="grpMicroPDF" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,76 +9,79 @@
<height>100</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="lblMPDFCols">
<property name="text">
<string>Number of Data Columns:</string>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="lblMPDFCols" >
<property name="text" >
<string>&amp;Number of Data Columns:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>cmbMPDFCols</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="cmbMPDFCols">
<item row="0" column="2" >
<widget class="QComboBox" name="cmbMPDFCols" >
<item>
<property name="text">
<property name="text" >
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>1</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>2</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>3</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>4</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radMPDFStand">
<property name="text">
<string>Standard</string>
<item row="1" column="0" >
<widget class="QRadioButton" name="radMPDFStand" >
<property name="text" >
<string>S&amp;tandard</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QRadioButton" name="radMPDFHIBC">
<property name="text">
<string>HIBC MicroPDF417</string>
<item row="1" column="1" colspan="2" >
<widget class="QRadioButton" name="radMPDFHIBC" >
<property name="text" >
<string>&amp;HIBC MicroPDF417</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>26</height>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpPDF417</class>
<widget class="QWidget" name="grpPDF417">
<property name="geometry">
<widget class="QWidget" name="grpPDF417" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,253 +9,259 @@
<height>223</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblPDFCols">
<property name="text">
<string>Number of Data Columns:</string>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="lblPDFCols" >
<property name="text" >
<string>&amp;Number of Data Columns:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>cmbPDFCols</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cmbPDFCols">
<item row="0" column="1" >
<widget class="QComboBox" name="cmbPDFCols" >
<item>
<property name="text">
<property name="text" >
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>1</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>2</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>3</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>4</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>5</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>6</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>7</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>8</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>9</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>10</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>11</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>12</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>13</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>14</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>15</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>16</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>17</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>18</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>19</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>20</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblPDFECC">
<property name="text">
<string>Error Correction Capacity:</string>
<item row="1" column="0" >
<widget class="QLabel" name="lblPDFECC" >
<property name="text" >
<string>&amp;Error Correction Capacity:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>cmbPDFECC</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbPDFECC">
<item row="1" column="1" >
<widget class="QComboBox" name="cmbPDFECC" >
<item>
<property name="text">
<property name="text" >
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>2 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>4 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>8 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>16 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>32 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>64 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>128 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>256 words</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>512 words</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lblPDFWords">
<property name="text">
<item row="2" column="0" >
<widget class="QLabel" name="lblPDFWords" >
<property name="text" >
<string>Ma&amp;ximum Codeword Lengh:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<property name="buddy" >
<cstring>codewords</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="codewords">
<property name="minimum">
<item row="2" column="1" >
<widget class="QSpinBox" name="codewords" >
<property name="minimum" >
<number>928</number>
</property>
<property name="maximum">
<property name="maximum" >
<number>1800</number>
</property>
<property name="value">
<property name="value" >
<number>928</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QRadioButton" name="radPDFStand">
<property name="text">
<string>Standard</string>
<item row="3" column="0" >
<widget class="QRadioButton" name="radPDFStand" >
<property name="text" >
<string>S&amp;tandard</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QRadioButton" name="radPDFHIBC">
<property name="text">
<string>HIBC PDF417</string>
<item row="3" column="1" >
<widget class="QRadioButton" name="radPDFHIBC" >
<property name="text" >
<string>&amp;HIBC PDF417</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QRadioButton" name="radPDFTruncated">
<property name="text">
<string>Truncated</string>
<item row="4" column="0" >
<widget class="QRadioButton" name="radPDFTruncated" >
<property name="text" >
<string>&amp;Truncated</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>52</height>

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<ui version="4.0" >
<class>grpQR</class>
<widget class="QWidget" name="grpQR">
<property name="geometry">
<widget class="QWidget" name="grpQR" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
@ -10,285 +9,285 @@
<height>171</height>
</rect>
</property>
<property name="windowTitle">
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radQRAuto">
<property name="text">
<string>Automatic Resizing</string>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QRadioButton" name="radQRAuto" >
<property name="text" >
<string>A&amp;utomatic Resizing</string>
</property>
<property name="checked">
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radQRSize">
<property name="text">
<string>Adjust Size To:</string>
<item row="1" column="0" >
<widget class="QRadioButton" name="radQRSize" >
<property name="text" >
<string>Adjust Si&amp;ze To:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbQRSize">
<property name="enabled">
<item row="1" column="1" >
<widget class="QComboBox" name="cmbQRSize" >
<property name="enabled" >
<bool>false</bool>
</property>
<item>
<property name="text">
<property name="text" >
<string>21 x 21 (Version 1)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>25 x 25 (Version 2)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>29 x 29 (Version 3)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>33 x 33 (Version 4)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>37 x 37 (Version 5)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>41 x 41 (Version 6)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>45 x 45 (Version 7)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>49 x 49 (Version 8)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>53 x 53 (Version 9)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>57 x 57 (Version 10)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>61 x 61 (Version 11)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>65 x 65 (Version 12)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>69 x 69 (Version 13)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>73 x 73 (Version 14)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>77 x 77 (Version 15)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>81 x 81 (Version 16)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>85 x 85 (Version 17)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>89 x 89 (Version 18)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>93 x 93 (Version 19)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>97 x 97 (Version 20)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>101 x 101 (Version 21)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>105 x 105 (Version 22)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>109 x 109 (Version 23)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>113 x 113 (Version 24)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>117 x 117 (Version 25)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>121 x 121 (Version 26)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>125 x 125 (Version 27)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>129 x 129 (Version 28)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>133 x 133 (Version 29)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>137 x 137 (Version 30)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>141 x 141 (Version 31)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>145 x 145 (Version 32)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>149 x 149 (Version 33)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>153 x 153 (Version 34)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>157 x 157 (Version 35)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>161x 161 (Version 36)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>165 x 165 (Version 37)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>169 x 169 (Version 38)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>173 x 173 (Version 39)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>177 x 177 (Version 40)</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="radQRECC">
<property name="text">
<string>Add Error Correction:</string>
<item row="2" column="0" >
<widget class="QRadioButton" name="radQRECC" >
<property name="text" >
<string>Add &amp;Error Correction:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="cmbQRECC">
<property name="enabled">
<item row="2" column="1" >
<widget class="QComboBox" name="cmbQRECC" >
<property name="enabled" >
<bool>false</bool>
</property>
<item>
<property name="text">
<property name="text" >
<string>~20% (Level L)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>~37% (Level M)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>~55% (Level Q)</string>
</property>
</item>
<item>
<property name="text">
<property name="text" >
<string>~65% (Level H)</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="chkQRHIBC">
<property name="text">
<string>HIBC QR Code</string>
<item row="3" column="0" >
<widget class="QCheckBox" name="chkQRHIBC" >
<property name="text" >
<string>&amp;HIBC QR Code</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>35</height>
@ -306,11 +305,11 @@
<receiver>cmbQRSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<hint type="sourcelabel" >
<x>89</x>
<y>39</y>
</hint>
<hint type="destinationlabel">
<hint type="destinationlabel" >
<x>255</x>
<y>46</y>
</hint>
@ -322,11 +321,11 @@
<receiver>cmbQRECC</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<hint type="sourcelabel" >
<x>95</x>
<y>79</y>
</hint>
<hint type="destinationlabel">
<hint type="destinationlabel" >
<x>308</x>
<y>79</y>
</hint>

View File

@ -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>&amp;Symbology:</string>
<string>S&amp;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>&amp;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>&amp;Add 2D Component</string>
<string>Add &amp;2D Component</string>
</property>
</widget>
</item>
@ -263,7 +290,7 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Component T&amp;ype:</string>
<string>Component &amp;Type:</string>
</property>
<property name="buddy" >
<cstring>cmbCompType</cstring>
@ -307,7 +334,7 @@
<bool>false</bool>
</property>
<property name="text" >
<string>&amp;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>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;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>&amp;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&amp;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>&amp;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>&amp;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&amp;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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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" />

View File

@ -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();

View File

@ -122,6 +122,7 @@ private slots:
bool save();
void about();
void quit_now();
void reset_view();
private:
/* void createActions();