Audacity 3.2.0
|
Default dialog used for commands. Is populated using ShuttleGui. More...
#include <AudacityCommand.h>
Public Member Functions | |
AudacityCommandDialog (wxWindow *parent, const TranslatableString &title, AudacityCommand *pCommand, int type=0, int flags=wxDEFAULT_DIALOG_STYLE, int additionalButtons=0) | |
bool | Init () |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
bool | Validate () override |
virtual void | PopulateOrExchange (ShuttleGui &S) |
virtual void | OnOk (wxCommandEvent &evt) |
virtual void | OnCancel (wxCommandEvent &evt) |
virtual void | OnHelp (wxCommandEvent &evt) |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
wxDECLARE_NO_COPY_CLASS (AudacityCommandDialog) | |
Private Attributes | |
int | mType |
int | mAdditionalButtons |
AudacityCommand * | mpCommand |
Default dialog used for commands. Is populated using ShuttleGui.
Definition at line 141 of file AudacityCommand.h.
AudacityCommandDialog::AudacityCommandDialog | ( | wxWindow * | parent, |
const TranslatableString & | title, | ||
AudacityCommand * | pCommand, | ||
int | type = 0 , |
||
int | flags = wxDEFAULT_DIALOG_STYLE , |
||
int | additionalButtons = 0 |
||
) |
Definition at line 240 of file AudacityCommand.cpp.
References eCancelButton, and eHelpButton.
bool AudacityCommandDialog::Init | ( | ) |
Definition at line 256 of file AudacityCommand.cpp.
References eIsCreating, eOkButton, mAdditionalButtons, PopulateOrExchange(), and S.
|
virtual |
Definition at line 319 of file AudacityCommand.cpp.
|
virtual |
Definition at line 324 of file AudacityCommand.cpp.
References AudacityCommand::ManualPage(), mpCommand, and HelpSystem::ShowHelp().
|
virtual |
Definition at line 305 of file AudacityCommand.cpp.
References TransferDataFromWindow(), and Validate().
|
virtual |
This is a virtual function which will be overridden to provide the actual parameters that we want for each kind of dialog.
Definition at line 280 of file AudacityCommand.cpp.
References mpCommand, AudacityCommand::PopulateOrExchange(), and S.
Referenced by Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
override |
Definition at line 293 of file AudacityCommand.cpp.
References eIsGettingFromDialog, PopulateOrExchange(), and S.
Referenced by OnOk().
|
override |
Definition at line 286 of file AudacityCommand.cpp.
References eIsSettingToDialog, PopulateOrExchange(), and S.
|
override |
Definition at line 300 of file AudacityCommand.cpp.
Referenced by OnOk().
|
private |
|
private |
Definition at line 165 of file AudacityCommand.h.
Referenced by Init().
|
private |
Definition at line 166 of file AudacityCommand.h.
Referenced by OnHelp(), and PopulateOrExchange().
|
private |
Definition at line 164 of file AudacityCommand.h.