KiCad PCB EDA Suite
PANEL_SETUP_PINMAP_BASE Class Referenceabstract

Class PANEL_SETUP_PINMAP_BASE. More...

#include <panel_setup_pinmap_base.h>

Inheritance diagram for PANEL_SETUP_PINMAP_BASE:
RESETTABLE_PANEL PANEL_SETUP_PINMAP

Public Member Functions

 PANEL_SETUP_PINMAP_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_SETUP_PINMAP_BASE ()
 
virtual void ResetPanel ()=0
 Reset the contents of this panel. More...
 
virtual wxString GetResetTooltip ()
 Get the tooltip the reset button should display when showing this panel. More...
 

Protected Attributes

wxPanel * m_matrixPanel
 

Detailed Description

Class PANEL_SETUP_PINMAP_BASE.

Definition at line 28 of file panel_setup_pinmap_base.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_PINMAP_BASE()

PANEL_SETUP_PINMAP_BASE::PANEL_SETUP_PINMAP_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

Definition at line 12 of file panel_setup_pinmap_base.cpp.

12  : RESETTABLE_PANEL( parent, id, pos, size, style, name )
13 {
14  wxBoxSizer* bSizer2;
15  bSizer2 = new wxBoxSizer( wxHORIZONTAL );
16 
17  wxBoxSizer* m_panelMatrixSizer;
18  m_panelMatrixSizer = new wxBoxSizer( wxVERTICAL );
19 
20 
21  m_panelMatrixSizer->Add( 0, 5, 0, 0, 5 );
22 
23  wxStaticBoxSizer* sbSizer3;
24  sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Pin to Pin Connections") ), wxVERTICAL );
25 
26  m_matrixPanel = new wxPanel( sbSizer3->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
27  m_matrixPanel->SetMinSize( wxSize( 500,444 ) );
28 
29  sbSizer3->Add( m_matrixPanel, 1, wxEXPAND | wxALL, 5 );
30 
31 
32  m_panelMatrixSizer->Add( sbSizer3, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
33 
34 
35  bSizer2->Add( m_panelMatrixSizer, 1, wxEXPAND, 10 );
36 
37 
38  this->SetSizer( bSizer2 );
39  this->Layout();
40  bSizer2->Fit( this );
41 }
RESETTABLE_PANEL(wxWindow *aParent, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxSize(-1,-1), long aStyle=wxTAB_TRAVERSAL, const wxString &aName=wxEmptyString)
#define _(s)
const char * name
Definition: DXF_plotter.cpp:56

References _, and m_matrixPanel.

◆ ~PANEL_SETUP_PINMAP_BASE()

PANEL_SETUP_PINMAP_BASE::~PANEL_SETUP_PINMAP_BASE ( )

Definition at line 43 of file panel_setup_pinmap_base.cpp.

44 {
45 }

Member Function Documentation

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( )
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_HOTKEYS_EDITOR, and PANEL_COLOR_SETTINGS.

Definition at line 52 of file resettable_panel.h.

53  {
54  return _( "Reset all settings on this page to their default" );
55  }
#define _(s)

References _.

◆ ResetPanel()

Member Data Documentation

◆ m_matrixPanel

wxPanel* PANEL_SETUP_PINMAP_BASE::m_matrixPanel
protected

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