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,7 +1,8 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpAztec</class> <class>grpAztec</class>
<widget class="QWidget" name="grpAztec" > <widget class="QWidget" name="grpAztec">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,271 +10,294 @@
<height>237</height> <height>237</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<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" > <item row="0" column="0">
<widget class="QRadioButton" name="radAztecAuto" > <widget class="QRadioButton" name="radAztecAuto">
<property name="text" > <property name="text">
<string>A&amp;utomatic Resizing</string> <string>A&amp;utomatic Resizing</string>
</property> </property>
<property name="checked" > <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QRadioButton" name="radAztecSize" > <widget class="QRadioButton" name="radAztecSize">
<property name="text" > <property name="text">
<string>Adjust Si&amp;ze To:</string> <string>Adjust Si&amp;ze To:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="1" column="1">
<widget class="QComboBox" name="cmbAztecSize" > <widget class="QComboBox" name="cmbAztecSize">
<property name="enabled" > <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<item> <item>
<property name="text" > <property name="text">
<string>15 x 15 Compact</string> <string>15 x 15 Compact</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>19 x 19 Compact</string> <string>19 x 19 Compact</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>23 x 23 Compact</string> <string>23 x 23 Compact</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>27 x 27 Compact</string> <string>27 x 27 Compact</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>19 x 19</string> <string>19 x 19</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>23 x 23</string> <string>23 x 23</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>27 x 27</string> <string>27 x 27</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>31 x 31</string> <string>31 x 31</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>37 x 37</string> <string>37 x 37</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>41 x 41</string> <string>41 x 41</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>45 x 45</string> <string>45 x 45</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>49 x 49</string> <string>49 x 49</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>53 x 53</string> <string>53 x 53</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>57 x 57</string> <string>57 x 57</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>61 x 61</string> <string>61 x 61</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>67 x 67</string> <string>67 x 67</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>71 x 71</string> <string>71 x 71</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>75 x 75</string> <string>75 x 75</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>79 x 79</string> <string>79 x 79</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>83 x 83</string> <string>83 x 83</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>87 x 87</string> <string>87 x 87</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>91 x 91</string> <string>91 x 91</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>95 x 95</string> <string>95 x 95</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>101 x 101</string> <string>101 x 101</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>105 x 105</string> <string>105 x 105</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>109 x 109</string> <string>109 x 109</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>113 x 113</string> <string>113 x 113</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>117 x 117</string> <string>117 x 117</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>121 x 121</string> <string>121 x 121</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>125 x 125</string> <string>125 x 125</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>131 x 131</string> <string>131 x 131</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>135 x 135</string> <string>135 x 135</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>139 x 139</string> <string>139 x 139</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>143 x 143</string> <string>143 x 143</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>147 x 147</string> <string>147 x 147</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>151 x 151</string> <string>151 x 151</string>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="2" column="0">
<widget class="QRadioButton" name="radAztecECC" > <widget class="QRadioButton" name="radAztecECC">
<property name="text" > <property name="text">
<string>Add Minimum &amp;Error Correction:</string> <string>Add Minimum &amp;Error Correction:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" > <item row="2" column="1">
<widget class="QComboBox" name="cmbAztecECC" > <widget class="QComboBox" name="cmbAztecECC">
<property name="enabled" > <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<item> <item>
<property name="text" > <property name="text">
<string>10% + 3 words</string> <string>10% + 3 words</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>23% + 3 words</string> <string>23% + 3 words</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>36% + 3 words</string> <string>36% + 3 words</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>50% + 3 words</string> <string>50% + 3 words</string>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item row="3" column="0" > </layout>
<widget class="QCheckBox" name="chkAztecMode" > </item>
<property name="text" > <item>
<string>Encode as &amp;GS-1 Data</string> <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">
<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>
@ -285,11 +309,11 @@
<receiver>cmbAztecSize</receiver> <receiver>cmbAztecSize</receiver>
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>85</x> <x>85</x>
<y>47</y> <y>47</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>331</x> <x>331</x>
<y>47</y> <y>47</y>
</hint> </hint>
@ -301,11 +325,11 @@
<receiver>cmbAztecECC</receiver> <receiver>cmbAztecECC</receiver>
<slot>setEnabled(bool)</slot> <slot>setEnabled(bool)</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>200</x> <x>200</x>
<y>80</y> <y>80</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>366</x> <x>366</x>
<y>80</y> <y>80</y>
</hint> </hint>

View File

