Audacity  2.2.0
WaveformPrefs Class Referencefinal

A PrefsPanel for spectrum settings. More...

#include <WaveformPrefs.h>

Inheritance diagram for WaveformPrefs:
PrefsPanel wxTabTraversalWrapper< Base >

Public Member Functions

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

Private Member Functions

void Populate ()
 
void PopulateOrExchange (ShuttleGui &S)
 
void OnControl (wxCommandEvent &)
 
void OnScale (wxCommandEvent &)
 
void OnDefaults (wxCommandEvent &)
 
void EnableDisableRange ()
 

Private Attributes

WaveTrack *const mWt
 
bool mDefaulted
 
wxCheckBox * mDefaultsCheckbox
 
wxChoice * mScaleChoice
 
wxChoice * mRangeChoice
 
wxArrayString mScaleChoices
 
wxArrayString mRangeCodes
 
wxArrayString mRangeChoices
 
WaveformSettings mTempSettings
 
bool mPopulating
 

Detailed Description

A PrefsPanel for spectrum settings.

Constructor & Destructor Documentation

WaveformPrefs::~WaveformPrefs ( )
virtual

Member Function Documentation

void WaveformPrefs::EnableDisableRange ( )
private
void WaveformPrefs::OnControl ( wxCommandEvent &  )
private

References mDefaulted, mDefaultsCheckbox, and mPopulating.

Referenced by OnScale().

void WaveformPrefs::OnScale ( wxCommandEvent &  e)
private
bool WaveformPrefs::ShowsPreviewButton ( )
overridevirtual

Reimplemented from PrefsPanel.

Member Data Documentation

bool WaveformPrefs::mDefaulted
private
wxCheckBox* WaveformPrefs::mDefaultsCheckbox
private
bool WaveformPrefs::mPopulating
private

Referenced by OnControl(), and PopulateOrExchange().

wxChoice* WaveformPrefs::mRangeChoice
private
wxArrayString WaveformPrefs::mRangeChoices
private

Referenced by Populate(), and PopulateOrExchange().

wxArrayString WaveformPrefs::mRangeCodes
private

Referenced by Populate().

wxChoice* WaveformPrefs::mScaleChoice
private
wxArrayString WaveformPrefs::mScaleChoices
private

Referenced by Populate(), and PopulateOrExchange().

WaveformSettings WaveformPrefs::mTempSettings
private
WaveTrack* const WaveformPrefs::mWt
private

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