1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-17 16:05:36 +00:00
Purism-Calls/src/ui/new-call-box.ui
Evangelos Ribeiro Tzaras 8a16439cc8 new-call-box: Switch to using CuiDialpad
It has been in libcall-ui for some time, so let's use it.

This will also easy the transition to Gtk4 as it's one less widget we
have to worry about.
2022-10-13 13:24:19 +00:00

95 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.22"/>
<requires lib="libhandy" version="1.0"/>
<template class="CallsNewCallBox" parent="GtkBox">
<property name="margin_left">24</property>
<property name="margin_right">24</property>
<property name="margin_top">6</property>
<property name="orientation">vertical</property>
<property name="visible">True</property>
<child>
<object class="HdyClamp">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkListBox" id="origin_list_box">
<property name="visible">True</property>
<property name="selection-mode">none</property>
<property name="halign">center</property>
<child>
<object class="HdyComboRow" id="origin_list">
<property name="visible">True</property>
<signal name="notify::selected-index" handler="notify_selected_index_cb" swapped="yes"/>
</object>
</child>
</object>
</child>
<child>
<object class="GtkEntry" id="address_entry">
<property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create|invert-boolean"/>
<property name="xalign">0.5</property>
<property name="placeholder-text" translatable="yes">Enter a VoIP address</property>
<signal name="activate" handler="address_activate_cb" swapped="yes"/>
<signal name="changed" handler="address_changed_cb" swapped="yes"/>
<style>
<class name="address-entry"/>
</style>
</object>
</child>
<child>
<object class="CuiDialpad" id="dialpad">
<property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create"/>
<signal name="dialed" handler="dialpad_dialed_cb"/>
</object>
</child>
<child>
<object class="GtkListBox" id="result_list">
<property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create|invert-boolean"/>
<property name="margin-top">16</property>
<property name="selection-mode">none</property>
<child>
<object class="HdyActionRow" id="result">
<property name="visible">False</property>
<property name="title" bind-source="address_entry" bind-property="text"/>
<property name="width-request">300</property>
<property name="subtitle" translatable="yes">SIP Account</property>
<child type="prefix">
<object class="HdyAvatar">
<property name="visible">True</property>
<property name="show-initials">True</property>
<property name="size">36</property>
</object>
</child>
<child>
<object class="GtkButton" id="dial_result_btn">
<property name="visible">True</property>
<property name="always_show_image">True</property>
<signal name="clicked" handler="dial_result_clicked_cb" swapped="yes"/>
<style>
<class name="rounded-button"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">call-start-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>