<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk" version="4.0"/> <requires lib="libadwaita" version="1.0"/> <template class="WeegtkPreferences" parent="AdwPreferencesDialog"> <property name="content-height">1000</property> <property name="search-enabled">True</property> <signal name="closed" handler="preferences_closed"/> <child> <object class="AdwPreferencesPage"> <property name="icon_name">preferences-window-layout-symbolic</property> <property name="title">Settings</property> <property name="use-underline">True</property> <child> <object class="AdwPreferencesGroup"> <property name="title" translatable="yes">Relay Connection</property> <child> <object class="AdwSwitchRow" id="autoconnect"> <property name="title" translatable="yes">Autoconnect</property> </object> </child> <child> <object class="AdwEntryRow" id="hostname"> <property name="title" translatable="yes">Hostname</property> <property name="use_underline">True</property> </object> </child> <child> <object class="AdwEntryRow" id="port"> <property name="title" translatable="yes">Port</property> <property name="use_underline">True</property> </object> </child> <child> <object class="AdwPasswordEntryRow" id="password"> <property name="title" translatable="yes">Password</property> </object> </child> </object> </child> <child> <object class="AdwPreferencesGroup"> <property name="title" translatable="yes">SSH Connection</property> <child> <object class="AdwEntryRow" id="ssh_host"> <property name="title" translatable="yes">SSH host</property> <property name="use_underline">True</property> </object> </child> <child> <object class="AdwEntryRow" id="ssh_port"> <property name="title" translatable="yes">SSH port</property> <property name="use_underline">True</property> </object> </child> <child> <object class="AdwEntryRow" id="ssh_username"> <property name="title" translatable="yes">SSH username</property> <property name="use_underline">True</property> </object> </child> <child> <object class="AdwActionRow"> <property name="title" translatable="yes">SSH key</property> <child> <object class="GtkButton"> <property name="valign">center</property> <property name="action-name">ssh_key.open</property> <child> <object class="GtkBox"> <property name="spacing">6</property> <child> <object class="GtkImage"> <property name="icon-name">document-open-symbolic</property> </object> </child> <child> <object class="GtkLabel" id="ssh_key_label"> <property name="ellipsize">middle</property> </object> </child> </object> </child> </object> </child> </object> </child> </object> </child> <child> <object class="AdwPreferencesGroup"> <property name="title" translatable="yes">Upload</property> <child> <object class="AdwEntryRow" id="upload_url"> <property name="title" translatable="yes">Upload URL</property> <property name="use_underline">True</property> </object> </child> </object> </child> </object> </child> </template> </interface>