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

#include <grid_text_button_helpers.h>

Inheritance diagram for GRID_CELL_SYMBOL_ID_EDITOR:
GRID_CELL_TEXT_BUTTON

Public Member Functions

 GRID_CELL_SYMBOL_ID_EDITOR (DIALOG_SHIM *aParent, const wxString &aPreselect=wxEmptyString)
 
wxGridCellEditor * Clone () const override
 
void Create (wxWindow *aParent, wxWindowID aId, wxEvtHandler *aEventHandler) override
 
wxString GetValue () const override
 
void SetSize (const wxRect &aRect) override
 
void StartingKey (wxKeyEvent &event) override
 
void BeginEdit (int aRow, int aCol, wxGrid *aGrid) override
 
bool EndEdit (int, int, const wxGrid *, const wxString &, wxString *aNewVal) override
 
void ApplyEdit (int aRow, int aCol, wxGrid *aGrid) override
 
void Reset () override
 

Protected Member Functions

wxComboCtrl * Combo () const
 
 wxDECLARE_NO_COPY_CLASS (GRID_CELL_TEXT_BUTTON)
 

Protected Attributes

DIALOG_SHIMm_dlg
 
wxString m_preselect
 
wxString m_value
 

Detailed Description

Definition at line 73 of file grid_text_button_helpers.h.

Constructor & Destructor Documentation

◆ GRID_CELL_SYMBOL_ID_EDITOR()

GRID_CELL_SYMBOL_ID_EDITOR::GRID_CELL_SYMBOL_ID_EDITOR ( DIALOG_SHIM aParent,
const wxString &  aPreselect = wxEmptyString 
)
inline

Definition at line 76 of file grid_text_button_helpers.h.

Member Function Documentation

◆ ApplyEdit()

void GRID_CELL_TEXT_BUTTON::ApplyEdit ( int  aRow,
int  aCol,
wxGrid *  aGrid 
)
overrideinherited

Definition at line 152 of file grid_text_button_helpers.cpp.

References GRID_CELL_TEXT_BUTTON::m_value.

◆ BeginEdit()

void GRID_CELL_TEXT_BUTTON::BeginEdit ( int  aRow,
int  aCol,
wxGrid *  aGrid 
)
overrideinherited

◆ Clone()

wxGridCellEditor * GRID_CELL_SYMBOL_ID_EDITOR::Clone ( ) const
inlineoverride

Definition at line 82 of file grid_text_button_helpers.h.

References m_dlg, and m_preselect.

◆ Combo()

◆ Create()

void GRID_CELL_SYMBOL_ID_EDITOR::Create ( wxWindow *  aParent,
wxWindowID  aId,
wxEvtHandler *  aEventHandler 
)
override

◆ EndEdit()

bool GRID_CELL_TEXT_BUTTON::EndEdit ( int  ,
int  ,
const wxGrid *  ,
const wxString &  ,
wxString *  aNewVal 
)
overrideinherited

◆ GetValue()

wxString GRID_CELL_TEXT_BUTTON::GetValue ( ) const
overrideinherited

Definition at line 57 of file grid_text_button_helpers.cpp.

References GRID_CELL_TEXT_BUTTON::Combo().

◆ Reset()

void GRID_CELL_TEXT_BUTTON::Reset ( )
overrideinherited

◆ SetSize()

void GRID_CELL_TEXT_BUTTON::SetSize ( const wxRect &  aRect)
overrideinherited

◆ StartingKey()

void GRID_CELL_TEXT_BUTTON::StartingKey ( wxKeyEvent &  event)
overrideinherited

Definition at line 72 of file grid_text_button_helpers.cpp.

References GRID_CELL_TEXT_BUTTON::Combo().

◆ wxDECLARE_NO_COPY_CLASS()

GRID_CELL_TEXT_BUTTON::wxDECLARE_NO_COPY_CLASS ( GRID_CELL_TEXT_BUTTON  )
protectedinherited

Member Data Documentation

◆ m_dlg

DIALOG_SHIM* GRID_CELL_SYMBOL_ID_EDITOR::m_dlg
protected

Definition at line 90 of file grid_text_button_helpers.h.

Referenced by Clone(), and Create().

◆ m_preselect

wxString GRID_CELL_SYMBOL_ID_EDITOR::m_preselect
protected

Definition at line 91 of file grid_text_button_helpers.h.

Referenced by Clone(), and Create().

◆ m_value

wxString GRID_CELL_TEXT_BUTTON::m_value
protectedinherited

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