musicus/res/ui/recording_screen.ui

128 lines
4.7 KiB
Text
Raw Normal View History

2020-10-16 21:24:55 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2021-01-25 14:00:57 +01:00
<requires lib="gtk" version="4.0"/>
2021-01-29 15:17:27 +01:00
<requires lib="libadwaita" version="1.0"/>
2020-10-16 21:24:55 +02:00
<object class="GtkBox" id="widget">
<property name="orientation">vertical</property>
<child>
2021-01-29 15:17:27 +01:00
<object class="AdwHeaderBar" id="header">
2021-01-25 14:00:57 +01:00
<property name="title-widget">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="valign">center</property>
<child>
<object class="GtkLabel" id="title_label">
<property name="label" translatable="yes">Recording</property>
<style>
<class name="title"/>
</style>
</object>
</child>
2020-10-16 21:24:55 +02:00
<child>
2021-01-25 14:00:57 +01:00
<object class="GtkLabel" id="subtitle_label">
<style>
<class name="subtitle"/>
</style>
2020-10-16 21:24:55 +02:00
</object>
</child>
</object>
2021-01-25 14:00:57 +01:00
</property>
2020-10-16 21:24:55 +02:00
<child>
2021-01-25 14:00:57 +01:00
<object class="GtkButton" id="back_button">
<property name="icon-name">go-previous-symbolic</property>
</object>
</child>
<child type="end">
2020-11-17 16:48:21 +01:00
<object class="GtkMenuButton">
2021-01-25 14:00:57 +01:00
<property name="icon-name">view-more-symbolic</property>
2020-11-17 16:48:21 +01:00
<property name="menu-model">menu</property>
2020-10-16 21:24:55 +02:00
</object>
</child>
</object>
</child>
<child>
2020-11-01 11:28:16 +01:00
<object class="GtkStack" id="stack">
<child>
2021-01-25 14:00:57 +01:00
<object class="GtkStackPage">
2020-11-01 11:28:16 +01:00
<property name="name">loading</property>
2021-01-25 14:00:57 +01:00
<property name="child">
<object class="GtkSpinner">
<property name="spinning">True</property>
</object>
</property>
</object>
2020-11-01 11:28:16 +01:00
</child>
<child>
2021-01-25 14:00:57 +01:00
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="vexpand">true</property>
2020-11-01 11:28:16 +01:00
<child>
2021-01-29 15:17:27 +01:00
<object class="AdwClamp">
2020-11-03 17:21:46 +01:00
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">18</property>
<property name="margin-bottom">12</property>
<property name="maximum-size">800</property>
2020-11-01 11:28:16 +01:00
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel">
<property name="halign">start</property>
<property name="label" translatable="yes">Tracks</property>
<attributes>
2020-11-03 17:21:46 +01:00
<attribute name="weight" value="bold"/>
2020-11-01 11:28:16 +01:00
</attributes>
</object>
</child>
<child>
<object class="GtkFrame" id="frame">
</object>
</child>
2020-11-07 16:11:08 +01:00
<child>
<object class="GtkButton" id="add_to_playlist_button">
<property name="label" translatable="yes">Add to playlist</property>
<property name="halign">end</property>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
2020-11-01 11:28:16 +01:00
</object>
</child>
</object>
</child>
</object>
2021-01-25 14:00:57 +01:00
</property>
2020-11-01 11:28:16 +01:00
</object>
</child>
</object>
2020-10-16 21:24:55 +02:00
</child>
</object>
2020-11-17 16:48:21 +01:00
<menu id="menu">
<section>
<item>
<attribute name="label" translatable="yes">Edit recording</attribute>
<attribute name="action">widget.edit</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Delete recording</attribute>
<attribute name="action">widget.delete</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Edit tracks</attribute>
<attribute name="action">widget.edit-tracks</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Delete tracks</attribute>
<attribute name="action">widget.delete-tracks</attribute>
</item>
</section>
</menu>
2020-10-16 21:24:55 +02:00
</interface>