GUI Tidy-Up

This commit is contained in:
hooper114 2009-11-03 10:52:34 +00:00
parent 242e57f536
commit 57c9ff012c
13 changed files with 1358 additions and 1322 deletions

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpAztec</class> <class>grpAztec</class>
<widget class="QWidget" name="grpAztec"> <widget class="QWidget" name="grpAztec">
@ -253,27 +254,50 @@
</item> </item>
</widget> </widget>
</item> </item>
<item row="3" column="0" > </layout>
<widget class="QCheckBox" name="chkAztecMode" > </item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Encoding Mode</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>453</width>
<height>71</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="0">
<widget class="QRadioButton" name="radAztecHIBC">
<property name="text"> <property name="text">
<string>Encode as &amp;GS-1 Data</string> <string>HIBC Aztec Code</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="radAztecGS1">
<property name="text">
<string>GS1 Data Mode</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radAztecStand">
<property name="text">
<string>Standard Mode</string>
</property>
<property name="checked">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </widget>
<item> </widget>
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>53</height>
</size>
</property>
</spacer>
</item> </item>
</layout> </layout>
</widget> </widget>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpC128</class> <class>grpC128</class>
<widget class="QWidget" name="grpC128"> <widget class="QWidget" name="grpC128">
@ -46,20 +47,20 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2" > </layout>
</item>
<item>
<widget class="QLabel" name="lblC128"> <widget class="QLabel" name="lblC128">
<property name="text"> <property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <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>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css"> &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;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> &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="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=&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="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> &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>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpC16k</class> <class>grpC16k</class>
<widget class="QWidget" name="grpC16k"> <widget class="QWidget" name="grpC16k">
@ -14,6 +15,8 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC16kStand"> <widget class="QRadioButton" name="radC16kStand">
<property name="text"> <property name="text">
<string>S&amp;tandard Mode</string> <string>S&amp;tandard Mode</string>
@ -23,13 +26,15 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0">
<widget class="QRadioButton" name="radC16kGS1"> <widget class="QRadioButton" name="radC16kGS1">
<property name="text"> <property name="text">
<string>&amp;GS-1 Data Mode</string> <string>&amp;GS-1 Data Mode</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
@ -38,7 +43,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>60</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpC39</class> <class>grpC39</class>
<widget class="QWidget" name="grpC39"> <widget class="QWidget" name="grpC39">
@ -5,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>200</width> <width>254</width>
<height>131</height> <height>131</height>
</rect> </rect>
</property> </property>
@ -14,6 +15,8 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC39Stand"> <widget class="QRadioButton" name="radC39Stand">
<property name="text"> <property name="text">
<string>&amp;No Check Digit</string> <string>&amp;No Check Digit</string>
@ -23,19 +26,21 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0">
<widget class="QRadioButton" name="radC39HIBC">
<property name="text">
<string>&amp;HIBC 39</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radC39Check"> <widget class="QRadioButton" name="radC39Check">
<property name="text"> <property name="text">
<string>&amp;Mod-43 Check Digit</string> <string>&amp;Mod-43 Check Digit</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> </layout>
<widget class="QRadioButton" name="radC39HIBC" >
<property name="text" >
<string>&amp;HIBC 39</string>
</property>
</widget>
</item> </item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
@ -45,7 +50,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>42</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpC16k</class> <class>grpC16k</class>
<widget class="QWidget" name="grpC16k"> <widget class="QWidget" name="grpC16k">
@ -14,6 +15,8 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC49Stand"> <widget class="QRadioButton" name="radC49Stand">
<property name="text"> <property name="text">
<string>S&amp;tandard Mode</string> <string>S&amp;tandard Mode</string>
@ -23,13 +26,15 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0">
<widget class="QRadioButton" name="radC49GS1"> <widget class="QRadioButton" name="radC49GS1">
<property name="text"> <property name="text">
<string>&amp;GS-1 Data Mode</string> <string>&amp;GS-1 Data Mode</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
@ -38,7 +43,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>60</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpCodablock</class> <class>grpCodablock</class>
<widget class="QWidget" name="grpCodablock"> <widget class="QWidget" name="grpCodablock">
@ -5,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>184</width> <width>372</width>
<height>118</height> <height>175</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -14,6 +15,8 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radCodaStand"> <widget class="QRadioButton" name="radCodaStand">
<property name="text"> <property name="text">
<string>S&amp;tandard Mode</string> <string>S&amp;tandard Mode</string>
@ -23,19 +26,21 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0">
<widget class="QRadioButton" name="radCodaHIBC">
<property name="text">
<string>&amp;HIBC Codablock-F</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radCodaGS1"> <widget class="QRadioButton" name="radCodaGS1">
<property name="text"> <property name="text">
<string>&amp;GS-1 Data Mode</string> <string>&amp;GS-1 Data Mode</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> </layout>
<widget class="QRadioButton" name="radCodaHIBC" >
<property name="text" >
<string>&amp;HIBC Codablock-F</string>
</property>
</widget>
</item> </item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
@ -45,7 +50,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>29</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpChannel</class> <class>grpChannel</class>
<widget class="QWidget" name="grpChannel"> <widget class="QWidget" name="grpChannel">
@ -14,8 +15,8 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout" > <layout class="QGridLayout" name="gridLayout">
<item> <item row="0" column="0">
<widget class="QLabel" name="lblChannel"> <widget class="QLabel" name="lblChannel">
<property name="text"> <property name="text">
<string>S&amp;ymbol Size:</string> <string>S&amp;ymbol Size:</string>
@ -28,7 +29,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QComboBox" name="cmbC1Size"> <widget class="QComboBox" name="cmbC1Size">
<item> <item>
<property name="text"> <property name="text">
@ -87,9 +88,7 @@
</item> </item>
</widget> </widget>
</item> </item>
</layout> <item row="1" column="0">
</item>
<item>
<widget class="QRadioButton" name="radC1Stand"> <widget class="QRadioButton" name="radC1Stand">
<property name="text"> <property name="text">
<string>S&amp;tandard Mode</string> <string>S&amp;tandard Mode</string>
@ -99,13 +98,15 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="0">
<widget class="QRadioButton" name="radC1GS1"> <widget class="QRadioButton" name="radC1GS1">
<property name="text"> <property name="text">
<string>&amp;GS-1 Data Mode</string> <string>&amp;GS-1 Data Mode</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
@ -114,18 +115,13 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>30</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
</layout> </layout>
</widget> </widget>
<tabstops>
<tabstop>cmbC1Size</tabstop>
<tabstop>radC1Stand</tabstop>
<tabstop>radC1GS1</tabstop>
</tabstops>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>410</width> <width>463</width>
<height>339</height> <height>339</height>
</rect> </rect>
</property> </property>
@ -15,8 +15,6 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
@ -64,7 +62,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0"> <item>
<widget class="QGroupBox" name="grpDMNon200"> <widget class="QGroupBox" name="grpDMNon200">
<property name="title"> <property name="title">
<string>Non ECC 200 Options</string> <string>Non ECC 200 Options</string>
@ -200,13 +198,15 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item>
<widget class="QGroupBox" name="grpDM200"> <widget class="QGroupBox" name="grpDM200">
<property name="title"> <property name="title">
<string>ECC 200 Options</string> <string>ECC 200 Options</string>
</property> </property>
<layout class="QVBoxLayout" name="virticalInner">
<item>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="1" column="0">
<widget class="QRadioButton" name="radDM200Stand"> <widget class="QRadioButton" name="radDM200Stand">
<property name="text"> <property name="text">
<string>S&amp;tandard</string> <string>S&amp;tandard</string>
@ -216,21 +216,21 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item row="1" column="1">
<widget class="QRadioButton" name="radDM200HIBC"> <widget class="QRadioButton" name="radDM200HIBC">
<property name="text"> <property name="text">
<string>&amp;HIBC Data Matrix</string> <string>&amp;HIBC Data Matrix</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="2" column="0">
<widget class="QRadioButton" name="radDM200GS1"> <widget class="QRadioButton" name="radDM200GS1">
<property name="text"> <property name="text">
<string>&amp;GS-1 Data Mode</string> <string>&amp;GS-1 Data Mode</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="0" column="0">
<widget class="QLabel" name="lblDM200Size"> <widget class="QLabel" name="lblDM200Size">
<property name="text"> <property name="text">
<string>Si&amp;ze:</string> <string>Si&amp;ze:</string>
@ -240,7 +240,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" colspan="2"> <item row="0" column="1">
<widget class="QComboBox" name="cmbDM200Size"> <widget class="QComboBox" name="cmbDM200Size">
<item> <item>
<property name="text"> <property name="text">
@ -399,7 +399,9 @@
</item> </item>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="3"> </layout>
</item>
<item>
<widget class="QCheckBox" name="chkDMRectangle"> <widget class="QCheckBox" name="chkDMRectangle">
<property name="text"> <property name="text">
<string>Suppress Rectangular Symbols in Automatic Mode</string> <string>Suppress Rectangular Symbols in Automatic Mode</string>
@ -412,8 +414,6 @@
</layout> </layout>
</widget> </widget>
</item> </item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
@ -422,7 +422,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>71</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>

