diff options
Diffstat (limited to 'resources/ui/message_content.ui')
-rw-r--r-- | resources/ui/message_content.ui | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/resources/ui/message_content.ui b/resources/ui/message_content.ui new file mode 100644 index 0000000..bca5165 --- /dev/null +++ b/resources/ui/message_content.ui | |||
@@ -0,0 +1,187 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- Generated with glade 3.38.2 | ||
3 | |||
4 | Copyright (C) 2021 GNUnet e.V. | ||
5 | |||
6 | GNUnet is free software: you can redistribute it and/or modify it | ||
7 | under the terms of the GNU Affero General Public License as published | ||
8 | by the Free Software Foundation, either version 3 of the License, | ||
9 | or (at your option) any later version. | ||
10 | |||
11 | GNUnet is distributed in the hope that it will be useful, but | ||
12 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | Affero General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU Affero General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | |||
19 | SPDX-License-Identifier: AGPL3.0-or-later | ||
20 | Author: Tobias Frisch | ||
21 | |||
22 | --> | ||
23 | <interface> | ||
24 | <requires lib="gtk+" version="3.24"/> | ||
25 | <object class="GtkBox" id="message_content_box"> | ||
26 | <property name="visible">True</property> | ||
27 | <property name="can-focus">False</property> | ||
28 | <property name="orientation">vertical</property> | ||
29 | <property name="spacing">4</property> | ||
30 | <child> | ||
31 | <object class="GtkBox"> | ||
32 | <property name="visible">True</property> | ||
33 | <property name="can-focus">False</property> | ||
34 | <property name="spacing">4</property> | ||
35 | <child> | ||
36 | <object class="GtkImage" id="read_receipt_image"> | ||
37 | <property name="can-focus">False</property> | ||
38 | <property name="icon-name">emblem-default-symbolic</property> | ||
39 | </object> | ||
40 | <packing> | ||
41 | <property name="expand">False</property> | ||
42 | <property name="fill">True</property> | ||
43 | <property name="pack-type">end</property> | ||
44 | <property name="position">0</property> | ||
45 | </packing> | ||
46 | </child> | ||
47 | <child> | ||
48 | <object class="GtkLabel" id="timestamp_label"> | ||
49 | <property name="visible">True</property> | ||
50 | <property name="can-focus">False</property> | ||
51 | <attributes> | ||
52 | <attribute name="weight" value="ultralight"/> | ||
53 | </attributes> | ||
54 | <style> | ||
55 | <class name="timestamp-label"/> | ||
56 | </style> | ||
57 | </object> | ||
58 | <packing> | ||
59 | <property name="expand">False</property> | ||
60 | <property name="fill">True</property> | ||
61 | <property name="pack-type">end</property> | ||
62 | <property name="position">1</property> | ||
63 | </packing> | ||
64 | </child> | ||
65 | </object> | ||
66 | <packing> | ||
67 | <property name="expand">False</property> | ||
68 | <property name="fill">True</property> | ||
69 | <property name="pack-type">end</property> | ||
70 | <property name="position">0</property> | ||
71 | </packing> | ||
72 | </child> | ||
73 | <child> | ||
74 | <object class="GtkStack"> | ||
75 | <property name="visible">True</property> | ||
76 | <property name="can-focus">False</property> | ||
77 | <child> | ||
78 | <object class="GtkLabel" id="text_label"> | ||
79 | <property name="visible">True</property> | ||
80 | <property name="can-focus">False</property> | ||
81 | <property name="wrap">True</property> | ||
82 | <property name="max-width-chars">64</property> | ||
83 | <property name="xalign">0</property> | ||
84 | </object> | ||
85 | <packing> | ||
86 | <property name="name">text_page</property> | ||
87 | </packing> | ||
88 | </child> | ||
89 | <child> | ||
90 | <object class="GtkRevealer" id="file_revealer"> | ||
91 | <property name="visible">True</property> | ||
92 | <property name="can-focus">False</property> | ||
93 | <property name="transition-type">none</property> | ||
94 | <child> | ||
95 | <object class="GtkBox"> | ||
96 | <property name="visible">True</property> | ||
97 | <property name="can-focus">False</property> | ||
98 | <property name="spacing">4</property> | ||
99 | <child> | ||
100 | <object class="GtkBox"> | ||
101 | <property name="visible">True</property> | ||
102 | <property name="can-focus">False</property> | ||
103 | <property name="valign">center</property> | ||
104 | <property name="orientation">vertical</property> | ||
105 | <property name="spacing">4</property> | ||
106 | <child> | ||
107 | <object class="GtkLabel" id="filename_label"> | ||
108 | <property name="visible">True</property> | ||
109 | <property name="can-focus">False</property> | ||
110 | </object> | ||
111 | <packing> | ||
112 | <property name="expand">False</property> | ||
113 | <property name="fill">True</property> | ||
114 | <property name="position">0</property> | ||
115 | </packing> | ||
116 | </child> | ||
117 | <child> | ||
118 | <object class="GtkProgressBar"> | ||
119 | <property name="visible">True</property> | ||
120 | <property name="can-focus">False</property> | ||
121 | </object> | ||
122 | <packing> | ||
123 | <property name="expand">False</property> | ||
124 | <property name="fill">True</property> | ||
125 | <property name="position">1</property> | ||
126 | </packing> | ||
127 | </child> | ||
128 | </object> | ||
129 | <packing> | ||
130 | <property name="expand">True</property> | ||
131 | <property name="fill">True</property> | ||
132 | <property name="position">0</property> | ||
133 | </packing> | ||
134 | </child> | ||
135 | <child> | ||
136 | <object class="GtkButton" id="file_button"> | ||
137 | <property name="visible">True</property> | ||
138 | <property name="can-focus">True</property> | ||
139 | <property name="receives-default">True</property> | ||
140 | <property name="halign">center</property> | ||
141 | <property name="valign">center</property> | ||
142 | <property name="relief">none</property> | ||
143 | <child> | ||
144 | <object class="GtkImage"> | ||
145 | <property name="visible">True</property> | ||
146 | <property name="can-focus">False</property> | ||
147 | <property name="icon-name">folder-download-symbolic</property> | ||
148 | </object> | ||
149 | </child> | ||
150 | </object> | ||
151 | <packing> | ||
152 | <property name="expand">False</property> | ||
153 | <property name="fill">True</property> | ||
154 | <property name="pack-type">end</property> | ||
155 | <property name="position">1</property> | ||
156 | </packing> | ||
157 | </child> | ||
158 | </object> | ||
159 | </child> | ||
160 | </object> | ||
161 | <packing> | ||
162 | <property name="name">file_page</property> | ||
163 | <property name="position">1</property> | ||
164 | </packing> | ||
165 | </child> | ||
166 | <child> | ||
167 | <object class="GtkDrawingArea" id="preview_drawing_area"> | ||
168 | <property name="visible">True</property> | ||
169 | <property name="can-focus">False</property> | ||
170 | </object> | ||
171 | <packing> | ||
172 | <property name="name">preview_page</property> | ||
173 | <property name="position">2</property> | ||
174 | </packing> | ||
175 | </child> | ||
176 | </object> | ||
177 | <packing> | ||
178 | <property name="expand">True</property> | ||
179 | <property name="fill">True</property> | ||
180 | <property name="position">1</property> | ||
181 | </packing> | ||
182 | </child> | ||
183 | <style> | ||
184 | <class name="message-content"/> | ||
185 | </style> | ||
186 | </object> | ||
187 | </interface> | ||