summaryrefslogtreecommitdiff
path: root/Base/home/anon
diff options
context:
space:
mode:
authorMaciej <sppmacd@pm.me>2022-03-25 19:31:47 +0100
committerSam Atkins <atkinssj@gmail.com>2022-07-09 09:22:25 +0100
commit7dd3c5c981fccb0fa3b19f1b4ba9f6f7e046b306 (patch)
tree96b5f43a47fe5b5fc04c7a1b83c23cef8117a762 /Base/home/anon
parentdf7b7cbfa43ba83808c2aa9e5034878f626454b1 (diff)
downloadserenity-7dd3c5c981fccb0fa3b19f1b4ba9f6f7e046b306.zip
Applications: Add a new NetworkSettings application
Diffstat (limited to 'Base/home/anon')
-rw-r--r--Base/home/anon/NetworkSettings.gml83
1 files changed, 83 insertions, 0 deletions
diff --git a/Base/home/anon/NetworkSettings.gml b/Base/home/anon/NetworkSettings.gml
new file mode 100644
index 0000000000..b4f7dcfb6e
--- /dev/null
+++ b/Base/home/anon/NetworkSettings.gml
@@ -0,0 +1,83 @@
+@GUI::Frame {
+ fill_with_background_color: true
+ layout: @GUI::VerticalBoxLayout {
+ margins: [10]
+ spacing: 5
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 20
+ }
+ fixed_height: 40
+
+ @GUI::Label {
+ fixed_width: 32
+ fixed_height: 32
+ icon: "/res/icons/32x32/network.png"
+ }
+
+ @GUI::Label {
+ text: "Select adapter:"
+ fixed_width: 100
+ text_alignment: "CenterLeft"
+ }
+
+ @GUI::ComboBox {
+ model_only: true
+ name: "adapters_combobox"
+ }
+ }
+
+ @GUI::GroupBox {
+ title: "Network"
+ shrink_to_fit: true
+ layout: @GUI::VerticalBoxLayout {
+ margins: [10]
+ }
+
+ @GUI::CheckBox {}
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {}
+ fixed_height: 30
+
+ @GUI::Label {
+ text: "IP Address:"
+ fixed_width: 100
+ text_alignment: "CenterLeft"
+ }
+
+ @GUI::TextBox {
+ name: "ip_address_textbox"
+ }
+
+ @GUI::Label {
+ text: "/"
+ fixed_width: 10
+ }
+
+ @GUI::SpinBox {
+ name: "cidr_spinbox"
+ fixed_width: 50
+ min: 1
+ max: 32
+ }
+ }
+
+ @GUI::Widget {
+ layout: @GUI::HorizontalBoxLayout {}
+ fixed_height: 30
+
+ @GUI::Label {
+ text: "Default gateway:"
+ fixed_width: 100
+ text_alignment: "CenterLeft"
+ }
+
+ @GUI::TextBox {
+ name: "default_gateway_textbox"
+ }
+ }
+ }
+}