audrey/src/window.ui
2024-10-14 21:55:24 +02:00

241 lines
9.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<requires lib="Adw" version="1.0"/>
<template class="WaveletWindow" parent="AdwApplicationWindow">
<property name="title" translatable="yes">Wavelet</property>
<property name="default-width">800</property>
<property name="default-height">600</property>
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="AdwOverlaySplitView">
<property name="vexpand">true</property>
<child type="sidebar">
<object class="AdwNavigationPage">
<property name="width-request">100</property>
<property name="title" translatable="true">Wavelet</property>
<child>
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkListBox" id="sidebar">
<style><class name="navigation-sidebar"/></style>
<child>
<object class="GtkListBoxRow" id="sidebar_setup">
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label">Setup</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="sidebar_play_queue">
<child>
<object class="GtkLabel">
<property name="xalign">0</property>
<property name="label">Play queue</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkSeparator">
</object>
</child>
<child>
<object class="GtkListBox">
<property name="selection-mode">none</property>
<style><class name="navigation-sidebar"/></style>
<child>
<object class="AdwButtonRow">
<property name="title">Shuffle all tracks</property>
<property name="start-icon-name">media-playlist-shuffle</property>
</object>
</child>
</object>
</child>
<child>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
<child type="content">
<object class="GtkStack" id="stack">
<child>
<object class="GtkStackPage">
<property name="name">setup</property>
<property name="title">Setup</property>
<property name="child">
<object class="WaveletSetup" id="setup"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">artist_list</property>
<property name="title">Artists</property>
<property name="child">
<object class="WaveletArtistList" id="artist_list"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">song_list</property>
<property name="title">Songs</property>
<property name="child">
<object class="WaveletSongList" id="song_list"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">play_queue</property>
<property name="title">Play queue</property>
<property name="child">
<object class="WaveletPlayQueue" id="play_queue"/>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="bottom">
<object class="GtkBox">
<property name="orientation">0</property>
<style>
<class name="toolbar"/>
</style>
<child>
<object class="GtkImage">
<property name="height-request">100</property>
<property name="width-request">100</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">1</property>
<property name="valign">3</property>
<child>
<object class="GtkLabel">
<property name="halign">1</property>
<property name="label">Title</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="halign">1</property>
<property name="label">Artist - Album - Year</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="halign">1</property>
<property name="orientation">0</property>
<child>
<object class="GtkLabel">
<property name="label">00:00</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="orientation">0</property>
<property name="width-request">200</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="lower">0</property>
<property name="upper">100</property>
<property name="value">0</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label">99:99</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkSeparator">
<style>
<class name="spacer"/>
</style>
<property name="hexpand">true</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">media-skip-backward</property>
<property name="valign">3</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">media-playback-start</property>
<property name="valign">3</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">media-skip-forward</property>
<property name="valign">3</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">non-starred</property>
<property name="valign">3</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">audio-volume-high</property>
<property name="valign">3</property>
</object>
</child>
<child>
<object class="GtkScale">
<property name="orientation">0</property>
<property name="width-request">130</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="lower">0</property>
<property name="upper">100</property>
<property name="value">100</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">media-playlist-consecutive</property>
<property name="valign">3</property>
</object>
</child>
</object>
</child>
</object>
</property>
</template>
</interface>