<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp file and regenerate this file with blueprint-compiler.
-->
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="QPAddEditGamePage" parent="AdwNavigationPage">
    <property name="title" translatable="yes">Add/Edit Game</property>
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"></object>
        </child>
        <property name="content">
          <object class="GtkScrolledWindow">
            <property name="hexpand">true</property>
            <property name="vexpand">true</property>
            <child>
              <object class="GtkBox">
                <property name="margin-start">16</property>
                <property name="margin-end">16</property>
                <property name="margin-top">16</property>
                <property name="margin-bottom">16</property>
                <property name="orientation">1</property>
                <child>
                  <object class="AdwClamp">
                    <property name="maximum-size">600</property>
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">1</property>
                        <property name="spacing">32</property>
                        <child>
                          <object class="AdwPreferencesGroup">
                            <property name="title" translatable="yes">Game Information</property>
                            <child>
                              <object class="AdwEntryRow" id="game_name">
                                <property name="title" translatable="yes">Name</property>
                              </object>
                            </child>
                            <child>
                              <object class="AdwEntryRow" id="cover_path">
                                <property name="title" translatable="yes">Cover Image Path</property>
                                <child>
                                  <object class="GtkButton" id="btn_cover_path">
                                    <property name="icon-name">folder-documents-symbolic</property>
                                    <property name="valign">3</property>
                                    <property name="tooltip-text" translatable="yes">Select Cover Image File</property>
                                    <style>
                                      <class name="flat"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="AdwEntryRow" id="exe_path">
                                <property name="title" translatable="yes">Executable Path</property>
                                <child>
                                  <object class="GtkButton" id="btn_exe_path">
                                    <property name="icon-name">folder-documents-symbolic</property>
                                    <property name="valign">3</property>
                                    <property name="tooltip-text" translatable="yes">Select Executable File</property>
                                    <style>
                                      <class name="flat"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="AdwEntryRow" id="wineprefix_path">
                                <property name="title" translatable="yes">Wineprefix Path</property>
                                <child>
                                  <object class="GtkButton" id="btn_wineprefix_path">
                                    <property name="icon-name">folder-symbolic</property>
                                    <property name="valign">3</property>
                                    <property name="tooltip-text" translatable="yes">Select Wineprefix Folder</property>
                                    <style>
                                      <class name="flat"/>
                                    </style>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkButton" id="btn_create_wineprefix">
                                    <property name="icon-name">folder-new-symbolic</property>
                                    <property name="valign">3</property>
                                    <property name="tooltip-text" translatable="yes">Create Wineprefix</property>
                                    <style>
                                      <class name="flat"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="AdwEntryRow" id="extra_args">
                                <property name="title" translatable="yes">Extra Arguments</property>
                              </object>
                            </child>
                            <child>
                              <object class="AdwSwitchRow" id="use_gamescope">
                                <property name="title" translatable="yes">Use Gamescope</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="AdwPreferencesGroup" id="pref_grp_gamescope">
                            <property name="title" translatable="yes">Gamescope Config</property>
                            <property name="visible">false</property>
                            <child>
                              <object class="AdwActionRow">
                                <property name="title" translatable="yes">Output Resolution</property>
                                <property name="subtitle" translatable="yes">Width x Height</property>
                                <child type="suffix">
                                  <object class="GtkBox">
                                    <property name="spacing">6</property>
                                    <property name="valign">3</property>
                                    <child>
                                      <object class="GtkEntry" id="gamescope_width">
                                        <property name="placeholder-text" translatable="yes">Width</property>
                                        <property name="input-purpose">3</property>
                                        <property name="xalign">0.5</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkLabel">
                                        <property name="label" translatable="yes">x</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="gamescope_height">
                                        <property name="placeholder-text" translatable="yes">Height</property>
                                        <property name="input-purpose">3</property>
                                        <property name="xalign">0.5</property>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="AdwPreferencesGroup">
                            <child>
                              <object class="AdwButtonRow" id="btn_save">
                                <property name="title" translatable="yes">Save</property>
                                <style>
                                  <class name="suggested-action"/>
                                </style>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
  </template>
</interface>