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>
<widget class="QWidget" name="grpAztec" >
<property name="geometry" >
<widget class="QWidget" name="grpAztec">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,271 +10,294 @@
<height>237</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QRadioButton" name="radAztecAuto" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radAztecAuto">
<property name="text">
<string>A&amp;utomatic Resizing</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QRadioButton" name="radAztecSize" >
<property name="text" >
<item row="1" column="0">
<widget class="QRadioButton" name="radAztecSize">
<property name="text">
<string>Adjust Si&amp;ze To:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cmbAztecSize" >
<property name="enabled" >
<item row="1" column="1">
<widget class="QComboBox" name="cmbAztecSize">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text" >
<property name="text">
<string>15 x 15 Compact</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>19 x 19 Compact</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>23 x 23 Compact</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>27 x 27 Compact</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>19 x 19</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>23 x 23</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>27 x 27</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>31 x 31</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>37 x 37</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>41 x 41</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>45 x 45</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>49 x 49</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>53 x 53</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>57 x 57</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>61 x 61</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>67 x 67</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>71 x 71</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>75 x 75</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>79 x 79</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>83 x 83</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>87 x 87</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>91 x 91</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>95 x 95</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>101 x 101</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>105 x 105</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>109 x 109</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>113 x 113</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>117 x 117</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>121 x 121</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>125 x 125</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>131 x 131</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>135 x 135</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>139 x 139</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>143 x 143</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>147 x 147</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>151 x 151</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0" >
<widget class="QRadioButton" name="radAztecECC" >
<property name="text" >
<item row="2" column="0">
<widget class="QRadioButton" name="radAztecECC">
<property name="text">
<string>Add Minimum &amp;Error Correction:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cmbAztecECC" >
<property name="enabled" >
<item row="2" column="1">
<widget class="QComboBox" name="cmbAztecECC">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text" >
<property name="text">
<string>10% + 3 words</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>23% + 3 words</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>36% + 3 words</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>50% + 3 words</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="chkAztecMode" >
<property name="text" >
<string>Encode as &amp;GS-1 Data</string>
</layout>
</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">
<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>
</widget>
</item>
</layout>
</item>
<item>
<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>
</widget>
</widget>
</item>
</layout>
</widget>
@ -285,11 +309,11 @@
<receiver>cmbAztecSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>85</x>
<y>47</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>331</x>
<y>47</y>
</hint>
@ -301,11 +325,11 @@
<receiver>cmbAztecECC</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>200</x>
<y>80</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>366</x>
<y>80</y>
</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>
<widget class="QWidget" name="grpC128" >
<property name="geometry" >
<widget class="QWidget" name="grpC128">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,63 +10,63 @@
<height>156</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QRadioButton" name="radC128Stand" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC128Stand">
<property name="text">
<string>S&amp;tandard</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QRadioButton" name="radC128CSup" >
<property name="text" >
<item row="0" column="1">
<widget class="QRadioButton" name="radC128CSup">
<property name="text">
<string>Subset &amp;C Supression</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QRadioButton" name="radC128EAN" >
<property name="text" >
<item row="1" column="0">
<widget class="QRadioButton" name="radC128EAN">
<property name="text">
<string>&amp;GS1-128</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QRadioButton" name="radC128HIBC" >
<property name="text" >
<item row="1" column="1">
<widget class="QRadioButton" name="radC128HIBC">
<property name="text">
<string>&amp;HIBC 128</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QLabel" name="lblC128" >
<property name="text" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//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>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<widget class="QLabel" name="lblC128">
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
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>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<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>
<widget class="QWidget" name="grpC16k" >
<property name="geometry" >
<widget class="QWidget" name="grpC16k">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,36 +10,40 @@
<height>123</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="radC16kStand" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC16kStand">
<property name="text">
<string>S&amp;tandard Mode</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC16kGS1" >
<property name="text" >
<item row="1" column="0">
<widget class="QRadioButton" name="radC16kGS1">
<property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>60</height>
<height>40</height>
</size>
</property>
</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>
<widget class="QWidget" name="grpC39" >
<property name="geometry" >
<widget class="QWidget" name="grpC39">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<width>254</width>
<height>131</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="radC39Stand" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC39Stand">
<property name="text">
<string>&amp;No Check Digit</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC39Check" >
<property name="text" >
<string>&amp;Mod-43 Check Digit</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC39HIBC" >
<property name="text" >
<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">
<property name="text">
<string>&amp;Mod-43 Check Digit</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>42</height>
<height>40</height>
</size>
</property>
</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>
<widget class="QWidget" name="grpC16k" >
<property name="geometry" >
<widget class="QWidget" name="grpC16k">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,36 +10,40 @@
<height>123</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="radC49Stand" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radC49Stand">
<property name="text">
<string>S&amp;tandard Mode</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC49GS1" >
<property name="text" >
<item row="1" column="0">
<widget class="QRadioButton" name="radC49GS1">
<property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>60</height>
<height>40</height>
</size>
</property>
</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>
<widget class="QWidget" name="grpCodablock" >
<property name="geometry" >
<widget class="QWidget" name="grpCodablock">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>184</width>
<height>118</height>
<width>372</width>
<height>175</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QRadioButton" name="radCodaStand" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="radCodaStand">
<property name="text">
<string>S&amp;tandard Mode</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radCodaGS1" >
<property name="text" >
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radCodaHIBC" >
<property name="text" >
<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">
<property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>29</height>
<height>40</height>
</size>
</property>
</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>
<widget class="QWidget" name="grpChannel" >
<property name="geometry" >
<widget class="QWidget" name="grpChannel">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,123 +10,118 @@
<height>124</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QLabel" name="lblChannel" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblChannel">
<property name="text">
<string>S&amp;ymbol Size:</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>cmbC1Size</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cmbC1Size">
<item>
<widget class="QComboBox" name="cmbC1Size" >
<item>
<property name="text" >
<property name="text">
<string>Automatic</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>16 x 18 (Version A)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>22 x 22 (Version B)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>28 x 32 (Version C)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>40 x 42 (Version D)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>52 x 54 (Version E)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>70 x 76 (Version F)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>104 x 98 (Version G)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>148 x 134 (Version H)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>8X height (Version S)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>16X height (Version T)</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QRadioButton" name="radC1Stand" >
<property name="text" >
<item row="1" column="0">
<widget class="QRadioButton" name="radC1Stand">
<property name="text">
<string>S&amp;tandard Mode</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radC1GS1" >
<property name="text" >
<item row="2" column="0">
<widget class="QRadioButton" name="radC1GS1">
<property name="text">
<string>&amp;GS-1 Data Mode</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>30</height>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<tabstops>
<tabstop>cmbC1Size</tabstop>
<tabstop>radC1Stand</tabstop>
<tabstop>radC1GS1</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>

