Audacity 3.2.0
|
Dialog used with EffectNoiseReduction. More...
Public Member Functions | |
Dialog (EffectNoiseReduction *effect, EffectSettingsAccess &access, Settings *settings, wxWindow *parent, bool bHasProfile, bool bAllowTwiddleSettings) | |
void | PopulateOrExchange (ShuttleGui &S) override |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
const Settings & | GetTempSettings () const |
Public Member Functions inherited from EffectDialog | |
EffectDialog (wxWindow *parent, const TranslatableString &title, int type=0, int flags=wxDEFAULT_DIALOG_STYLE, int additionalButtons=0) | |
void | Init () |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
bool | Validate () override |
virtual void | PopulateOrExchange (ShuttleGui &S) |
virtual void | OnPreview (wxCommandEvent &evt) |
virtual void | OnOk (wxCommandEvent &evt) |
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 | DisableControlsIfIsolating () |
void | OnGetProfile (wxCommandEvent &event) |
void | OnNoiseReductionChoice (wxCommandEvent &event) |
void | OnPreview (wxCommandEvent &event) override |
void | OnReduceNoise (wxCommandEvent &event) |
void | OnCancel (wxCommandEvent &event) |
void | OnHelp (wxCommandEvent &event) |
void | OnText (wxCommandEvent &event) |
void | OnSlider (wxCommandEvent &event) |
Private Attributes | |
EffectNoiseReduction * | m_pEffect |
EffectSettingsAccess & | mAccess |
This dialog is modal, so mAccess will live long enough for it. More... | |
EffectNoiseReduction::Settings * | m_pSettings |
EffectNoiseReduction::Settings | mTempSettings |
bool | mbHasProfile |
bool | mbAllowTwiddleSettings |
wxRadioButton * | mKeepSignal |
Dialog used with EffectNoiseReduction.
Definition at line 51 of file NoiseReduction.cpp.
EffectNoiseReduction::Dialog::Dialog | ( | EffectNoiseReduction * | effect, |
EffectSettingsAccess & | access, | ||
EffectNoiseReduction::Settings * | settings, | ||
wxWindow * | parent, | ||
bool | bHasProfile, | ||
bool | bAllowTwiddleSettings | ||
) |
Definition at line 356 of file NoiseReduction.cpp.
|
private |
Definition at line 393 of file NoiseReduction.cpp.
References ID_FREQ_SLIDER, ID_FREQ_TEXT, ID_GAIN_SLIDER, and ID_GAIN_TEXT.
|
inline |
Definition at line 64 of file NoiseReduction.cpp.
References mTempSettings.
Referenced by anonymous_namespace{NoiseReduction.cpp}::PromptUser().
|
private |
Definition at line 504 of file NoiseReduction.cpp.
|
private |
Definition at line 445 of file NoiseReduction.cpp.
References EffectManager::Get(), EffectManager::SetSkipStateFlag(), and StatefulEffectUIServices::TransferDataFromWindow().
|
private |
Definition at line 509 of file NoiseReduction.cpp.
References HelpSystem::ShowHelp().
|
private |
Definition at line 458 of file NoiseReduction.cpp.
References NRC_ISOLATE_NOISE, NRC_LEAVE_RESIDUE, and NRC_REDUCE_NOISE.
|
overrideprivatevirtual |
Reimplemented from EffectDialog.
Definition at line 480 of file NoiseReduction.cpp.
References EffectPreview(), StatefulEffectUIServices::TransferDataFromWindow(), and valueRestorer().
|
private |
Definition at line 496 of file NoiseReduction.cpp.
References StatefulEffectUIServices::TransferDataFromWindow().
|
private |
Definition at line 708 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), field, and FIRST_SLIDER.
|
private |
Definition at line 693 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), field, and FIRST_SLIDER.
|
overridevirtual |
This is a virtual function which will be overridden to provide the actual parameters that we want for each kind of dialog.
Reimplemented from EffectDialog.
Definition at line 514 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), anonymous_namespace{NoiseReduction.cpp}::ControlInfo::CreateControls(), anonymous_namespace{NoiseReductionBase.cpp}::discriminationMethodInfo, anonymous_namespace{NoiseReductionBase.cpp}::DM_N_METHODS, END_OF_BASIC_SLIDERS, FIRST_SLIDER, ID_BUTTON_GETPROFILE, ID_RADIOBUTTON_KEEPSIGNAL, RESIDUE_CHOICE, S, anonymous_namespace{NoiseReductionBase.cpp}::windowTypesInfo, anonymous_namespace{NoiseReductionBase.cpp}::WT_N_WINDOW_TYPES, XO(), and XXO().
|
override |
Definition at line 679 of file NoiseReduction.cpp.
References EffectDialog::TransferDataFromWindow().
|
override |
Definition at line 645 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), END_OF_SLIDERS, field, FIRST_SLIDER, NRC_ISOLATE_NOISE, NRC_LEAVE_RESIDUE, NRC_REDUCE_NOISE, and EffectDialog::TransferDataToWindow().
|
private |
Definition at line 90 of file NoiseReduction.cpp.
|
private |
Definition at line 93 of file NoiseReduction.cpp.
|
private |
This dialog is modal, so mAccess will live long enough for it.
Definition at line 92 of file NoiseReduction.cpp.
|
private |
Definition at line 97 of file NoiseReduction.cpp.
|
private |
Definition at line 96 of file NoiseReduction.cpp.
|
private |
Definition at line 100 of file NoiseReduction.cpp.
|
private |
Definition at line 94 of file NoiseReduction.cpp.
Referenced by GetTempSettings().