summaryrefslogtreecommitdiff
path: root/Base/home
diff options
context:
space:
mode:
authorRafał Babiarz <5783815+Sauler@users.noreply.github.com>2022-03-01 17:10:06 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-02 18:11:17 +0100
commitc2e2a964f2462394c32fbd5d7447da328208830b (patch)
tree47b4f3be15260ba4b36bcf9afe3100c0181e896e /Base/home
parent5f5ee2020e4a58d01b4bc47f3dfdc6ba44dda75b (diff)
downloadserenity-c2e2a964f2462394c32fbd5d7447da328208830b.zip
Browser: Add storage inspector
Diffstat (limited to 'Base/home')
-rw-r--r--Base/home/anon/BrowserSettingsWidget.gml180
1 files changed, 180 insertions, 0 deletions
diff --git a/Base/home/anon/BrowserSettingsWidget.gml b/Base/home/anon/BrowserSettingsWidget.gml
new file mode 100644
index 0000000000..da4fabd1d1
--- /dev/null
+++ b/Base/home/anon/BrowserSettingsWidget.gml
@@ -0,0 +1,180 @@
+@GUI::Frame {
+ fill_with_background_color: true
+ layout: @GUI::VerticalBoxLayout {
+ margins: [10]
+ spacing: 5
+ }
+
+ @GUI::GroupBox {
+ title: "Homepage"
+ fixed_height: 70
+ layout: @GUI::VerticalBoxLayout {
+ margins: [16, 8, 8]
+ spacing: 2
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+
+ @GUI::Label {
+ fixed_width: 32
+ fixed_height: 32
+ icon: "/res/icons/32x32/home.png"
+ }
+
+ @GUI::Label {
+ text: "URL:"
+ text_alignment: "CenterLeft"
+ fixed_width: 30
+ }
+
+ @GUI::TextBox {
+ name: "homepage_url_textbox"
+ placeholder: "https://example.com"
+ }
+ }
+ }
+
+ @GUI::GroupBox {
+ title: "Appearance"
+ fixed_height: 104
+ layout: @GUI::VerticalBoxLayout {
+ margins: [16, 8, 8]
+ spacing: 2
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+
+ @GUI::Label {
+ fixed_width: 32
+ fixed_height: 32
+ icon: "/res/icons/32x32/color-chooser.png"
+ }
+
+ @GUI::Label {
+ text: "Color scheme:"
+ text_alignment: "CenterLeft"
+ fixed_width: 110
+ }
+
+ @GUI::ComboBox {
+ name: "color_scheme_combobox"
+ }
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+
+ @GUI::Label {
+ fixed_width: 32
+ }
+
+ @GUI::CheckBox {
+ name: "show_bookmarks_bar_checkbox"
+ text: "Show bookmarks"
+ }
+ }
+ }
+
+ @GUI::GroupBox {
+ title: "Search Engine"
+ fixed_height: 140
+ layout: @GUI::VerticalBoxLayout {
+ margins: [16, 8, 8]
+ spacing: 2
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+
+ @GUI::Label {
+ fixed_width: 32
+ fixed_height: 32
+ icon: "/res/icons/32x32/search-engine.png"
+ }
+
+ @GUI::CheckBox {
+ text: "Search using '?' in the URL box"
+ name: "enable_search_engine_checkbox"
+ }
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+ name: "search_engine_combobox_group"
+
+ @GUI::Widget {
+ fixed_width: 32
+ }
+
+ @GUI::Label {
+ text: "Search engine:"
+ text_alignment: "CenterLeft"
+ fixed_width: 110
+ }
+
+ @GUI::ComboBox {
+ name: "search_engine_combobox"
+ }
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+ name: "custom_search_engine_group"
+
+ @GUI::Widget {
+ fixed_width: 32
+ }
+
+ @GUI::Label {
+ text: "Enter URL template:"
+ text_alignment: "CenterLeft"
+ fixed_width: 110
+ }
+
+ @GUI::TextBox {
+ name: "custom_search_engine_textbox"
+ placeholder: "https://host/search?q={}"
+ }
+ }
+ }
+
+ @GUI::GroupBox {
+ title: "Downloads"
+ fixed_height: 70
+ layout: @GUI::VerticalBoxLayout {
+ margins: [16, 8, 8]
+ spacing: 2
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 16
+ }
+
+ @GUI::Label {
+ fixed_width: 32
+ fixed_height: 32
+ icon: "/res/icons/32x32/downloads.png"
+ }
+
+ @GUI::CheckBox {
+ name: "auto_close_download_windows_checkbox"
+ text: "Automatically close download window when complete"
+ }
+ }
+ }
+}