2019-07-10 01:51:41 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
2019-07-15 07:05:30 +02:00
<template class="SetupDialog" parent="GtkDialog">
2019-07-10 01:51:41 +02:00
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="title" translatable="yes">Initial Device Setup</property>
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<property name="gravity">center</property>
<child type="titlebar">
<placeholder/>
</child>
<child internal-child="vbox">
2019-07-10 01:51:41 +02:00
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
2019-07-15 07:05:30 +02:00
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
2019-07-10 01:51:41 +02:00
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="layout_style">end</property>
2019-07-10 01:51:41 +02:00
<child>
2019-07-15 07:05:30 +02:00
<placeholder/>
2019-07-10 01:51:41 +02:00
</child>
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkButton" id="btn_quit">
<property name="label" translatable="yes">Quit</property>
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
2019-07-15 07:05:30 +02:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-07-10 01:51:41 +02:00
</object>
<packing>
2019-07-15 07:05:30 +02:00
<property name="expand">True</property>
2019-07-10 01:51:41 +02:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
2019-07-15 07:05:30 +02:00
<property name="fill">False</property>
2019-07-10 01:51:41 +02:00
<property name="position">0</property>
</packing>
</child>
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkStack" id="stack">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="margin_bottom">100</property>
2019-07-10 01:51:41 +02:00
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkBox">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="halign">center</property>
<property name="orientation">vertical</property>
<property name="homogeneous">True</property>
<property name="baseline_position">bottom</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">No device found by Tuhi. Let's setup your device for the first time. This needs to be done only once for this device.</property>
<property name="wrap">True</property>
<property name="max_width_chars">55</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Hold the button on the device until the blue light is flashing. Once the device is found, we will process to the next stage.</property>
<property name="wrap">True</property>
<property name="max_width_chars">55</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<child>
<object class="GtkSpinner">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_right">20</property>
<property name="active">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Searching for device</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2019-07-10 01:51:41 +02:00
</object>
<packing>
2019-07-15 07:05:30 +02:00
<property name="name">page0</property>
<property name="title" translatable="yes">page0</property>
2019-07-10 01:51:41 +02:00
</packing>
</child>
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkBox">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="orientation">vertical</property>
<property name="homogeneous">True</property>
<property name="baseline_position">bottom</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Compatible device found. Attempting to connect.</property>
<property name="wrap">True</property>
<property name="max_width_chars">55</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<child>
<object class="GtkSpinner">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_right">20</property>
<property name="active">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Connecting to device...</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2019-07-10 01:51:41 +02:00
</object>
<packing>
2019-07-15 07:05:30 +02:00
<property name="name">page1</property>
<property name="title" translatable="yes">page1</property>
2019-07-10 01:51:41 +02:00
<property name="position">1</property>
</packing>
</child>
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkBox">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="orientation">vertical</property>
<property name="homogeneous">True</property>
<property name="baseline_position">bottom</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Connected to device and finalizing setup.</property>
<property name="justify">center</property>
<property name="track_visited_links">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Press the button on the device now!</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="size" value="20000"/>
</attributes>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<child>
<object class="GtkSpinner">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_right">20</property>
<property name="active">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">waiting for reply</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2019-07-10 01:51:41 +02:00
</object>
<packing>
2019-07-15 07:05:30 +02:00
<property name="name">page2</property>
<property name="title" translatable="yes">page2</property>
<property name="position">2</property>
2019-07-10 01:51:41 +02:00
</packing>
</child>
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkBox">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="orientation">vertical</property>
<property name="homogeneous">True</property>
<property name="baseline_position">bottom</property>
2019-07-10 01:51:41 +02:00
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkBox">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="halign">center</property>
<child>
<placeholder/>
</child>
2019-07-10 01:51:41 +02:00
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkFrame">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
2019-07-10 01:51:41 +02:00
<child>
2019-07-15 07:05:30 +02:00
<object class="GtkAlignment">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="left_padding">12</property>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_homogeneous">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="label" translatable="yes">Size</property>
<property name="width_chars">25</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_size">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">100x100mm</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="label" translatable="yes">Bluetooth Address</property>
<property name="width_chars">25</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_btaddr">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">12:34:AB:CD:67:78</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="label" translatable="yes">Battery</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_battery">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">55%</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
</packing>
</child>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
2019-07-10 01:51:41 +02:00
</object>
</child>
2019-07-15 07:05:30 +02:00
<child type="label">
<object class="GtkLabel" id="device_name_p3">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="label" translatable="yes">Device name</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
2019-07-10 01:51:41 +02:00
</object>
</child>
</object>
2019-07-15 07:05:30 +02:00
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<placeholder/>
2019-07-10 01:51:41 +02:00
</child>
</object>
2019-07-15 07:05:30 +02:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
2019-07-10 01:51:41 +02:00
</child>
2019-07-15 07:05:30 +02:00
<child>
<object class="GtkLabel">
2019-07-10 01:51:41 +02:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2019-07-15 07:05:30 +02:00
<property name="label" translatable="yes">Setup Complete</property>
2019-07-10 01:51:41 +02:00
</object>
2019-07-15 07:05:30 +02:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
2019-07-10 01:51:41 +02:00
</child>
</object>
<packing>
2019-07-15 07:05:30 +02:00
<property name="name">page3</property>
<property name="title" translatable="yes">page3</property>
<property name="position">3</property>
2019-07-10 01:51:41 +02:00
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
2019-07-15 07:05:30 +02:00
<action-widgets>
<action-widget response="-6">btn_quit</action-widget>
</action-widgets>
2019-07-10 01:51:41 +02:00
</template>
</interface>