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, AudioPasteDialog, AudioUnitEffectOptionsDialog, AutoRecoveryDialog, BenchmarkDialog, BrowserDialog, ContrastDialog, DependencyDialog, EffectDialog, EffectUIHost, EqualizationCurvesDialog, ErrorDialog, ErrorReportDialog, ExportFFmpegOptions, ExportMixerDialog, ExportMultipleDialog, FFmpegNotFoundDialog, FindDialog, FindFFmpegDialog, FrequencyPlotDialog, HistoryDialog, ImportRawDialog, ImportStreamDialog, IncompatiblePluginsDialog, LV2Preferences::Dialog, LabelDialog, LadspaEffectOptionsDialog, LangChoiceDialog, LongMessageDialog, MacroCommandDialog, MissingPluginsErrorDialog, MultiDialog, NoUpdatesAvailableDialog, NyquistOutputDialog, PluginRegistrationDialog, PrefsDialog, ProgressDialog, SliderDialog, SoundActivatedRecordDialog, SplashDialog, SuccessDialog, TagsEditorDialog, TimeDialog, TimerRecordDialog, ToolBarDialog, UnwritableLocationErrorDialog, UpdateNoticeDialog, UpdatePopupDialog, VST3OptionsDialog, VSTEffectOptionsDialog, WarningDialog, anonymous_namespace{EffectManager.cpp}::EffectPresetsDialog, anonymous_namespace{FrameStatisticsDialog.cpp}::Dialog, anonymous_namespace{HelpMenus.cpp}::QuickFixDialog, anonymous_namespace{PluginStartupRegistration.cpp}::PluginScanDialog, anonymous_namespace{ProjectFileManager.cpp}::CompactDialog, cloud::audiocom::LinkAccountDialog, cloud::audiocom::LinkFailedDialog, cloud::audiocom::LinkSucceededDialog, and cloud::audiocom::ShareAudioDialog.

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 {}
const TranslatableString name
Definition: Distortion.cpp:76
static const auto title
wxString Translation() const

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, title, and TranslatableString::Translation().

Referenced by ProgressDialog::Create().

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

◆ SetLabel()

void wxDialogWrapper::SetLabel ( const TranslatableString title)

Definition at line 70 of file wxPanelWrapper.cpp.

71{
72 wxDialog::SetLabel( label.Translation() );
73}
TranslatableString label
Definition: TagsEditor.cpp:164

References label, and TranslatableString::Translation().

Referenced by MacrosWindow::MacrosWindow(), 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 ( )

Definition at line 80 of file wxPanelWrapper.cpp.

81{
82 wxDialog::SetName( wxDialog::GetTitle() );
83}

Referenced by AboutDialog::AboutDialog(), ContrastDialog::ContrastDialog(), ProgressDialog::Create(), EffectUIHost::EffectUIHost(), ExportFFmpegOptions::ExportFFmpegOptions(), FindDialog::FindDialog(), HistoryDialog::HistoryDialog(), LongMessageDialog::LongMessageDialog(), MacrosWindow::MacrosWindow(), PrefsDialog::ShowModal(), SplashDialog::SplashDialog(), MacrosWindow::UpdateDisplay(), and WarningDialog::WarningDialog().

Here is the caller graph for this function:

◆ SetName() [2/2]

void wxDialogWrapper::SetName ( const TranslatableString title)

Definition at line 75 of file wxPanelWrapper.cpp.

76{
77 wxDialog::SetName( name.Translation() );
78}

References name, and TranslatableString::Translation().

Referenced by ApplyMacroDialog::ApplyMacroToProject(), ExportMP3::AskResample(), ExportFFmpeg::AskResample(), ExportCL::Export(), ApplyMacroDialog::OnApplyToFiles(), TagsEditorDialog::OnEdit(), MeterPanel::OnPreferences(), RateMenuTable::OnRateOther(), LabelTrackMenuTable::OnSetFont(), DeviceToolBar::ShowComboDialog(), ShowDiagnostics(), HelpSystem::ShowHtmlText(), and HelpSystem::ShowInfoDialog().

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

◆ SetTitle()

void wxDialogWrapper::SetTitle ( const TranslatableString title)

Definition at line 65 of file wxPanelWrapper.cpp.

66{
67 wxDialog::SetTitle( title.Translation() );
68}

References title.

Referenced by MacrosWindow::MacrosWindow(), FrequencyPlotDialog::Populate(), 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: