Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog Class Referencefinal
Inheritance diagram for anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog:
[legend]
Collaboration diagram for anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog:
[legend]

Public Member Functions

 ViewDeviceSettingsDialog (wxWindow *parent, AudacityProject &project, const TranslatableString &title, PrefsPanel::Factories &factories, int page)
 
long GetPreferredPage () override
 
void SavePreferredPage () override
 
- Public Member Functions inherited from PrefsDialog
 PrefsDialog (wxWindow *parent, AudacityProject *pProject, const TranslatableString &titlePrefix=XO("Preferences:"), PrefsPanel::Factories &factories=PrefsPanel::DefaultFactories())
 
virtual ~PrefsDialog ()
 
int ShowModal () override
 
void ShuttleAll (ShuttleGui &S)
 
void OnCategoryChange (wxCommandEvent &e)
 
void OnOK (wxCommandEvent &e)
 
void OnCancel (wxCommandEvent &e)
 
void OnPreview (wxCommandEvent &e)
 
void OnHelp (wxCommandEvent &e)
 
void OnTreeKeyDown (wxTreeEvent &e)
 
void SelectPageByName (const wxString &pageName)
 
int GetSelectedPage () const
 
- 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
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Private Attributes

const int mPage
 

Additional Inherited Members

virtual long GetPreferredPage ()=0
 
virtual void SavePreferredPage ()=0
 

Detailed Description

Definition at line 40 of file AudioSetupToolBar.cpp.

Constructor & Destructor Documentation

◆ ViewDeviceSettingsDialog()

anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog::ViewDeviceSettingsDialog ( wxWindow *  parent,
AudacityProject project,
const TranslatableString title,
PrefsPanel::Factories factories,
int  page 
)
inline

Definition at line 43 of file AudioSetupToolBar.cpp.

46 : PrefsDialog(parent, &project, title, factories)
47 , mPage(page)
48 {
49 }
static const auto title
const auto project
PrefsDialog(wxWindow *parent, AudacityProject *pProject, const TranslatableString &titlePrefix=XO("Preferences:"), PrefsPanel::Factories &factories=PrefsPanel::DefaultFactories())

Member Function Documentation

◆ GetPreferredPage()

long anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog::GetPreferredPage ( )
inlineoverridevirtual

Implements PrefsDialog.

Definition at line 51 of file AudioSetupToolBar.cpp.

52 {
53 return mPage;
54 }

◆ SavePreferredPage()

void anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog::SavePreferredPage ( )
inlineoverridevirtual

Implements PrefsDialog.

Definition at line 56 of file AudioSetupToolBar.cpp.

57 {
58 }

Member Data Documentation

◆ mPage

const int anonymous_namespace{AudioSetupToolBar.cpp}::ViewDeviceSettingsDialog::mPage
private

Definition at line 61 of file AudioSetupToolBar.cpp.


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