mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Refactor module layout
This commit is contained in:
parent
e59052a362
commit
5956b7ff15
70 changed files with 757 additions and 841 deletions
24
data/ui/editor/translation.blp
Normal file
24
data/ui/editor/translation.blp
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $MusicusTranslationEditor: Adw.Bin {
|
||||
Gtk.ListBox list_box {
|
||||
selection-mode: none;
|
||||
|
||||
styles [
|
||||
"boxed-list"
|
||||
]
|
||||
|
||||
Adw.EntryRow entry_row {
|
||||
title: _("_Name");
|
||||
use-underline: true;
|
||||
}
|
||||
|
||||
Adw.ButtonRow {
|
||||
title: _("Add _translation");
|
||||
start-icon-name: "list-add-symbolic";
|
||||
use-underline: true;
|
||||
activated => $add_translation() swapped;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue