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 |
wxRadioButton * | mResidue |
Dialog used with EffectNoiseReduction.
Definition at line 361 of file NoiseReduction.cpp.
EffectNoiseReduction::Dialog::Dialog | ( | EffectNoiseReduction * | effect, |
EffectSettingsAccess & | access, | ||
EffectNoiseReduction::Settings * | settings, | ||
wxWindow * | parent, | ||
bool | bHasProfile, | ||
bool | bAllowTwiddleSettings | ||
) |
Definition at line 1405 of file NoiseReduction.cpp.
|
private |
Definition at line 1442 of file NoiseReduction.cpp.
References ID_FREQ_SLIDER, ID_FREQ_TEXT, ID_GAIN_SLIDER, and ID_GAIN_TEXT.
|
inline |
Definition at line 374 of file NoiseReduction.cpp.
References mTempSettings.
Referenced by EffectNoiseReduction::Settings::PromptUser().
|
private |
Definition at line 1553 of file NoiseReduction.cpp.
|
private |
Definition at line 1494 of file NoiseReduction.cpp.
References EffectManager::Get(), EffectManager::SetSkipStateFlag(), and StatefulEffectUIServices::TransferDataFromWindow().
|
private |
Definition at line 1558 of file NoiseReduction.cpp.
References HelpSystem::ShowHelp().
|
private |
Definition at line 1507 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::NRC_ISOLATE_NOISE, anonymous_namespace{NoiseReduction.cpp}::NRC_LEAVE_RESIDUE, and anonymous_namespace{NoiseReduction.cpp}::NRC_REDUCE_NOISE.
|
overrideprivatevirtual |
Reimplemented from EffectDialog.
Definition at line 1529 of file NoiseReduction.cpp.
References EffectPreview(), StatefulEffectUIServices::TransferDataFromWindow(), and valueRestorer().
|
private |
Definition at line 1545 of file NoiseReduction.cpp.
References StatefulEffectUIServices::TransferDataFromWindow().
|
private |
Definition at line 1757 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), field, and FIRST_SLIDER.
|
private |
Definition at line 1742 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 1563 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), anonymous_namespace{NoiseReduction.cpp}::ControlInfo::CreateControls(), anonymous_namespace{NoiseReduction.cpp}::discriminationMethodInfo, anonymous_namespace{NoiseReduction.cpp}::DM_N_METHODS, END_OF_BASIC_SLIDERS, FIRST_SLIDER, ID_BUTTON_GETPROFILE, ID_RADIOBUTTON_KEEPSIGNAL, ID_RADIOBUTTON_RESIDUE, anonymous_namespace{NoiseReduction.cpp}::DiscriminationMethodInfo::name, anonymous_namespace{NoiseReduction.cpp}::WindowTypesInfo::name, RESIDUE_CHOICE, S, anonymous_namespace{NoiseReduction.cpp}::windowTypesInfo, anonymous_namespace{NoiseReduction.cpp}::WT_N_WINDOW_TYPES, XO(), and XXO().
|
override |
Definition at line 1728 of file NoiseReduction.cpp.
References EffectDialog::TransferDataFromWindow().
|
override |
Definition at line 1694 of file NoiseReduction.cpp.
References anonymous_namespace{NoiseReduction.cpp}::controlInfo(), END_OF_SLIDERS, field, FIRST_SLIDER, anonymous_namespace{NoiseReduction.cpp}::NRC_ISOLATE_NOISE, anonymous_namespace{NoiseReduction.cpp}::NRC_LEAVE_RESIDUE, anonymous_namespace{NoiseReduction.cpp}::NRC_REDUCE_NOISE, and EffectDialog::TransferDataToWindow().
|
private |
Definition at line 400 of file NoiseReduction.cpp.
|
private |
Definition at line 403 of file NoiseReduction.cpp.
|
private |
This dialog is modal, so mAccess will live long enough for it.
Definition at line 402 of file NoiseReduction.cpp.
|
private |
Definition at line 407 of file NoiseReduction.cpp.
|
private |
Definition at line 406 of file NoiseReduction.cpp.
|
private |
Definition at line 410 of file NoiseReduction.cpp.
|
private |
Definition at line 415 of file NoiseReduction.cpp.
|
private |
Definition at line 404 of file NoiseReduction.cpp.
Referenced by GetTempSettings().