Audacity 3.2.0
|
A PrefsPanel used to select recording options. More...
#include <RecordingPrefs.h>
Public Member Functions | |
RecordingPrefs (wxWindow *parent, wxWindowID winid) | |
virtual | ~RecordingPrefs () |
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 | Populate () |
void | OnToggleCustomName (wxCommandEvent &) |
Private Attributes | |
wxTextCtrl * | mToggleCustomName |
bool | mUseCustomTrackName |
bool | mOldNameChoice |
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 used to select recording options.
Presents interface for user to update the various recording options like playthrough, latency correction, and others.
Definition at line 43 of file RecordingPrefs.h.
RecordingPrefs::RecordingPrefs | ( | wxWindow * | parent, |
wxWindowID | winid | ||
) |
Definition at line 43 of file RecordingPrefs.cpp.
References gPrefs, audacity::BasicSettings::Read(), and wxT().
|
virtual |
Definition at line 52 of file RecordingPrefs.cpp.
|
overridevirtual |
Implements PrefsPanel.
Definition at line 260 of file RecordingPrefs.cpp.
References AudioIOLatencyDuration, eIsSavingToPrefs, gPrefs, Setting< T >::Invalidate(), min(), PopulateOrExchange(), audacity::BasicSettings::Read(), Setting< T >::Read(), Setting< T >::Reset(), S, SoundActivatedRecord, audacity::BasicSettings::Write(), and wxT().
|
overridevirtual |
Implements ComponentInterface.
Definition at line 61 of file RecordingPrefs.cpp.
References XO().
|
overridevirtual |
Implements ComponentInterface.
Definition at line 56 of file RecordingPrefs.cpp.
References RECORDING_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 66 of file RecordingPrefs.cpp.
|
private |
Definition at line 291 of file RecordingPrefs.cpp.
References mToggleCustomName, and mUseCustomTrackName.
|
private |
Definition at line 71 of file RecordingPrefs.cpp.
References eIsCreatingFromPrefs, PopulateOrExchange(), and S.
|
override |
Definition at line 82 of file RecordingPrefs.cpp.
References _, AUDIO_PRE_ROLL_KEY, AUDIO_ROLL_CROSSFADE_KEY, DecibelScaleCutoff, DEFAULT_PRE_ROLL_SECONDS, DEFAULT_ROLL_CROSSFADE_MS, mToggleCustomName, mUseCustomTrackName, Setting< T >::Read(), S, SoundActivatedRecord, UseCustomTrackNameID, WarningDialogKey(), wxT(), XO(), and XXO().
Referenced by Commit(), and Populate().
|
private |
Definition at line 61 of file RecordingPrefs.h.
|
private |
Definition at line 59 of file RecordingPrefs.h.
Referenced by OnToggleCustomName(), and PopulateOrExchange().
|
private |
Definition at line 60 of file RecordingPrefs.h.
Referenced by OnToggleCustomName(), and PopulateOrExchange().