|
24 | 24 | <enumerationValue key="Custom">Custom</enumerationValue> |
25 | 25 | </enumerationValues> |
26 | 26 | </property> |
| 27 | + <property key="allowDownload" type="boolean" defaultValue="false"> |
| 28 | + <caption>Allow download</caption> |
| 29 | + <description>Adds a download button</description> |
| 30 | + </property> |
| 31 | + <property key="downloadAriaLabel" type="string" required="false"> |
| 32 | + <caption>Button aria-label</caption> |
| 33 | + <description /> |
| 34 | + </property> |
| 35 | + </propertyGroup> |
| 36 | + </propertyGroup> |
| 37 | + <propertyGroup caption="Advanced"> |
| 38 | + <propertyGroup caption="Advanced Barcode Settings"> |
27 | 39 | <property key="customCodeFormat" type="enumeration" required="true" defaultValue="CODE128"> |
28 | 40 | <caption>Custom Format</caption> |
29 | 41 | <description>Choose between barcode types format</description> |
|
56 | 68 | <caption>Mod43</caption> |
57 | 69 | <description>For code 39 if used with modulo 43 check digit</description> |
58 | 70 | </property> |
59 | | - <property key="allowDownload" type="boolean" defaultValue="false"> |
60 | | - <caption>Allow download</caption> |
61 | | - <description>Adds a download button</description> |
62 | | - </property> |
63 | 71 | </propertyGroup> |
64 | 72 | <propertyGroup caption="EAN Addons"> |
65 | 73 | <property key="addonFormat" type="enumeration" required="true" defaultValue="None"> |
|
83 | 91 | <description>Space between main barcode and addon (in pixels)</description> |
84 | 92 | </property> |
85 | 93 | </propertyGroup> |
86 | | - <propertyGroup caption="Display"> |
87 | | - <property key="displayValue" type="boolean" defaultValue="false"> |
88 | | - <caption>Display value</caption> |
89 | | - <description>Display the value below the code</description> |
90 | | - </property> |
91 | | - <property key="codeWidth" type="integer" required="true" defaultValue="2"> |
92 | | - <caption>Bar width</caption> |
93 | | - <description>Width of a single bar</description> |
94 | | - </property> |
95 | | - <property key="codeHeight" type="integer" required="true" defaultValue="200"> |
96 | | - <caption>Code height</caption> |
97 | | - <description>Height of the barcode</description> |
98 | | - </property> |
99 | | - <property key="codeMargin" type="integer" required="true" defaultValue="2"> |
100 | | - <caption>Margin size</caption> |
101 | | - <description>In pixels</description> |
102 | | - </property> |
103 | | - <property key="qrSize" type="integer" required="true" defaultValue="128"> |
104 | | - <caption>QR Size</caption> |
105 | | - <description>The size of the QR box</description> |
106 | | - </property> |
107 | | - <property key="qrMargin" type="integer" required="true" defaultValue="2"> |
108 | | - <caption>Margin size</caption> |
109 | | - <description /> |
110 | | - </property> |
111 | | - <property key="qrTitle" type="string" required="true"> |
112 | | - <caption>Title</caption> |
113 | | - <description>Used for accessibility reasons</description> |
114 | | - </property> |
115 | | - <property key="qrLevel" type="enumeration" required="true" defaultValue="L"> |
116 | | - <caption>Level</caption> |
117 | | - <description>The Error Correction Level to use</description> |
118 | | - <enumerationValues> |
119 | | - <enumerationValue key="L">L</enumerationValue> |
120 | | - <enumerationValue key="M">M</enumerationValue> |
121 | | - <enumerationValue key="Q">Q</enumerationValue> |
122 | | - <enumerationValue key="H">H</enumerationValue> |
123 | | - </enumerationValues> |
124 | | - </property> |
125 | | - <property key="qrImage" type="boolean" required="true" defaultValue="false"> |
126 | | - <caption>Image</caption> |
127 | | - <description>Include an image on top the QR code</description> |
128 | | - </property> |
129 | | - <property key="qrImageSrc" type="image" required="true"> |
130 | | - <caption>Image source</caption> |
131 | | - <description>URL or path to the image to display on the QR code</description> |
132 | | - </property> |
133 | | - <property key="qrImageCenter" type="boolean" required="true" defaultValue="true"> |
134 | | - <caption>Center image</caption> |
135 | | - <description>Center the image in the QR code</description> |
136 | | - </property> |
137 | | - <property key="qrImageX" type="integer" required="true" defaultValue="0"> |
138 | | - <caption>Image X position</caption> |
139 | | - <description>Horizontal position of the image</description> |
140 | | - </property> |
141 | | - <property key="qrImageY" type="integer" required="true" defaultValue="0"> |
142 | | - <caption>Image Y position</caption> |
143 | | - <description>Vertical position of the image</description> |
144 | | - </property> |
145 | | - <property key="qrImageHeight" type="integer" required="true" defaultValue="24"> |
146 | | - <caption>Image height</caption> |
147 | | - <description>Height of the image in pixels</description> |
148 | | - </property> |
149 | | - <property key="qrImageWidth" type="integer" required="true" defaultValue="24"> |
150 | | - <caption>Image width</caption> |
151 | | - <description>Width of the image in pixels</description> |
152 | | - </property> |
153 | | - <property key="qrImageOpacity" type="decimal" required="true" defaultValue="1"> |
154 | | - <caption>Image opacity</caption> |
155 | | - <description>Opacity of the image (0.0 to 1.0)</description> |
156 | | - </property> |
157 | | - <property key="qrImageExcavate" type="boolean" required="true" defaultValue="true"> |
158 | | - <caption>Excavate background</caption> |
159 | | - <description>Remove QR code dots behind the image</description> |
160 | | - </property> |
161 | | - </propertyGroup> |
| 94 | + </propertyGroup> |
| 95 | + <propertyGroup caption="Display"> |
| 96 | + <property key="displayValue" type="boolean" defaultValue="false"> |
| 97 | + <caption>Display value</caption> |
| 98 | + <description>Display the value below the code</description> |
| 99 | + </property> |
| 100 | + <property key="codeWidth" type="integer" required="true" defaultValue="2"> |
| 101 | + <caption>Bar width</caption> |
| 102 | + <description>Width of a single bar</description> |
| 103 | + </property> |
| 104 | + <property key="codeHeight" type="integer" required="true" defaultValue="200"> |
| 105 | + <caption>Code height</caption> |
| 106 | + <description>Height of the barcode</description> |
| 107 | + </property> |
| 108 | + <property key="codeMargin" type="integer" required="true" defaultValue="2"> |
| 109 | + <caption>Margin size</caption> |
| 110 | + <description>In pixels</description> |
| 111 | + </property> |
| 112 | + <property key="qrSize" type="integer" required="true" defaultValue="128"> |
| 113 | + <caption>QR Size</caption> |
| 114 | + <description>The size of the QR box</description> |
| 115 | + </property> |
| 116 | + <property key="qrMargin" type="integer" required="true" defaultValue="2"> |
| 117 | + <caption>Margin size</caption> |
| 118 | + <description /> |
| 119 | + </property> |
| 120 | + <property key="qrTitle" type="string" required="true"> |
| 121 | + <caption>Title</caption> |
| 122 | + <description>Used for accessibility reasons</description> |
| 123 | + </property> |
| 124 | + <property key="qrLevel" type="enumeration" required="true" defaultValue="L"> |
| 125 | + <caption>Level</caption> |
| 126 | + <description>The Error Correction Level to use</description> |
| 127 | + <enumerationValues> |
| 128 | + <enumerationValue key="L">L</enumerationValue> |
| 129 | + <enumerationValue key="M">M</enumerationValue> |
| 130 | + <enumerationValue key="Q">Q</enumerationValue> |
| 131 | + <enumerationValue key="H">H</enumerationValue> |
| 132 | + </enumerationValues> |
| 133 | + </property> |
| 134 | + <property key="qrImage" type="boolean" required="true" defaultValue="false"> |
| 135 | + <caption>Image</caption> |
| 136 | + <description>Include an image on top the QR code</description> |
| 137 | + </property> |
| 138 | + <property key="qrImageSrc" type="image" required="true"> |
| 139 | + <caption>Image source</caption> |
| 140 | + <description>URL or path to the image to display on the QR code</description> |
| 141 | + </property> |
| 142 | + <property key="qrImageCenter" type="boolean" required="true" defaultValue="true"> |
| 143 | + <caption>Center image</caption> |
| 144 | + <description>Center the image in the QR code</description> |
| 145 | + </property> |
| 146 | + <property key="qrImageX" type="integer" required="true" defaultValue="0"> |
| 147 | + <caption>Image X position</caption> |
| 148 | + <description>Horizontal position of the image</description> |
| 149 | + </property> |
| 150 | + <property key="qrImageY" type="integer" required="true" defaultValue="0"> |
| 151 | + <caption>Image Y position</caption> |
| 152 | + <description>Vertical position of the image</description> |
| 153 | + </property> |
| 154 | + <property key="qrImageHeight" type="integer" required="true" defaultValue="24"> |
| 155 | + <caption>Image height</caption> |
| 156 | + <description>Height of the image in pixels</description> |
| 157 | + </property> |
| 158 | + <property key="qrImageWidth" type="integer" required="true" defaultValue="24"> |
| 159 | + <caption>Image width</caption> |
| 160 | + <description>Width of the image in pixels</description> |
| 161 | + </property> |
| 162 | + <property key="qrImageOpacity" type="decimal" required="true" defaultValue="1"> |
| 163 | + <caption>Image opacity</caption> |
| 164 | + <description>Opacity of the image (0.0 to 1.0)</description> |
| 165 | + </property> |
| 166 | + <property key="qrImageExcavate" type="boolean" required="true" defaultValue="true"> |
| 167 | + <caption>Excavate background</caption> |
| 168 | + <description>Remove QR code dots behind the image</description> |
| 169 | + </property> |
162 | 170 | </propertyGroup> |
163 | 171 | </properties> |
164 | 172 | </widget> |
0 commit comments