mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2025-02-27 15:18:56 +03:00
- renamed "page_*" to some actual pages names - added voice packages selection page - made "Advanced" button working. It shows default paths selection page
79 lines
1.8 KiB
Text
79 lines
1.8 KiB
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Gtk.Box page {
|
|
orientation: vertical;
|
|
hexpand: true;
|
|
|
|
Adw.PreferencesPage {
|
|
Adw.PreferencesGroup {
|
|
Gtk.Label {
|
|
label: "Download default components";
|
|
margin-top: 16;
|
|
|
|
styles ["title-1"]
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
vexpand: true;
|
|
valign: center;
|
|
|
|
Adw.ComboRow wine_version {
|
|
title: "Wine version";
|
|
}
|
|
|
|
Adw.ComboRow dxvk_version {
|
|
title: "DXVK version";
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup buttons_group {
|
|
vexpand: true;
|
|
valign: center;
|
|
|
|
Gtk.Box {
|
|
orientation: horizontal;
|
|
spacing: 8;
|
|
halign: center;
|
|
|
|
Gtk.Button download_button {
|
|
label: "Download";
|
|
|
|
styles ["suggested-action"]
|
|
}
|
|
|
|
Gtk.Button exit_button {
|
|
label: "Exit";
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup progress_bar_group {
|
|
vexpand: true;
|
|
valign: center;
|
|
visible: false;
|
|
|
|
Gtk.Box {
|
|
halign: center;
|
|
margin-top: 64;
|
|
spacing: 20;
|
|
|
|
Gtk.ProgressBar progress_bar {
|
|
text: "Downloading: 37% (3.7 of 10 GB)";
|
|
show-text: true;
|
|
|
|
width-request: 360;
|
|
fraction: 0.37;
|
|
valign: center;
|
|
}
|
|
|
|
Gtk.Button {
|
|
label: "Pause";
|
|
sensitive: false;
|
|
tooltip-text: "Work in progress";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|