Introduce CallsAccountOverview: A UI to allow managing VoIP accounts

CallsAccountOverview allows user to view, add and edit VoIP accounts
(currently SIP only).

Each CallsAccount is represented by a CallsAccountRow.

account-row: Staying alive
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-05-11 18:18:35 +02:00
committed by Evangelos Ribeiro Tzaras
parent fadeaeb6b5
commit fc7156fe75
12 changed files with 733 additions and 16 deletions

41
src/ui/account-row.ui Normal file
View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.20"/>
<requires lib="libhandy" version="1.0"/>
<template class="CallsAccountRow" parent="HdyActionRow">
<property name="visible">True</property>
<property name="title">Title</property>
<property name="subtitle">Subtitle</property>
<property name="activatable">True</property>
<child type="prefix">
<object class="HdyAvatar" id="avatar">
<property name="visible">True</property>
<property name="show-initials">True</property>
<property name="size">48</property>
</object>
</child>
<child>
<object class="GtkSwitch" id="online_switch">
<property name="valign">center</property>
<property name="visible">True</property>
<property name="active">False</property>
<signal name="notify::active" handler="on_online_switched" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkButton" id="edit_btn">
<property name="visible">True</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">go-next-symbolic</property>
</object>
</child>
<signal name="clicked" handler="on_edit_clicked" swapped="yes"/>
</object>
</child>
</template>
</interface>