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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="window_position">center-on-parent</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">Hold the button on the device until the blue light is flashing.</property>
|
|
|
|
<property name="justify">center</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<property name="wrap">True</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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="valign">center</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<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-16 07:21:47 +02:00
|
|
|
<property name="halign">center</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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<object class="GtkLabel" id="label_devicename_p1">
|
2019-07-15 07:05:30 +02:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="label" translatable="yes">Connecting to LE Paper</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="valign">center</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<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-16 07:21:47 +02:00
|
|
|
<property name="halign">center</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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<property name="label" translatable="yes">Press the button on the device now!</property>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="expand">False</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<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>
|
2019-07-16 07:21:47 +02:00
|
|
|
<property name="valign">center</property>
|
2019-07-15 07:05:30 +02:00
|
|
|
<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-16 07:21:47 +02:00
|
|
|
<placeholder/>
|
2019-07-10 01:51:41 +02:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2019-07-16 07:21:47 +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>
|
|
|
|
</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>
|