75
by David Planella
Decoupled QR code types from the QR window and from a particular GUI toolkit (right now only GTK is supported) |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<interface> |
|
3 |
<!-- interface-requires gtk+ 3.0 --> |
|
4 |
<object class="GtkGrid" id="qr_code_url"> |
|
5 |
<property name="visible">True</property> |
|
6 |
<property name="can_focus">False</property> |
|
7 |
<child> |
|
8 |
<object class="GtkEntry" id="entryURL"> |
|
9 |
<property name="visible">True</property> |
|
10 |
<property name="can_focus">True</property> |
|
11 |
<property name="hexpand">True</property> |
|
12 |
<property name="invisible_char">•</property> |
|
13 |
<property name="invisible_char_set">True</property> |
|
14 |
<property name="placeholder_text">[URL]</property> |
|
15 |
<signal name="changed" handler="on_entryURL_changed" swapped="no"/> |
|
16 |
<signal name="icon-press" handler="on_entryURL_icon_press" swapped="no"/> |
|
17 |
</object> |
|
18 |
<packing> |
|
19 |
<property name="left_attach">1</property> |
|
20 |
<property name="top_attach">0</property> |
|
21 |
<property name="width">1</property> |
|
22 |
<property name="height">1</property> |
|
23 |
</packing> |
|
24 |
</child> |
|
25 |
<child> |
|
26 |
<object class="GtkComboBoxText" id="comboboxtextProtocol"> |
|
27 |
<property name="visible">True</property> |
|
28 |
<property name="can_focus">False</property> |
|
29 |
<property name="margin_right">6</property> |
|
30 |
<property name="active">0</property> |
|
31 |
<property name="entry_text_column">0</property> |
|
32 |
<property name="id_column">1</property> |
|
33 |
<items> |
|
34 |
<item>http://</item> |
|
35 |
<item>https://</item> |
|
36 |
</items> |
|
37 |
<signal name="changed" handler="on_comboboxtextProtocol_changed" swapped="no"/> |
|
38 |
</object> |
|
39 |
<packing> |
|
40 |
<property name="left_attach">0</property> |
|
41 |
<property name="top_attach">0</property> |
|
42 |
<property name="width">1</property> |
|
43 |
<property name="height">1</property> |
|
44 |
</packing> |
|
45 |
</child> |
|
46 |
</object> |
|
47 |
</interface> |