File: device_dialog.ui

package info (click to toggle)
shortwave 5.0.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,864 kB
  • sloc: sh: 98; sql: 63; makefile: 22
file content (81 lines) | stat: -rw-r--r-- 3,607 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="SwDeviceDialog" parent="AdwDialog">
    <property name="width_request">325</property>
    <property name="content_width">500</property>
    <property name="content_height">400</property>
    <property name="title" translatable="yes">Connect Device</property>
    <child>
      <object class="AdwToastOverlay" id="toast_overlay">
        <child>
          <object class="AdwToolbarView">
            <child type="top">
              <object class="AdwHeaderBar">
                <child>
                  <object class="GtkStack" id="scan_stack">
                    <child>
                      <object class="AdwSpinner" id="scan_spinner">
                        <property name="tooltip_text" translatable="yes">Searching for Devices…</property>
                        <property name="halign">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="scan_button">
                        <property name="icon_name">view-refresh-symbolic</property>
                        <property name="tooltip_text" translatable="yes">Search for Devices</property>
                        <signal name="clicked" handler="scan" swapped="true" />
                        <style>
                          <class name="flat" />
                        </style>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkStack" id="dialog_stack">
                <child>
                  <object class="AdwStatusPage" id="no_devices_page">
                    <property name="hexpand">True</property>
                    <property name="title" translatable="yes">No Devices Available</property>
                    <property name="description" translatable="yes">No supported Google Cast device found</property>
                    <style>
                      <class name="compact" />
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="devices_page">
                    <property name="hscrollbar_policy">never</property>
                    <child>
                      <object class="AdwClamp">
                        <child>
                          <object class="GtkBox">
                            <property name="orientation">vertical</property>
                            <property name="margin_start">12</property>
                            <property name="margin_end">12</property>
                            <child>
                              <object class="GtkListBox" id="devices_listbox">
                                <property name="valign">start</property>
                                <property name="margin_top">6</property>
                                <property name="selection_mode">none</property>
                                <style>
                                  <class name="boxed-list" />
                                </style>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>