![]() |
Audacity 3.2.0
|
Command for changing the time selection. More...
#include <SelectCommand.h>
Public Member Functions | |
| ComponentInterfaceSymbol | GetSymbol () const override |
| TranslatableString | GetDescription () const override |
| template<bool Const> | |
| bool | VisitSettings (SettingsVisitorBase< Const > &S) |
| bool | VisitSettings (SettingsVisitor &S) override |
| bool | VisitSettings (ConstSettingsVisitor &S) override |
| void | PopulateOrExchange (ShuttleGui &S) override |
| bool | Apply (const CommandContext &context) override |
| ManualPageID | ManualPage () override |
Public Member Functions inherited from AudacityCommand | |
| AudacityCommand () | |
| virtual | ~AudacityCommand () |
| PluginPath | GetPath () const override |
| VendorSymbol | GetVendor () const override |
| wxString | GetVersion () const override |
| ComponentInterfaceSymbol | GetSymbol () const override=0 |
| virtual TranslatableString | GetDescription () const override |
| virtual ManualPageID | ManualPage () |
| virtual bool | IsBatchProcessing () const |
| virtual void | SetBatchProcessing (bool start) |
| virtual bool | Apply (const CommandContext &WXUNUSED(context)) |
| bool | ShowInterface (wxWindow *parent, bool forceModal=false) |
| wxDialog * | CreateUI (wxWindow *parent, AudacityCommand *client) |
| bool | SaveSettingsAsString (wxString &parms) |
| bool | LoadSettingsFromString (const wxString &parms) |
| bool | DoAudacityCommand (const CommandContext &context, bool shouldPrompt=true) |
| int | MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={}) |
| virtual bool | Init () |
| virtual bool | PromptUser (AudacityProject &) |
| virtual bool | CheckWhetherSkipAudacityCommand () |
| virtual void | End () |
| virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
| virtual bool | TransferDataToWindow () |
| virtual bool | TransferDataFromWindow () |
| virtual bool | VisitSettings (SettingsVisitor &) |
| virtual bool | VisitSettings (ConstSettingsVisitor &) |
Public Member Functions inherited from ComponentInterface | |
| virtual | ~ComponentInterface () |
| virtual PluginPath | GetPath () const =0 |
| virtual ComponentInterfaceSymbol | GetSymbol () const =0 |
| virtual VendorSymbol | GetVendor () const =0 |
| virtual wxString | GetVersion () const =0 |
| virtual TranslatableString | GetDescription () const =0 |
| TranslatableString | GetName () const |
Public Attributes | |
| bool | bHasT0 |
| bool | bHasT1 |
| bool | bHasFromEnd |
| bool | bHasRelativeSpec |
| double | mT0 |
| double | mT1 |
| int | mRelativeTo |
| bool | mFromEnd |
Static Public Attributes | |
| static const ComponentInterfaceSymbol | Symbol { XO("Select Time") } |
Additional Inherited Members | |
Public Types inherited from AudacityCommand | |
| enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
Protected Attributes inherited from AudacityCommand | |
| ProgressDialog * | mProgress |
| wxDialog * | mUIDialog |
| wxWindow * | mUIParent |
Command for changing the time selection.
Definition at line 27 of file SelectCommand.h.
|
override |
Definition at line 104 of file SelectCommand.cpp.
References bHasRelativeSpec, bHasT0, bHasT1, details::end(), ViewInfo::Get(), TrackList::Get(), TrackPanel::Get(), TrackList::GetEndTime(), mRelativeTo, mT0, mT1, CommandContext::project, and ViewInfo::selectedRegion.
Referenced by SelectCommand::Apply().
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 34 of file SelectCommand.h.
References XO().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 42 of file SelectCommand.h.
|
override |
Definition at line 87 of file SelectCommand.cpp.
References bHasRelativeSpec, bHasT0, bHasT1, kRelativeTo, mRelativeTo, Msgids(), mT0, mT1, nRelativeTos, S, and XXO().
Referenced by SelectCommand::PopulateOrExchange().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 84 of file SelectCommand.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 81 of file SelectCommand.cpp.
References S.
| bool SelectTimeCommand::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
Definition at line 72 of file SelectCommand.cpp.
References bHasRelativeSpec, bHasT0, bHasT1, kRelativeTo, mRelativeTo, mT0, mT1, nRelativeTos, S, and wxT().
Referenced by SelectCommand::VisitSettings().
| bool SelectTimeCommand::bHasFromEnd |
Definition at line 46 of file SelectCommand.h.
| bool SelectTimeCommand::bHasRelativeSpec |
Definition at line 47 of file SelectCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool SelectTimeCommand::bHasT0 |
Definition at line 44 of file SelectCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool SelectTimeCommand::bHasT1 |
Definition at line 45 of file SelectCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool SelectTimeCommand::mFromEnd |
Definition at line 52 of file SelectCommand.h.
| int SelectTimeCommand::mRelativeTo |
Definition at line 51 of file SelectCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| double SelectTimeCommand::mT0 |
Definition at line 49 of file SelectCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| double SelectTimeCommand::mT1 |
Definition at line 50 of file SelectCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
|
static |
Definition at line 30 of file SelectCommand.h.
Referenced by GetSymbol().