Audacity  3.0.3
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SetWaveClipNameCommand Class Reference
Inheritance diagram for SetWaveClipNameCommand:
[legend]
Collaboration diagram for SetWaveClipNameCommand:
[legend]

Public Member Functions

ComponentInterfaceSymbol GetSymbol () override
 
void PopulateOrExchange (ShuttleGui &S) override
 
- Public Member Functions inherited from AudacityCommand
 AudacityCommand ()
 
virtual ~AudacityCommand ()
 
PluginPath GetPath () override
 
VendorSymbol GetVendor () override
 
wxString GetVersion () override
 
virtual TranslatableString GetDescription () override
 
virtual ManualPageID ManualPage ()
 
virtual bool IsBatchProcessing ()
 
virtual void SetBatchProcessing (bool start)
 
virtual bool Apply (const CommandContext &WXUNUSED(context))
 
bool ShowInterface (wxWindow *parent, bool forceModal=false)
 
virtual void SetHostUI (EffectUIHostInterface *WXUNUSED(host))
 
wxDialog * CreateUI (wxWindow *parent, AudacityCommand *client)
 
virtual bool GetAutomationParameters (wxString &parms)
 
virtual bool SetAutomationParameters (const wxString &parms)
 
bool DoAudacityCommand (wxWindow *parent, const CommandContext &context, bool shouldPrompt=true)
 
int MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={})
 
virtual bool Init ()
 
virtual bool PromptUser (wxWindow *parent)
 
virtual bool CheckWhetherSkipAudacityCommand ()
 
virtual void End ()
 
virtual void PopulateOrExchange (ShuttleGui &WXUNUSED(S))
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
- Public Member Functions inherited from ComponentInterface
virtual ~ComponentInterface ()
 
TranslatableString GetName ()
 
virtual bool DefineParams (ShuttleParams &WXUNUSED(S))
 

Public Attributes

wxString mName
 

Static Public Attributes

static const ComponentInterfaceSymbol Symbol { XO("Set Wave Clip Name") }
 

Additional Inherited Members

- Public Types inherited from AudacityCommand
enum  : long { DefaultMessageBoxStyle = wxOK | wxCENTRE }
 
using VetoDialogHook = bool(*)(wxDialog *)
 
- Static Public Member Functions inherited from AudacityCommand
static VetoDialogHook SetVetoDialogHook (VetoDialogHook hook)
 
- Protected Attributes inherited from AudacityCommand
ProgressDialogmProgress
 
wxDialog * mUIDialog
 
wxWindow * mUIParent
 
int mUIResultID
 

Detailed Description

Definition at line 82 of file WaveTrackAffordanceControls.cpp.

Member Function Documentation

◆ GetSymbol()

ComponentInterfaceSymbol SetWaveClipNameCommand::GetSymbol ( )
inlineoverridevirtual

Implements AudacityCommand.

Definition at line 87 of file WaveTrackAffordanceControls.cpp.

88  {
89  return Symbol;
90  }

References Symbol.

◆ PopulateOrExchange()

void SetWaveClipNameCommand::PopulateOrExchange ( ShuttleGui S)
inlineoverride

Definition at line 91 of file WaveTrackAffordanceControls.cpp.

92  {
93  S.AddSpace(0, 5);
94 
95  S.StartMultiColumn(2, wxALIGN_CENTER);
96  {
97  S.TieTextBox(XXO("Name:"), mName, 60);
98  }
99  S.EndMultiColumn();
100  }

References ShuttleGui::AddSpace(), ShuttleGuiBase::EndMultiColumn(), mName, ShuttleGuiBase::StartMultiColumn(), ShuttleGuiBase::TieTextBox(), and XXO.

Here is the call graph for this function:

Member Data Documentation

◆ mName

wxString SetWaveClipNameCommand::mName

Definition at line 102 of file WaveTrackAffordanceControls.cpp.

Referenced by PopulateOrExchange().

◆ Symbol

const ComponentInterfaceSymbol SetWaveClipNameCommand::Symbol { XO("Set Wave Clip Name") }
static

Definition at line 85 of file WaveTrackAffordanceControls.cpp.

Referenced by GetSymbol().


The documentation for this class was generated from the following file:
SetWaveClipNameCommand::mName
wxString mName
Definition: WaveTrackAffordanceControls.cpp:102
ShuttleGui::AddSpace
wxSizerItem * AddSpace(int width, int height, int prop=0)
Definition: ShuttleGui.cpp:2459
ShuttleGuiBase::EndMultiColumn
void EndMultiColumn()
Definition: ShuttleGui.cpp:1238
ShuttleGuiBase::TieTextBox
wxTextCtrl * TieTextBox(const TranslatableString &Caption, wxString &Value, const int nChars=0)
Definition: ShuttleGui.cpp:1652
XXO
#define XXO(s)
Definition: Internat.h:44
ShuttleGuiBase::StartMultiColumn
void StartMultiColumn(int nCols, int PositionFlags=wxALIGN_LEFT)
Definition: ShuttleGui.cpp:1229
SetWaveClipNameCommand::Symbol
static const ComponentInterfaceSymbol Symbol
Definition: WaveTrackAffordanceControls.cpp:85