Audacity 3.2.0
Public Member Functions | List of all members
wxDialogWrapper Class Reference

#include <wxPanelWrapper.h>

Inherits wxTabTraversalWrapper< wxDialog >.

Inherited by AboutDialog, ApplyMacroDialog, AudacityCommandDialog, AudacityDontAskAgainMessageDialog, AudioPasteDialog, AudioUnitEffectOptionsDialog, AutoRecoveryDialog, BenchmarkDialog, BrowserDialog, ContrastDialog, DependencyDialog, EffectDialog, EffectPresetsDialog, EffectUIHost, EqualizationCurvesDialog, ErrorDialog, ErrorReportDialog, ExportAudioDialog, ExportFFmpegOptions, ExportMixerDialog, FFmpegNotFoundDialog, FindDialog, FindFFmpegDialog, FrequencyPlotDialog, HistoryDialog, ImportRawDialog, ImportStreamDialog, IncompatiblePluginsDialog, LV2PreferencesDialog, LabelDialog, LadspaEffectOptionsDialog, LangChoiceDialog, LoginDialog, LongMessageDialog, MacroCommandDialog, MissingPluginsErrorDialog, MultiDialog, NoUpdatesAvailableDialog, NyquistOutputDialog, PitchAndSpeedDialog, PluginRegistrationDialog, PrefsDialog, ProgressDialog, SliderDialog, SoundActivatedRecordDialog, TagsEditorDialog, TimeDialog, TimerRecordDialog, TimerRecordExportDialog, ToolBarDialog, UnwritableLocationErrorDialog, UpdateNoticeDialog, UpdatePopupDialog, VST3OptionsDialog, VSTEffectOptionsDialog, WarningDialog, WhatsNewDialog, anonymous_namespace{ExportFilePanel.cpp}::CustomSampleRateDialog, anonymous_namespace{FrameStatisticsDialog.cpp}::Dialog, anonymous_namespace{HelpMenus.cpp}::QuickFixDialog, anonymous_namespace{PluginStartupRegistration.cpp}::PluginScanDialog, anonymous_namespace{ProjectFileManager.cpp}::CompactDialog, audacity::cloud::audiocom::LinkFailedDialog, audacity::cloud::audiocom::LinkSucceededDialog, audacity::cloud::audiocom::LinkWithTokenDialog, audacity::cloud::audiocom::ShareAudioDialog, audacity::cloud::audiocom::sync::AudioComDialogBase [private], audacity::cloud::audiocom::sync::CloudLocationDialog [private], audacity::cloud::audiocom::sync::CloudProjectPropertiesDialog, and audacity::cloud::audiocom::sync::ProjectsListDialog.

Collaboration diagram for wxDialogWrapper:
[legend]

Public Member Functions

 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
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Detailed Description

Definition at line 79 of file wxPanelWrapper.h.

Constructor & Destructor Documentation

◆ wxDialogWrapper() [1/2]

wxDialogWrapper::wxDialogWrapper ( )
inline

Definition at line 83 of file wxPanelWrapper.h.

83{}

◆ wxDialogWrapper() [2/2]

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") 
)
inline

Definition at line 86 of file wxPanelWrapper.h.

95 parent, id, title.Translation(), pos, size, style, name.Translation() )
96 {}
static const auto title
wxString name
Definition: TagsEditor.cpp:166

Member Function Documentation

◆ Create()

bool wxDialogWrapper::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") 
)
inline

Definition at line 99 of file wxPanelWrapper.h.

107 {
109 parent, id, title.Translation(), pos, size, style, name.Translation()
110 );
111 }

References name, size, anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style, and title.

Referenced by ProgressDialog::Create().

Here is the caller graph for this function:

◆ SetLabel()

void wxDialogWrapper::SetLabel ( const TranslatableString title)

Definition at line 72 of file wxPanelWrapper.cpp.

73{
74 wxDialog::SetLabel( label.Translation() );
75}
TranslatableString label
Definition: TagsEditor.cpp:165
wxString Translation() const

References label, and TranslatableString::Translation().

Referenced by MacrosWindow::MacrosWindow(), audacity::cloud::audiocom::UserPanel::SetAnonymousState(), and MacrosWindow::UpdateDisplay().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetName() [1/2]

void wxDialogWrapper::SetName ( )

◆ SetName() [2/2]

void wxDialogWrapper::SetName ( const TranslatableString title)

◆ SetTitle()

void wxDialogWrapper::SetTitle ( const TranslatableString title)

Definition at line 67 of file wxPanelWrapper.cpp.

68{
69 wxDialog::SetTitle( title.Translation() );
70}

References title.

Referenced by MacrosWindow::MacrosWindow(), FrequencyPlotDialog::Populate(), audacity::cloud::audiocom::sync::AudioComDialogBase::SetDialogTitle(), ProgressDialog::SetDialogTitle(), PrefsDialog::ShowModal(), MacrosWindow::UpdateDisplay(), and HistoryDialog::UpdatePrefs().

Here is the caller graph for this function:

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