2025-01-15 11:23:04 +01:00
|
|
|
using Gtk 4.0;
|
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
|
|
template $MusicusEnsembleEditor: Adw.NavigationPage {
|
|
|
|
|
title: _("Ensemble");
|
|
|
|
|
|
|
|
|
|
Adw.ToolbarView {
|
|
|
|
|
[top]
|
|
|
|
|
Adw.HeaderBar header_bar {}
|
|
|
|
|
|
|
|
|
|
Adw.Clamp {
|
|
|
|
|
Gtk.Box {
|
|
|
|
|
orientation: vertical;
|
|
|
|
|
|
|
|
|
|
Gtk.Label {
|
|
|
|
|
label: _("Name");
|
|
|
|
|
xalign: 0;
|
|
|
|
|
margin-top: 24;
|
|
|
|
|
|
|
|
|
|
styles [
|
|
|
|
|
"heading"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$MusicusTranslationEditor name_editor {
|
|
|
|
|
margin-top: 12;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-17 18:33:31 +01:00
|
|
|
Gtk.ListBox {
|
|
|
|
|
selection-mode: none;
|
2025-01-15 11:23:04 +01:00
|
|
|
margin-top: 24;
|
|
|
|
|
|
|
|
|
|
styles [
|
2025-01-17 18:33:31 +01:00
|
|
|
"boxed-list"
|
2025-01-15 11:23:04 +01:00
|
|
|
]
|
2025-01-17 18:33:31 +01:00
|
|
|
|
|
|
|
|
Adw.ButtonRow save_row {
|
|
|
|
|
title: _("Create ensemble");
|
|
|
|
|
activated => $save() swapped;
|
|
|
|
|
}
|
2025-01-15 11:23:04 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|