@ -1,7 +1,8 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpC128</class> <class>grpC128</class>
<widget class="QWidget" name="grpC128" > <widget class="QWidget" name="grpC128">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,63 +10,63 @@
<height>156</height> <height>156</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<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" > <item row="0" column="0">
<widget class="QRadioButton" name="radC128Stand" > <widget class="QRadioButton" name="radC128Stand">
<property name="text" > <property name="text">
<string>S&amp;tandard</string> <string>S&amp;tandard</string>
</property> </property>
<property name="checked" > <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1">
<widget class="QRadioButton" name="radC128CSup" > <widget class="QRadioButton" name="radC128CSup">
<property name="text" > <property name="text">
<string>Subset &amp;C Supression</string> <string>Subset &amp;C Supression</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QRadioButton" name="radC128EAN" > <widget class="QRadioButton" name="radC128EAN">
<property name="text" > <property name="text">
<string>&amp;GS1-128</string> <string>&amp;GS1-128</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="1" column="1">
<widget class="QRadioButton" name="radC128HIBC" > <widget class="QRadioButton" name="radC128HIBC">
<property name="text" > <property name="text">
<string>&amp;HIBC 128</string> <string>&amp;HIBC 128</string>
</property> </property>
</widget> </widget>
</item> </item>
<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>&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> </layout>
</item> </item>
<item> <item>
<spacer name="verticalSpacer" > <widget class="QLabel" name="lblC128">
<property name="orientation" > <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;
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>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>43</height> <height>43</height>

View File

