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, std::vector< EMBEDDED_FILES * > aFilesStack={})
 
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
 
std::vector< EMBEDDED_FILES * > m_filesStack
 
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,
std::vector< EMBEDDED_FILES * > aFilesStack = {} )
inline

Definition at line 122 of file grid_text_button_helpers.h.

Referenced by Clone().

Member Function Documentation

◆ ApplyEdit()

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

Definition at line 153 of file grid_text_button_helpers.cpp.

References m_value.

◆ BeginEdit()

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

Definition at line 123 of file grid_text_button_helpers.cpp.

References Combo(), and m_value.

◆ Clone()

wxGridCellEditor * GRID_CELL_URL_EDITOR::Clone ( ) const
inlineoverride

Definition at line 129 of file grid_text_button_helpers.h.

References GRID_CELL_URL_EDITOR(), and m_dlg.

◆ Combo()

wxComboCtrl * GRID_CELL_TEXT_BUTTON::Combo ( ) const
inlineprotectedinherited

◆ 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

Definition at line 137 of file grid_text_button_helpers.cpp.

References Combo(), and m_value.

◆ GetValue()

wxString GRID_CELL_TEXT_BUTTON::GetValue ( ) const
overrideinherited

Definition at line 57 of file grid_text_button_helpers.cpp.

References Combo().

◆ Reset()

void GRID_CELL_TEXT_BUTTON::Reset ( )
overrideinherited

Definition at line 159 of file grid_text_button_helpers.cpp.

References Combo(), and m_value.

◆ 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 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 137 of file grid_text_button_helpers.h.

Referenced by Clone(), and Create().

◆ m_filesStack

std::vector<EMBEDDED_FILES*> GRID_CELL_URL_EDITOR::m_filesStack
protected

Definition at line 139 of file grid_text_button_helpers.h.

Referenced by Create().

◆ m_searchStack

SEARCH_STACK* GRID_CELL_URL_EDITOR::m_searchStack
protected

Definition at line 138 of file grid_text_button_helpers.h.

Referenced by Create().

◆ m_value

wxString GRID_CELL_TEXT_BUTTON::m_value
protectedinherited

Definition at line 67 of file grid_text_button_helpers.h.

Referenced by ApplyEdit(), BeginEdit(), EndEdit(), and Reset().


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