<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <object class="GtkBox" id="file_box">
    <property name="spacing">12</property>
    <child>
      <object class="GtkBox" id="preview_image_box">
        <property name="valign">center</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkImage" id="preview_image">
          <property name="pixel-size">64</property>
            <style>
              <class name="preview-image"/>
            </style>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkBox">
        <property name="hexpand">1</property>
        <property name="orientation">vertical</property>
        <property name="spacing">3</property>
        <child>
          <object class="GtkLabel" id="file_name_label">
            <property name="ellipsize">end</property>
            <property name="xalign">0</property>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="spacing">6</property>
            <child>
              <object class="GtkLabel" id="file_size_label">
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="warning_label">
                <property name="visible">0</property>
                <property name="ellipsize">end</property>
                <property name="xalign">0</property>
                <style>
                  <class name="warning-color"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkButton" id="remove_file_button">
        <property name="focusable">1</property>
        <property name="receives-default">1</property>
        <property name="tooltip-text" translatable="yes">Remove</property>
        <property name="valign">center</property>
        <child>
          <object class="GtkImage">
            <property name="icon-name">feather-trash-symbolic</property>
          </object>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkStack" id="stack">
    <property name="transition-type">slide-left-right</property>
    <child>
      <object class="GtkStackPage">
        <property name="name">file-selection</property>
        <property name="child">
          <object class="GtkBox" id="box">
            <property name="orientation">vertical</property>
            <property name="spacing">12</property>
            <child>
              <object class="GtkScrolledWindow">
                <property name="vexpand">1</property>
                <property name="width-request">500</property>
                <property name="height-request">350</property>
                <property name="focusable">1</property>
                <property name="hscrollbar-policy">never</property>
                <property name="child">
                  <object class="GtkViewport">
                    <property name="child">
                      <object class="GtkListBox" id="listbox">
                        <property name="selection-mode">none</property>
                        <property name="activate-on-single-click">0</property>
                        <child type="placeholder">
                          <object class="GtkBox">
                            <property name="orientation">vertical</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <property name="width-request">300</property>
                            <property name="height-request">200</property>
                            <property name="spacing">18</property>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Drop files here</property>
                                <property name="valign">center</property>
                                <property name="vexpand">1</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                            </child>
                            <style>
                              <class name="dnd-area"/>
                            </style>
                          </object>
                        </child>
                        <style>
                          <class name="gajim-listbox"/>
                        </style>
                      </object>
                    </property>
                  </object>
                </property>
              </object>
            </child>

          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkStackPage">
        <property name="name">resource-selection</property>
        <property name="child">
          <object class="GtkBox" id="resource_box">
            <property name="orientation">vertical</property>
            <property name="spacing">18</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Choose Device</property>
                <style>
                  <class name="bold16"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="resource_instructions">
                <property name="justify">center</property>
                <property name="wrap">1</property>
                <property name="max-width-chars">50</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
            <child>
              <placeholder/>
            </child>
          </object>
        </property>
      </object>
    </child>
  </object>
</interface>
