Audacity 3.2.0
|
#include <EffectPresetDialog.h>
Public Member Functions | |
EffectPresetsDialog (wxWindow *parent, EffectPlugin *effect) | |
virtual | ~EffectPresetsDialog () |
wxString | GetSelected () const |
void | SetSelected (const wxString &parms) |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
void | SetPrefix (const TranslatableString &type, const wxString &prefix) |
void | UpdateUI () |
void | OnType (wxCommandEvent &evt) |
void | OnOk (wxCommandEvent &evt) |
void | OnCancel (wxCommandEvent &evt) |
Private Attributes | |
wxChoice * | mType |
wxListBox * | mPresets |
RegistryPaths | mFactoryPresets |
RegistryPaths | mUserPresets |
wxString | mSelection |
Definition at line 9 of file EffectPresetDialog.h.
EffectPresetsDialog::EffectPresetsDialog | ( | wxWindow * | parent, |
EffectPlugin * | effect | ||
) |
Definition at line 18 of file EffectPresetDialog.cpp.
References _, eIsCreating, GetUserPresets(), HasCurrentSettings(), HasFactoryDefaults(), ID_Type, S, and XXO().
|
virtual |
Definition at line 65 of file EffectPresetDialog.cpp.
wxString EffectPresetsDialog::GetSelected | ( | ) | const |
Definition at line 69 of file EffectPresetDialog.cpp.
References mSelection.
Referenced by MacroCommands::PromptForPresetFor().
|
private |
Definition at line 226 of file EffectPresetDialog.cpp.
References mSelection.
|
private |
Definition at line 219 of file EffectPresetDialog.cpp.
References UpdateUI().
|
private |
Definition at line 214 of file EffectPresetDialog.cpp.
References UpdateUI().
|
private |
Definition at line 97 of file EffectPresetDialog.cpp.
References _, TranslatableString::empty(), EffectPlugin::kCurrentSettingsIdent, EffectPlugin::kFactoryDefaultsIdent, EffectPlugin::kFactoryPresetIdent, EffectPlugin::kUserPresetIdent, label, mFactoryPresets, mPresets, mSelection, mType, mUserPresets, preset, TranslatableString::Translation(), and XO().
Referenced by SetSelected().
void EffectPresetsDialog::SetSelected | ( | const wxString & | parms | ) |
Definition at line 74 of file EffectPresetDialog.cpp.
References EffectPlugin::kCurrentSettingsIdent, EffectPlugin::kFactoryDefaultsIdent, EffectPlugin::kFactoryPresetIdent, EffectPlugin::kUserPresetIdent, preset, SetPrefix(), and XO().
Referenced by MacroCommands::PromptForPresetFor().
|
private |
Definition at line 151 of file EffectPresetDialog.cpp.
References _, TranslatableString::empty(), EffectPlugin::kCurrentSettingsIdent, EffectPlugin::kFactoryDefaultsIdent, EffectPlugin::kFactoryPresetIdent, EffectPlugin::kUserPresetIdent, label, mFactoryPresets, mPresets, mSelection, mType, mUserPresets, and preset.
Referenced by OnOk(), and OnType().
|
private |
Definition at line 30 of file EffectPresetDialog.h.
Referenced by SetPrefix(), and UpdateUI().
|
private |
Definition at line 28 of file EffectPresetDialog.h.
Referenced by SetPrefix(), and UpdateUI().
|
private |
Definition at line 32 of file EffectPresetDialog.h.
Referenced by GetSelected(), OnCancel(), SetPrefix(), and UpdateUI().
|
private |
Definition at line 27 of file EffectPresetDialog.h.
Referenced by SetPrefix(), and UpdateUI().
|
private |
Definition at line 31 of file EffectPresetDialog.h.
Referenced by SetPrefix(), and UpdateUI().