<?xml version="1.0"?>
<!-- generated by wxGlade 1.1.1 on Thu Nov 20 08:12:14 2025 -->

<application encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="perl" mark_blocks="1" option="0" overwrite="1" path="SettingsDialog_wxg.pm" source_extension=".cpp" top_window="d_prefs" use_gettext="1" use_new_namespace="1">
    <object class="ChordPro::Wx::SettingsDialog_wxg" name="d_prefs" base="EditDialog">
        <title>Settings</title>
        <style>wxDEFAULT_DIALOG_STYLE</style>
        <sizehints>1</sizehints>
        <object class="wxBoxSizer" name="sz_main" base="EditBoxSizer">
            <orient>wxVERTICAL</orient>
            <object class="sizeritem">
                <option>1</option>
                <border>0</border>
                <flag>wxEXPAND</flag>
                <object class="wxBoxSizer" name="sz_prefs_outer" base="EditBoxSizer">
                    <orient>wxVERTICAL</orient>
                    <object class="sizeritem">
                        <option>1</option>
                        <border>5</border>
                        <flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
                        <object class="wxNotebook" name="nb_preferences" base="EditNotebook">
                            <style>wxNB_TOP</style>
                            <tabs>
                                <tab window="nb_config">Presets</tab>
                                <tab window="nb_notations">Notations</tab>
                                <tab window="nb_editor">Editor</tab>
                                <tab window="nb_messages">Messages</tab>
                                <tab window="nb_pdf_preview">PDF Preview</tab>
                                <tab window="nb_html_preview">HTML Preview</tab>
                            </tabs>
                            <object class="wxPanel" name="nb_config" base="EditPanel">
                                <style>wxTAB_TRAVERSAL</style>
                                <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_1" base="EditStaticText">
                                            <size>-1, 35</size>
                                            <foreground>#0068d9</foreground>
                                            <font>
                                                <size>18</size>
                                                <family>default</family>
                                                <style>normal</style>
                                                <weight>normal</weight>
                                                <underlined>0</underlined>
                                                <face />
                                            </font>
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>Instrument and Style Presets</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>1</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
                                        <object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer">
                                            <orient>wxHORIZONTAL</orient>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>25</border>
                                                <flag>wxRIGHT|wxEXPAND</flag>
                                                <object class="wxBoxSizer" name="sz_instrument" base="EditBoxSizer">
                                                    <orient>wxVERTICAL</orient>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_instrument" base="EditStaticText">
                                                            <font>
                                                                <size>11</size>
                                                                <family>default</family>
                                                                <style>normal</style>
                                                                <weight>bold</weight>
                                                                <underlined>0</underlined>
                                                                <face />
                                                            </font>
                                                            <label>Instrument</label>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                                        <object class="wxChoice" name="ch_instrument" base="EditChoice">
                                                            <events>
                                                                <handler event="EVT_CHOICE">OnChangeInstrument</handler>
                                                            </events>
                                                            <size>250, -1</size>
                                                            <selection>0</selection>
                                                            <choices>
                                                                <choice>Guitar</choice>
                                                                <choice>Ukulele</choice>
                                                                <choice>Mandolin</choice>
                                                                <choice>Keyboard</choice>
                                                            </choices>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>1</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_instrument_desc" base="EditStaticText">
                                                            <style>wxST_NO_AUTORESIZE</style>
                                                            <label>\n\n</label>
                                                            <attribute>1</attribute>
                                                            <wrap>250</wrap>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="spacer" name="spacer" base="EditSpacer">
                                                            <width>20</width>
                                                            <height>20</height>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_style" base="EditStaticText">
                                                            <font>
                                                                <size>11</size>
                                                                <family>default</family>
                                                                <style>normal</style>
                                                                <weight>bold</weight>
                                                                <underlined>0</underlined>
                                                                <face />
                                                            </font>
                                                            <label>Style</label>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                                        <object class="wxChoice" name="ch_style" base="EditChoice">
                                                            <events>
                                                                <handler event="EVT_CHOICE">OnChangeStyle</handler>
                                                            </events>
                                                            <size>250, -1</size>
                                                            <selection>0</selection>
                                                            <choices>
                                                                <choice>Default</choice>
                                                            </choices>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>1</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_style_desc" base="EditStaticText">
                                                            <style>wxST_NO_AUTORESIZE</style>
                                                            <label>\n\n</label>
                                                            <attribute>1</attribute>
                                                            <wrap>250</wrap>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>15</border>
                                                <flag>wxRIGHT|wxEXPAND</flag>
                                                <object class="wxBoxSizer" name="sz_stylemods" base="EditBoxSizer">
                                                    <orient>wxVERTICAL</orient>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxBOTTOM</flag>
                                                        <object class="wxStaticText" name="l_stylemods" base="EditStaticText">
                                                            <font>
                                                                <size>11</size>
                                                                <family>default</family>
                                                                <style>normal</style>
                                                                <weight>bold</weight>
                                                                <underlined>0</underlined>
                                                                <face />
                                                            </font>
                                                            <label>Style Modifiers</label>
                                                            <attribute>1</attribute>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>1</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="ChordPro::Wx::CheckListBox" name="ch_stylemods" base="EditCheckListBox">
                                                            <extracode_pre>use ChordPro::Wx::CheckListBox;</extracode_pre>
                                                            <events>
                                                                <handler event="EVT_CHECKLISTBOX">OnChangeStylemods</handler>
                                                            </events>
                                                            <choices>
                                                                <choice>None</choice>
                                                            </choices>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>1</option>
                                                <border>15</border>
                                                <flag>wxRIGHT|wxEXPAND</flag>
                                                <object class="wxBoxSizer" name="sz_stylemods_desc" base="EditBoxSizer">
                                                    <orient>wxVERTICAL</orient>
                                                    <attribute>1</attribute>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_spacer" base="EditStaticText">
                                                            <font>
                                                                <size>11</size>
                                                                <family>default</family>
                                                                <style>normal</style>
                                                                <weight>bold</weight>
                                                                <underlined>0</underlined>
                                                                <face />
                                                            </font>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>1</option>
                                                        <border>10</border>
                                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_stylemods_desc" base="EditStaticText">
                                                            <style>wxST_NO_AUTORESIZE</style>
                                                            <attribute>1</attribute>
                                                            <wrap>250</wrap>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="wxStaticText" name="l_stylemods_tip" base="EditStaticText">
                                                            <style>wxST_NO_AUTORESIZE</style>
                                                            <label>\n\n</label>
                                                            <attribute>1</attribute>
                                                            <wrap>250</wrap>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticLine" name="static_line_2" base="EditStaticLine">
                                            <style>wxLI_HORIZONTAL</style>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxEXPAND</flag>
                                        <object class="wxGridBagSizer" name="sz_presets" base="EditGridBagSizer">
                                            <attribute>1</attribute>
                                            <rows>3</rows>
                                            <cols>3</cols>
                                            <vgap>15</vgap>
                                            <hgap>15</hgap>
                                            <growable_cols>1</growable_cols>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_configfile" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnConfigFile</handler>
                                                    </events>
                                                    <tooltip>Use a custom configuration file</tooltip>
                                                    <label>Custom Configuration File</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <span>1, 2</span>
                                                <border>0</border>
                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxBoxSizer" name="sz_customconfig" base="EditBoxSizer">
                                                    <orient>wxHORIZONTAL</orient>
                                                    <object class="sizeritem">
                                                        <option>1</option>
                                                        <border>5</border>
                                                        <flag>wxRIGHT|wxEXPAND</flag>
                                                        <object class="ChordPro::Wx::FileDirPickerCtrl" name="fp_customconfig" base="CustomWidget">
                                                            <extracode_pre>use ChordPro::Wx::FileDirPickerCtrl;</extracode_pre>
                                                            <events>
                                                                <handler event="EVT_FILEPICKER_CHANGED">OnCustomConfigChanged</handler>
                                                            </events>
                                                            <tooltip>Select the custom configuration file to be used</tooltip>
                                                            <arguments>
                                                                <argument>$parent</argument>
                                                                <argument>$id</argument>
                                                                <argument>""</argument>
                                                                <argument>"Select a configuration file"</argument>
                                                                <argument>"Config files (*.prp,*.json)|*.prp;*.json"</argument>
                                                            </arguments>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                                        <object class="wxButton" name="b_createconfig" base="EditButton">
                                                            <events>
                                                                <handler event="EVT_BUTTON">OnCreateConfig</handler>
                                                            </events>
                                                            <label>button_1</label>
                                                            <stockitem>NEW</stockitem>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                            <object class="sizerslot" />
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_customlib" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnCustomLib</handler>
                                                    </events>
                                                    <tooltip>Use a custom library folder with configuration files, images, templates, fonts, …</tooltip>
                                                    <label>Custom Configuration Library</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <span>1, 2</span>
                                                <border>5</border>
                                                <flag>wxBOTTOM|wxEXPAND</flag>
                                                <object class="ChordPro::Wx::FileDirPickerCtrl" name="dp_customlibrary" base="CustomWidget">
                                                    <extracode_pre>use ChordPro::Wx::FileDirPickerCtrl;</extracode_pre>
                                                    <events>
                                                        <handler event="EVT_DIRPICKER_CHANGED">OnCustomLibChanged</handler>
                                                    </events>
                                                    <size>-1, 12d</size>
                                                    <tooltip>Use a custom library folder with configuration files, images, templates, fonts, ...</tooltip>
                                                    <arguments>
                                                        <argument>$parent</argument>
                                                        <argument>$id</argument>
                                                        <argument>""</argument>
                                                        <argument>"Select a folder to be used as custom library"</argument>
                                                        <argument>""</argument>
                                                    </arguments>
                                                </object>
                                            </object>
                                            <object class="sizerslot" />
                                            <object class="sizeritem">
                                                <span>1, 3</span>
                                                <border>5</border>
                                                <flag>wxRIGHT|wxEXPAND</flag>
                                                <object class="wxCheckBox" name="cb_usestdcfg" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnUseStdCfg</handler>
                                                    </events>
                                                    <size>273, 10d</size>
                                                    <tooltip>Use system, user and song configuration files, if any.</tooltip>
                                                    <label>Use Default (system, user, song) Configuration Files</label>
                                                </object>
                                            </object>
                                            <object class="sizerslot" />
                                            <object class="sizerslot" />
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="wxPanel" name="nb_notations" base="EditPanel">
                                <style>wxTAB_TRAVERSAL</style>
                                <object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_7" base="EditStaticText">
                                            <size>-1, 35</size>
                                            <foreground>#0068d9</foreground>
                                            <font>
                                                <size>18</size>
                                                <family>default</family>
                                                <style>normal</style>
                                                <weight>normal</weight>
                                                <underlined>0</underlined>
                                                <face />
                                            </font>
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>Notations and Transcode</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>1</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
                                        <object class="wxGridBagSizer" name="sizer_13" base="EditGridBagSizer">
                                            <rows>2</rows>
                                            <cols>2</cols>
                                            <vgap>15</vgap>
                                            <hgap>15</hgap>
                                            <growable_cols>1</growable_cols>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="l_notation" base="EditStaticText">
                                                    <tooltip>Select the desired notation system</tooltip>
                                                    <label>Notation System</label>
                                                    <attribute>1</attribute>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="wxChoice" name="ch_notation" base="EditChoice">
                                                    <events>
                                                        <handler event="EVT_CHOICE">OnChNotation</handler>
                                                    </events>
                                                    <tooltip>Select the notation system that is used in the song</tooltip>
                                                    <selection>-1</selection>
                                                    <choices>
                                                    </choices>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_xcode" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnCbTranscode</handler>
                                                    </events>
                                                    <tooltip>Enable transcoding</tooltip>
                                                    <label>Transcode to</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxChoice" name="ch_xcode" base="EditChoice">
                                                    <events>
                                                        <handler event="EVT_CHOICE">OnChTranscode</handler>
                                                    </events>
                                                    <tooltip>Select a notation system to transcode the song to</tooltip>
                                                    <selection>-1</selection>
                                                    <choices>
                                                    </choices>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>10</border>
                                        <flag>wxBOTTOM|wxEXPAND</flag>
                                        <object class="wxStaticText" name="l_xpose" base="EditStaticText">
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>Looking for transpose settings? These are moved to the Tasks &gt; More dialog.</label>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="wxPanel" name="nb_editor" base="EditPanel">
                                <style>wxTAB_TRAVERSAL</style>
                                <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_3" base="EditStaticText">
                                            <size>-1, 35</size>
                                            <foreground>#0068d9</foreground>
                                            <font>
                                                <size>18</size>
                                                <family>default</family>
                                                <style>normal</style>
                                                <weight>normal</weight>
                                                <underlined>0</underlined>
                                                <face />
                                            </font>
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>Editor Settings</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxEXPAND</flag>
                                        <object class="wxGridBagSizer" name="sizer_10" base="EditGridBagSizer">
                                            <rows>6</rows>
                                            <cols>2</cols>
                                            <vgap>10</vgap>
                                            <hgap>15</hgap>
                                            <growable_cols>1</growable_cols>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="l_editor_11" base="EditStaticText">
                                                    <label>Editor Font</label>
                                                    <attribute>1</attribute>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="Wx::FontPickerCtrl" name="fp_editor" base="CustomWidget">
                                                    <events>
                                                        <handler event="EVT_FONTPICKER_CHANGED">OnEditorFontPickerChanged</handler>
                                                    </events>
                                                    <tooltip>Select a font and font size for the editor</tooltip>
                                                    <arguments>
                                                        <argument>$parent</argument>
                                                        <argument>$id</argument>
                                                        <argument>wxNullFont</argument>
                                                        <argument>wxDefaultPosition</argument>
                                                        <argument>wxDefaultSize</argument>
                                                        <argument>wxFNTP_FONTDESC_AS_LABEL | wxFNTP_USEFONT_FOR_LABEL</argument>
                                                    </arguments>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_editorwrap" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnEditorWrap</handler>
                                                    </events>
                                                    <tooltip>Wrap lines that are too long to show</tooltip>
                                                    <label>Wrap Lines</label>
                                                    <checked>1</checked>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="wxBoxSizer" name="sz_editor_12" base="EditBoxSizer">
                                                    <orient>wxHORIZONTAL</orient>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>5</border>
                                                        <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                                        <object class="wxStaticText" name="l_editorwrap" base="EditStaticText">
                                                            <label>Indentation for wrapped lines</label>
                                                            <attribute>1</attribute>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="wxSpinCtrl" name="sp_editorwrap" base="EditSpinCtrl">
                                                            <events>
                                                                <handler event="EVT_SPINCTRL">OnEditorWrapIndent</handler>
                                                            </events>
                                                            <tooltip>The amount of indentation for wrapped lines</tooltip>
                                                            <style>wxSP_ARROW_KEYS</style>
                                                            <range>0, 15</range>
                                                            <value>0</value>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <span>1, 2</span>
                                                <border>5</border>
                                                <flag>wxTOP|wxEXPAND</flag>
                                                <object class="wxBoxSizer" name="sz_editor" base="EditBoxSizer">
                                                    <orient>wxHORIZONTAL</orient>
                                                    <object class="sizeritem">
                                                        <option>1</option>
                                                        <border>10</border>
                                                        <flag>wxRIGHT|wxEXPAND</flag>
                                                        <object class="ChordPro::Wx::Editor" name="t_editor" base="CustomWidget">
                                                            <extracode_pre>require ChordPro::Wx::Editor;</extracode_pre>
                                                            <size>144, 50d</size>
                                                            <arguments>
                                                                <argument>$parent</argument>
                                                                <argument>$id</argument>
                                                            </arguments>
                                                        </object>
                                                    </object>
                                                    <object class="sizeritem">
                                                        <option>0</option>
                                                        <border>0</border>
                                                        <flag>wxEXPAND</flag>
                                                        <object class="wxGridBagSizer" name="sz_colours" base="EditGridBagSizer">
                                                            <rows>6</rows>
                                                            <cols>4</cols>
                                                            <vgap>5</vgap>
                                                            <hgap>5</hgap>
                                                            <growable_cols>0,2</growable_cols>
                                                            <object class="sizeritem">
                                                                <span>1, 2</span>
                                                                <border>5</border>
                                                                <flag>wxALL|wxEXPAND</flag>
                                                                <object class="wxStaticText" name="label_6" base="EditStaticText">
                                                                    <foreground>#0068d9</foreground>
                                                                    <font>
                                                                        <size>13</size>
                                                                        <family>default</family>
                                                                        <style>normal</style>
                                                                        <weight>normal</weight>
                                                                        <underlined>0</underlined>
                                                                        <face />
                                                                    </font>
                                                                    <label>Editor Colours</label>
                                                                </object>
                                                            </object>
                                                            <object class="sizerslot" />
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND</flag>
                                                                <object class="wxChoice" name="ch_theme" base="EditChoice">
                                                                    <events>
                                                                        <handler event="EVT_CHOICE">OnThemeChanged</handler>
                                                                    </events>
                                                                    <tooltip>Colour theme for the editor.</tooltip>
                                                                    <selection>0</selection>
                                                                    <choices>
                                                                        <choice>Light Theme</choice>
                                                                        <choice>Dark Theme</choice>
                                                                        <choice>Follow System</choice>
                                                                    </choices>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_theme" base="EditStaticText">
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_fg" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourFGChanged</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_fg" base="EditStaticText">
                                                                    <label>Standard text</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_bg" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourBGChanged</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_bg" base="EditStaticText">
                                                                    <label>Background</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_s1" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourS1Changed</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_s1" base="EditStaticText">
                                                                    <label>Comments</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_s2" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourS2Changed</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_s2" base="EditStaticText">
                                                                    <label>Keywords</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_s3" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourS3Changed</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_s3" base="EditStaticText">
                                                                    <label>Brackets</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_s4" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourS4Changed</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_s4" base="EditStaticText">
                                                                    <label>Chords</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_s5" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourS5Changed</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_s5" base="EditStaticText">
                                                                    <label>Directives</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_s6" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourS6Changed</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_s6" base="EditStaticText">
                                                                    <label>Arguments</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_annfg" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourAnnFGChanged</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_annfg" base="EditStaticText">
                                                                    <label>Annotations</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="Wx::ColourPickerCtrl" name="cp_annbg" base="CustomWidget">
                                                                    <events>
                                                                        <handler event="EVT_COLOURPICKER_CHANGED">OnColourAnnBGChanged</handler>
                                                                    </events>
                                                                    <arguments>
                                                                        <argument>$parent</argument>
                                                                        <argument>$id</argument>
                                                                    </arguments>
                                                                </object>
                                                            </object>
                                                            <object class="sizeritem">
                                                                <border>0</border>
                                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                                <object class="wxStaticText" name="l_annbg" base="EditStaticText">
                                                                    <label>Ann. Background</label>
                                                                    <attribute>1</attribute>
                                                                </object>
                                                            </object>
                                                        </object>
                                                    </object>
                                                </object>
                                            </object>
                                            <object class="sizerslot" />
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="l_prefext" base="EditStaticText">
                                                    <label>Preferred Filename Extension</label>
                                                    <attribute>1</attribute>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="wxTextCtrl" name="t_prefext" base="EditTextCtrl">
                                                    <events>
                                                        <handler event="EVT_TEXT">OnPrefExtChanged</handler>
                                                    </events>
                                                    <tooltip>The preferred filename extension to be used for ChordPro song files.\nThis extension will also be used when saving song files.</tooltip>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_tmplfile" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnCbTmplFile</handler>
                                                    </events>
                                                    <tooltip>Use a template song for new songs</tooltip>
                                                    <label>Template for new songs</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="ChordPro::Wx::FileDirPickerCtrl" name="fp_tmplfile" base="CustomWidget">
                                                    <extracode_pre>use ChordPro::Wx::FileDirPickerCtrl;</extracode_pre>
                                                    <tooltip>Template for new songs</tooltip>
                                                    <arguments>
                                                        <argument>$parent</argument>
                                                        <argument>$id</argument>
                                                        <argument>""</argument>
                                                        <argument>"Select a template for new songs"</argument>
                                                        <argument>"ChordPro files (*.cho,*.crd,*.chopro,*.chord,*.chordpro,*.pro)|*.cho;*.crd;*.chopro;*.chord;*.chordpro;*.pro;*.txt"</argument>
                                                    </arguments>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="wxPanel" name="nb_messages" base="EditPanel">
                                <style>wxTAB_TRAVERSAL</style>
                                <object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_4" base="EditStaticText">
                                            <size>-1, 35</size>
                                            <foreground>#0068d9</foreground>
                                            <font>
                                                <size>18</size>
                                                <family>default</family>
                                                <style>normal</style>
                                                <weight>normal</weight>
                                                <underlined>0</underlined>
                                                <face />
                                            </font>
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>Messages Settings</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
                                        <object class="wxFlexGridSizer" name="sizer_11" base="EditFlexGridSizer">
                                            <rows>1</rows>
                                            <cols>2</cols>
                                            <vgap>15</vgap>
                                            <hgap>15</hgap>
                                            <growable_cols>1</growable_cols>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>5</border>
                                                <flag>wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxStaticText" name="l_messages" base="EditStaticText">
                                                    <label>Font for messages</label>
                                                    <attribute>1</attribute>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <option>0</option>
                                                <border>5</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="Wx::FontPickerCtrl" name="fp_messages" base="CustomWidget">
                                                    <events>
                                                        <handler event="EVT_FONTPICKER_CHANGED">OnMessagesFontPickerChanged</handler>
                                                    </events>
                                                    <tooltip>Select a font and font size for the messages</tooltip>
                                                    <arguments>
                                                        <argument>$parent</argument>
                                                        <argument>$id</argument>
                                                        <argument>wxNullFont</argument>
                                                        <argument>wxDefaultPosition</argument>
                                                        <argument>wxDefaultSize</argument>
                                                        <argument>wxFNTP_FONTDESC_AS_LABEL | wxFNTP_USEFONT_FOR_LABEL</argument>
                                                    </arguments>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="wxPanel" name="nb_pdf_preview" base="EditPanel">
                                <style>wxTAB_TRAVERSAL</style>
                                <object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_5" base="EditStaticText">
                                            <size>-1, 35</size>
                                            <foreground>#0068d9</foreground>
                                            <font>
                                                <size>18</size>
                                                <family>default</family>
                                                <style>normal</style>
                                                <weight>normal</weight>
                                                <underlined>0</underlined>
                                                <face />
                                            </font>
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>PDF Preview Settings</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
                                        <object class="wxGridBagSizer" name="sizer_12" base="EditGridBagSizer">
                                            <rows>1</rows>
                                            <cols>2</cols>
                                            <vgap>15</vgap>
                                            <hgap>15</hgap>
                                            <growable_cols>1</growable_cols>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_pdfviewer" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnPDFViewer</handler>
                                                    </events>
                                                    <tooltip>Use an external program instead of the built-in PDF viewer</tooltip>
                                                    <label>PDF Viewer</label>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <border>5</border>
                                                <flag>wxEXPAND</flag>
                                                <object class="wxTextCtrl" name="t_pdfviewer" base="EditTextCtrl">
                                                    <tooltip>Specify the command to run the alternative PDF viewer.\n  %f will be replaced by the file name\n  %u will be replaced by the file URL\nLeave empty to use the system default viewer.</tooltip>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_9" base="EditStaticText">
                                            <style>wxALIGN_LEFT</style>
                                            <label>By default ChordPro will use a built-in viewer to preview the generated PDF output.\n\nIn case you want a different viewer, check the checkbox above, and fill in the command required to run the alternative PDF viewer.\n\nIn the command:\n    %f will be replaced by the file name of the PDF preview file\n    %u will be replaced by the URL of the PDF preview file\n</label>
                                            <wrap>750</wrap>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="wxPanel" name="nb_html_preview" base="EditPanel">
                                <style>wxTAB_TRAVERSAL</style>
                                <object class="wxBoxSizer" name="sizer_7" base="EditBoxSizer">
                                    <orient>wxVERTICAL</orient>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_8" base="EditStaticText">
                                            <size>-1, 35</size>
                                            <foreground>#0068d9</foreground>
                                            <font>
                                                <size>18</size>
                                                <family>default</family>
                                                <style>normal</style>
                                                <weight>normal</weight>
                                                <underlined>0</underlined>
                                                <face />
                                            </font>
                                            <style>wxALIGN_CENTER_HORIZONTAL</style>
                                            <label>HTML Preview Settings</label>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
                                        <object class="wxGridBagSizer" name="sizer_14" base="EditGridBagSizer">
                                            <rows>1</rows>
                                            <cols>2</cols>
                                            <vgap>15</vgap>
                                            <hgap>15</hgap>
                                            <growable_cols>1</growable_cols>
                                            <object class="sizeritem">
                                                <border>0</border>
                                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                                <object class="wxCheckBox" name="cb_htmlviewer" base="EditCheckBox">
                                                    <events>
                                                        <handler event="EVT_CHECKBOX">OnHTMLViewer</handler>
                                                    </events>
                                                    <tooltip>Use HTML viewer</tooltip>
                                                    <label>Preview with HTML</label>
                                                </object>
                                            </object>
                                            <object class="sizerslot" />
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <option>0</option>
                                        <border>15</border>
                                        <flag>wxALL|wxEXPAND</flag>
                                        <object class="wxStaticText" name="label_10" base="EditStaticText">
                                            <style>wxALIGN_LEFT</style>
                                            <label>This is experimental, under development, incomplete, buggy, and so on.\n\nIn other words, do not use it.</label>
                                            <wrap>750</wrap>
                                        </object>
                                    </object>
                                </object>
                            </object>
                        </object>
                    </object>
                    <object class="sizeritem">
                        <option>0</option>
                        <border>0</border>
                        <flag>wxTOP|wxEXPAND</flag>
                        <object class="spacer" name="spacer" base="EditSpacer">
                            <width>20</width>
                            <height>5</height>
                        </object>
                    </object>
                    <object class="sizeritem">
                        <option>0</option>
                        <border>5</border>
                        <flag>wxBOTTOM|wxALIGN_RIGHT</flag>
                        <object class="wxStdDialogButtonSizer" name="sz_prefs_buttons" base="EditStdDialogButtonSizer">
                            <orient>wxHORIZONTAL</orient>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>0</border>
                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                <object class="wxButton" name="b_prefs_cancel" base="EditButton">
                                    <events>
                                        <handler event="EVT_BUTTON">OnCancel</handler>
                                    </events>
                                    <tooltip>Close the dialog, discarding changes</tooltip>
                                    <label>&amp;Cancel</label>
                                    <stockitem>CANCEL</stockitem>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <option>0</option>
                                <border>0</border>
                                <flag>wxALIGN_CENTER_VERTICAL</flag>
                                <object class="wxButton" name="b_prefs_ok" base="EditButton">
                                    <events>
                                        <handler event="EVT_BUTTON">OnAccept</handler>
                                    </events>
                                    <tooltip>Apply the changes and close the dialog</tooltip>
                                    <label>&amp;OK</label>
                                    <default>1</default>
                                    <stockitem>OK</stockitem>
                                </object>
                            </object>
                        </object>
                    </object>
                </object>
            </object>
        </object>
    </object>
</application>