View File

@ -1,37 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>Form</class> <class>grpMicroPDF</class>
<widget class="QWidget" name="Form" > <widget class="QWidget" name="grpMicroPDF">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>436</width> <width>532</width>
<height>180</height> <height>251</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<widget class="QWidget" name="gridLayoutWidget" > <layout class="QVBoxLayout" name="verticalLayout">
<property name="geometry" > <item>
<rect>
<x>18</x>
<y>15</y>
<width>413</width>
<height>69</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblMaxiMode">
<property name="text">
<string>Encoding &amp;Mode:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>cmbMaxiMode</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblMaxiPrimary">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Primary Data:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>txtMaxiPrimary</cstring>
</property>
</widget>
</item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="cmbMaxiMode"> <widget class="QComboBox" name="cmbMaxiMode">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" > <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -67,7 +84,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" > <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -77,38 +94,23 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > </layout>
<widget class="QLabel" name="lblMaxiMode" >
<property name="text" >
<string>Encoding &amp;Mode:</string>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>cmbMaxiMode</cstring>
</property>
</widget>
</item> </item>
<item row="1" column="0" > <item>
<widget class="QLabel" name="lblMaxiPrimary" > <spacer name="verticalSpacer">
<property name="enabled" > <property name="orientation">
<bool>false</bool> <enum>Qt::Vertical</enum>
</property> </property>
<property name="text" > <property name="sizeHint" stdset="0">
<string>&amp;Primary Data:</string> <size>
<width>20</width>
<height>40</height>
</size>
</property> </property>
<property name="alignment" > </spacer>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>txtMaxiPrimary</cstring>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>grpMicroPDF</class> <class>grpMicroPDF</class>
<widget class="QWidget" name="grpMicroPDF"> <widget class="QWidget" name="grpMicroPDF">
@ -5,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>351</width> <width>763</width>
<height>100</height> <height>376</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -15,7 +16,7 @@
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2" > <item row="0" column="0">
<widget class="QLabel" name="lblMPDFCols"> <widget class="QLabel" name="lblMPDFCols">
<property name="text"> <property name="text">
<string>&amp;Number of Data Columns:</string> <string>&amp;Number of Data Columns:</string>
@ -67,7 +68,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" colspan="2" > <item row="2" column="0">
<widget class="QRadioButton" name="radMPDFHIBC"> <widget class="QRadioButton" name="radMPDFHIBC">
<property name="text"> <property name="text">
<string>&amp;HIBC MicroPDF417</string> <string>&amp;HIBC MicroPDF417</string>
@ -84,7 +85,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>26</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>441</width> <width>441</width>
<height>208</height> <height>238</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -287,15 +287,18 @@
<property name="title"> <property name="title">
<string>Data Encoding</string> <string>Data Encoding</string>
</property> </property>
<widget class="QRadioButton" name="radQRStand"> <widget class="QWidget" name="gridLayoutWidget">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>17</y> <y>30</y>
<width>102</width> <width>411</width>
<height>24</height> <height>80</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QRadioButton" name="radQRStand">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@ -303,52 +306,32 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>S&amp;tandard</string> <string>S&amp;tandard Mode</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="radQRHIBC"> <widget class="QRadioButton" name="radQRHIBC">
<property name="geometry">
<rect>
<x>200</x>
<y>14</y>
<width>142</width>
<height>24</height>
</rect>
</property>
<property name="text"> <property name="text">
<string>&amp;HIBC QR Code</string> <string>&amp;HIBC QR Code</string>
</property> </property>
</widget> </widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radQRGS1"> <widget class="QRadioButton" name="radQRGS1">
<property name="geometry">
<rect>
<x>9</x>
<y>41</y>
<width>151</width>
<height>24</height>
</rect>
</property>
<property name="text"> <property name="text">
<string>&amp;GS-1 Data Mode</string> <string>&amp;GS-1 Data Mode</string>
</property> </property>
</widget> </widget>
</widget>
</item> </item>
<item> </layout>
<spacer name="verticalSpacer"> </widget>
<property name="orientation"> <zorder>gridLayoutWidget</zorder>
<enum>Qt::Vertical</enum> <zorder></zorder>
</property> </widget>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>35</height>
</size>
</property>
</spacer>
</item> </item>
</layout> </layout>
</widget> </widget>

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>749</width> <width>749</width>
<height>650</height> <height>711</height>
</rect> </rect>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
@ -26,15 +26,9 @@
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">background-image: url(:/blueback.png);</string> <string notr="true">background-image: url(:/blueback.png);</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QGroupBox" name="groupPreview"> <widget class="QGroupBox" name="groupPreview">
<property name="geometry">
<rect>
<x>9</x>
<y>9</y>
<width>731</width>
<height>312</height>
</rect>
</property>
<property name="autoFillBackground"> <property name="autoFillBackground">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -166,15 +160,8 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="horizontalLayoutWidget"> </item>
<property name="geometry"> <item>
<rect>
<x>10</x>
<y>340</y>
<width>731</width>
<height>299</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum> <enum>QLayout::SetMaximumSize</enum>
@ -232,7 +219,7 @@
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="tabGeneral"> <widget class="QWidget" name="tabGeneral">
<attribute name="title"> <attribute name="title">
@ -404,8 +391,8 @@
<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; <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; &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;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt; &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif';&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="acceptRichText"> <property name="acceptRichText">
<bool>false</bool> <bool>false</bool>
@ -417,6 +404,19 @@ p, li { white-space: pre-wrap; }
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tabAppear"> <widget class="QWidget" name="tabAppear">
@ -425,9 +425,7 @@ p, li { white-space: pre-wrap; }
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QGridLayout" name="gridLayout">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
@ -454,6 +452,51 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0">
<widget class="QLabel" name="lblWhitespace">
<property name="text">
<string>&amp;Whitespace:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnWhitespace</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="lblScale">
<property name="text">
<string>&amp;Printing Scale:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnScale</cstring>
</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>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QSpinBox" name="bwidth"> <widget class="QSpinBox" name="bwidth">
<property name="toolTip"> <property name="toolTip">
@ -473,19 +516,6 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0">
<widget class="QLabel" name="lblWhitespace">
<property name="text">
<string>&amp;Whitespace:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnWhitespace</cstring>
</property>
</widget>
</item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QSpinBox" name="spnWhitespace"> <widget class="QSpinBox" name="spnWhitespace">
<property name="toolTip"> <property name="toolTip">
@ -496,19 +526,6 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0">
<widget class="QLabel" name="lblScale">
<property name="text">
<string>&amp;Printing Scale:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnScale</cstring>
</property>
</widget>
</item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QDoubleSpinBox" name="spnScale"> <widget class="QDoubleSpinBox" name="spnScale">
<property name="toolTip"> <property name="toolTip">
@ -534,30 +551,7 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="2">
<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>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="label_9"> <widget class="QLabel" name="label_9">
<property name="text"> <property name="text">
<string>Border Ty&amp;pe:</string> <string>Border Ty&amp;pe:</string>
@ -570,7 +564,7 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="3">
<widget class="QComboBox" name="btype"> <widget class="QComboBox" name="btype">
<item> <item>
<property name="text"> <property name="text">
@ -589,7 +583,14 @@ p, li { white-space: pre-wrap; }
</item> </item>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="1" column="3">
<widget class="QPushButton" name="fgcolor">
<property name="text">
<string>&amp;Foreground Colour</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="bgcolor"> <widget class="QPushButton" name="bgcolor">
<property name="toolTip"> <property name="toolTip">
<string/> <string/>
@ -599,17 +600,18 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2"> </layout>
<widget class="QPushButton" name="fgcolor"> </item>
<item>
<widget class="QCheckBox" name="chkHRTHide">
<property name="text"> <property name="text">
<string>&amp;Foreground Colour</string> <string>Show Human Readable Text</string>
</property>
<property name="checked">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
@ -618,7 +620,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>228</height> <height>40</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -688,7 +690,8 @@ p, li { white-space: pre-wrap; }
</layout> </layout>
</item> </item>
</layout> </layout>
</widget> </item>
</layout>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>tabMain</tabstop> <tabstop>tabMain</tabstop>
@ -700,13 +703,6 @@ p, li { white-space: pre-wrap; }
<tabstop>btnReset</tabstop> <tabstop>btnReset</tabstop>
<tabstop>btnSave</tabstop> <tabstop>btnSave</tabstop>
<tabstop>btnExit</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>view</tabstop>
<tabstop>toolButton_5</tabstop> <tabstop>toolButton_5</tabstop>
<tabstop>scaleSlider</tabstop> <tabstop>scaleSlider</tabstop>

