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

#include <wxPanelWrapper.h>

Inherits wxTabTraversalWrapper< wxDialog >.

Inherited by AboutDialog, anonymous_namespace{EffectManager.cpp}::EffectPresetsDialog, anonymous_namespace{HelpMenus.cpp}::QuickFixDialog, anonymous_namespace{ProjectFileManager.cpp}::CompactDialog, ApplyMacroDialog, AudacityCommandDialog, AudioUnitEffectImportDialog, AudioUnitEffectOptionsDialog, AutoRecoveryDialog, BenchmarkDialog, BrowserDialog, ContrastDialog, DependencyDialog, EditCurvesDialog, EffectDialog, EffectUIHost, ErrorDialog, ErrorReportDialog, ExportFFmpegOptions, ExportMixerDialog, ExportMultipleDialog, FFmpegNotFoundDialog, FindDialog, FindFFmpegDialog, FrequencyPlotDialog, HistoryDialog, ImportRawDialog, ImportStreamDialog, LabelDialog, LadspaEffectOptionsDialog, LangChoiceDialog, LongMessageDialog, LV2EffectSettingsDialog, MacroCommandDialog, MultiDialog, NyquistOutputDialog, PluginRegistrationDialog, PrefsDialog, ProgressDialog, SliderDialog, SoundActivatedRecordDialog, SplashDialog, SuccessDialog, TagsEditorDialog, TimeDialog, TimerRecordDialog, ToolBarDialog, UpdatePopupDialog, VSTEffectOptionsDialog, and WarningDialog.

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 80 of file wxPanelWrapper.h.

Constructor & Destructor Documentation

◆ wxDialogWrapper() [1/2]

wxDialogWrapper::wxDialogWrapper ( )
inline

Definition at line 84 of file wxPanelWrapper.h.

84 {}

◆ 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 87 of file wxPanelWrapper.h.

96  parent, id, title.Translation(), pos, size, style, name.Translation() )
97  {}

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 100 of file wxPanelWrapper.h.

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

References name, 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 71 of file wxPanelWrapper.cpp.

72 {
73  wxDialog::SetLabel( label.Translation() );
74 }

References label, and TranslatableString::Translation().

Referenced by 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 81 of file wxPanelWrapper.cpp.

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

Referenced by ContrastDialog::ContrastDialog(), ProgressDialog::Create(), ExportFFmpegOptions::ExportFFmpegOptions(), FindDialog::FindDialog(), FindFFmpegDialog::FindFFmpegDialog(), HistoryDialog::HistoryDialog(), LongMessageDialog::LongMessageDialog(), 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 76 of file wxPanelWrapper.cpp.

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

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(), anonymous_namespace{HelpMenus.cpp}::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 66 of file wxPanelWrapper.cpp.

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

References TranslatableString::Translation().

Referenced by ExportPlugin::InitProgress(), FrequencyPlotDialog::Populate(), PrefsDialog::ShowModal(), MacrosWindow::UpdateDisplay(), and HistoryDialog::UpdatePrefs().

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

The documentation for this class was generated from the following files:
wxTabTraversalWrapper< wxDialog >
label
TranslatableString label
Definition: Tags.cpp:755
name
const TranslatableString name
Definition: Distortion.cpp:98
TranslatableString::Translation
wxString Translation() const
Definition: TranslatableString.h:79