Audacity 3.2.0
|
A PrefsPanel to enable/disable certain modules. 'Modules' are dynamically linked libraries that modify Audacity. They are plug-ins with names like mod-script-pipe that add NEW features. More...
#include <ModulePrefs.h>
Public Member Functions | |
ModulePrefs (wxWindow *parent, wxWindowID winid) | |
~ModulePrefs () | |
ComponentInterfaceSymbol | GetSymbol () const override |
TranslatableString | GetDescription () const override |
bool | Commit () override |
ManualPageID | HelpPageName () override |
If not empty string, the Help button is added below the panel. More... | |
void | PopulateOrExchange (ShuttleGui &S) override |
Public Member Functions inherited from PrefsPanel | |
PrefsPanel (wxWindow *parent, wxWindowID winid, const TranslatableString &title) | |
virtual | ~PrefsPanel () |
virtual void | Preview () |
virtual bool | Commit ()=0 |
virtual PluginPath | GetPath () const override |
virtual VendorSymbol | GetVendor () const override |
virtual wxString | GetVersion () const override |
virtual bool | ShowsPreviewButton () |
virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
virtual ManualPageID | HelpPageName () |
If not empty string, the Help button is added below the panel. More... | |
virtual void | Cancel () |
Public Member Functions inherited from wxPanelWrapper | |
wxPanelWrapper () | |
wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) | |
bool | Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) |
void | SetLabel (const TranslatableString &label) |
void | SetName (const TranslatableString &name) |
void | SetToolTip (const TranslatableString &toolTip) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxPanel > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
void | GetAllModuleStatuses () |
void | Populate () |
Private Attributes | |
wxArrayString | mModules |
std::vector< int > | mStatuses |
FilePaths | mPaths |
Additional Inherited Members | |
Public Types inherited from PrefsPanel | |
using | Factories = std::vector< PrefsPanel::PrefsNode > |
using | Factory = std::function< PrefsPanel *(wxWindow *parent, wxWindowID winid, AudacityProject *) > |
Static Public Member Functions inherited from PrefsPanel | |
static Factories & | DefaultFactories () |
A PrefsPanel to enable/disable certain modules. 'Modules' are dynamically linked libraries that modify Audacity. They are plug-ins with names like mod-script-pipe that add NEW features.
Definition at line 26 of file ModulePrefs.h.
ModulePrefs::ModulePrefs | ( | wxWindow * | parent, |
wxWindowID | winid | ||
) |
Definition at line 33 of file ModulePrefs.cpp.
References Populate().
ModulePrefs::~ModulePrefs | ( | ) |
Definition at line 40 of file ModulePrefs.cpp.
|
overridevirtual |
Implements PrefsPanel.
Definition at line 143 of file ModulePrefs.cpp.
References eIsSavingToPrefs, mPaths, mStatuses, PopulateOrExchange(), S, and ModuleSettings::SetModuleStatus().
|
private |
Definition at line 59 of file ModulePrefs.cpp.
References audacity::BasicSettings::BeginGroup(), audacity::BasicSettings::GetChildKeys(), gPrefs, key, kModuleDisabled, kModuleNew, mModules, mPaths, mStatuses, audacity::BasicSettings::Read(), audacity::BasicSettings::Write(), and wxT().
Referenced by Populate().
|
overridevirtual |
Implements ComponentInterface.
Definition at line 49 of file ModulePrefs.cpp.
References XO().
|
overridevirtual |
Implements ComponentInterface.
Definition at line 44 of file ModulePrefs.cpp.
References MODULE_PREFS_PLUGIN_SYMBOL.
|
overridevirtual |
If not empty string, the Help button is added below the panel.
Default returns empty string.
Reimplemented from PrefsPanel.
Definition at line 54 of file ModulePrefs.cpp.
|
private |
Definition at line 95 of file ModulePrefs.cpp.
References eIsCreatingFromPrefs, GetAllModuleStatuses(), PopulateOrExchange(), and S.
Referenced by ModulePrefs().
|
override |
Definition at line 107 of file ModulePrefs.cpp.
References mModules, mStatuses, S, Verbatim(), and XO().
Referenced by Commit(), and Populate().
|
private |
Definition at line 41 of file ModulePrefs.h.
Referenced by GetAllModuleStatuses(), and PopulateOrExchange().
|
private |
Definition at line 43 of file ModulePrefs.h.
Referenced by Commit(), and GetAllModuleStatuses().
|
private |
Definition at line 42 of file ModulePrefs.h.
Referenced by Commit(), GetAllModuleStatuses(), and PopulateOrExchange().