aboutsummaryrefslogtreecommitdiff
path: root/main/data/call_widget.ui
blob: aed663b1c07b5b39d155ca343f35de4d22eb3232 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <template class="DinoUiCallWidget">
        <property name="halign">start</property>
        <style>
            <class name="call-box-outer"/>
        </style>
        <child>
            <object class="DinoUiSizingBin">
                <property name="target-width">350</property>
                <property name="max-width">350</property>
                <property name="hexpand">True</property>
                <child>
                    <object class="GtkBox">
                        <property name="orientation">vertical</property>
                        <property name="halign">fill</property>
                        <property name="hexpand">true</property>
                        <child>
                            <object class="GtkBox">
                                <property name="orientation">horizontal</property>
                                <property name="spacing">10</property>
                                <style>
                                    <class name="call-box"/>
                                </style>
                                <child>
                                    <object class="GtkImage" id="image">
                                        <property name="opacity">0.7</property>
                                    </object>
                                </child>
                                <child>
                                    <object class="GtkBox">
                                        <property name="orientation">vertical</property>
                                        <property name="hexpand">True</property>
                                        <child>
                                            <object class="GtkLabel" id="title_label">
                                                <property name="ellipsize">middle</property>
                                                <property name="xalign">0</property>
                                                <property name="yalign">0</property>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkLabel" id="subtitle_label">
                                                <property name="xalign">0</property>
                                                <property name="yalign">1</property>
                                                <attributes>
                                                    <attribute name="scale" value="0.8"/>
                                                </attributes>
                                            </object>
                                        </child>
                                    </object>
                                </child>
                            </object>
                        </child>
                        <child>
                            <object class="GtkRevealer" id="incoming_call_revealer">
                                <property name="transition-type">slide-down</property>
                                <property name="transition-duration">200</property>
                                <property name="reveal-child">True</property>
                                <child>
                                    <object class="GtkBox" id="outer_additional_box">
                                        <child>
                                            <object class="GtkBox" id="incoming_call_box">
                                                <property name="halign">end</property>
                                                <property name="orientation">horizontal</property>
                                                <property name="spacing">5</property>
                                                <property name="margin_top">10</property>
                                                <property name="margin_bottom">10</property>
                                                <property name="margin_start">10</property>
                                                <property name="margin_end">10</property>
                                                <property name="hexpand">True</property>
                                                <child>
                                                    <object class="GtkButton" id="reject_call_button">
                                                        <property name="label" translatable="yes">Reject</property>
                                                        <style>
                                                            <class name="destructive-action"/>
                                                        </style>
                                                    </object>
                                                </child>
                                                <child>
                                                    <object class="GtkButton" id="accept_call_button">
                                                        <property name="label" translatable="yes">Accept</property>
                                                        <style>
                                                            <class name="suggested-action"/>
                                                        </style>
                                                    </object>
                                                </child>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkBox" id="multiparty_peer_box">
                                                <property name="margin_top">10</property>
                                                <property name="margin_bottom">10</property>
                                                <property name="margin_start">10</property>
                                                <property name="margin_end">10</property>
                                                <property name="spacing">7</property>
                                                <property name="hexpand">True</property>
                                            </object>
                                        </child>
                                    </object>
                                </child>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
    </template>
</interface>