|
KiCad PCB EDA Suite
|
#include <grid_text_helpers.h>
Public Member Functions | |
| GRID_CELL_TEXT_BUTTON () | |
| 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 |
| void | OnTextChange (wxCommandEvent &event) |
Protected Member Functions | |
| wxComboCtrl * | Combo () const |
| wxDECLARE_NO_COPY_CLASS (GRID_CELL_TEXT_BUTTON) | |
Protected Attributes | |
| wxGrid * | m_grid |
| int | m_row |
| int | m_col |
| wxString | m_value |
Definition at line 124 of file grid_text_helpers.h.
|
inline |
Definition at line 127 of file grid_text_helpers.h.
References m_col, m_grid, and m_row.
Referenced by wxDECLARE_NO_COPY_CLASS().
|
override |
Definition at line 506 of file grid_text_helpers.cpp.
References m_value.
Referenced by OnTextChange().
|
override |
Definition at line 452 of file grid_text_helpers.cpp.
References Combo(), m_col, m_grid, m_row, m_value, and OnTextChange().
Referenced by GRID_CELL_RUN_FUNCTION_EDITOR::BeginEdit().
|
inlineprotected |
Definition at line 150 of file grid_text_helpers.h.
Referenced by BeginEdit(), GRID_CELL_FPID_EDITOR::Create(), GRID_CELL_PATH_EDITOR::Create(), GRID_CELL_RUN_FUNCTION_EDITOR::Create(), GRID_CELL_SYMBOL_ID_EDITOR::Create(), GRID_CELL_URL_EDITOR::Create(), EndEdit(), GetValue(), OnTextChange(), Reset(), and StartingKey().
|
override |
Definition at line 485 of file grid_text_helpers.cpp.
References Combo(), m_col, m_grid, m_row, m_value, and OnTextChange().
|
override |
Definition at line 386 of file grid_text_helpers.cpp.
References Combo().
| void GRID_CELL_TEXT_BUTTON::OnTextChange | ( | wxCommandEvent & | event | ) |
Definition at line 473 of file grid_text_helpers.cpp.
References ApplyEdit(), Combo(), m_col, m_grid, m_row, and m_value.
Referenced by BeginEdit(), and EndEdit().
|
override |
Definition at line 512 of file grid_text_helpers.cpp.
|
override |
Definition at line 392 of file grid_text_helpers.cpp.
References WX_GRID::CellEditorTransformSizeRect().
|
override |
Definition at line 401 of file grid_text_helpers.cpp.
References Combo().
|
protected |
References GRID_CELL_TEXT_BUTTON().
|
protected |
Definition at line 159 of file grid_text_helpers.h.
Referenced by BeginEdit(), EndEdit(), GRID_CELL_TEXT_BUTTON(), and OnTextChange().
|
protected |
Definition at line 157 of file grid_text_helpers.h.
Referenced by BeginEdit(), EndEdit(), GRID_CELL_TEXT_BUTTON(), and OnTextChange().
|
protected |
Definition at line 158 of file grid_text_helpers.h.
Referenced by BeginEdit(), EndEdit(), GRID_CELL_TEXT_BUTTON(), and OnTextChange().
|
protected |
Definition at line 160 of file grid_text_helpers.h.
Referenced by ApplyEdit(), BeginEdit(), EndEdit(), OnTextChange(), and Reset().