KiCad PCB EDA Suite
|
#include <grid_text_helpers.h>
Public Member Functions | |
GRID_CELL_STC_EDITOR (bool aIgnoreCase, bool aSingleLine, std::function< void(wxStyledTextEvent &, SCINTILLA_TRICKS *)> onCharFn) | |
void | SetSize (const wxRect &aRect) override |
void | Create (wxWindow *aParent, wxWindowID aId, wxEvtHandler *aEventHandler) override |
wxGridCellEditor * | Clone () const override |
wxString | GetValue () const override |
void | StartingKey (wxKeyEvent &event) override |
void | Show (bool aShow, wxGridCellAttr *aAttr=nullptr) override |
void | BeginEdit (int aRow, int aCol, wxGrid *aGrid) override |
bool | EndEdit (int aRow, int aCol, const wxGrid *, const wxString &, wxString *aNewVal) override |
void | ApplyEdit (int aRow, int aCol, wxGrid *aGrid) override |
void | Reset () override |
Protected Member Functions | |
void | onFocusLoss (wxFocusEvent &aEvent) |
wxStyledTextCtrl * | stc_ctrl () const |
Protected Attributes | |
SCINTILLA_TRICKS * | m_scintillaTricks |
bool | m_ignoreCase |
bool | m_singleLine |
wxString | m_value |
std::function< void(wxStyledTextEvent &, SCINTILLA_TRICKS *)> | m_onCharFn |
Definition at line 69 of file grid_text_helpers.h.
GRID_CELL_STC_EDITOR::GRID_CELL_STC_EDITOR | ( | bool | aIgnoreCase, |
bool | aSingleLine, | ||
std::function< void(wxStyledTextEvent &, SCINTILLA_TRICKS *)> | onCharFn ) |
Definition at line 114 of file grid_text_helpers.cpp.
References m_ignoreCase, m_onCharFn, m_scintillaTricks, m_singleLine, and move.
Referenced by Clone().
|
override |
Definition at line 280 of file grid_text_helpers.cpp.
References m_value.
|
override |
Definition at line 249 of file grid_text_helpers.cpp.
References m_value, and stc_ctrl().
|
inlineoverride |
Definition at line 78 of file grid_text_helpers.h.
References GRID_CELL_STC_EDITOR(), m_ignoreCase, m_onCharFn, and m_singleLine.
|
override |
Definition at line 147 of file grid_text_helpers.cpp.
References m_ignoreCase, m_onCharFn, m_scintillaTricks, m_singleLine, onFocusLoss(), and stc_ctrl().
|
override |
Definition at line 264 of file grid_text_helpers.cpp.
References m_value, and stc_ctrl().
|
override |
Definition at line 196 of file grid_text_helpers.cpp.
References stc_ctrl().
|
protected |
Definition at line 286 of file grid_text_helpers.cpp.
References stc_ctrl().
Referenced by Create().
|
inlineoverride |
Definition at line 90 of file grid_text_helpers.h.
|
override |
Definition at line 123 of file grid_text_helpers.cpp.
References WX_GRID::CellEditorTransformSizeRect().
|
override |
Definition at line 240 of file grid_text_helpers.cpp.
References stc_ctrl().
|
override |
Definition at line 202 of file grid_text_helpers.cpp.
References stc_ctrl().
|
protected |
Definition at line 190 of file grid_text_helpers.cpp.
Referenced by BeginEdit(), Create(), EndEdit(), GetValue(), onFocusLoss(), Show(), and StartingKey().
|
protected |
Definition at line 99 of file grid_text_helpers.h.
Referenced by Clone(), Create(), and GRID_CELL_STC_EDITOR().
|
protected |
Definition at line 103 of file grid_text_helpers.h.
Referenced by Clone(), Create(), and GRID_CELL_STC_EDITOR().
|
protected |
Definition at line 98 of file grid_text_helpers.h.
Referenced by Create(), and GRID_CELL_STC_EDITOR().
|
protected |
Definition at line 100 of file grid_text_helpers.h.
Referenced by Clone(), Create(), and GRID_CELL_STC_EDITOR().
|
protected |
Definition at line 101 of file grid_text_helpers.h.
Referenced by ApplyEdit(), BeginEdit(), and EndEdit().