Audacity  3.0.3
Public Member Functions | List of all members
wxPanelWrapper Class Reference

#include <wxPanelWrapper.h>

Inheritance diagram for wxPanelWrapper:
[legend]
Collaboration diagram for wxPanelWrapper:
[legend]

Public Member Functions

 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
 

Detailed Description

Definition at line 40 of file wxPanelWrapper.h.

Constructor & Destructor Documentation

◆ wxPanelWrapper() [1/2]

wxPanelWrapper::wxPanelWrapper ( )
inline

Definition at line 44 of file wxPanelWrapper.h.

44 {}

◆ wxPanelWrapper() [2/2]

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") 
)
inline

Definition at line 46 of file wxPanelWrapper.h.

55  parent, winid, pos, size, style, name.Translation() )
56  {}

Member Function Documentation

◆ Create()

bool wxPanelWrapper::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") 
)
inline

Definition at line 59 of file wxPanelWrapper.h.

67  {
69  parent, winid, pos, size, style, name.Translation()
70  );
71  }

References name, and TranslatableString::Translation().

Referenced by ToolBar::Create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLabel()

void wxPanelWrapper::SetLabel ( const TranslatableString label)

Definition at line 46 of file wxPanelWrapper.cpp.

47 {
48  wxPanel::SetLabel( label.Translation() );
49 }

References label, and TranslatableString::Translation().

Referenced by AdornedRulerPanel::AdornedRulerPanel(), ToolBar::Create(), EffectPanel::EffectPanel(), MeterToolBar::Populate(), and TrackPanel::TrackPanel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetName() [1/2]

void wxPanelWrapper::SetName ( )

Definition at line 61 of file wxPanelWrapper.cpp.

62 {
63  wxPanel::SetName( GetLabel() );
64 }

Referenced by AdornedRulerPanel::AdornedRulerPanel(), EffectPanel::EffectPanel(), SelectionBar::SetDrivers(), TrackPanel::TrackPanel(), and MixerTrackCluster::UpdateForStateChange().

Here is the caller graph for this function:

◆ SetName() [2/2]

void wxPanelWrapper::SetName ( const TranslatableString name)

Definition at line 51 of file wxPanelWrapper.cpp.

52 {
53  wxPanel::SetName( name.Translation() );
54 }

References name, and TranslatableString::Translation().

Referenced by MeterToolBar::Populate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetToolTip()

void wxPanelWrapper::SetToolTip ( const TranslatableString toolTip)

Definition at line 56 of file wxPanelWrapper.cpp.

57 {
58  wxPanel::SetToolTip( toolTip.Stripped().Translation() );
59 }

References TranslatableString::Stripped(), and TranslatableString::Translation().

Referenced by CellularPanel::HandleMotion(), and MeterToolBar::RegenerateTooltips().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files:
wxTabTraversalWrapper< wxPanel >
label
TranslatableString label
Definition: Tags.cpp:756
name
const TranslatableString name
Definition: Distortion.cpp:98
TranslatableString::Translation
wxString Translation() const
Definition: TranslatableString.h:79
TranslatableString::Stripped
TranslatableString Stripped(unsigned options=MenuCodes) const
non-mutating, constructs another TranslatableString object
Definition: TranslatableString.h:198