aboutsummaryrefslogtreecommitdiff
path: root/resources/ui/chat.ui
diff options
context:
space:
mode:
Diffstat (limited to 'resources/ui/chat.ui')
-rw-r--r--resources/ui/chat.ui268
1 files changed, 268 insertions, 0 deletions
diff --git a/resources/ui/chat.ui b/resources/ui/chat.ui
new file mode 100644
index 0000000..c7f333c
--- /dev/null
+++ b/resources/ui/chat.ui
@@ -0,0 +1,268 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Generated with glade 3.38.2
3
4Copyright (C) 2021 GNUnet e.V.
5
6GNUnet is free software: you can redistribute it and/or modify it
7under the terms of the GNU Affero General Public License as published
8by the Free Software Foundation, either version 3 of the License,
9or (at your option) any later version.
10
11GNUnet is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14Affero General Public License for more details.
15
16You should have received a copy of the GNU Affero General Public License
17along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19SPDX-License-Identifier: AGPL3.0-or-later
20Author: Tobias Frisch
21
22-->
23<interface>
24 <requires lib="gtk+" version="3.24"/>
25 <object class="GtkBox" id="chat_box">
26 <property name="visible">True</property>
27 <property name="can-focus">False</property>
28 <property name="orientation">vertical</property>
29 <child>
30 <object class="GtkBox" id="chat-header-box">
31 <property name="visible">True</property>
32 <property name="can-focus">False</property>
33 <property name="margin-start">8</property>
34 <property name="margin-end">8</property>
35 <property name="margin-top">8</property>
36 <property name="margin-bottom">8</property>
37 <property name="spacing">8</property>
38 <child>
39 <object class="GtkButton" id="back_button">
40 <property name="visible">True</property>
41 <property name="can-focus">True</property>
42 <property name="receives-default">True</property>
43 <property name="relief">none</property>
44 <child>
45 <object class="GtkImage">
46 <property name="visible">True</property>
47 <property name="can-focus">False</property>
48 <property name="icon-name">go-previous-symbolic</property>
49 </object>
50 </child>
51 </object>
52 <packing>
53 <property name="expand">False</property>
54 <property name="fill">True</property>
55 <property name="position">0</property>
56 </packing>
57 </child>
58 <child>
59 <object class="GtkBox">
60 <property name="visible">True</property>
61 <property name="can-focus">False</property>
62 <property name="halign">start</property>
63 <property name="margin-start">4</property>
64 <property name="margin-end">4</property>
65 <property name="orientation">vertical</property>
66 <child>
67 <object class="GtkLabel" id="chat_title">
68 <property name="visible">True</property>
69 <property name="can-focus">False</property>
70 <property name="label" translatable="yes">Chat title</property>
71 <property name="xalign">0</property>
72 <attributes>
73 <attribute name="weight" value="bold"/>
74 </attributes>
75 </object>
76 <packing>
77 <property name="expand">False</property>
78 <property name="fill">True</property>
79 <property name="position">0</property>
80 </packing>
81 </child>
82 <child>
83 <object class="GtkLabel" id="chat_subtitle">
84 <property name="visible">True</property>
85 <property name="can-focus">False</property>
86 <property name="label" translatable="yes">Chat subtitle</property>
87 <property name="xalign">0</property>
88 <attributes>
89 <attribute name="weight" value="light"/>
90 </attributes>
91 </object>
92 <packing>
93 <property name="expand">True</property>
94 <property name="fill">True</property>
95 <property name="position">1</property>
96 </packing>
97 </child>
98 </object>
99 <packing>
100 <property name="expand">True</property>
101 <property name="fill">True</property>
102 <property name="position">1</property>
103 </packing>
104 </child>
105 <child>
106 <object class="GtkButton" id="chat_details_button">
107 <property name="visible">True</property>
108 <property name="can-focus">True</property>
109 <property name="receives-default">True</property>
110 <property name="relief">none</property>
111 <child>
112 <object class="GtkImage">
113 <property name="visible">True</property>
114 <property name="can-focus">False</property>
115 <property name="icon-name">view-more-symbolic</property>
116 </object>
117 </child>
118 </object>
119 <packing>
120 <property name="expand">False</property>
121 <property name="fill">True</property>
122 <property name="pack-type">end</property>
123 <property name="position">1</property>
124 </packing>
125 </child>
126 </object>
127 <packing>
128 <property name="expand">False</property>
129 <property name="fill">True</property>
130 <property name="position">0</property>
131 </packing>
132 </child>
133 <child>
134 <object class="GtkScrolledWindow">
135 <property name="visible">True</property>
136 <property name="can-focus">True</property>
137 <child>
138 <object class="GtkViewport">
139 <property name="visible">True</property>
140 <property name="can-focus">False</property>
141 <child>
142 <object class="GtkStack">
143 <property name="visible">True</property>
144 <property name="can-focus">False</property>
145 <child>
146 <object class="GtkListBox" id="messages_listbox">
147 <property name="visible">True</property>
148 <property name="can-focus">False</property>
149 <property name="selection-mode">none</property>
150 <property name="activate-on-single-click">False</property>
151 </object>
152 <packing>
153 <property name="name">page0</property>
154 <property name="title" translatable="yes">page0</property>
155 </packing>
156 </child>
157 </object>
158 </child>
159 </object>
160 </child>
161 </object>
162 <packing>
163 <property name="expand">True</property>
164 <property name="fill">True</property>
165 <property name="position">1</property>
166 </packing>
167 </child>
168 <child>
169 <object class="GtkBox">
170 <property name="visible">True</property>
171 <property name="can-focus">False</property>
172 <property name="margin-start">8</property>
173 <property name="margin-end">8</property>
174 <property name="margin-top">4</property>
175 <property name="margin-bottom">4</property>
176 <property name="spacing">4</property>
177 <child>
178 <object class="GtkButton" id="attach_file_button">
179 <property name="visible">True</property>
180 <property name="can-focus">True</property>
181 <property name="receives-default">True</property>
182 <property name="valign">center</property>
183 <property name="relief">none</property>
184 <child>
185 <object class="GtkImage">
186 <property name="visible">True</property>
187 <property name="can-focus">False</property>
188 <property name="icon-name">mail-attachment-symbolic</property>
189 </object>
190 </child>
191 </object>
192 <packing>
193 <property name="expand">False</property>
194 <property name="fill">True</property>
195 <property name="position">0</property>
196 </packing>
197 </child>
198 <child>
199 <object class="GtkTextView" id="send_text_view">
200 <property name="width-request">210</property>
201 <property name="height-request">48</property>
202 <property name="visible">True</property>
203 <property name="can-focus">True</property>
204 <property name="valign">end</property>
205 <property name="wrap-mode">word-char</property>
206 <property name="left-margin">8</property>
207 <property name="right-margin">8</property>
208 <property name="top-margin">8</property>
209 <property name="bottom-margin">8</property>
210 <property name="input-hints">GTK_INPUT_HINT_SPELLCHECK | GTK_INPUT_HINT_WORD_COMPLETION | GTK_INPUT_HINT_INHIBIT_OSK | GTK_INPUT_HINT_EMOJI | GTK_INPUT_HINT_NONE</property>
211 </object>
212 <packing>
213 <property name="expand">True</property>
214 <property name="fill">True</property>
215 <property name="position">1</property>
216 </packing>
217 </child>
218 <child>
219 <object class="GtkButton" id="emoji_button">
220 <property name="visible">True</property>
221 <property name="can-focus">True</property>
222 <property name="receives-default">True</property>
223 <property name="valign">center</property>
224 <property name="relief">none</property>
225 <child>
226 <object class="GtkImage">
227 <property name="visible">True</property>
228 <property name="can-focus">False</property>
229 <property name="icon-name">face-smile-symbolic</property>
230 </object>
231 </child>
232 </object>
233 <packing>
234 <property name="expand">False</property>
235 <property name="fill">True</property>
236 <property name="position">2</property>
237 </packing>
238 </child>
239 <child>
240 <object class="GtkButton" id="send_record_button">
241 <property name="visible">True</property>
242 <property name="can-focus">True</property>
243 <property name="receives-default">True</property>
244 <property name="valign">center</property>
245 <property name="relief">none</property>
246 <child>
247 <object class="GtkImage" id="send_record_symbol">
248 <property name="visible">True</property>
249 <property name="can-focus">False</property>
250 <property name="icon-name">audio-input-microphone-symbolic</property>
251 </object>
252 </child>
253 </object>
254 <packing>
255 <property name="expand">False</property>
256 <property name="fill">True</property>
257 <property name="position">3</property>
258 </packing>
259 </child>
260 </object>
261 <packing>
262 <property name="expand">False</property>
263 <property name="fill">True</property>
264 <property name="position">2</property>
265 </packing>
266 </child>
267 </object>
268</interface>