KiCad PCB EDA Suite
TEMPLATE_WIDGET_BASE Class Reference

Class TEMPLATE_WIDGET_BASE. More...

#include <dialog_template_selector_base.h>

Inheritance diagram for TEMPLATE_WIDGET_BASE:
TEMPLATE_WIDGET

Public Member Functions

 TEMPLATE_WIDGET_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(74,-1), long style=wxTAB_TRAVERSAL)
 
 ~TEMPLATE_WIDGET_BASE ()
 

Protected Attributes

wxStaticBitmap * m_bitmapIcon
 
wxStaticText * m_staticTitle
 

Detailed Description

Class TEMPLATE_WIDGET_BASE.

Definition at line 95 of file dialog_template_selector_base.h.

Constructor & Destructor Documentation

TEMPLATE_WIDGET_BASE::TEMPLATE_WIDGET_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize &  size = wxSize( 74,-1 ),
long  style = wxTAB_TRAVERSAL 
)

Definition at line 103 of file dialog_template_selector_base.cpp.

References m_bitmapIcon, and m_staticTitle.

103  : wxPanel( parent, id, pos, size, style )
104 {
105  this->SetMinSize( wxSize( 74,-1 ) );
106  this->SetMaxSize( wxSize( 74,-1 ) );
107 
108  wxBoxSizer* bSizer4;
109  bSizer4 = new wxBoxSizer( wxVERTICAL );
110 
111  m_bitmapIcon = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 64,64 ), 0 );
112  bSizer4->Add( m_bitmapIcon, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3 );
113 
114  m_staticTitle = new wxStaticText( this, wxID_ANY, _("Project Template Title"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
115  m_staticTitle->Wrap( 150 );
116  bSizer4->Add( m_staticTitle, 1, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3 );
117 
118 
119  this->SetSizer( bSizer4 );
120  this->Layout();
121 }
TEMPLATE_WIDGET_BASE::~TEMPLATE_WIDGET_BASE ( )

Definition at line 123 of file dialog_template_selector_base.cpp.

124 {
125 }

Member Data Documentation

wxStaticBitmap* TEMPLATE_WIDGET_BASE::m_bitmapIcon
protected
wxStaticText* TEMPLATE_WIDGET_BASE::m_staticTitle
protected

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