mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add tracks editor UI
This commit is contained in:
parent
0fe143a383
commit
143876c4de
12 changed files with 1159 additions and 26 deletions
25
data/ui/tracks_editor_track_row.blp
Normal file
25
data/ui/tracks_editor_track_row.blp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $MusicusTracksEditorTrackRow: Adw.ActionRow {
|
||||
title: _("Select parts");
|
||||
activatable: true;
|
||||
activated => $select_parts() swapped;
|
||||
|
||||
[prefix]
|
||||
Gtk.Box select_parts_box {
|
||||
Gtk.Image {
|
||||
icon-name: "document-edit-symbolic";
|
||||
}
|
||||
}
|
||||
|
||||
Gtk.Button {
|
||||
icon-name: "user-trash-symbolic";
|
||||
valign: center;
|
||||
clicked => $remove() swapped;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue