using Gtk 4.0; using Adw 1; template $WaveletSetup: Adw.NavigationPage { title: _("Setup"); Adw.ToolbarView { [top] Adw.HeaderBar {} Adw.Clamp { child: Adw.PreferencesGroup { title: _("Authentication"); Adw.EntryRow server_url { title: _("Server URL"); input-purpose: url; } Adw.EntryRow username { title: _("Username"); } Adw.PasswordEntryRow password { title: _("Password"); } Adw.ActionRow status { title: _("Status"); subtitle: _("Not connected"); styles [ "property", ] } Adw.ButtonRow validate { title: _("Connect and save"); sensitive: false; } }; } } }