<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2026, Jiri Eischmann <jiri@eischmann.cz> and the meshy contributors -->
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <object class="AdwDialog" id="manual_backup_dialog">
    <property name="title" translatable="yes">Manual Backup</property>
    <property name="content-width">360</property>
    <property name="child">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="GtkScrolledWindow">
            <property name="vexpand">true</property>
            <property name="propagate-natural-height">true</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">12</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">8</property>
                <property name="margin-bottom">8</property>
                <child>
                  <object class="GtkListBox" id="sections_list">
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="AdwActionRow">
                        <property name="title" translatable="yes">Device Identity</property>
                        <property name="activatable-widget">check_device_identity</property>
                        <child type="prefix">
                          <object class="GtkImage">
                            <property name="icon-name">key5-symbolic</property>
                            <property name="margin-start">5</property>
                          </object>
                        </child>
                        <child type="prefix">
                          <object class="GtkCheckButton" id="check_device_identity">
                            <property name="active">false</property>
                            <property name="valign">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="AdwExpanderRow" id="group_settings">
                        <property name="title" translatable="yes">Settings</property>
                        <property name="expanded">false</property>
                        <child type="prefix">
                          <object class="GtkCheckButton" id="check_group_settings">
                            <property name="active">true</property>
                            <property name="valign">center</property>
                          </object>
                        </child>
                        <child type="prefix">
                          <object class="GtkImage">
                            <property name="icon-name">emblem-system-symbolic</property>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Device Settings</property>
                            <property name="activatable-widget">check_device_settings</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_device_settings">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Local Settings</property>
                            <property name="activatable-widget">check_local_settings</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_local_settings">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Regions</property>
                            <property name="activatable-widget">check_regions</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_regions">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="AdwExpanderRow" id="group_contacts">
                        <property name="title" translatable="yes">Contacts</property>
                        <property name="expanded">false</property>
                        <child type="prefix">
                          <object class="GtkCheckButton" id="check_group_contacts">
                            <property name="active">true</property>
                            <property name="valign">center</property>
                          </object>
                        </child>
                        <child type="prefix">
                          <object class="GtkImage">
                            <property name="icon-name">avatar-default-symbolic</property>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Contact List</property>
                            <property name="activatable-widget">check_contacts</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_contacts">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Discovered Contacts</property>
                            <property name="activatable-widget">check_discovered_contacts</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_discovered_contacts">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="AdwActionRow">
                        <property name="title" translatable="yes">Channels</property>
                        <property name="activatable-widget">check_channels</property>
                        <child type="prefix">
                          <object class="GtkImage">
                            <property name="icon-name">system-users-symbolic</property>
                            <property name="margin-start">5</property>
                          </object>
                        </child>
                        <child type="prefix">
                          <object class="GtkCheckButton" id="check_channels">
                            <property name="active">true</property>
                            <property name="valign">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="AdwExpanderRow" id="group_messages">
                        <property name="title" translatable="yes">Messages and Routing</property>
                        <property name="expanded">false</property>
                        <child type="prefix">
                          <object class="GtkCheckButton" id="check_group_messages">
                            <property name="active">true</property>
                            <property name="valign">center</property>
                          </object>
                        </child>
                        <child type="prefix">
                          <object class="GtkImage">
                            <property name="icon-name">chat-bubbles-text-symbolic</property>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Messages</property>
                            <property name="activatable-widget">check_messages</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_messages">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="AdwActionRow">
                            <property name="title" translatable="yes">Smart Route History</property>
                            <property name="activatable-widget">check_path_history</property>
                            <child type="prefix">
                              <object class="GtkCheckButton" id="check_path_history">
                                <property name="active">true</property>
                                <property name="valign">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="export_btn">
                    <property name="label" translatable="yes">Export</property>
                    <property name="halign">center</property>
                    <style>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </property>
  </object>
</interface>
