<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="PtAsrDialog" parent="AdwPreferencesDialog">
    <property name="search-enabled">false</property>
    <child>
      <object class="AdwPreferencesPage" id="page">
        <child>
          <object class="AdwPreferencesGroup">
            <child>
              <object class="AdwActionRow" id="status_row">
                <child type="suffix">
                  <object class="GtkButton" id="activate_button">
                    <property name="label">Activate</property>
                    <property name="sensitive">false</property>
                    <property name="valign">3</property>
                    <property name="halign">3</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="AdwPreferencesGroup" id="install_group">
    <property name="title" translatable="yes">Installation</property>
    <property name="description" translatable="yes">How to install this language model.</property>
  </object>
  <object class="AdwPreferencesGroup" id="info_group">
    <property name="title" translatable="yes">General Information</property>
    <child>
      <object class="AdwEntryRow" id="name_row">
        <property name="title" translatable="yes">Display Name</property>
        <property name="show-apply-button">true</property>
      </object>
    </child>
  </object>
  <object class="AdwPreferencesGroup" id="delete_group">
    <child>
      <object class="AdwActionRow" id="delete_row">
        <property name="title" translatable="yes">Delete this Configuration</property>
        <child type="suffix">
          <object class="GtkButton">
            <signal name="clicked" handler="delete_button_clicked_cb" swapped="no" />
            <property name="label" translatable="yes">Delete</property>
            <property name="halign">3</property>
            <property name="valign">3</property>
            <style>
              <class name="destructive-action"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>