<?xml version="1.0" encoding="UTF-8"?>
<interface domain="transmission-gtk">
  <requires lib="gtk" version="4.0"/>
  <object class="GtkApplicationWindow" id="MainWindow">
    <child>
      <object class="GtkBox" id="window_layout">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="toolbar">
            <property name="css-classes"><![CDATA[toolbar
horizontal]]></property>
            <property name="can-focus">1</property>
            <child>
              <object class="GtkButton" id="open_file_button">
                <property name="focusable">1</property>
                <property name="tooltip-text" translatable="yes">Open a torrent</property>
                <property name="action-name">win.open-torrent</property>
                <child>
                  <object class="GtkBox">
                    <property name="halign">center</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">document-open</property>
                        <property name="icon_size">normal</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">_Open</property>
                        <property name="single-line-mode">1</property>
                        <property name="use-underline">1</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="start_torrent_button">
                <property name="focusable">1</property>
                <property name="tooltip-text" translatable="yes">Start torrent</property>
                <property name="action-name">win.torrent-start</property>
                <property name="label" translatable="yes">_Start</property>
                <property name="use-underline">1</property>
                <property name="icon-name">media-playback-start</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="pause_torrent_button">
                <property name="focusable">1</property>
                <property name="tooltip-text" translatable="yes">Pause torrent</property>
                <property name="action-name">win.torrent-stop</property>
                <property name="label" translatable="yes">_Pause</property>
                <property name="use-underline">1</property>
                <property name="icon-name">media-playback-pause</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="remove_torrent_button">
                <property name="focusable">1</property>
                <property name="tooltip-text" translatable="yes">Remove torrent</property>
                <property name="action-name">win.remove-torrent</property>
                <property name="label" translatable="yes">Remove torrent</property>
                <property name="use-underline">1</property>
                <property name="icon-name">list-remove</property>
              </object>
            </child>
            <child>
              <object class="GtkSeparator">
                <property name="orientation">vertical</property>
                <property name="can-focus">0</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="torrent_properties_button">
                <property name="focusable">1</property>
                <property name="tooltip-text" translatable="yes">Torrent properties</property>
                <property name="action-name">win.show-torrent-properties</property>
                <child>
                  <object class="GtkBox">
                    <property name="halign">center</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">document-properties</property>
                        <property name="icon_size">normal</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">_Properties</property>
                        <property name="single-line-mode">1</property>
                        <property name="use-underline">1</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="gtkmm__CustomObject_9FilterBar" id="filterbar">
            <property name="can-focus">1</property>
            <style>
              <class name="tr-pad-small"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="torrents_view_scroll">
            <property name="vexpand">1</property>
            <property name="focusable">1</property>
            <property name="hscrollbar-policy">never</property>
            <property name="has-frame">1</property>
            <property name="child">
              <object class="GtkListView" id="torrents_view">
                <property name="focusable">1</property>
                <property name="tab-behavior">item</property>
              </object>
            </property>
            <style>
              <class name="tr-workarea"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="statusbar">
            <property name="spacing">3</property>
            <child>
              <object class="GtkMenuButton" id="gear_button">
                <property name="focusable">1</property>
                <property name="has-frame">0</property>
                <property name="receives-default">1</property>
                <property name="tooltip-text" translatable="yes">Options</property>
                <child>
                  <object class="GtkImage" id="gear_button_image">
                    <property name="icon-name">options-symbolic</property>
                    <property name="icon_size">normal</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkToggleButton" id="alt_speed_button">
                <property name="focusable">1</property>
                <property name="has-frame">0</property>
                <property name="receives-default">1</property>
                <child>
                  <object class="GtkImage" id="alt_speed_button_image">
                    <property name="icon-name">turtle-symbolic</property>
                    <property name="icon_size">normal</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFixed">
                <property name="hexpand">1</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="download_speed_label">
                <property name="margin-start">3</property>
                <property name="label">...</property>
                <property name="single-line-mode">1</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="upload_speed_label">
                <property name="margin-start">3</property>
                <property name="label">...</property>
                <property name="single-line-mode">1</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="statistics_label">
                <property name="margin-start">9</property>
                <property name="margin-end">3</property>
                <property name="label">...</property>
                <property name="single-line-mode">1</property>
              </object>
            </child>
            <child>
              <object class="GtkMenuButton" id="ratio_button">
                <property name="focusable">1</property>
                <property name="has-frame">0</property>
                <property name="receives-default">1</property>
                <property name="tooltip-text" translatable="yes">Statistics</property>
                <child>
                  <object class="GtkImage" id="ratio_button_image">
                    <property name="icon-name">ratio-symbolic</property>
                    <property name="icon_size">normal</property>
                  </object>
                </child>
              </object>
            </child>
            <style>
              <class name="tr-pad-small"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>
