2018-03-26 16:18:30 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2023-05-17 10:46:35 +02:00
|
|
|
<template class="CcBoltDeviceDialog" parent="AdwWindow">
|
2023-08-15 14:12:38 +02:00
|
|
|
<property name="title" translatable="yes">Device Identifier</property>
|
2018-03-26 16:18:30 +02:00
|
|
|
<property name="modal">True</property>
|
2021-10-21 21:08:31 -03:00
|
|
|
<property name="hide-on-close">True</property>
|
2023-05-17 10:46:35 +02:00
|
|
|
<property name="width-request">480</property>
|
|
|
|
<property name="height-request">360</property>
|
2021-10-21 21:08:31 -03:00
|
|
|
<child>
|
2018-03-26 16:18:30 +02:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
2018-04-14 19:26:12 -03:00
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="AdwHeaderBar">
|
|
|
|
<property name="show-end-title-buttons">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="AdwToastOverlay" id="toast_overlay">
|
2018-04-14 19:26:12 -03:00
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="AdwPreferencesPage">
|
2018-04-14 19:26:12 -03:00
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="AdwPreferencesGroup">
|
2018-04-14 19:26:12 -03:00
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="CcListRow" id="status_row">
|
|
|
|
<property name="title" translatable="yes">Status</property>
|
2018-04-14 19:26:12 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="CcListRow" id="uuid_row">
|
|
|
|
<property name="title" translatable="yes">UUID</property>
|
2018-04-14 19:26:12 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="CcListRow" id="time_row">
|
|
|
|
<property name="title" translatable="yes">Timestamp</property>
|
2018-04-14 19:26:12 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-10-21 21:08:31 -03:00
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="AdwPreferencesGroup" id="parents_group">
|
2021-10-21 21:08:31 -03:00
|
|
|
<property name="visible">False</property>
|
2023-05-17 10:46:35 +02:00
|
|
|
<property name="title" translatable="yes">Depends on other devices</property>
|
2021-10-21 21:08:31 -03:00
|
|
|
<child>
|
2023-05-17 10:46:35 +02:00
|
|
|
<object class="GtkListBox" id="parents_devices"/>
|
2021-10-21 21:08:31 -03:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2023-05-17 10:46:35 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="button_box">
|
|
|
|
<property name="orientation">horizontal</property>
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<property name="margin-start">72</property>
|
|
|
|
<property name="margin-end">72</property>
|
|
|
|
<property name="margin-top">36</property>
|
|
|
|
<property name="margin-bottom">0</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinner" id="spinner">
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="spinning">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-03-26 16:18:30 +02:00
|
|
|
|
2023-05-17 10:46:35 +02:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="connect_button">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Authorize and Connect</property>
|
|
|
|
<property name="receives_default">True</property>
|
2018-03-26 16:18:30 +02:00
|
|
|
|
2023-05-17 10:46:35 +02:00
|
|
|
<signal name="clicked"
|
|
|
|
handler="on_connect_button_clicked_cb"
|
|
|
|
object="CcBoltDeviceDialog"
|
|
|
|
swapped="yes" />
|
|
|
|
<style>
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="forget_button">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Forget Device</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<signal name="clicked"
|
|
|
|
handler="on_forget_button_clicked_cb"
|
|
|
|
object="CcBoltDeviceDialog"
|
|
|
|
swapped="yes" />
|
|
|
|
<style>
|
|
|
|
<class name="destructive-action"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="spinner_box">
|
2018-04-14 19:26:12 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-03-26 16:18:30 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
2021-10-21 21:08:31 -03:00
|
|
|
|
|
|
|
<object class="GtkSizeGroup" id="actions_sizegroup">
|
|
|
|
<widgets>
|
|
|
|
<widget name="forget_button"/>
|
|
|
|
<widget name="connect_button"/>
|
|
|
|
</widgets>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<object class="GtkSizeGroup" id="spinner_sizegroup">
|
|
|
|
<widgets>
|
|
|
|
<widget name="spinner"/>
|
|
|
|
<widget name="spinner_box"/>
|
|
|
|
</widgets>
|
|
|
|
</object>
|
|
|
|
|
2018-03-26 16:18:30 +02:00
|
|
|
</interface>
|