View File

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

View File

@ -1,114 +1,116 @@
<ui version="4.0" >
<class>Form</class>
<widget class="QWidget" name="Form" >
<property name="geometry" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>grpMicroPDF</class>
<widget class="QWidget" name="grpMicroPDF">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>180</height>
<width>532</width>
<height>251</height>
</rect>
</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>
</property>
<widget class="QWidget" name="gridLayoutWidget" >
<property name="geometry" >
<rect>
<x>18</x>
<y>15</y>
<width>413</width>
<height>69</height>
</rect>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblMaxiMode">
<property name="text">
<string>Encoding &amp;Mode:</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="1" >
<widget class="QComboBox" name="cmbMaxiMode" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<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">
<widget class="QComboBox" name="cmbMaxiMode">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex" >
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text" >
<property name="text">
<string>Structured Carrier Message (Mode 2 or 3)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Standard Symbol, SEC (Mode 4)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Full ECC Symbol (Mode 5)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Reader Program, SEC (Mode 6)</string>
</property>
</item>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="txtMaxiPrimary" >
<property name="enabled" >
<item row="1" column="1">
<widget class="QLineEdit" name="txtMaxiPrimary">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<property name="text">
<string>Primary Data Here!</string>
</property>
</widget>
</item>
<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>
</layout>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lblMaxiPrimary" >
<property name="enabled" >
<bool>false</bool>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="text" >
<string>&amp;Primary Data:</string>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>txtMaxiPrimary</cstring>
</property>
</widget>
</spacer>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</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>
<widget class="QWidget" name="grpMicroPDF" >
<property name="geometry" >
<widget class="QWidget" name="grpMicroPDF">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>351</width>
<height>100</height>
<width>763</width>
<height>376</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="lblMPDFCols" >
<property name="text" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblMPDFCols">
<property name="text">
<string>&amp;Number of Data Columns:</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>cmbMPDFCols</cstring>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QComboBox" name="cmbMPDFCols" >
<item row="0" column="2">
<widget class="QComboBox" name="cmbMPDFCols">
<item>
<property name="text" >
<property name="text">
<string>Automatic</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>4</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0" >
<widget class="QRadioButton" name="radMPDFStand" >
<property name="text" >
<item row="1" column="0">
<widget class="QRadioButton" name="radMPDFStand">
<property name="text">
<string>S&amp;tandard</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2" >
<widget class="QRadioButton" name="radMPDFHIBC" >
<property name="text" >
<item row="2" column="0">
<widget class="QRadioButton" name="radMPDFHIBC">
<property name="text">
<string>&amp;HIBC MicroPDF417</string>
</property>
</widget>
@ -77,14 +78,14 @@
</layout>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>26</height>
<height>40</height>
</size>
</property>
</spacer>

