sieverman/gui/main_window.blp

54 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-01-19 21:12:52 +01:00
using Gtk 4.0;
using Adw 1;
Adw.ApplicationWindow window {
default-width: 900;
default-height: 500;
content: Gtk.Box {
orientation: vertical;
Adw.HeaderBar{
title-widget: Adw.WindowTitle {
title: "Sieverman";
};
Gtk.Button { label: "Neu";}
}
Gtk.Box {
orientation: horizontal;
vexpand: true;
halign: fill;
Gtk.Label{
label: "Log information";
hexpand: true;
}
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-20 16:00:30 +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
}}
}
}
Gtk.Statusbar{Gtk.Label{
label: "Status";
}}
};
}