<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkAdjustment" id="time_zone_adjustment">
    <property name="lower">-12</property>
    <property name="upper">12</property>
    <property name="step_increment">1</property>
    <property name="page_increment">1</property>
  </object>

  <template class="PicplannerPrefs" parent="GtkDialog">
    <property name="title" translatable="yes">Preferences</property>
    <property name="resizable">1</property>
    <property name="modal">1</property>
    <property name="width-request">350</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>

        <child>
          <object class="AdwPreferencesPage">

            <child>
              <object class="AdwPreferencesGroup">
                <property name="title" translatable="yes">Time</property>

                <child>
                  <object class="AdwActionRow">
                    <property name="title" translatable="yes">Manual Time Zone</property>
                    <child>
                      <object class="GtkSwitch" id="timezone_manual">
                        <property name="can_focus">True</property>
                        <property name="hexpand">True</property>
                        <property name="halign">end</property>
                        <property name="valign">center</property>
                        <property name="state">False</property>
                      </object>
                    </child>
                  </object>
                </child>

                <child>
                  <object class="AdwActionRow" id="timezone_row">
                    <property name="title" translatable="yes">Time Zone</property>
                    <property name="sensitive">false</property>
                    <child>
                      <object class="GtkSpinButton" id="timezone">
                        <property name="adjustment">time_zone_adjustment</property>
                        <property name="numeric">True</property>
                        <property name="wrap">True</property>
                        <property name="value">1</property>
                        <property name="vexpand">false</property>
                        <property name="valign">center</property>
                      </object>
                    </child>
                  </object>
                </child>

              </object>
            </child>

            <child>
              <object class="AdwPreferencesGroup">
                <property name="title" translatable="yes">Map</property>
                <child>
                  <object class="AdwActionRow">
                    <property name="title" translatable="yes">Metric Units</property>
                    <child>
                      <object class="GtkSwitch" id="map_unit_metric">
                        <property name="can_focus">True</property>
                        <property name="hexpand">True</property>
                        <property name="halign">end</property>
                        <property name="valign">center</property>
                        <property name="state">True</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="AdwActionRow">
                    <property name="margin-top">10</property>
                    <property name="title" translatable="yes">Imperial Units</property>
                    <child>
                      <object class="GtkSwitch" id="map_unit_imperial">
                        <property name="can_focus">True</property>
                        <property name="hexpand">True</property>
                        <property name="halign">end</property>
                        <property name="valign">center</property>
                        <property name="state">False</property>
                      </object>
                    </child>
                  </object>
                </child>

              </object>
            </child>

            <child>
              <object class="AdwPreferencesGroup">
                <property name="title" translatable="yes">General Appearance</property>
                <child>
                  <object class="AdwActionRow">
                    <property name="title" translatable="yes">Invert Color Scheme</property>
                    <child>
                      <object class="GtkSwitch" id="invert_scheme">
                        <property name="can_focus">True</property>
                        <property name="hexpand">True</property>
                        <property name="halign">end</property>
                        <property name="valign">center</property>
                        <property name="state">False</property>
                      </object>
                    </child>
                  </object>
                </child>

              </object>
            </child>

          </object>
        </child>

      </object>
    </child>

  </template>
</interface>

