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 49 of file EffectUI.cpp.

Constructor & Destructor Documentation

◆ EffectPanel()

EffectPanel::EffectPanel ( wxWindow *  parent)
inline

Definition at line 52 of file EffectUI.cpp.

53 : wxPanelWrapper(parent)
54 {
55 // This fools NVDA into not saying "Panel" when the dialog gets focus
58
59 mAcceptsFocus = true;
60 }
bool mAcceptsFocus
Definition: EffectUI.cpp:90
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 62 of file EffectUI.cpp.

63 {
64 }

Member Function Documentation

◆ AcceptsFocus()

bool EffectPanel::AcceptsFocus ( ) const
inlineoverride

Definition at line 70 of file EffectUI.cpp.

71 {
72 return mAcceptsFocus;
73 }

References mAcceptsFocus.

◆ AcceptsFocusFromKeyboard()

bool EffectPanel::AcceptsFocusFromKeyboard ( ) const
inlineoverride

Definition at line 76 of file EffectUI.cpp.

77 {
78 return mAcceptsFocus;
79 }

References mAcceptsFocus.

◆ SetAccept()

void EffectPanel::SetAccept ( bool  accept)
inline

Definition at line 84 of file EffectUI.cpp.

85 {
86 mAcceptsFocus = accept;
87 }

References mAcceptsFocus.

Member Data Documentation

◆ mAcceptsFocus

bool EffectPanel::mAcceptsFocus
private

Definition at line 90 of file EffectUI.cpp.

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


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