<?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">Your Contact QR Code</property>
    <property name="content-width">380</property>
    <property name="content-height">440</property>
    <property name="child">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <property name="spacing">12</property>
            <property name="margin-start">24</property>
            <property name="margin-end">24</property>
            <property name="margin-top">12</property>
            <property name="margin-bottom">24</property>
            <child>
              <object class="GtkLabel" id="name_label">
                <style>
                  <class name="title-2"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkPicture" id="qr_picture">
                <property name="content-fit">contain</property>
                <property name="width-request">280</property>
                <property name="height-request">280</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="hint_label">
                <property name="label" translatable="yes">Scan this QR code to add this contact</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
          </object>
        </property>
      </object>
    </property>
  </object>
</interface>
