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

#include <grid_text_button_helpers.h>

Inheritance diagram for GRID_CELL_URL_EDITOR:
GRID_CELL_TEXT_BUTTON

Public Member Functions

 GRID_CELL_URL_EDITOR (DIALOG_SHIM *aParent, SEARCH_STACK *aSearchStack=nullptr, EMBEDDED_FILES *aFiles=nullptr)
 
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
 
SEARCH_STACKm_searchStack
 
EMBEDDED_FILESm_files
 
wxString m_value
 

Detailed Description

Definition at line 119 of file grid_text_button_helpers.h.

Constructor & Destructor Documentation

◆ GRID_CELL_URL_EDITOR()

GRID_CELL_URL_EDITOR::GRID_CELL_URL_EDITOR ( DIALOG_SHIM aParent,
SEARCH_STACK aSearchStack = nullptr,
EMBEDDED_FILES aFiles = nullptr 
)
inline

Definition at line 122 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_URL_EDITOR::Clone ( ) const
inlineoverride

Definition at line 127 of file grid_text_button_helpers.h.

References m_dlg.

◆ Combo()

◆ Create()

void GRID_CELL_URL_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_URL_EDITOR::m_dlg
protected

Definition at line 135 of file grid_text_button_helpers.h.

Referenced by Clone(), and Create().

◆ m_files

EMBEDDED_FILES* GRID_CELL_URL_EDITOR::m_files
protected

Definition at line 137 of file grid_text_button_helpers.h.

Referenced by Create().

◆ m_searchStack

SEARCH_STACK* GRID_CELL_URL_EDITOR::m_searchStack
protected

Definition at line 136 of file grid_text_button_helpers.h.

Referenced by Create().

◆ m_value

wxString GRID_CELL_TEXT_BUTTON::m_value
protectedinherited

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