<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="SysprofRecordingPad" parent="AdwWindow">
    <style>
      <class name="messagedialog"/>
    </style>
    <property name="width-request">300</property>
    <property name="height-request">200</property>
    <property name="resizable">false</property>
    <property name="content">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar">
            <property name="show-start-title-buttons">false</property>
            <property name="show-end-title-buttons">false</property>
            <property name="title-widget">
              <object class="AdwWindowTitle">
                <property name="title" translatable="yes">Sysprof</property>
              </object>
            </property>
          </object>
        </child>
        <property name="content">
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel">
                <binding name="label">
                  <closure type="gchararray" function="format_time">
                    <lookup name="duration" type="SysprofRecording">
                      <lookup name="recording">SysprofRecordingPad</lookup>
                    </lookup>
                  </closure>
                </binding>
                <attributes>
                  <attribute name="scale" value="4"/>
                  <attribute name="font-features" value="'tnum'"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <binding name="label">
                  <closure type="gchararray" function="format_event_count">
                    <lookup name="event-count" type="SysprofRecording">
                      <lookup name="recording">SysprofRecordingPad</lookup>
                    </lookup>
                  </closure>
                </binding>
                <property name="margin-bottom">18</property>
                <property name="valign">start</property>
                <property name="vexpand">true</property>
                <style>
                  <class name="caption"/>
                </style>
                <attributes>
                  <attribute name="font-features" value="'tnum'"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <style>
                  <class name="response-area"/>
                </style>
                <child>
                  <object class="GtkButton" id="stop_button">
                    <property name="hexpand">true</property>
                    <property name="label" translatable="yes">Stop Recording</property>
                    <property name="action-name">window.close</property>
                    <style>
                      <class name="destructive-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </property>
  </template>
</interface>
