Audacity  3.0.3
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SetTrackNameCommand Class Reference
Inheritance diagram for SetTrackNameCommand:
Collaboration diagram for SetTrackNameCommand:

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 Track 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
wxDialog * mUIDialog
wxWindow * mUIParent
int mUIResultID

Detailed Description

Definition at line 193 of file CommonTrackControls.cpp.

Member Function Documentation

◆ GetSymbol()

ComponentInterfaceSymbol SetTrackNameCommand::GetSymbol ( )

Implements AudacityCommand.

Definition at line 199 of file CommonTrackControls.cpp.

200  { return Symbol; }

◆ PopulateOrExchange()

void SetTrackNameCommand::PopulateOrExchange ( ShuttleGui S)

Definition at line 215 of file CommonTrackControls.cpp.

216 {
217  S.AddSpace(0, 5);
219  S.StartMultiColumn(2, wxALIGN_CENTER);
220  {
221  S.TieTextBox(XXO("Name:"),mName,60);
222  }
223  S.EndMultiColumn();
224 }

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 SetTrackNameCommand::mName

Definition at line 209 of file CommonTrackControls.cpp.

Referenced by PopulateOrExchange().

◆ Symbol

const ComponentInterfaceSymbol SetTrackNameCommand::Symbol { XO("Set Track Name") }

Definition at line 196 of file CommonTrackControls.cpp.

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