12#ifndef __AUDACITY_PREFS_DIALOG__
13#define __AUDACITY_PREFS_DIALOG__
39 int ShowModal()
override;
43 void OnOK(wxCommandEvent & e);
44 void OnCancel(wxCommandEvent & e);
45 void OnPreview(wxCommandEvent & e);
46 void OnHelp(wxCommandEvent & e);
47 void OnTreeKeyDown(wxTreeEvent & e);
49 void SelectPageByName(
const wxString &pageName);
53 int GetSelectedPage()
const;
63 void RecordExpansionState();
88 long GetPreferredPage()
override;
89 void SavePreferredPage()
override;
void AUDACITY_DLL_API DoReloadPreferences(AudacityProject &project)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Dialog that shows the current PrefsPanel in a tabbed divider.
const TranslatableString mTitlePrefix
void OnCategoryChange(wxCommandEvent &e)
virtual void SavePreferredPage()=0
std::unique_ptr< SettingTransaction > mTransaction
virtual long GetPreferredPage()=0
PrefsPanel::Factories & mFactories
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
static Factories & DefaultFactories()
std::vector< PrefsPanel::PrefsNode > Factories
Extend SettingScope with Commit() which flushes updates in a batch.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
A wxTreebook is a class like wxNotebook, but not yet supported by wxWidgets 2.6.3.