2022-08-24 18:51:14 +00:00
|
|
|
using Gtk 4.0;
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
template GradienceExplorePresetRow : Adw.ActionRow {
|
2022-09-16 06:09:46 +00:00
|
|
|
|
|
|
|
Box {
|
|
|
|
spacing: 6;
|
|
|
|
|
2022-09-28 13:26:12 +00:00
|
|
|
//Label badge {
|
|
|
|
// valign: center;
|
|
|
|
// label: _("Unknown");
|
|
|
|
|
|
|
|
// styles [
|
|
|
|
// "tag",
|
|
|
|
// "caption",
|
|
|
|
// ]
|
|
|
|
//}
|
2022-09-16 06:09:46 +00:00
|
|
|
|
|
|
|
Button apply_button {
|
|
|
|
valign: center;
|
2022-09-25 12:45:35 +00:00
|
|
|
icon-name: "checkmark-large-symbolic";
|
2022-09-16 06:09:46 +00:00
|
|
|
tooltip-text: _("Download and apply");
|
|
|
|
clicked => on_apply_button_clicked();
|
|
|
|
|
|
|
|
styles [
|
|
|
|
"flat",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Button download_button {
|
|
|
|
valign: center;
|
|
|
|
icon-name: "download-symbolic";
|
|
|
|
tooltip-text: _("Download only");
|
|
|
|
clicked => on_download_button_clicked();
|
|
|
|
|
|
|
|
styles [
|
|
|
|
"flat",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-24 18:51:14 +00:00
|
|
|
|
|
|
|
}
|