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, anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style, 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 45 of file wxPanelWrapper.cpp.

46{
47 wxPanel::SetLabel( label.Translation() );
48}
TranslatableString label
Definition: TagsEditor.cpp:165

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 60 of file wxPanelWrapper.cpp.

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

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 50 of file wxPanelWrapper.cpp.

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

References name, and TranslatableString::Translation().

Here is the call graph for this function:

◆ SetToolTip()

void wxPanelWrapper::SetToolTip ( const TranslatableString toolTip)

Definition at line 55 of file wxPanelWrapper.cpp.

56{
57 wxPanel::SetToolTip( toolTip.Stripped().Translation() );
58}
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: