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=
"GtkLabel" id=
"label_margin">
129 <property name=
"visible">True
</property>
130 <property name=
"can-focus">False
</property>
131 <property name=
"halign">start
</property>
132 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_margin" comments=
"Set Margin around QR">Margin:
</property>
133 <property name=
"use-underline">True
</property>
134 <property name=
"mnemonic-widget">edit_margin
</property>
135 <property name=
"xalign">0</property>
138 <property name=
"left-attach">0</property>
139 <property name=
"top-attach">2</property>
143 <object class=
"GtkLabel" id=
"label_type">
144 <property name=
"visible">True
</property>
145 <property name=
"can-focus">False
</property>
146 <property name=
"halign">start
</property>
147 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_type" comments=
"Select type">Type:
</property>
148 <property name=
"use-underline">True
</property>
149 <property name=
"mnemonic-widget">choose_type
</property>
150 <property name=
"xalign">0</property>
153 <property name=
"left-attach">0</property>
154 <property name=
"top-attach">3</property>
158 <object class=
"GtkComboBoxText" id=
"choose_type">
159 <property name=
"visible">True
</property>
160 <property name=
"can-focus">False
</property>
161 <property name=
"hexpand">True
</property>
162 <property name=
"active">0</property>
164 <item translatable=
"yes" context=
"qrcodegen|QrCode">QR Code
</item>
165 <item translatable=
"yes" context=
"qrcodegen|BarCode">Barcode
</item>
167 <child internal-child=
"accessible">
168 <object class=
"AtkObject" id=
"choose_type-atkobject">
169 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"type">The type of code to generate.
</property>
174 <property name=
"left-attach">1</property>
175 <property name=
"top-attach">3</property>
179 <!-- n-columns=1 n-rows=1 -->
180 <object class=
"GtkGrid">
181 <property name=
"visible">True
</property>
182 <property name=
"can-focus">False
</property>
183 <property name=
"row-spacing">2</property>
185 <object class=
"GtkLabel" id=
"label_ecc">
186 <property name=
"visible">True
</property>
187 <property name=
"can-focus">False
</property>
188 <property name=
"halign">start
</property>
189 <property name=
"label" translatable=
"yes" context=
"qrcodegen|label_ecc" comments=
"Error Correction Level of QR code">Error correction:
</property>
190 <property name=
"use-underline">True
</property>
191 <property name=
"xalign">0</property>
193 <relation type=
"label-for" target=
"button_low"/>
194 <relation type=
"label-for" target=
"button_medium"/>
195 <relation type=
"label-for" target=
"button_quartile"/>
196 <relation type=
"label-for" target=
"button_high"/>
200 <property name=
"left-attach">0</property>
201 <property name=
"top-attach">0</property>
206 <property name=
"left-attach">0</property>
207 <property name=
"top-attach">1</property>
211 <object class=
"GtkSpinButton" id=
"edit_margin">
212 <property name=
"visible">True
</property>
213 <property name=
"can-focus">True
</property>
214 <property name=
"activates-default">True
</property>
215 <property name=
"truncate-multiline">True
</property>
216 <property name=
"adjustment">margin_value
</property>
217 <property name=
"snap-to-ticks">True
</property>
218 <property name=
"numeric">True
</property>
219 <child internal-child=
"accessible">
220 <object class=
"AtkObject" id=
"edit_margin-atkobject">
221 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"edit margin">The margin surrounding the code.
</property>
226 <property name=
"left-attach">1</property>
227 <property name=
"top-attach">2</property>
231 <!-- n-columns=1 n-rows=4 -->
232 <object class=
"GtkGrid">
233 <property name=
"visible">True
</property>
234 <property name=
"can-focus">False
</property>
235 <property name=
"row-spacing">2</property>
237 <object class=
"GtkRadioButton" id=
"button_low">
238 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">Low
</property>
239 <property name=
"visible">True
</property>
240 <property name=
"can-focus">True
</property>
241 <property name=
"receives-default">False
</property>
242 <property name=
"use-underline">True
</property>
243 <property name=
"active">True
</property>
244 <property name=
"draw-indicator">True
</property>
246 <relation type=
"labelled-by" target=
"label_ecc"/>
248 <child internal-child=
"accessible">
249 <object class=
"AtkObject" id=
"button_low-atkobject">
250 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_low">7% of codewords can be restored.
</property>
255 <property name=
"left-attach">0</property>
256 <property name=
"top-attach">0</property>
260 <object class=
"GtkRadioButton" id=
"button_medium">
261 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">Medium
</property>
262 <property name=
"visible">True
</property>
263 <property name=
"can-focus">True
</property>
264 <property name=
"receives-default">False
</property>
265 <property name=
"use-underline">True
</property>
266 <property name=
"draw-indicator">True
</property>
267 <property name=
"group">button_low
</property>
269 <relation type=
"labelled-by" target=
"label_ecc"/>
271 <child internal-child=
"accessible">
272 <object class=
"AtkObject" id=
"button_medium-atkobject">
273 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_medium">15% of codewords can be restored.
</property>
278 <property name=
"left-attach">0</property>
279 <property name=
"top-attach">1</property>
283 <object class=
"GtkRadioButton" id=
"button_quartile">
284 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">Quartile
</property>
285 <property name=
"visible">True
</property>
286 <property name=
"can-focus">True
</property>
287 <property name=
"receives-default">False
</property>
288 <property name=
"use-underline">True
</property>
289 <property name=
"draw-indicator">True
</property>
290 <property name=
"group">button_low
</property>
292 <relation type=
"labelled-by" target=
"label_ecc"/>
294 <child internal-child=
"accessible">
295 <object class=
"AtkObject" id=
"button_quartile-atkobject">
296 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_quartile">25% of codewords can be restored.
</property>
301 <property name=
"left-attach">0</property>
302 <property name=
"top-attach">2</property>
306 <object class=
"GtkRadioButton" id=
"button_high">
307 <property name=
"label" translatable=
"yes" context=
"qrcodegen|ErrorCorrection">High
</property>
308 <property name=
"visible">True
</property>
309 <property name=
"can-focus">True
</property>
310 <property name=
"receives-default">False
</property>
311 <property name=
"use-underline">True
</property>
312 <property name=
"draw-indicator">True
</property>
313 <property name=
"group">button_low
</property>
315 <relation type=
"labelled-by" target=
"label_ecc"/>
317 <child internal-child=
"accessible">
318 <object class=
"AtkObject" id=
"button_high-atkobject">
319 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"button_high">30% of codewords can be restored.
</property>
324 <property name=
"left-attach">0</property>
325 <property name=
"top-attach">3</property>
330 <property name=
"left-attach">1</property>
331 <property name=
"top-attach">1</property>
335 <object class=
"GtkScrolledWindow">
336 <property name=
"visible">True
</property>
337 <property name=
"can-focus">True
</property>
338 <property name=
"hexpand">True
</property>
339 <property name=
"vexpand">True
</property>
340 <property name=
"hscrollbar-policy">always
</property>
341 <property name=
"shadow-type">in
</property>
343 <object class=
"GtkTextView" id=
"edit_text">
344 <property name=
"visible">True
</property>
345 <property name=
"can-focus">True
</property>
346 <property name=
"hexpand">True
</property>
347 <property name=
"vexpand">True
</property>
348 <child internal-child=
"accessible">
349 <object class=
"AtkObject" id=
"edit_text-atkobject">
350 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"qr text">The text from which to generate the code.
</property>
357 <property name=
"left-attach">1</property>
358 <property name=
"top-attach">0</property>
364 <object class=
"GtkLabel">
365 <property name=
"visible">True
</property>
366 <property name=
"can-focus">False
</property>
367 <property name=
"label" translatable=
"yes" context=
"qrcodegen|QR Code Properties">Options
</property>
369 <attribute name=
"weight" value=
"bold"/>
375 <property name=
"left-attach">0</property>
376 <property name=
"top-attach">0</property>
381 <property name=
"expand">False
</property>
382 <property name=
"fill">True
</property>
383 <property name=
"position">0</property>
389 <action-widget response=
"-6">cancel
</action-widget>
390 <action-widget response=
"-5">ok
</action-widget>
391 <action-widget response=
"-11">help
</action-widget>
393 <child internal-child=
"accessible">
394 <object class=
"AtkObject" id=
"QrCodeGenDialog-atkobject">
395 <property name=
"AtkObject::accessible-description" translatable=
"yes" context=
"qr code dialog title">Generate linear and matrix codes for any text or URL.
</property>