View File

@ -131,6 +131,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags fl)
connect(btnReset, SIGNAL(clicked( bool )), SLOT(reset_view())); connect(btnReset, SIGNAL(clicked( bool )), SLOT(reset_view()));
connect(btnMoreData, SIGNAL(clicked( bool )), SLOT(open_data_dialog())); connect(btnMoreData, SIGNAL(clicked( bool )), SLOT(open_data_dialog()));
connect(btnSequence, SIGNAL(clicked( bool )), SLOT(open_sequence_dialog())); connect(btnSequence, SIGNAL(clicked( bool )), SLOT(open_sequence_dialog()));
connect(chkHRTHide, SIGNAL(stateChanged( int )), SLOT(update_preview()));
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
@ -174,18 +175,22 @@ bool MainWindow::save()
void MainWindow::about() void MainWindow::about()
{ {
QMessageBox::about(this, tr("About Zint"), QMessageBox::about(this, tr("About Zint"),
tr("<h2>Zint Barcode Studio 1.0.1</h2>" tr("<h2>Zint Barcode Studio 2.3</h2>"
"<p>A simple barcode generator" "<p>A free barcode generator"
"<p>Requires libzint 2.2.2 or greater."
"<p><font color=\"#ff0000\">WARNING!</font> This release is a work-in-progress and should be considered as \"unstable\". "
"Although most things should work fine it has not yet been thoroughly tested. In particular using "
"input characters outside the 7-bit ASCII set could lead to unpredictable results."
"<p>Visit the <a href=\"http://www.zint.org.uk\">Zint Project Homepage</a> for more information." "<p>Visit the <a href=\"http://www.zint.org.uk\">Zint Project Homepage</a> for more information."
"<p>Copyright &copy; 2009 Robin Stuart &amp; Bogdan Vatra.<br>" "<p>Copyright &copy; 2009 Robin Stuart.<br>"
"QR Code support by Kentaro Fukuchi.<br>" "Qt4 code by BogDan Vatra, MS Windows port by \"tgotic\".<br>"
"Released under the GNU General Public License ver. 3 or later" "With thanks to Norbert Szab&oacute;, and Robert Elliott."
"<p>\"QR Code\" is a Registered Trademark of Denso Corp.<br>" "<p>Released under the GNU General Public License ver. 3 or later.<br>"
"\"QR Code\" is a Registered Trademark of Denso Corp.<br>"
"\"Telepen\" is a Registered Trademark of SB Electronics." "\"Telepen\" is a Registered Trademark of SB Electronics."
"<p><table border=1><tr><td><small>Currently supported standards include:<br>"
"EN 797:1996, EN 798:1996, EN 12323:2005, ISO/IEC 15417:2007,<br>"
"ISO/IEC 15438:2006, ISO/IEC 16022:2006, ISO/IEC 16023:2000,<br>"
"ISO/IEC 16388:2007, ISO/IEC 18004:2006, ISO/IEC 24723:2006,<br>"
"ISO/IEC 24724:2006, ISO/IEC 24728:2006, ISO/IEC 24778:2008,<br>"
"ANSI-HIBC 2.3-2009, ANSI/AIM BC6-2000, ANSI/AIM BC12-1998,<br>"
"AIMD014 (v 1.63), USPS-B-3200</small></td></tr></table>"
)); ));
} }
@ -296,7 +301,9 @@ void MainWindow::change_options()
connect(m_optionWidget->findChild<QObject*>("radAztecECC"), SIGNAL(clicked( bool )), SLOT(update_preview())); connect(m_optionWidget->findChild<QObject*>("radAztecECC"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbAztecSize"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview())); connect(m_optionWidget->findChild<QObject*>("cmbAztecSize"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("cmbAztecECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview())); connect(m_optionWidget->findChild<QObject*>("cmbAztecECC"), SIGNAL(currentIndexChanged( int )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("chkAztecMode"), SIGNAL(stateChanged( int )), SLOT(update_preview())); connect(m_optionWidget->findChild<QObject*>("radAztecStand"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radAztecGS1"), SIGNAL(clicked( bool )), SLOT(update_preview()));
connect(m_optionWidget->findChild<QObject*>("radAztecHIBC"), SIGNAL(clicked( bool )), SLOT(update_preview()));
} }
if(metaObject()->enumerator(0).value(bstyle->currentIndex()) == BARCODE_MSI_PLESSEY) if(metaObject()->enumerator(0).value(bstyle->currentIndex()) == BARCODE_MSI_PLESSEY)
@ -567,6 +574,10 @@ void MainWindow::update_preview()
m_bc.bc.setSecurityLevel(0); m_bc.bc.setSecurityLevel(0);
m_bc.bc.setWidth(0); m_bc.bc.setWidth(0);
m_bc.bc.setInputMode(UNICODE_MODE); m_bc.bc.setInputMode(UNICODE_MODE);
m_bc.bc.setHideText(FALSE);
if(chkHRTHide->isChecked() == false) {
m_bc.bc.setHideText(TRUE);
}
switch(metaObject()->enumerator(0).value(bstyle->currentIndex())) switch(metaObject()->enumerator(0).value(bstyle->currentIndex()))
{ {
case BARCODE_CODE128: case BARCODE_CODE128:
@ -682,8 +693,10 @@ void MainWindow::update_preview()
if(m_optionWidget->findChild<QRadioButton*>("radAztecECC")->isChecked()) if(m_optionWidget->findChild<QRadioButton*>("radAztecECC")->isChecked())
m_bc.bc.setSecurityLevel(m_optionWidget->findChild<QComboBox*>("cmbAztecECC")->currentIndex() + 1); m_bc.bc.setSecurityLevel(m_optionWidget->findChild<QComboBox*>("cmbAztecECC")->currentIndex() + 1);
if(m_optionWidget->findChild<QCheckBox*>("chkAztecMode")->isChecked()) if(m_optionWidget->findChild<QRadioButton*>("radAztecGS1")->isChecked())
m_bc.bc.setInputMode(GS1_MODE); m_bc.bc.setInputMode(GS1_MODE);
if(m_optionWidget->findChild<QRadioButton*>("radAztecHIBC")->isChecked())
m_bc.bc.setSymbol(BARCODE_HIBC_AZTEC);
break; break;
case MSI_PLESSEY: case MSI_PLESSEY: