2024-01-19 21:12:52 +01:00
|
|
|
using Gtk 4.0;
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
Adw.ApplicationWindow window {
|
2024-01-21 22:26:03 +01:00
|
|
|
default-width: 900;
|
|
|
|
default-height: 500;
|
2024-01-19 21:12:52 +01:00
|
|
|
|
2024-01-21 22:26:03 +01:00
|
|
|
content: Gtk.Box {
|
|
|
|
orientation: vertical;
|
2024-01-19 21:12:52 +01:00
|
|
|
|
2024-01-21 22:26:03 +01:00
|
|
|
Adw.HeaderBar {
|
|
|
|
title-widget: Adw.WindowTitle {
|
|
|
|
title: "Sieverman";
|
|
|
|
};
|
2024-01-19 21:12:52 +01:00
|
|
|
|
2024-01-21 22:26:03 +01:00
|
|
|
[start]
|
|
|
|
Gtk.Button {
|
|
|
|
label: "Neu";
|
|
|
|
}
|
|
|
|
|
|
|
|
[end]
|
|
|
|
Gtk.ToggleButton settings_button {
|
|
|
|
icon-name: "open-menu-symbolic";
|
|
|
|
active: true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Gtk.Box {
|
|
|
|
orientation: horizontal;
|
|
|
|
vexpand: true;
|
|
|
|
halign: fill;
|
|
|
|
|
|
|
|
Gtk.Label {
|
|
|
|
label: "Log information";
|
|
|
|
hexpand: true;
|
|
|
|
}
|
|
|
|
|
|
|
|
Gtk.Revealer settings_pane {
|
|
|
|
reveal-child: bind settings_button.active bidirectional;
|
|
|
|
transition-type: slide_left;
|
|
|
|
|
|
|
|
Gtk.ScrolledWindow server_info {
|
|
|
|
width-request: 100;
|
|
|
|
|
|
|
|
Adw.PreferencesPage {
|
|
|
|
Adw.PreferencesGroup server_settings {
|
|
|
|
vexpand: true;
|
|
|
|
valign: center;
|
|
|
|
title: "Server Information";
|
|
|
|
description: "The information the server published on connection";
|
2024-01-19 21:12:52 +01:00
|
|
|
}
|
2024-01-21 22:26:03 +01:00
|
|
|
|
|
|
|
Adw.PreferencesGroup credentials {
|
|
|
|
vexpand: true;
|
|
|
|
valign: center;
|
|
|
|
title: "Login Information";
|
|
|
|
description: "The credentials that will be used to log in.";
|
|
|
|
|
|
|
|
Adw.EntryRow {
|
|
|
|
title: "Username:";
|
|
|
|
}
|
|
|
|
|
|
|
|
Adw.PasswordEntryRow {
|
|
|
|
title: "Password:";
|
|
|
|
}
|
2024-01-19 21:12:52 +01:00
|
|
|
}
|
2024-01-21 22:26:03 +01:00
|
|
|
}
|
2024-01-19 21:12:52 +01:00
|
|
|
}
|
2024-01-21 22:26:03 +01:00
|
|
|
}
|
|
|
|
}
|
2024-01-19 21:12:52 +01:00
|
|
|
|
2024-01-21 22:26:03 +01:00
|
|
|
Gtk.Statusbar {
|
|
|
|
Gtk.Label {
|
|
|
|
label: "Status";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|