summaryrefslogtreecommitdiff
path: root/src/gtkext/statusstack.ui
blob: 422f95d81fd5efd5232222215963469bfafa6fed (plain)
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<interface>
    <template class="GtkStatusStack" parent="GtkBox">

        <child>
            <object class="GtkStack" id="main">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="hexpand">true</property>

                <!-- Vide par défaut -->
                <child>
                    <object class="GtkStackPage" id="stack">
                        <property name="name">default</property>
                        <property name="child">

                            <object class="GtkLabel">
                                <property name="hexpand">true</property>
                                <property name="halign">fill</property>
                                <property name="valign">center</property>
                                <property name="xalign">0</property>
                                <property name="label"></property>
                            </object>

                        </property>
                    </object>
                </child>

                <!-- Informations pendant une navigation dans du contenu -->
                <child>
                    <object class="GtkStackPage">
                        <property name="name">navigation</property>
                        <property name="child">

                            <object class="GtkBox">
                                <property name="orientation">horizontal</property>
                                <property name="hexpand">true</property>
                                <property name="halign">fill</property>
                                <property name="valign">center</property>

                                <!-- Première partie : navigation -->

                                <child>
                                    <object class="GtkLabel" id="nav_segment">
                                        <property name="xalign">0</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <child>
                                    <object class="GtkLabel" id="nav_phys">
                                        <property name="xalign">0</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <child>
                                    <object class="GtkLabel" id="nav_virt">
                                        <property name="xalign">0</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <child>
                                    <object class="GtkLabel" id="nav_offset">
                                        <property name="xalign">0</property>
                                        <property name="hexpand">true</property>
                                        <property name="halign">fill</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <!-- Seconde partie : architecture -->

                                <child>
                                    <object class="GtkLabel" id="nav_format">
                                        <property name="xalign">0</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <child>
                                    <object class="GtkLabel" id="nav_details">
                                        <property name="xalign">0</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <!-- Troisième partie : affichage -->

                                <child>
                                    <object class="GtkEntry" id="zoom">
                                        <property name="secondary-icon-name">go-up-symbolic</property>
                                        <signal name="icon-press" handler="gtk_status_stack_on_zoom_icon_press"/>
                                    </object>
                                </child>

                            </object>

                        </property>
                    </object>
                </child>

                <!-- Informations liées à une activité en cours -->
                <child>
                    <object class="GtkStackPage">
                        <property name="name">activity</property>
                        <property name="child">

                            <object class="GtkBox">
                                <property name="orientation">horizontal</property>
                                <property name="hexpand">true</property>
                                <property name="halign">fill</property>
                                <property name="valign">center</property>

                                <child>
                                    <object class="GtkLabel" id="activity_message">
                                        <property name="xalign">0</property>
                                        <property name="margin-end">8</property>
                                        <property name="label">-</property>
                                    </object>
                                </child>

                                <child>
                                    <object class="GtkProgressBar" id="activity_progress">
                                        <property name="hexpand">true</property>
                                        <property name="halign">fill</property>
                                        <property name="valign">center</property>
                                        <property name="fraction">0</property>
                                    </object>
                                </child>

                            </object>

                        </property>
                    </object>
                </child>

                <property name="visible-child-name">default</property>
            </object>
        </child>

        <!-- Tronc commun -->

        <child>
            <object class="GtkSeparator">
                <property name="orientation">vertical</property>
            </object>
        </child>

        <child>
            <object class="GtkImage">
                <property name="margin-start">8</property>
                <property name="icon-name">pan-down-symbolic</property>
            </object>
        </child>
        <child>
            <object class="GtkLabel" id="net_recv_speed">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="xalign">0</property>
                <property name="label">0 b/s</property>
            </object>
        </child>

        <child>
            <object class="GtkImage">
                <property name="icon-name">pan-up-symbolic</property>
            </object>
        </child>
        <child>
            <object class="GtkLabel" id="net_send_speed">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="xalign">0</property>
                <property name="label">0 b/s</property>
            </object>
        </child>

        <child>
            <object class="GtkSeparator">
                <property name="orientation">vertical</property>
            </object>
        </child>

        <child>
            <object class="GtkToggleButton" id="bottom_toggler">
                <property name="has-frame">false</property>
                <property name="icon-name">panel-bottom-symbolic</property>
            </object>
        </child>

    </template>
</interface>