1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!-- Generated with glade 3.40.0 -->
3 <interface domain=
"cui">
4 <requires lib=
"gtk+" version=
"3.20"/>
5 <object class=
"GtkAdjustment" id=
"margin_value">
6 <property name=
"upper">75</property>
7 <property name=
"value">1</property>
8 <property name=
"step-increment">1</property>
9 <property name=
"page-increment">10</property>
11 <object class=
"GtkDialog" id=
"QrCodeGenDialog">
12 <property name=
"can-focus">False
</property>
13 <property name=
"border-width">6</property>
14 <property name=
"title" translatable=
"yes" context=
"qrcodegen|QrCodeGenDialog">QR and Barcode
</property>
15 <property name=
"modal">True
</property>
16 <property name=
"default-width">0</property>
17 <property name=
"default-height">0</property>
18 <property name=
"type-hint">dialog
</property>
19 <child internal-child=
"vbox">
20 <object class=
"GtkBox">
21 <property name=
"can-focus">False
</property>
22 <property name=
"orientation">vertical
</property>
23 <property name=
"spacing">2</property>
24 <child internal-child=
"action_area">
25 <object class=
"GtkButtonBox">
26 <property name=
"can-focus">False
</property>
27 <property name=
"layout-style">end
</property>
29 <object class=
"GtkButton" id=
"cancel">
30 <property name=
"label" translatable=
"yes" context=
"stock">_Cancel
</property>
31 <property name=
"visible">True
</property>
32 <property name=
"can-focus">True
</property>
33 <property name=
"receives-default">True
</property>
34 <property name=
"use-underline">True
</property>
37 <property name=
"expand">True
</property>
38 <property name=
"fill">True
</property>
39 <property name=
"position">0</property>
43 <object class=
"GtkButton" id=
"ok">
44 <property name=
"label" translatable=
"yes" context=
"stock">_OK
</property>
45 <property name=
"visible">True
</property>
46 <property name=
"can-focus">True
</property>
47 <property name=
"can-default">True
</property>
48 <property name=
"has-default">True
</property>
49 <property name=
"receives-default">True
</property>
50 <property name=
"use-underline">True
</property>
53 <property name=
"expand">True
</property>
54 <property name=
"fill">True
</property>
55 <property name=
"position">1</property>
59 <object class=
"GtkButton" id=
"help">
60 <property name=
"label" translatable=
"yes" context=
"stock">_Help
</property>
61 <property name=
"visible">True
</property>
62 <property name=
"can-focus">True
</property>
63 <property name=
"receives-default">True
</property>
64 <property name=
"use-underline">True
</property>
67 <property name=
"expand">True
</property>
68 <property name=
"fill">True
</property>
69 <property name=
"position">2</property>
70 <property name=
"secondary">True
</property>
75 <property name=
"expand">False
</property>
76 <property name=
"fill">False
</property>
77 <property name=
"position">1</property>
81 <!-- n-columns=1 n-rows=1 -->
82 <object class=
"GtkGrid">
83 <property name=
"visible">True
</property>
84 <property name=
"can-focus">False
</property>
85 <property name=
"margin-start">6</property>
86 <property name=
"margin-end">6</property>
87 <property name=
"margin-top">6</property>
88 <property name=
"margin-bottom">6</property>
89 <property name=
"hexpand">True
</property>
90 <property name=
"vexpand">True
</property>
91 <property name=
"row-spacing">6</property>
92 <property name=
"column-spacing">6</property>
94 <object class=
"GtkFrame">
95 <property name=
"visible">True
</property>
96 <property name=
"can-focus">False
</property>
97 <property name=
"hexpand">True
</property>
98 <property name=
"vexpand">True
</property>
99 <property name=
"label-xalign">0</property>
100 <property name=
"shadow-type">none
</property>
102 <!-- n-columns=2 n-rows=4 -->
103 <object class=
"GtkGrid">
104 <property name=
"visible">True
</property>
105 <property name=
"can-focus">False
</property>
106 <property name=
"margin-top">6</property>
107 <property name=
"hexpand">True
</property>
108 <property name=
"vexpand">True
</property>
109 <property name=
"row-spacing">6</property>
110 <property name=
"column-spacing">12</property>
112 <object class=
"GtkLabel" id=
"label_text">
113 <property name=
"visible">True
</property>
114 <property name=
"can-focus">False
</property>
115 <property name=
"halign">start
</property>
116 <property name=
"valign">start
</property>
117 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_text" comments=
"Text to be stored in the QR">URL/Text:
</property>
118 <property name=
"use-underline">True
</property>
119 <property name=
"mnemonic-widget">edit_text
</property>
120 <property name=
"xalign">0</property>
123 <property name=
"left-attach">0</property>
124 <property name=
"top-attach">0</property>
128 <object class=
"GtkScrolledWindow">
129 <property name=
"visible">True
</property>
130 <property name=
"can-focus">True
</property>
131 <property name=
"hexpand">True
</property>
132 <property name=
"vexpand">True
</property>
133 <property name=
"hscrollbar-policy">always
</property>
134 <property name=
"shadow-type">in
</property>
136 <object class=
"GtkTextView" id=
"edit_text">
137 <property name=
"visible">True
</property>
138 <property name=
"can-focus">True
</property>
139 <property name=
"hexpand">True
</property>
140 <property name=
"vexpand">True
</property>
141 <property name=
"accepts-tab">False
</property>
142 <child internal-child=
"accessible">
143 <object class=
"AtkObject" id=
"edit_text-atkobject">
144 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"qr text">The text from which to generate the code.
</property>
151 <property name=
"left-attach">1</property>
152 <property name=
"top-attach">0</property>
156 <!-- n-columns=1 n-rows=1 -->
157 <object class=
"GtkGrid">
158 <property name=
"visible">True
</property>
159 <property name=
"can-focus">False
</property>
160 <property name=
"row-spacing">2</property>
162 <object class=
"GtkLabel" id=
"label_ecc">
163 <property name=
"visible">True
</property>
164 <property name=
"can-focus">False
</property>
165 <property name=
"halign">start
</property>
166 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_ecc" comments=
"Error Correction Level of QR code">Error correction:
</property>
167 <property name=
"use-underline">True
</property>
168 <property name=
"xalign">0</property>
170 <relation type=
"label-for" target=
"button_low"/>
171 <relation type=
"label-for" target=
"button_medium"/>
172 <relation type=
"label-for" target=
"button_quartile"/>
173 <relation type=
"label-for" target=
"button_high"/>
177 <property name=
"left-attach">0</property>
178 <property name=
"top-attach">0</property>
183 <property name=
"left-attach">0</property>
184 <property name=
"top-attach">1</property>
188 <!-- n-columns=1 n-rows=4 -->
189 <object class=
"GtkGrid">
190 <property name=
"visible">True
</property>
191 <property name=
"can-focus">False
</property>
192 <property name=
"row-spacing">2</property>
194 <object class=
"GtkRadioButton" id=
"button_low">
195 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">Low
</property>
196 <property name=
"visible">True
</property>
197 <property name=
"can-focus">True
</property>
198 <property name=
"receives-default">False
</property>
199 <property name=
"use-underline">True
</property>
200 <property name=
"active">True
</property>
201 <property name=
"draw-indicator">True
</property>
203 <relation type=
"labelled-by" target=
"label_ecc"/>
205 <child internal-child=
"accessible">
206 <object class=
"AtkObject" id=
"button_low-atkobject">
207 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_low">7% of codewords can be restored.
</property>
212 <property name=
"left-attach">0</property>
213 <property name=
"top-attach">0</property>
217 <object class=
"GtkRadioButton" id=
"button_medium">
218 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">Medium
</property>
219 <property name=
"visible">True
</property>
220 <property name=
"can-focus">True
</property>
221 <property name=
"receives-default">False
</property>
222 <property name=
"use-underline">True
</property>
223 <property name=
"draw-indicator">True
</property>
224 <property name=
"group">button_low
</property>
226 <relation type=
"labelled-by" target=
"label_ecc"/>
228 <child internal-child=
"accessible">
229 <object class=
"AtkObject" id=
"button_medium-atkobject">
230 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_medium">15% of codewords can be restored.
</property>
235 <property name=
"left-attach">0</property>
236 <property name=
"top-attach">1</property>
240 <object class=
"GtkRadioButton" id=
"button_quartile">
241 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">Quartile
</property>
242 <property name=
"visible">True
</property>
243 <property name=
"can-focus">True
</property>
244 <property name=
"receives-default">False
</property>
245 <property name=
"use-underline">True
</property>
246 <property name=
"draw-indicator">True
</property>
247 <property name=
"group">button_low
</property>
249 <relation type=
"labelled-by" target=
"label_ecc"/>
251 <child internal-child=
"accessible">
252 <object class=
"AtkObject" id=
"button_quartile-atkobject">
253 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_quartile">25% of codewords can be restored.
</property>
258 <property name=
"left-attach">0</property>
259 <property name=
"top-attach">2</property>
263 <object class=
"GtkRadioButton" id=
"button_high">
264 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">High
</property>
265 <property name=
"visible">True
</property>
266 <property name=
"can-focus">True
</property>
267 <property name=
"receives-default">False
</property>
268 <property name=
"use-underline">True
</property>
269 <property name=
"draw-indicator">True
</property>
270 <property name=
"group">button_low
</property>
272 <relation type=
"labelled-by" target=
"label_ecc"/>
274 <child internal-child=
"accessible">
275 <object class=
"AtkObject" id=
"button_high-atkobject">
276 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_high">30% of codewords can be restored.
</property>
281 <property name=
"left-attach">0</property>
282 <property name=
"top-attach">3</property>
287 <property name=
"left-attach">1</property>
288 <property name=
"top-attach">1</property>
292 <object class=
"GtkLabel" id=
"label_margin">
293 <property name=
"visible">True
</property>
294 <property name=
"can-focus">False
</property>
295 <property name=
"halign">start
</property>
296 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_margin" comments=
"Set Margin around QR">Margin:
</property>
297 <property name=
"use-underline">True
</property>
298 <property name=
"mnemonic-widget">edit_margin
</property>
299 <property name=
"xalign">0</property>
302 <property name=
"left-attach">0</property>
303 <property name=
"top-attach">2</property>
307 <object class=
"GtkSpinButton" id=
"edit_margin">
308 <property name=
"visible">True
</property>
309 <property name=
"can-focus">True
</property>
310 <property name=
"activates-default">True
</property>
311 <property name=
"truncate-multiline">True
</property>
312 <property name=
"adjustment">margin_value
</property>
313 <property name=
"snap-to-ticks">True
</property>
314 <property name=
"numeric">True
</property>
315 <child internal-child=
"accessible">
316 <object class=
"AtkObject" id=
"edit_margin-atkobject">
317 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"edit margin">The margin surrounding the code.
</property>
322 <property name=
"left-attach">1</property>
323 <property name=
"top-attach">2</property>
327 <object class=
"GtkLabel" id=
"label_type">
328 <property name=
"visible">True
</property>
329 <property name=
"can-focus">False
</property>
330 <property name=
"halign">start
</property>
331 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_type" comments=
"Select type">Type:
</property>
332 <property name=
"use-underline">True
</property>
333 <property name=
"mnemonic-widget">choose_type
</property>
334 <property name=
"xalign">0</property>
337 <property name=
"left-attach">0</property>
338 <property name=
"top-attach">3</property>
342 <object class=
"GtkComboBoxText" id=
"choose_type">
343 <property name=
"visible">True
</property>
344 <property name=
"can-focus">False
</property>
345 <property name=
"hexpand">True
</property>
346 <property name=
"active">0</property>
348 <item translatable=
"yes" context=
"qrcodegen|QrCode">QR Code
</item>
349 <item translatable=
"yes" context=
"qrcodegen|BarCode">Barcode
</item>
351 <child internal-child=
"accessible">
352 <object class=
"AtkObject" id=
"choose_type-atkobject">
353 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"type">The type of code to generate.
</property>
358 <property name=
"left-attach">1</property>
359 <property name=
"top-attach">3</property>
365 <object class=
"GtkLabel">
366 <property name=
"visible">True
</property>
367 <property name=
"can-focus">False
</property>
368 <property name=
"label" translatable=
"yes" context=
"qrcodegen|QR Code Properties">Options
</property>
370 <attribute name=
"weight" value=
"bold"/>
376 <property name=
"left-attach">0</property>
377 <property name=
"top-attach">0</property>
382 <property name=
"expand">False
</property>
383 <property name=
"fill">True
</property>
384 <property name=
"position">0</property>
390 <action-widget response=
"-6">cancel
</action-widget>
391 <action-widget response=
"-5">ok
</action-widget>
392 <action-widget response=
"-11">help
</action-widget>
394 <child internal-child=
"accessible">
395 <object class=
"AtkObject" id=
"QrCodeGenDialog-atkobject">
396 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"qr code dialog title">Generate linear and matrix codes for any text or URL.
</property>