diff options
Diffstat (limited to 'src/gtkext/statusstack.ui')
-rw-r--r-- | src/gtkext/statusstack.ui | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/src/gtkext/statusstack.ui b/src/gtkext/statusstack.ui new file mode 100644 index 0000000..422f95d --- /dev/null +++ b/src/gtkext/statusstack.ui @@ -0,0 +1,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> |