2024-10-10 10:12:43 +00:00
|
|
|
using Gtk 4.0;
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
template $WaveletPlayQueue: Adw.NavigationPage {
|
|
|
|
title: _("Play queue");
|
|
|
|
|
|
|
|
Adw.ToolbarView {
|
|
|
|
[top]
|
|
|
|
Adw.HeaderBar {}
|
|
|
|
|
|
|
|
ScrolledWindow {
|
|
|
|
ListView list_view {
|
2024-10-10 20:04:55 +00:00
|
|
|
single-click-activate: true;
|
|
|
|
|
2024-10-10 10:12:43 +00:00
|
|
|
factory: BuilderListItemFactory {
|
2024-10-10 10:18:54 +00:00
|
|
|
template ListItem {
|
|
|
|
child: Label {
|
|
|
|
halign: start;
|
2024-10-10 10:51:12 +00:00
|
|
|
label: bind template.item as <$WaveletSong>.title;
|
2024-10-10 10:18:54 +00:00
|
|
|
};
|
|
|
|
}
|
2024-10-10 10:12:43 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|