<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="QrCodeScanner" parent="AdwBin">
    <child>
      <object class="GtkStack" id="stack">
        <property name="transition-type">crossfade</property>
        <child>
          <object class="GtkStackPage">
            <property name="name">no-camera</property>
            <property name="child">
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkImage">
                    <property name="icon-name">camera-hardware-disabled-symbolic</property>
                    <property name="pixel-size">148</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Unable to connect to Camera</property>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkStackPage">
            <property name="name">camera</property>
            <property name="child">
              <object class="GtkPicture" id="picture">
                <property name="halign">center</property>
                <property name="valign">center</property>
                <property name="overflow">hidden</property>
                <style>
                  <class name="card"/>
                </style>
              </object>
            </property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>

