Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
EffectPanel Class Referencefinal
Inheritance diagram for EffectPanel:
[legend]
Collaboration diagram for EffectPanel:
[legend]

Public Member Functions

 EffectPanel (wxWindow *parent)
 
virtual ~EffectPanel ()
 
bool AcceptsFocus () const override
 
bool AcceptsFocusFromKeyboard () const override
 
void SetAccept (bool accept)
 
- Public Member Functions inherited from wxPanelWrapper
 wxPanelWrapper ()
 
 wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel"))
 
bool Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel"))
 
void SetLabel (const TranslatableString &label)
 
void SetName (const TranslatableString &name)
 
void SetToolTip (const TranslatableString &toolTip)
 
void SetName ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxPanel >
 wxTabTraversalWrapper (Args &&... args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Private Attributes

bool mAcceptsFocus
 

Detailed Description

Definition at line 50 of file EffectUI.cpp.

Constructor & Destructor Documentation

◆ EffectPanel()

EffectPanel::EffectPanel ( wxWindow *  parent)
inline

Definition at line 53 of file EffectUI.cpp.

54 : wxPanelWrapper(parent)
55 {
56 // This fools NVDA into not saying "Panel" when the dialog gets focus
59
60 mAcceptsFocus = true;
61 }
bool mAcceptsFocus
Definition: EffectUI.cpp:91
static const TranslatableString Inaudible
A special string value that will have no screen reader pronunciation.
void SetLabel(const TranslatableString &label)

References TranslatableString::Inaudible, mAcceptsFocus, wxPanelWrapper::SetLabel(), and wxPanelWrapper::SetName().

Here is the call graph for this function:

◆ ~EffectPanel()

virtual EffectPanel::~EffectPanel ( )
inlinevirtual

Definition at line 63 of file EffectUI.cpp.

64 {
65 }

Member Function Documentation

◆ AcceptsFocus()

bool EffectPanel::AcceptsFocus ( ) const
inlineoverride

Definition at line 71 of file EffectUI.cpp.

72 {
73 return mAcceptsFocus;
74 }

References mAcceptsFocus.

◆ AcceptsFocusFromKeyboard()

bool EffectPanel::AcceptsFocusFromKeyboard ( ) const
inlineoverride

Definition at line 77 of file EffectUI.cpp.

78 {
79 return mAcceptsFocus;
80 }

References mAcceptsFocus.

◆ SetAccept()

void EffectPanel::SetAccept ( bool  accept)
inline

Definition at line 85 of file EffectUI.cpp.

86 {
87 mAcceptsFocus = accept;
88 }

References mAcceptsFocus.

Member Data Documentation

◆ mAcceptsFocus

bool EffectPanel::mAcceptsFocus
private

Definition at line 91 of file EffectUI.cpp.

Referenced by AcceptsFocus(), AcceptsFocusFromKeyboard(), EffectPanel(), and SetAccept().


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