File: camera.ui

package info (click to toggle)
gnome-authenticator 4.6.2-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,624 kB
  • sloc: sql: 2,359; python: 147; xml: 34; makefile: 18; sh: 8
file content (87 lines) | stat: -rw-r--r-- 3,846 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
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template parent="AdwBin" class="Camera">
    <child>
      <object class="AdwToolbarView" id="toolbar_view">
        <child type="top">
          <object class="AdwHeaderBar">
            <property name="show-title">False</property>
          </object>
        </child>
        <child>
          <object class="GtkStack" id="stack">
            <property name="transition-type">crossfade</property>
            <property name="hhomogeneous">False</property>
            <child>
              <object class="GtkStackPage">
                <property name="name">loading</property>
                <property name="child">
                  <object class="AdwSpinner">
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="width-request">48</property>
                    <property name="height-request">48</property>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">not-found</property>
                <property name="child">
                  <object class="AdwStatusPage">
                    <property name="vexpand">True</property>
                    <property name="icon-name">camera-hardware-disabled-symbolic</property>
                    <property name="title" translatable="yes">No Camera Found</property>
                    <property name="child">
                      <object class="GtkButton" id="screenshot">
                        <property name="label" translatable="yes">_From a Screenshot</property>
                        <property name="halign">center</property>
                        <property name="margin-top">24</property>
                        <property name="use-underline">True</property>
                        <signal name="clicked" handler="on_screenshot_clicked" swapped="true" />
                        <style>
                          <class name="pill" />
                          <class name="suggested-action" />
                        </style>
                      </object>
                    </property>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">stream</property>
                <property name="child">
                  <object class="GtkOverlay">
                    <child>
                      <object class="ApertureViewfinder" id="viewfinder">
                        <property name="detect-codes">True</property>
                      </object>
                    </child>
                    <child type="overlay">
                      <object class="GtkMenuButton" id="camera_selection_button">
                          <property name="icon-name">video-camera-symbolic</property>
                          <property name="halign">end</property>
                          <property name="valign">end</property>
                          <property name="margin-end">18</property>
                          <property name="margin-bottom">18</property>
                          <property name="direction">up</property>
                          <style>
                            <class name="osd" />
                            <class name="circular" />
                            <class name="selectionbutton" />
                          </style>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>