audrey/src/window.ui

187 lines
7.1 KiB
Text
Raw Normal View History

2024-10-06 11:21:53 +00:00
<?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="AdwToolbarView">
<child>
<object class="AdwOverlaySplitView">
<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>
<child>
<object class="GtkStackSidebar">
<property name="stack">stack</property>
</object>
</child>
</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>
</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>