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

#include <pg_editors.h>

Inheritance diagram for PG_URL_EDITOR:

Public Member Functions

 PG_URL_EDITOR (EDA_DRAW_FRAME *aFrame)
 
virtual ~PG_URL_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( "KiCadUrlEditor" )
 

Private Attributes

EDA_DRAW_FRAMEm_frame
 
wxString m_editorName
 

Detailed Description

Definition at line 155 of file pg_editors.h.

Constructor & Destructor Documentation

◆ PG_URL_EDITOR()

PG_URL_EDITOR::PG_URL_EDITOR ( EDA_DRAW_FRAME * aFrame)

Definition at line 537 of file pg_editors.cpp.

References BuildEditorName(), m_editorName, and m_frame.

◆ ~PG_URL_EDITOR()

virtual PG_URL_EDITOR::~PG_URL_EDITOR ( )
inlinevirtual

Definition at line 162 of file pg_editors.h.

Member Function Documentation

◆ BuildEditorName()

◆ CreateControls()

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

Definition at line 559 of file pg_editors.cpp.

References KiBitmap(), small_folder, and www.

◆ GetName()

wxString PG_URL_EDITOR::GetName ( ) const
inlineoverride

Definition at line 164 of file pg_editors.h.

References m_editorName.

◆ OnEvent()

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

Definition at line 577 of file pg_editors.cpp.

References _, GetAssociatedDocument(), KiBitmap(), m_frame, small_folder, and www.

◆ UpdateFrame()

void PG_URL_EDITOR::UpdateFrame ( EDA_DRAW_FRAME * aFrame)

Definition at line 543 of file pg_editors.cpp.

References BuildEditorName(), m_editorName, and m_frame.

Member Data Documentation

◆ EDITOR_NAME

const wxString PG_URL_EDITOR::EDITOR_NAME = wxS( "KiCadUrlEditor" )
static

Definition at line 158 of file pg_editors.h.

Referenced by BuildEditorName().

◆ m_editorName

wxString PG_URL_EDITOR::m_editorName
private

Definition at line 178 of file pg_editors.h.

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

◆ m_frame

EDA_DRAW_FRAME* PG_URL_EDITOR::m_frame
private

Definition at line 177 of file pg_editors.h.

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


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