Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gtk/preferences.ui
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-04 20:53:17 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-04 20:53:17 +0100
commitbe71bf80d290c98c0f6a66d3dcab28515b4ea371 (patch)
treed936090c5b5c9435febfe220770ff7f25399a235 /src/gtk/preferences.ui
Initial commit
Diffstat (limited to 'src/gtk/preferences.ui')
-rw-r--r--src/gtk/preferences.ui83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/gtk/preferences.ui b/src/gtk/preferences.ui
new file mode 100644
index 0000000..5823d2f
--- /dev/null
+++ b/src/gtk/preferences.ui
@@ -0,0 +1,83 @@
+<?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">Connection</property>
+ <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>
+ <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>
+ </object>
+ </child>
+ </template>
+</interface>