@ -1,7 +1,8 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpC16k</class> <class>grpC16k</class>
<widget class="QWidget" name="grpC16k" > <widget class="QWidget" name="grpC16k">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,36 +10,40 @@
<height>123</height> <height>123</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout" > <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QRadioButton" name="radC16kStand" > <layout class="QGridLayout" name="gridLayout">
<property name="text" > <item row="0" column="0">
<widget class="QRadioButton" name="radC16kStand">
<property name="text">
<string>S&amp;tandard Mode</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>
<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">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<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,51 +1,56 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpC39</class> <class>grpC39</class>
<widget class="QWidget" name="grpC39" > <widget class="QWidget" name="grpC39">
<property name="geometry" > <property name="geometry">
<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>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout" > <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QRadioButton" name="radC39Stand" > <layout class="QGridLayout" name="gridLayout">
<property name="text" > <item row="0" column="0">
<widget class="QRadioButton" name="radC39Stand">
<property name="text">
<string>&amp;No Check Digit</string> <string>&amp;No Check Digit</string>
</property> </property>
<property name="checked" > <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0">
<widget class="QRadioButton" name="radC39Check" > <widget class="QRadioButton" name="radC39HIBC">
<property name="text" > <property name="text">
<string>&amp;Mod-43 Check Digit</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC39HIBC" >
<property name="text" >
<string>&amp;HIBC 39</string> <string>&amp;HIBC 39</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QRadioButton" name="radC39Check">
<property name="text">
<string>&amp;Mod-43 Check Digit</string>
</property>
</widget>
</item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer" > <spacer name="verticalSpacer">
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<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,7 +1,8 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpC16k</class> <class>grpC16k</class>
<widget class="QWidget" name="grpC16k" > <widget class="QWidget" name="grpC16k">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,36 +10,40 @@
<height>123</height> <height>123</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout" > <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QRadioButton" name="radC49Stand" > <layout class="QGridLayout" name="gridLayout">
<property name="text" > <item row="0" column="0">
<widget class="QRadioButton" name="radC49Stand">
<property name="text">
<string>S&amp;tandard Mode</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>
<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">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<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,51 +1,56 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpCodablock</class> <class>grpCodablock</class>
<widget class="QWidget" name="grpCodablock" > <widget class="QWidget" name="grpCodablock">
<property name="geometry" > <property name="geometry">
<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">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout" > <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QRadioButton" name="radCodaStand" > <layout class="QGridLayout" name="gridLayout">
<property name="text" > <item row="0" column="0">
<widget class="QRadioButton" name="radCodaStand">
<property name="text">
<string>S&amp;tandard Mode</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>
<item> <item row="1" column="0">
<widget class="QRadioButton" name="radCodaGS1" > <widget class="QRadioButton" name="radCodaHIBC">
<property name="text" > <property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radCodaHIBC" >
<property name="text" >
<string>&amp;HIBC Codablock-F</string> <string>&amp;HIBC Codablock-F</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QRadioButton" name="radCodaGS1">
<property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
</layout>
</item>
<item> <item>
<spacer name="verticalSpacer" > <spacer name="verticalSpacer">
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<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,7 +1,8 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpChannel</class> <class>grpChannel</class>
<widget class="QWidget" name="grpChannel" > <widget class="QWidget" name="grpChannel">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,123 +10,118 @@
<height>124</height> <height>124</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</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>
</property> </property>
<property name="alignment" > <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>cmbC1Size</cstring> <cstring>cmbC1Size</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QComboBox" name="cmbC1Size">
<item> <item>
<widget class="QComboBox" name="cmbC1Size" > <property name="text">
<item>
<property name="text" >
<string>Automatic</string> <string>Automatic</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>16 x 18 (Version A)</string> <string>16 x 18 (Version A)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>22 x 22 (Version B)</string> <string>22 x 22 (Version B)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>28 x 32 (Version C)</string> <string>28 x 32 (Version C)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>40 x 42 (Version D)</string> <string>40 x 42 (Version D)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>52 x 54 (Version E)</string> <string>52 x 54 (Version E)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>70 x 76 (Version F)</string> <string>70 x 76 (Version F)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>104 x 98 (Version G)</string> <string>104 x 98 (Version G)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>148 x 134 (Version H)</string> <string>148 x 134 (Version H)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>8X height (Version S)</string> <string>8X height (Version S)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>16X height (Version T)</string> <string>16X height (Version T)</string>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
</layout> <item row="1" column="0">
</item> <widget class="QRadioButton" name="radC1Stand">
<item> <property name="text">
<widget class="QRadioButton" name="radC1Stand" >
<property name="text" >
<string>S&amp;tandard Mode</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>
<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">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<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,114 +1,116 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<class>Form</class> <ui version="4.0">
<widget class="QWidget" name="Form" > <class>grpMicroPDF</class>
<property name="geometry" > <widget class="QWidget" name="grpMicroPDF">
<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" > <property name="windowTitle">
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<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> <layout class="QGridLayout" name="gridLayout">
<x>18</x> <item row="0" column="0">
<y>15</y> <widget class="QLabel" name="lblMaxiMode">
<width>413</width> <property name="text">
<height>69</height> <string>Encoding &amp;Mode:</string>
</rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout" > <property name="alignment">
<item row="0" column="1" > <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
<widget class="QComboBox" name="cmbMaxiMode" > </property>
<property name="sizePolicy" > <property name="buddy">
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" > <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">
<widget class="QComboBox" name="cmbMaxiMode">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="currentIndex" > <property name="currentIndex">
<number>1</number> <number>1</number>
</property> </property>
<item> <item>
<property name="text" > <property name="text">
<string>Structured Carrier Message (Mode 2 or 3)</string> <string>Structured Carrier Message (Mode 2 or 3)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>Standard Symbol, SEC (Mode 4)</string> <string>Standard Symbol, SEC (Mode 4)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>Full ECC Symbol (Mode 5)</string> <string>Full ECC Symbol (Mode 5)</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>Reader Program, SEC (Mode 6)</string> <string>Reader Program, SEC (Mode 6)</string>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="1" column="1">
<widget class="QLineEdit" name="txtMaxiPrimary" > <widget class="QLineEdit" name="txtMaxiPrimary">
<property name="enabled" > <property name="enabled">
<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>
</property> </property>
<property name="text" > <property name="text">
<string>Primary Data Here!</string> <string>Primary Data Here!</string>
</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,75 +1,76 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpMicroPDF</class> <class>grpMicroPDF</class>
<widget class="QWidget" name="grpMicroPDF" > <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>351</width> <width>763</width>
<height>100</height> <height>376</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<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>
</property> </property>
<property name="alignment" > <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>cmbMPDFCols</cstring> <cstring>cmbMPDFCols</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" > <item row="0" column="2">
<widget class="QComboBox" name="cmbMPDFCols" > <widget class="QComboBox" name="cmbMPDFCols">
<item> <item>
<property name="text" > <property name="text">
<string>Automatic</string> <string>Automatic</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>1</string> <string>1</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>2</string> <string>2</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>3</string> <string>3</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text" > <property name="text">
<string>4</string> <string>4</string>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QRadioButton" name="radMPDFStand" > <widget class="QRadioButton" name="radMPDFStand">
<property name="text" > <property name="text">
<string>S&amp;tandard</string> <string>S&amp;tandard</string>
</property> </property>
<property name="checked" > <property name="checked">
<bool>true</bool> <bool>true</bool>
</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>
</property> </property>
</widget> </widget>
@ -77,14 +78,14 @@
</layout> </layout>
</item> </item>
<item> <item>
<spacer name="verticalSpacer" > <spacer name="verticalSpacer">
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<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: