Audacity  2.2.0
DirectoriesPrefs Class Referencefinal

A PrefsPanel used to select directories. More...

#include <DirectoriesPrefs.h>

Inheritance diagram for DirectoriesPrefs:
PrefsPanel wxTabTraversalWrapper< Base >

Public Member Functions

 DirectoriesPrefs (wxWindow *parent)
 
 ~DirectoriesPrefs ()
 
bool Commit () override
 
bool Validate () override
 
wxString HelpPageName () override
 
- Public Member Functions inherited from PrefsPanel
 PrefsPanel (wxWindow *parent, const wxString &title)
 
virtual ~PrefsPanel ()
 
virtual void Preview ()
 
virtual bool ShowsPreviewButton ()
 
virtual void Cancel ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void Populate ()
 Creates the dialog and its contents. More...
 
void PopulateOrExchange (ShuttleGui &S)
 
void UpdateFreeSpace (wxCommandEvent &e)
 
void OnChooseTempDir (wxCommandEvent &e)
 

Private Attributes

wxStaticText * mFreeSpace
 
wxTextCtrl * mTempDir
 

Detailed Description

A PrefsPanel used to select directories.

Constructor & Destructor Documentation

DirectoriesPrefs::DirectoriesPrefs ( wxWindow *  parent)
DirectoriesPrefs::~DirectoriesPrefs ( )

Member Function Documentation

bool DirectoriesPrefs::Commit ( )
overridevirtual

Implements PrefsPanel.

References eIsSavingToPrefs, and PopulateOrExchange().

wxString DirectoriesPrefs::HelpPageName ( )
overridevirtual

Reimplemented from PrefsPanel.

void DirectoriesPrefs::OnChooseTempDir ( wxCommandEvent &  e)
private
void DirectoriesPrefs::Populate ( )
private

Creates the dialog and its contents.

References eIsCreatingFromPrefs, PopulateOrExchange(), and UpdateFreeSpace().

void DirectoriesPrefs::UpdateFreeSpace ( wxCommandEvent &  e)
private
bool DirectoriesPrefs::Validate ( )
override

Member Data Documentation

wxStaticText* DirectoriesPrefs::mFreeSpace
private
wxTextCtrl* DirectoriesPrefs::mTempDir
private

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