<?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="dialog">
    <property name="title" translatable="yes">Participants</property>
    <property name="content-width">420</property>
    <property name="content-height">480</property>
    <property name="child">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar" id="header">
            <child type="start">
              <object class="GtkToggleButton" id="search_btn">
                <property name="icon-name">system-search-symbolic</property>
                <property name="tooltip-text" translatable="yes">Search</property>
                <style>
                  <class name="flat"/>
                </style>
              </object>
            </child>
            <child type="start">
              <object class="GtkMenuButton" id="filter_btn">
                <property name="icon-name">filter-symbolic</property>
                <property name="tooltip-text" translatable="yes">Filter</property>
                <style>
                  <class name="flat"/>
                </style>
              </object>
            </child>
            <child type="start">
              <object class="GtkMenuButton" id="sort_btn">
                <property name="icon-name">view-sort-descending-symbolic</property>
                <property name="tooltip-text" translatable="yes">Sort by</property>
                <style>
                  <class name="flat"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <property name="content">
          <object class="GtkBox" id="content_box">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkSearchEntry" id="search_entry">
                <property name="placeholder-text" translatable="yes">Search...</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-bottom">6</property>
                <property name="visible">false</property>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow">
                <property name="hscrollbar-policy">never</property>
                <property name="vexpand">true</property>
                <child>
                  <object class="GtkListView" id="list_view">
                    <property name="single-click-activate">false</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="status_label">
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <style>
                  <class name="dim-label"/>
                  <class name="caption"/>
                </style>
              </object>
            </child>
          </object>
        </property>
      </object>
    </property>
  </object>
</interface>
