|
KiCad PCB EDA Suite
|
#include <dialog_edit_cfg.h>
Classes | |
| struct | ConfigEntry |
Public Member Functions | |
| DIALOG_EDIT_CFG (wxWindow *aParent) | |
| bool | TransferDataToWindow () override |
| bool | TransferDataFromWindow () override |
Private Member Functions | |
| void | saveSettings () |
| void | OnCellChange (wxGridEvent &aEvent) |
| void | OnCellRightClick (wxGridEvent &aEvent) |
| void | OnCellLeftDClick (wxGridEvent &aEvent) |
| void | OnResetDefault (wxCommandEvent &aEvent) |
| void | OnFilterChanged (wxCommandEvent &aEvent) |
| void | OnSize (wxSizeEvent &aEvent) |
| void | updateRowAppearance (int aRow) |
| void | applyFilter () |
Private Attributes | |
| WX_GRID * | m_grid |
| wxSearchCtrl * | m_filterCtrl |
| wxFileName | m_cfgFile |
| int | m_contextRow |
| wxString | m_filterText |
| std::vector< ConfigEntry > | m_allEntries |
Definition at line 31 of file dialog_edit_cfg.h.
| DIALOG_EDIT_CFG::DIALOG_EDIT_CFG | ( | wxWindow * | aParent | ) |
Definition at line 159 of file dialog_edit_cfg.cpp.
References _, PATHS::GetUserSettingsPath(), m_cfgFile, m_contextRow, m_filterCtrl, m_grid, OnCellChange(), OnCellLeftDClick(), OnCellRightClick(), OnFilterChanged(), and OnSize().
|
private |
Definition at line 360 of file dialog_edit_cfg.cpp.
References m_allEntries, m_filterText, m_grid, and updateRowAppearance().
Referenced by OnFilterChanged(), and TransferDataToWindow().
|
private |
Definition at line 277 of file dialog_edit_cfg.cpp.
References m_allEntries, m_grid, saveSettings(), and updateRowAppearance().
Referenced by DIALOG_EDIT_CFG().
|
private |
Definition at line 381 of file dialog_edit_cfg.cpp.
References ADVANCED_CFG::GetCfg(), m_allEntries, m_grid, PARAM_BOOL, saveSettings(), and updateRowAppearance().
Referenced by DIALOG_EDIT_CFG().
|
private |
Definition at line 307 of file dialog_edit_cfg.cpp.
References _, m_contextRow, and OnResetDefault().
Referenced by DIALOG_EDIT_CFG().
|
private |
Definition at line 352 of file dialog_edit_cfg.cpp.
References applyFilter(), m_filterCtrl, and m_filterText.
Referenced by DIALOG_EDIT_CFG().
|
private |
Definition at line 318 of file dialog_edit_cfg.cpp.
References ADVANCED_CFG::GetCfg(), m_contextRow, m_grid, paramDefaultString(), saveSettings(), and updateRowAppearance().
Referenced by OnCellRightClick().
|
private |
Definition at line 427 of file dialog_edit_cfg.cpp.
Referenced by DIALOG_EDIT_CFG().
|
private |
Definition at line 249 of file dialog_edit_cfg.cpp.
References ADVANCED_CFG::GetCfg(), m_grid, ADVANCED_CFG::Save(), and writeParam().
Referenced by OnCellChange(), OnCellLeftDClick(), OnResetDefault(), and TransferDataFromWindow().
|
override |
Definition at line 239 of file dialog_edit_cfg.cpp.
References m_grid, and saveSettings().
|
override |
Definition at line 213 of file dialog_edit_cfg.cpp.
References applyFilter(), DIALOG_EDIT_CFG::ConfigEntry::extant, ADVANCED_CFG::GetCfg(), DIALOG_EDIT_CFG::ConfigEntry::key, m_allEntries, paramDefaultString(), paramValueString(), and DIALOG_EDIT_CFG::ConfigEntry::value.
|
private |
Definition at line 342 of file dialog_edit_cfg.cpp.
References m_grid.
Referenced by applyFilter(), OnCellChange(), OnCellLeftDClick(), and OnResetDefault().
|
private |
Definition at line 64 of file dialog_edit_cfg.h.
Referenced by applyFilter(), OnCellChange(), OnCellLeftDClick(), and TransferDataToWindow().
|
private |
Definition at line 53 of file dialog_edit_cfg.h.
Referenced by DIALOG_EDIT_CFG().
|
private |
Definition at line 54 of file dialog_edit_cfg.h.
Referenced by DIALOG_EDIT_CFG(), OnCellRightClick(), and OnResetDefault().
|
private |
Definition at line 52 of file dialog_edit_cfg.h.
Referenced by DIALOG_EDIT_CFG(), and OnFilterChanged().
|
private |
Definition at line 55 of file dialog_edit_cfg.h.
Referenced by applyFilter(), and OnFilterChanged().
|
private |
Definition at line 51 of file dialog_edit_cfg.h.
Referenced by applyFilter(), DIALOG_EDIT_CFG(), OnCellChange(), OnCellLeftDClick(), OnResetDefault(), saveSettings(), TransferDataFromWindow(), and updateRowAppearance().