KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PG_FPID_EDITOR Class Reference

#include <pg_editors.h>

Inheritance diagram for PG_FPID_EDITOR:

Public Member Functions

 PG_FPID_EDITOR (EDA_DRAW_FRAME *aFrame)
 
virtual ~PG_FPID_EDITOR ()
 
wxString GetName () const override
 
void UpdateFrame (EDA_DRAW_FRAME *aFrame)
 
wxPGWindowList CreateControls (wxPropertyGrid *aGrid, wxPGProperty *aProperty, const wxPoint &aPos, const wxSize &aSize) const override
 
bool OnEvent (wxPropertyGrid *aGrid, wxPGProperty *aProperty, wxWindow *aCtrl, wxEvent &aEvent) const override
 

Static Public Member Functions

static wxString BuildEditorName (EDA_DRAW_FRAME *aFrame)
 

Static Public Attributes

static const wxString EDITOR_NAME = wxS( "KiCadFpidEditor" )
 

Private Attributes

EDA_DRAW_FRAMEm_frame
 
wxString m_editorName
 

Detailed Description

Definition at line 128 of file pg_editors.h.

Constructor & Destructor Documentation

◆ PG_FPID_EDITOR()

PG_FPID_EDITOR::PG_FPID_EDITOR ( EDA_DRAW_FRAME * aFrame)

Definition at line 478 of file pg_editors.cpp.

References BuildEditorName(), m_editorName, and m_frame.

◆ ~PG_FPID_EDITOR()

virtual PG_FPID_EDITOR::~PG_FPID_EDITOR ( )
inlinevirtual

Definition at line 135 of file pg_editors.h.

Member Function Documentation

◆ BuildEditorName()

◆ CreateControls()

wxPGWindowList PG_FPID_EDITOR::CreateControls ( wxPropertyGrid * aGrid,
wxPGProperty * aProperty,
const wxPoint & aPos,
const wxSize & aSize ) const
override

Definition at line 500 of file pg_editors.cpp.

References KiBitmap(), and small_library.

◆ GetName()

wxString PG_FPID_EDITOR::GetName ( ) const
inlineoverride

Definition at line 137 of file pg_editors.h.

References m_editorName.

◆ OnEvent()

bool PG_FPID_EDITOR::OnEvent ( wxPropertyGrid * aGrid,
wxPGProperty * aProperty,
wxWindow * aCtrl,
wxEvent & aEvent ) const
override

Definition at line 515 of file pg_editors.cpp.

References FRAME_FOOTPRINT_CHOOSER, and m_frame.

◆ UpdateFrame()

void PG_FPID_EDITOR::UpdateFrame ( EDA_DRAW_FRAME * aFrame)

Definition at line 484 of file pg_editors.cpp.

References BuildEditorName(), m_editorName, and m_frame.

Member Data Documentation

◆ EDITOR_NAME

const wxString PG_FPID_EDITOR::EDITOR_NAME = wxS( "KiCadFpidEditor" )
static

Definition at line 131 of file pg_editors.h.

Referenced by BuildEditorName().

◆ m_editorName

wxString PG_FPID_EDITOR::m_editorName
private

Definition at line 151 of file pg_editors.h.

Referenced by GetName(), PG_FPID_EDITOR(), and UpdateFrame().

◆ m_frame

EDA_DRAW_FRAME* PG_FPID_EDITOR::m_frame
private

Definition at line 150 of file pg_editors.h.

Referenced by OnEvent(), PG_FPID_EDITOR(), and UpdateFrame().


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