KiCad PCB EDA Suite
TEMPLATE_SELECTION_PANEL_BASE Class Reference

Class TEMPLATE_SELECTION_PANEL_BASE. More...

#include <dialog_template_selector_base.h>

Inheritance diagram for TEMPLATE_SELECTION_PANEL_BASE:
TEMPLATE_SELECTION_PANEL

Public Member Functions

 TEMPLATE_SELECTION_PANEL_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, 140), long style=wxTAB_TRAVERSAL|wxBORDER_NONE, const wxString &name=wxEmptyString)
 
 ~TEMPLATE_SELECTION_PANEL_BASE ()
 

Public Attributes

wxBoxSizer * m_SizerBase
 
wxScrolledWindow * m_scrolledWindow
 
wxBoxSizer * m_SizerChoice
 

Detailed Description

Constructor & Destructor Documentation

◆ TEMPLATE_SELECTION_PANEL_BASE()

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

Definition at line 80 of file dialog_template_selector_base.cpp.

80  : wxPanel( parent, id, pos, size, style, name )
81 {
82  m_SizerBase = new wxBoxSizer( wxHORIZONTAL );
83 
84  m_scrolledWindow = new wxScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL );
85  m_scrolledWindow->SetScrollRate( 5, 5 );
86  m_SizerChoice = new wxBoxSizer( wxHORIZONTAL );
87 
88 
89  m_scrolledWindow->SetSizer( m_SizerChoice );
90  m_scrolledWindow->Layout();
92  m_SizerBase->Add( m_scrolledWindow, 0, wxEXPAND | wxALL, 3 );
93 
94 
95  this->SetSizer( m_SizerBase );
96  this->Layout();
97 }
const char * name
Definition: DXF_plotter.cpp:61

References m_scrolledWindow, m_SizerBase, and m_SizerChoice.

◆ ~TEMPLATE_SELECTION_PANEL_BASE()

TEMPLATE_SELECTION_PANEL_BASE::~TEMPLATE_SELECTION_PANEL_BASE ( )

Definition at line 99 of file dialog_template_selector_base.cpp.

100 {
101 }

Member Data Documentation

◆ m_scrolledWindow

wxScrolledWindow* TEMPLATE_SELECTION_PANEL_BASE::m_scrolledWindow

Definition at line 81 of file dialog_template_selector_base.h.

Referenced by TEMPLATE_SELECTION_PANEL_BASE().

◆ m_SizerBase

wxBoxSizer* TEMPLATE_SELECTION_PANEL_BASE::m_SizerBase

Definition at line 80 of file dialog_template_selector_base.h.

Referenced by TEMPLATE_SELECTION_PANEL_BASE().

◆ m_SizerChoice

wxBoxSizer* TEMPLATE_SELECTION_PANEL_BASE::m_SizerChoice

Definition at line 82 of file dialog_template_selector_base.h.

Referenced by TEMPLATE_SELECTION_PANEL_BASE().


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