Audacity  2.2.0
EffectDialog Class Reference

New (Jun-2006) base class for effects dialogs. Likely to get greater use in future. More...

#include <Effect.h>

Inheritance diagram for EffectDialog:
wxTabTraversalWrapper< Base > EffectNoiseReduction::Dialog

Public Member Functions

 EffectDialog (wxWindow *parent, const wxString &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 wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

 wxDECLARE_NO_COPY_CLASS (EffectDialog)
 

Private Attributes

int mType
 
int mAdditionalButtons
 

Detailed Description

New (Jun-2006) base class for effects dialogs. Likely to get greater use in future.

Constructor & Destructor Documentation

EffectDialog::EffectDialog ( wxWindow *  parent,
const wxString &  title,
int  type = 0,
int  flags = wxDEFAULT_DIALOG_STYLE,
int  additionalButtons = 0 
)

Member Function Documentation

void EffectDialog::OnOk ( wxCommandEvent &  evt)
virtual
void EffectDialog::OnPreview ( wxCommandEvent &  evt)
virtual

Reimplemented in EffectNoiseReduction::Dialog.

void EffectDialog::PopulateOrExchange ( ShuttleGui S)
virtual

This is a virtual function which will be overridden to provide the actual parameters that we want for each kind of dialog.

Reimplemented in EffectNoiseReduction::Dialog.

bool EffectDialog::TransferDataFromWindow ( )
override
bool EffectDialog::TransferDataToWindow ( )
override
bool EffectDialog::Validate ( )
override
EffectDialog::wxDECLARE_NO_COPY_CLASS ( EffectDialog  )
private

Member Data Documentation

int EffectDialog::mAdditionalButtons
private
int EffectDialog::mType
private

The documentation for this class was generated from the following files: