aboutsummaryrefslogtreecommitdiff
path: root/resources/ui/contact_info.ui
diff options
context:
space:
mode:
Diffstat (limited to 'resources/ui/contact_info.ui')
-rw-r--r--resources/ui/contact_info.ui180
1 files changed, 180 insertions, 0 deletions
diff --git a/resources/ui/contact_info.ui b/resources/ui/contact_info.ui
new file mode 100644
index 0000000..8ac2e04
--- /dev/null
+++ b/resources/ui/contact_info.ui
@@ -0,0 +1,180 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Generated with glade 3.38.2
3
4Copyright (C) 2021‑‑2022 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 <requires lib="libhandy" version="1.2"/>
26 <object class="GtkDialog" id="contact_info_dialog">
27 <property name="can-focus">False</property>
28 <property name="modal">True</property>
29 <property name="window-position">center-on-parent</property>
30 <property name="type-hint">dialog</property>
31 <child internal-child="vbox">
32 <object class="GtkBox">
33 <property name="can-focus">False</property>
34 <property name="orientation">vertical</property>
35 <property name="spacing">2</property>
36 <child internal-child="action_area">
37 <object class="GtkButtonBox">
38 <property name="can-focus">False</property>
39 <property name="layout-style">end</property>
40 <child>
41 <object class="GtkButton" id="back_button">
42 <property name="label" translatable="yes">Back</property>
43 <property name="visible">True</property>
44 <property name="can-focus">True</property>
45 <property name="receives-default">True</property>
46 </object>
47 <packing>
48 <property name="expand">True</property>
49 <property name="fill">True</property>
50 <property name="position">0</property>
51 </packing>
52 </child>
53 <child>
54 <object class="GtkButton" id="close_button">
55 <property name="label" translatable="yes">Close</property>
56 <property name="visible">True</property>
57 <property name="can-focus">True</property>
58 <property name="receives-default">True</property>
59 </object>
60 <packing>
61 <property name="expand">True</property>
62 <property name="fill">True</property>
63 <property name="position">1</property>
64 </packing>
65 </child>
66 </object>
67 <packing>
68 <property name="expand">False</property>
69 <property name="fill">False</property>
70 <property name="position">0</property>
71 </packing>
72 </child>
73 <child>
74 <object class="GtkStack" id="contact_info_stack">
75 <property name="visible">True</property>
76 <property name="can-focus">False</property>
77 <property name="border-width">8</property>
78 <child>
79 <object class="GtkBox" id="details_box">
80 <property name="visible">True</property>
81 <property name="can-focus">False</property>
82 <property name="halign">center</property>
83 <property name="valign">center</property>
84 <property name="border-width">8</property>
85 <property name="orientation">vertical</property>
86 <property name="spacing">4</property>
87 <child>
88 <object class="HdyAvatar" id="contact_avatar">
89 <property name="visible">True</property>
90 <property name="can-focus">False</property>
91 <property name="halign">center</property>
92 <property name="margin-top">8</property>
93 <property name="margin-bottom">8</property>
94 <property name="icon-name">avatar-default-symbolic</property>
95 <property name="size">128</property>
96 </object>
97 <packing>
98 <property name="expand">False</property>
99 <property name="fill">True</property>
100 <property name="position">0</property>
101 </packing>
102 </child>
103 <child>
104 <object class="GtkLabel">
105 <property name="visible">True</property>
106 <property name="can-focus">False</property>
107 <property name="label" translatable="yes">Name:</property>
108 <property name="xalign">0</property>
109 </object>
110 <packing>
111 <property name="expand">False</property>
112 <property name="fill">True</property>
113 <property name="position">1</property>
114 </packing>
115 </child>
116 <child>
117 <object class="GtkEntry" id="contact_name">
118 <property name="width-request">250</property>
119 <property name="visible">True</property>
120 <property name="can-focus">True</property>
121 </object>
122 <packing>
123 <property name="expand">False</property>
124 <property name="fill">True</property>
125 <property name="position">2</property>
126 </packing>
127 </child>
128 <child>
129 <object class="GtkButton" id="reveal_identity_button">
130 <property name="label" translatable="yes">Reveal Identity</property>
131 <property name="visible">True</property>
132 <property name="can-focus">True</property>
133 <property name="receives-default">True</property>
134 </object>
135 <packing>
136 <property name="expand">False</property>
137 <property name="fill">True</property>
138 <property name="position">3</property>
139 </packing>
140 </child>
141 <child>
142 <object class="GtkButton" id="open_chat_button">
143 <property name="label" translatable="yes">Open Private Chat</property>
144 <property name="visible">True</property>
145 <property name="can-focus">True</property>
146 <property name="receives-default">True</property>
147 </object>
148 <packing>
149 <property name="expand">False</property>
150 <property name="fill">True</property>
151 <property name="position">4</property>
152 </packing>
153 </child>
154 </object>
155 <packing>
156 <property name="name">details_page</property>
157 </packing>
158 </child>
159 <child>
160 <object class="GtkDrawingArea" id="id_drawing_area">
161 <property name="height-request">250</property>
162 <property name="visible">True</property>
163 <property name="can-focus">False</property>
164 </object>
165 <packing>
166 <property name="name">drawing_page</property>
167 <property name="position">1</property>
168 </packing>
169 </child>
170 </object>
171 <packing>
172 <property name="expand">True</property>
173 <property name="fill">True</property>
174 <property name="position">1</property>
175 </packing>
176 </child>
177 </object>
178 </child>
179 </object>
180</interface>