mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
126 lines
4.9 KiB
Text
126 lines
4.9 KiB
Text
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<interface>
|
||
|
|
<requires lib="gtk" version="4.0"/>
|
||
|
|
<requires lib="libadwaita" version="1.0"/>
|
||
|
|
<object class="GtkStack" id="widget">
|
||
|
|
<property name="transition-type">crossfade</property>
|
||
|
|
<child>
|
||
|
|
<object class="GtkStackPage">
|
||
|
|
<property name="name">content</property>
|
||
|
|
<property name="child">
|
||
|
|
<object class="GtkBox">
|
||
|
|
<property name="orientation">vertical</property>
|
||
|
|
<child>
|
||
|
|
<object class="AdwHeaderBar">
|
||
|
|
<property name="show-start-title-buttons">false</property>
|
||
|
|
<property name="show-end-title-buttons">false</property>
|
||
|
|
<property name="title-widget">
|
||
|
|
<object class="AdwWindowTitle" id="window_title"/>
|
||
|
|
</property>
|
||
|
|
<child>
|
||
|
|
<object class="GtkButton" id="back_button">
|
||
|
|
<property name="label" translatable="yes">Cancel</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
<child type="end">
|
||
|
|
<object class="GtkButton" id="save_button">
|
||
|
|
<property name="label" translatable="yes">Save</property>
|
||
|
|
<style>
|
||
|
|
<class name="suggested-action"/>
|
||
|
|
</style>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
<child>
|
||
|
|
<object class="GtkScrolledWindow">
|
||
|
|
<property name="vexpand">true</property>
|
||
|
|
<child>
|
||
|
|
<object class="AdwClamp">
|
||
|
|
<child>
|
||
|
|
<object class="GtkBox" id="content_box">
|
||
|
|
<property name="orientation">vertical</property>
|
||
|
|
<property name="margin-start">12</property>
|
||
|
|
<property name="margin-end">12</property>
|
||
|
|
<property name="margin-bottom">36</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
<child>
|
||
|
|
<object class="GtkStackPage">
|
||
|
|
<property name="name">loading</property>
|
||
|
|
<property name="child">
|
||
|
|
<object class="GtkBox">
|
||
|
|
<property name="orientation">vertical</property>
|
||
|
|
<child>
|
||
|
|
<object class="AdwHeaderBar">
|
||
|
|
<property name="show-start-title-buttons">false</property>
|
||
|
|
<property name="show-end-title-buttons">false</property>
|
||
|
|
<property name="title-widget">
|
||
|
|
<object class="AdwWindowTitle">
|
||
|
|
<property name="title" translatable="true">Loading</property>
|
||
|
|
</object>
|
||
|
|
</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
<child>
|
||
|
|
<object class="GtkSpinner">
|
||
|
|
<property name="hexpand">true</property>
|
||
|
|
<property name="vexpand">true</property>
|
||
|
|
<property name="halign">center</property>
|
||
|
|
<property name="valign">center</property>
|
||
|
|
<property name="width-request">32</property>
|
||
|
|
<property name="height-request">32</property>
|
||
|
|
<property name="spinning">true</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
<child>
|
||
|
|
<object class="GtkStackPage">
|
||
|
|
<property name="name">error</property>
|
||
|
|
<property name="child">
|
||
|
|
<object class="GtkBox">
|
||
|
|
<property name="orientation">vertical</property>
|
||
|
|
<child>
|
||
|
|
<object class="AdwHeaderBar">
|
||
|
|
<property name="show-start-title-buttons">false</property>
|
||
|
|
<property name="show-end-title-buttons">false</property>
|
||
|
|
<property name="title-widget">
|
||
|
|
<object class="AdwWindowTitle">
|
||
|
|
<property name="title" translatable="yes">Error</property>
|
||
|
|
</object>
|
||
|
|
</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
<child>
|
||
|
|
<object class="AdwStatusPage" id="status_page">
|
||
|
|
<property name="icon-name">network-error-symbolic</property>
|
||
|
|
<property name="title">Error</property>
|
||
|
|
<child>
|
||
|
|
<object class="GtkButton" id="try_again_button">
|
||
|
|
<property name="label" translatable="yes">Try again</property>
|
||
|
|
<property name="hexpand">true</property>
|
||
|
|
<property name="vexpand">true</property>
|
||
|
|
<property name="halign">center</property>
|
||
|
|
<property name="valign">center</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</property>
|
||
|
|
</object>
|
||
|
|
</child>
|
||
|
|
</object>
|
||
|
|
</interface>
|