Audacity  2.2.0
BatchCommandDialog Class Referencefinal

Provides a list of configurable commands for use with BatchCommands. More...

#include <BatchCommandDialog.h>

Inheritance diagram for BatchCommandDialog:
wxTabTraversalWrapper< Base >

Public Member Functions

 BatchCommandDialog (wxWindow *parent, wxWindowID id)
 
void SetCommandAndParams (const wxString &Command, const wxString &Params)
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Public Attributes

wxString mSelectedCommand
 
wxString mSelectedParameters
 

Private Member Functions

void Populate ()
 
void PopulateOrExchange (ShuttleGui &S)
 
void OnEditParams (wxCommandEvent &event)
 
void OnUsePreset (wxCommandEvent &event)
 
void OnChoice (wxCommandEvent &event)
 
void OnOk (wxCommandEvent &event)
 
void OnCancel (wxCommandEvent &event)
 
void OnItemSelected (wxListEvent &event)
 
void ValidateChoices ()
 
void PopulateCommandList ()
 
int GetSelectedItem ()
 

Private Attributes

wxButton * mEditParams
 
wxButton * mUsePreset
 
wxListCtrl * mChoices
 
wxTextCtrl * mCommand
 
wxTextCtrl * mParameters
 

Detailed Description

Provides a list of configurable commands for use with BatchCommands.

Provides a list of commands, mostly effects, which can be chained together in a simple linear sequence. Can configure parameters on each selected command.

Constructor & Destructor Documentation

BatchCommandDialog::BatchCommandDialog ( wxWindow *  parent,
wxWindowID  id 
)

References _().

Member Function Documentation

int BatchCommandDialog::GetSelectedItem ( )
private

References mChoices, and mSelectedCommand.

void BatchCommandDialog::OnCancel ( wxCommandEvent &  event)
private
void BatchCommandDialog::OnChoice ( wxCommandEvent &  event)
private
void BatchCommandDialog::OnEditParams ( wxCommandEvent &  event)
private
void BatchCommandDialog::OnOk ( wxCommandEvent &  event)
private
void BatchCommandDialog::OnUsePreset ( wxCommandEvent &  event)
private
void BatchCommandDialog::Populate ( )
private
void BatchCommandDialog::PopulateCommandList ( )
private
void BatchCommandDialog::SetCommandAndParams ( const wxString &  Command,
const wxString &  Params 
)
void BatchCommandDialog::ValidateChoices ( )
private

Member Data Documentation

wxListCtrl* BatchCommandDialog::mChoices
private
wxTextCtrl* BatchCommandDialog::mCommand
private
wxButton* BatchCommandDialog::mEditParams
private
wxTextCtrl* BatchCommandDialog::mParameters
private
wxString BatchCommandDialog::mSelectedCommand
wxString BatchCommandDialog::mSelectedParameters
wxButton* BatchCommandDialog::mUsePreset
private

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