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, 118), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~TEMPLATE_WIDGET_BASE ()
 

Protected Attributes

wxStaticBitmap * m_bitmapIcon
 
wxStaticText * m_staticTitle
 

Detailed Description

Class TEMPLATE_WIDGET_BASE.

Definition at line 92 of file dialog_template_selector_base.h.

Constructor & Destructor Documentation

◆ TEMPLATE_WIDGET_BASE()

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

Definition at line 103 of file dialog_template_selector_base.cpp.

103  : wxPanel( parent, id, pos, size, style, name )
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, wxALL|wxEXPAND, 3 );
113 
114  m_staticTitle = new wxStaticText( this, wxID_ANY, _("Project Template Title"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER_HORIZONTAL );
115  m_staticTitle->Wrap( 150 );
116  bSizer4->Add( m_staticTitle, 1, wxALL|wxEXPAND, 3 );
117 
118 
119  this->SetSizer( bSizer4 );
120  this->Layout();
121 }
const char * name
Definition: DXF_plotter.cpp:61

References m_bitmapIcon, and m_staticTitle.

◆ ~TEMPLATE_WIDGET_BASE()

TEMPLATE_WIDGET_BASE::~TEMPLATE_WIDGET_BASE ( )

Definition at line 123 of file dialog_template_selector_base.cpp.

124 {
125 }

Member Data Documentation

◆ m_bitmapIcon

wxStaticBitmap* TEMPLATE_WIDGET_BASE::m_bitmapIcon
protected

◆ m_staticTitle

wxStaticText* TEMPLATE_WIDGET_BASE::m_staticTitle
protected

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