<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.16"/>
  <object class="GtkPopover" id="date_popover">
    <property name="can_focus">False</property>
    <property name="border_width">12</property>
    <property name="position">bottom</property>
    <child>
      <object class="GtkBox" id="date_popover_box">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <property name="spacing">12</property>
        <child>
          <object class="GtkCalendar" id="calendar">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="show_week_numbers">True</property>
            <signal name="day-selected" handler="gtd_edit_pane__date_selected" object="GtdEditPane" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="no_date_button">
            <property name="label" translatable="yes" context="taskdate">None</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <signal name="clicked" handler="gtd_edit_pane__no_date_button_clicked" object="GtdEditPane" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
  </object>
  <template class="GtdEditPane" parent="GtkGrid">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="hexpand">True</property>
    <property name="row_spacing">12</property>
    <property name="column_spacing">12</property>
    <child>
      <object class="GtkScrolledWindow" id="scrolled_window">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="hexpand">True</property>
        <property name="vexpand">True</property>
        <property name="hscrollbar_policy">never</property>
        <child>
          <object class="GtkViewport" id="viewport">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="shadow_type">none</property>
            <child>
              <object class="GtkGrid" id="main_grid">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="margin_top">6</property>
                <property name="margin_bottom">12</property>
                <property name="vexpand">True</property>
                <property name="row_spacing">6</property>
                <property name="column_spacing">12</property>
                <child>
                  <object class="GtkButton" id="close_button">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="receives_default">False</property>
                    <property name="margin_start">12</property>
                    <property name="margin_end">12</property>
                    <property name="relief">none</property>
                    <signal name="clicked" handler="gtd_edit_pane__close_button_clicked" object="GtdEditPane" swapped="no"/>
                    <child>
                      <object class="GtkImage" id="close_button_image">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="icon_name">window-close-symbolic</property>
                      </object>
                    </child>
                    <style>
                      <class name="image-button"/>
                      <class name="flat"/>
                    </style>
                  </object>
                  <packing>
                    <property name="left_attach">1</property>
                    <property name="top_attach">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="details_label">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="margin_start">12</property>
                    <property name="margin_end">12</property>
                    <property name="hexpand">True</property>
                    <property name="label" translatable="yes">Details</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left_attach">0</property>
                    <property name="top_attach">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkSeparator" id="separator">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                  </object>
                  <packing>
                    <property name="left_attach">0</property>
                    <property name="top_attach">1</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkGrid" id="grid">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="vexpand">True</property>
                    <property name="border_width">12</property>
                    <property name="row_spacing">12</property>
                    <child>
                      <object class="GtkLabel" id="notes_dim_label">
                        <property name="label" translatable="yes">_Notes</property>
                        <property name="use_underline">True</property>
                        <property name="mnemonic_widget">notes_textview</property>
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="xalign">0</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">0</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkScrolledWindow" id="notes_scrolled_window">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="shadow_type">in</property>
                        <property name="min_content_width">325</property>
                        <property name="min_content_height">225</property>
                        <child>
                          <object class="GtkTextView" id="notes_textview">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="accepts_tab">False</property>
                            <property name="left-margin">6</property>
                            <property name="right-margin">6</property>
                            <property name="pixels-above-lines">6</property>
                            <property name="wrap-mode">word-char</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">1</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="due_date_dim_label">
                        <property name="label" translatable="yes">D_ue Date</property>
                        <property name="use_underline">True</property>
                        <property name="mnemonic_widget">date_button</property>
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="xalign">0</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">2</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="priority_dim_label">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="label" translatable="yes">_Priority</property>
                        <property name="use_underline">True</property>
                        <property name="mnemonic_widget">priority_combo</property>
                        <property name="xalign">0</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">4</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="priority_combo">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="active">0</property>
                        <items>
                          <item translatable="yes" context="taskpriority">None</item>
                          <item translatable="yes">Low</item>
                          <item translatable="yes">Medium</item>
                          <item translatable="yes">High</item>
                        </items>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">5</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="remove_button">
                        <property name="label" translatable="yes">_Delete</property>
                        <property name="use_underline">True</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="valign">end</property>
                        <property name="vexpand">True</property>
                        <signal name="clicked" handler="gtd_edit_pane__delete_button_clicked" object="GtdEditPane" swapped="no" />
                        <style>
                          <class name="destructive-action"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">6</property>
                        <property name="width">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkBox" id="date_select_box">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <child>
                          <object class="GtkButton" id="gtd_set_date_today">
                            <property name="label" translatable="yes">_Today</property>
                            <property name="use_underline">True</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <property name="hexpand">True</property>
                            <signal name="clicked" handler="today_button_clicked" object="GtdEditPane" swapped="no" />
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="tomorrow_button">
                            <property name="label" translatable="yes">To_morrow</property>
                            <property name="use_underline">True</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <property name="hexpand">True</property>
                            <signal name="clicked" handler="tomorrow_button_clicked" object="GtdEditPane" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="next_week_button">
                            <property name="label" translatable="yes">Next _Week</property>
                            <property name="use_underline">True</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <property name="hexpand">True</property>
                            <signal name="clicked" handler="next_week_button_clicked" object="GtdEditPane" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkMenuButton" id="date_button">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="receives_default">True</property>
                            <property name="hexpand">True</property>
                            <property name="popover">date_popover</property>
                            <child>
                              <object class="GtkBox" id="date_button_box">
                                <property name="visible">True</property>
                                <property name="can_focus">False</property>
                                <property name="spacing">7</property>
                                <child>
                                  <object class="GtkLabel" id="date_label">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="hexpand">True</property>
                                    <property name="width-chars">10</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkImage" id="date_button_image">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="icon_name">pan-down-symbolic</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <style>
                          <class name="linked"/>
                        </style>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">3</property>
                      </packing>
                    </child>
                    <child>
                      <placeholder/>
                    </child>
                  </object>
                  <packing>
                    <property name="left_attach">0</property>
                    <property name="top_attach">2</property>
                    <property name="width">2</property>
                  </packing>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
      <packing>
        <property name="left_attach">0</property>
        <property name="top_attach">0</property>
      </packing>
    </child>
  </template>
</interface>
