1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
using Gtk 4.0;
using Adw 1;
template $SettingsDialog: Adw.PreferencesDialog {
content-width: 450;
content-height: 350;
Adw.PreferencesPage {
Adw.PreferencesGroup appearance {
title: _("Appearance");
Adw.SwitchRow dark_ui_switch {
title: _("Force Dark Mode");
}
}
Adw.PreferencesGroup {
title: _("Behavior");
Adw.SwitchRow live_search_switch {
title: _("Live Search");
subtitle: _("Show definition as the terms are typed in");
}
Adw.SwitchRow double_click_switch {
title: _("Double Click Search");
subtitle: _("Search any word by double clicking on it");
}
Adw.SwitchRow auto_paste_switch {
title: _("Auto Paste on Launch");
subtitle: _("Automatically paste and search clipboard content on launch");
}
Adw.ComboRow pronunciations_accent_row {
title: _("Pronunciations Accent");
model: StringList {
strings [
"American English",
"British English",
]
};
}
}
}
}
|