View File

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

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>749</width>
<height>650</height>
<height>711</height>
</rect>
</property>
<property name="maximumSize">
@ -26,15 +26,9 @@
<property name="styleSheet">
<string notr="true">background-image: url(:/blueback.png);</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<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">
<bool>false</bool>
</property>
@ -166,15 +160,8 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>340</y>
<width>731</width>
<height>299</height>
</rect>
</property>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
@ -232,7 +219,7 @@
<string notr="true"/>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tabGeneral">
<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;
&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:'DejaVu Sans'; font-size:9pt; 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;/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'; font-size:9pt;&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="acceptRichText">
<bool>false</bool>
@ -417,6 +404,19 @@ p, li { white-space: pre-wrap; }
</layout>
</widget>
</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>
</widget>
<widget class="QWidget" name="tabAppear">
@ -425,9 +425,7 @@ p, li { white-space: pre-wrap; }
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
@ -454,6 +452,51 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</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">
<widget class="QSpinBox" name="bwidth">
<property name="toolTip">
@ -473,19 +516,6 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</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">
<widget class="QSpinBox" name="spnWhitespace">
<property name="toolTip">
@ -496,19 +526,6 @@ p, li { white-space: pre-wrap; }
</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="3" column="1">
<widget class="QDoubleSpinBox" name="spnScale">
<property name="toolTip">
@ -534,30 +551,7 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="heightb">
<property name="toolTip">
<string>Adjust overall symbol height.</string>
</property>
<property name="suffix">
<string> X</string>
</property>
<property name="prefix">
<string/>
</property>
<property name="maximum">
<number>300</number>
</property>
<property name="value">
<number>50</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<item row="0" column="2">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Border Ty&amp;pe:</string>
@ -570,7 +564,7 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="0" column="1">
<item row="0" column="3">
<widget class="QComboBox" name="btype">
<item>
<property name="text">
@ -589,7 +583,14 @@ p, li { white-space: pre-wrap; }
</item>
</widget>
</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">
<property name="toolTip">
<string/>
@ -599,17 +600,18 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QPushButton" name="fgcolor">
</layout>
</item>
<item>
<widget class="QCheckBox" name="chkHRTHide">
<property name="text">
<string>&amp;Foreground Colour</string>
<string>Show Human Readable Text</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
@ -618,7 +620,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>228</height>
<height>40</height>
</size>
</property>
</spacer>
@ -688,7 +690,8 @@ p, li { white-space: pre-wrap; }
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>tabMain</tabstop>
@ -700,13 +703,6 @@ p, li { white-space: pre-wrap; }
<tabstop>btnReset</tabstop>
<tabstop>btnSave</tabstop>
<tabstop>btnExit</tabstop>
<tabstop>heightb</tabstop>
<tabstop>bwidth</tabstop>
<tabstop>spnWhitespace</tabstop>
<tabstop>spnScale</tabstop>
<tabstop>btype</tabstop>
<tabstop>bgcolor</tabstop>
<tabstop>fgcolor</tabstop>
<tabstop>view</tabstop>
<tabstop>toolButton_5</tabstop>
<tabstop>scaleSlider</tabstop>

View File

@ -131,6 +131,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags fl)
connect(btnReset, SIGNAL(clicked( bool )), SLOT(reset_view()));
connect(btnMoreData, SIGNAL(clicked( bool )), SLOT(open_data_dialog()));
connect(btnSequence, SIGNAL(clicked( bool )), SLOT(open_sequence_dialog()));
connect(chkHRTHide, SIGNAL(stateChanged( int )), SLOT(update_preview()));
}
MainWindow::~MainWindow()
@ -174,18 +175,22 @@ bool MainWindow::save()
void MainWindow::about()
{
QMessageBox::about(this, tr("About Zint"),
tr("<h2>Zint Barcode Studio 1.0.1</h2>"
"<p>A simple 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."
tr("<h2>Zint Barcode Studio 2.3</h2>"
"<p>A free barcode generator"
"<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>"
"QR Code support by Kentaro Fukuchi.<br>"
"Released under the GNU General Public License ver. 3 or later"
"<p>\"QR Code\" is a Registered Trademark of Denso Corp.<br>"
"<p>Copyright &copy; 2009 Robin Stuart.<br>"
"Qt4 code by BogDan Vatra, MS Windows port by \"tgotic\".<br>"
"With thanks to Norbert Szab&oacute;, and Robert Elliott."
"<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."
"<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*>("cmbAztecSize"), 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)
@ -567,6 +574,10 @@ void MainWindow::update_preview()
m_bc.bc.setSecurityLevel(0);
m_bc.bc.setWidth(0);
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()))
{
case BARCODE_CODE128:
@ -682,8 +693,10 @@ void MainWindow::update_preview()
if(m_optionWidget->findChild<QRadioButton*>("radAztecECC")->isChecked())
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);
if(m_optionWidget->findChild<QRadioButton*>("radAztecHIBC")->isChecked())
m_bc.bc.setSymbol(BARCODE_HIBC_AZTEC);
break;
case MSI_PLESSEY: