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=wxNO_BORDER|wxTAB_TRAVERSAL)
 
 ~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 ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,140 ),
long  style = wxNO_BORDER|wxTAB_TRAVERSAL 
)

Definition at line 80 of file dialog_template_selector_base.cpp.

References m_scrolledWindow, m_SizerBase, and m_SizerChoice.

80  : wxPanel( parent, id, pos, size, style )
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 }
TEMPLATE_SELECTION_PANEL_BASE::~TEMPLATE_SELECTION_PANEL_BASE ( )

Definition at line 99 of file dialog_template_selector_base.cpp.

100 {
101 }

Member Data Documentation

wxScrolledWindow* TEMPLATE_SELECTION_PANEL_BASE::m_scrolledWindow

Definition at line 84 of file dialog_template_selector_base.h.

Referenced by TEMPLATE_SELECTION_PANEL_BASE().

wxBoxSizer* TEMPLATE_SELECTION_PANEL_BASE::m_SizerBase

Definition at line 83 of file dialog_template_selector_base.h.

Referenced by TEMPLATE_SELECTION_PANEL_BASE().

wxBoxSizer* TEMPLATE_SELECTION_PANEL_BASE::m_SizerChoice

Definition at line 85 of file dialog_template_selector_base.h.

Referenced by TEMPLATE_SELECTION_PANEL_BASE().


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