Audacity 3.2.0
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 39 of file wxPanelWrapper.h.

Constructor & Destructor Documentation

◆ wxPanelWrapper() [1/2]

wxPanelWrapper::wxPanelWrapper ( )
inline

Definition at line 43 of file wxPanelWrapper.h.

43{}

Referenced by ExpandingToolBar::StartMoving().

Here is the caller graph for this function:

◆ 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 45 of file wxPanelWrapper.h.

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 58 of file wxPanelWrapper.h.

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

References name, size, and anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style.

Referenced by ToolBar::Create().

Here is the caller graph for this function:

◆ SetLabel()

void wxPanelWrapper::SetLabel ( const TranslatableString label)

Definition at line 47 of file wxPanelWrapper.cpp.

48{
49 wxPanel::SetLabel( label.Translation() );
50}
TranslatableString label
Definition: TagsEditor.cpp:165
wxString Translation() const

References label, and TranslatableString::Translation().

Referenced by AdornedRulerPanel::AdornedRulerPanel(), ToolBar::Create(), EffectPanel::EffectPanel(), MeterToolBar::Populate(), PrefsPanel::PrefsPanel(), 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 62 of file wxPanelWrapper.cpp.

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

Referenced by AdornedRulerPanel::AdornedRulerPanel(), EffectPanel::EffectPanel(), PrefsPanel::PrefsPanel(), MeterPanel::SetName(), TrackPanel::TrackPanel(), MixerTrackCluster::UpdateForStateChange(), and audacity::cloud::audiocom::sync::CloudSyncStatusField::StatusWidget::UpdateName().

Here is the caller graph for this function:

◆ SetName() [2/2]

void wxPanelWrapper::SetName ( const TranslatableString name)

Definition at line 52 of file wxPanelWrapper.cpp.

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

References name.

◆ SetToolTip()

void wxPanelWrapper::SetToolTip ( const TranslatableString toolTip)

Definition at line 57 of file wxPanelWrapper.cpp.

58{
59 wxPanel::SetToolTip( toolTip.Stripped().Translation() );
60}
TranslatableString Stripped(unsigned options=MenuCodes) const
non-mutating, constructs another TranslatableString object

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

Referenced by CellularPanel::HandleMotion().

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: