aboutsummaryrefslogtreecommitdiff
path: root/main/data/unified_main_content.ui
blob: a66275de7dbcf01306794c021991f51cb00be2ba (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <requires lib="gtk" version="4.0"/>
    <object class="AdwLeaflet" id="leaflet">
        <property name="transition-type">slide</property>
        <property name="can-navigate-back">true</property>
        <property name="can-navigate-forward">true</property>
        <child>
            <object class="GtkBox" id="left_box">
                <property name="orientation">vertical</property>
                <child>
                    <object class="GtkStack" id="left_stack">
                        <property name="hexpand">False</property>
                        <child>
                            <object class="GtkStackPage">
                                <property name="name">content</property>
                                <property name="child">
                                    <object class="GtkScrolledWindow">
                                        <property name="hscrollbar_policy">never</property>
                                        <property name="vexpand">1</property>
                                        <child>
                                            <object class="DinoUiConversationSelector" id="conversation_list">
                                            </object>
                                        </child>
                                    </object>
                                </property>
                            </object>
                        </child>
                        <child>
                            <object class="GtkStackPage">
                                <property name="name">placeholder</property>
                                <property name="child">
                                    <object class="AdwStatusPage">
                                        <style>
                                            <class name="compact"/>
                                        </style>
                                        <property name="margin-start">20</property>
                                        <property name="margin-end">20</property>
                                        <property name="margin-top">20</property>
                                        <property name="margin-bottom">20</property>
                                        <property name="width_request">260</property>

                                        <property name="title" translatable="True">You have no open chats</property>
                                        <property name="description" translatable="True">Click + to start a conversation or join a channel</property>
                                    </object>
                                </property>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
        <child>
            <object class="GtkBox" id="right_box">
                <property name="orientation">vertical</property>
                <child>
                    <object class="GtkOverlay">
                        <property name="child">
                            <object class="GtkStack" id="right_stack">
                                <child>
                                    <object class="GtkStackPage">
                                        <property name="name">content</property>
                                        <property name="child">
                                            <object class="DinoUiConversationView" id="conversation_view">
                                            </object>
                                        </property>
                                    </object>
                                </child>
                                <child>
                                    <object class="GtkStackPage">
                                        <property name="name">placeholder</property>
                                        <property name="child">
                                            <object class="AdwStatusPage">
                                                <property name="icon-name">im.dino.Dino-symbolic</property>
                                                <property name="hexpand">True</property>
                                                <property name="vexpand">True</property>
                                            </object>
                                        </property>
                                    </object>
                                </child>
                            </object>
                        </property>
                        <child type="overlay">
                            <object class="GtkRevealer" id="search_revealer">
                                <property name="halign">end</property>
                                <property name="transition-type">slide-left</property>
                                <style>
                                    <class name="dino-sidebar"/>
                                </style>
                                <property name="child">
                                    <object class="GtkFrame" id="search_frame">
                                        <property name="width-request">400</property>
                                    </object>
                                </property>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
    </object>
</interface>