<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 1.0 -->
<interface>
  <!-- interface-name unit_info_panel.ui -->
  <requires lib="gtk" version="4.18"/>
  <requires lib="libadwaita" version="1.7"/>
  <template class="UnitInfoPanel" parent="GtkBox">
    <property name="orientation">vertical</property>
    <property name="vexpand">True</property>
    <property name="vexpand-set">True</property>
    <child>
      <object class="GtkBox">
        <property name="margin-bottom">5</property>
        <property name="margin-end">5</property>
        <property name="margin-start">5</property>
        <property name="spacing">5</property>
        <child>
          <object class="GtkToggleButton" id="find_text_button">
            <property name="icon-name">system-search-symbolic</property>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="refresh_button">
            <property name="child">
              <object class="AdwButtonContent">
                <property name="icon-name">view-refresh</property>
                <property name="label" translatable="yes" context="unit info" comments="button">_Refresh</property>
                <property name="use-underline">True</property>
              </object>
            </property>
            <signal name="clicked" handler="refresh_info_clicked" swapped="True"/>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="show_all_button">
            <property name="action-name">app.unit_properties</property>
            <property name="child">
              <object class="AdwButtonContent">
                <property name="icon-name">view-app-grid-symbolic</property>
                <property name="label" translatable="yes" context="unit info" comments="button">Show all _Properties</property>
                <property name="use-underline">True</property>
              </object>
            </property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkScrolledWindow">
        <property name="vexpand">True</property>
        <property name="vexpand-set">True</property>
        <child>
          <object class="GtkTextView" id="unit_info_textview">
            <property name="editable">False</property>
            <property name="monospace">True</property>
            <property name="vexpand">True</property>
            <property name="vexpand-set">True</property>
            <property name="wrap-mode">word</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkSearchBar" id="text_search_bar">
        <property name="show-close-button">True</property>
      </object>
    </child>
  </template>
</interface>
