2021-07-05 09:55:44 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2024-01-13 01:23:44 +00:00
|
|
|
<template class="CallsSipAccountWidget" parent="AdwBin">
|
2021-07-05 09:55:44 +00:00
|
|
|
<child>
|
2024-01-12 05:48:38 +00:00
|
|
|
<object class="AdwToolbarView" id="child">
|
|
|
|
<child type="top">
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwHeaderBar" id="header_add">
|
2023-12-17 05:51:01 +00:00
|
|
|
<child type="end">
|
2023-08-27 05:25:49 +00:00
|
|
|
<object class="GtkButton" id="login_btn">
|
|
|
|
<property name="use-underline">True</property>
|
|
|
|
<property name="label" translatable="yes">_Log In</property>
|
|
|
|
<signal name="clicked" handler="on_login_clicked" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
</style>
|
2021-07-05 09:55:44 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2023-12-17 05:51:01 +00:00
|
|
|
<child type="end">
|
2023-12-16 21:13:37 +00:00
|
|
|
<object class="GtkSpinner" id="spinner_add"/>
|
2021-07-05 09:55:44 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2024-01-12 05:48:38 +00:00
|
|
|
<child type="top">
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwHeaderBar" id="header_edit">
|
2023-12-17 05:51:01 +00:00
|
|
|
<child type="end">
|
2023-08-27 05:25:49 +00:00
|
|
|
<object class="GtkButton" id="apply_btn">
|
|
|
|
<property name="use-underline">True</property>
|
|
|
|
<property name="label" translatable="yes">_Apply</property>
|
|
|
|
<signal name="clicked" handler="on_apply_clicked" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
</style>
|
2021-07-05 09:55:44 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2023-12-17 05:51:01 +00:00
|
|
|
<child type="end">
|
2023-08-27 05:25:49 +00:00
|
|
|
<object class="GtkButton" id="delete_btn">
|
|
|
|
<property name="use-underline">True</property>
|
|
|
|
<property name="label" translatable="yes">_Delete</property>
|
|
|
|
<signal name="clicked" handler="on_delete_clicked" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="destructive-action"/>
|
|
|
|
</style>
|
2021-07-05 09:55:44 +00:00
|
|
|
</object>
|
2023-08-27 05:25:49 +00:00
|
|
|
</child>
|
2023-12-17 05:51:01 +00:00
|
|
|
<child type="end">
|
2023-12-16 21:13:37 +00:00
|
|
|
<object class="GtkSpinner" id="spinner_edit"/>
|
2021-07-05 09:55:44 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2024-01-12 05:48:38 +00:00
|
|
|
<property name="content">
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwPreferencesPage">
|
2021-07-05 09:55:44 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwPreferencesGroup">
|
2021-07-05 09:55:44 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Server</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="host">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-05 09:55:44 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwPreferencesGroup">
|
2023-08-27 05:25:49 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Display Name</property>
|
|
|
|
<property name="subtitle" translatable="yes">Optional</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="display_name">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-07-05 09:55:44 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2022-05-09 15:47:08 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwPreferencesGroup">
|
2023-08-27 05:25:49 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">User ID</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="user">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Password</property>
|
|
|
|
<child>
|
2024-03-29 19:37:42 +00:00
|
|
|
<object class="GtkPasswordEntry" id="password">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="valign">center</property>
|
2024-03-29 19:37:42 +00:00
|
|
|
<property name="show-peek-icon">True</property>
|
2023-08-27 05:25:49 +00:00
|
|
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-05-09 15:47:08 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-21 09:17:40 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwPreferencesGroup">
|
2021-10-21 09:17:40 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Port</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="port">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="input-purpose">digits</property>
|
|
|
|
<signal name="changed" handler="on_user_changed" swapped="yes"/>
|
|
|
|
<signal name="insert-text" handler="on_port_entry_insert_text" swapped="yes"/>
|
|
|
|
<signal name="insert-text" handler="on_port_entry_after_insert_text" swapped="yes" after="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwComboRow" id="protocol">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Transport</property>
|
|
|
|
<signal name="notify::selected-index" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwComboRow" id="media_encryption">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Media Encryption</property>
|
|
|
|
<signal name="notify::selected-index" handler="on_user_changed" swapped="yes"/>
|
2021-10-21 09:17:40 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-05-24 08:00:02 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwPreferencesGroup">
|
2022-05-24 08:00:02 +00:00
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Use for Phone Calls</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSwitch" id="tel_switch">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-12-13 20:56:46 +00:00
|
|
|
<object class="AdwActionRow">
|
2023-08-27 05:25:49 +00:00
|
|
|
<property name="title" translatable="yes">Automatically Connect</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSwitch" id="auto_connect_switch">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="on_user_changed" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-05-24 08:00:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-21 09:17:40 +00:00
|
|
|
</object>
|
2024-01-12 05:48:38 +00:00
|
|
|
</property>
|
2021-07-05 09:55:44 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
2023-12-18 07:45:51 +00:00
|
|
|
<object class="GtkSizeGroup">
|
|
|
|
<widgets>
|
|
|
|
<widget name="host"/>
|
|
|
|
<widget name="display_name"/>
|
|
|
|
<widget name="user"/>
|
|
|
|
<widget name="password"/>
|
|
|
|
<widget name="port"/>
|
|
|
|
</widgets>
|
|
|
|
</object>
|
2021-07-05 09:55:44 +00:00
|
|
|
</interface>
|