|
KiCad PCB EDA Suite
|
#include <drc_re_validator_min_max_ctrl.h>
Public Types | |
| enum class | VALIDATION_STATE { Valid , MinGreaterThanMax } |
Public Member Functions | |
| VALIDATE_MIN_MAX_CTRL (wxTextCtrl *aMinCtrl, wxTextCtrl *aMaxCtrl) | |
| virtual wxObject * | Clone () const override |
| virtual bool | Validate (wxWindow *aParent) override |
| VALIDATION_STATE | GetValidationState () const |
Private Attributes | |
| wxTextCtrl * | m_minCtrl |
| wxTextCtrl * | m_maxCtrl |
| wxString | m_minCtrlName |
| wxString | m_maxCtrlName |
| VALIDATION_STATE | m_validationState |
Definition at line 29 of file drc_re_validator_min_max_ctrl.h.
|
strong |
| Enumerator | |
|---|---|
| Valid | |
| MinGreaterThanMax | |
Definition at line 32 of file drc_re_validator_min_max_ctrl.h.
| VALIDATE_MIN_MAX_CTRL::VALIDATE_MIN_MAX_CTRL | ( | wxTextCtrl * | aMinCtrl, |
| wxTextCtrl * | aMaxCtrl ) |
Definition at line 23 of file drc_re_validator_min_max_ctrl.cpp.
References m_maxCtrl, m_maxCtrlName, m_minCtrl, m_minCtrlName, m_validationState, and Valid.
Referenced by Clone().
|
overridevirtual |
Definition at line 30 of file drc_re_validator_min_max_ctrl.cpp.
References m_maxCtrl, m_minCtrl, and VALIDATE_MIN_MAX_CTRL().
| VALIDATE_MIN_MAX_CTRL::VALIDATION_STATE VALIDATE_MIN_MAX_CTRL::GetValidationState | ( | ) | const |
Definition at line 64 of file drc_re_validator_min_max_ctrl.cpp.
References m_validationState.
Referenced by DRC_RULE_EDITOR_UTILS::ValidateMinMaxCtrl().
|
overridevirtual |
Definition at line 36 of file drc_re_validator_min_max_ctrl.cpp.
References m_maxCtrlName, m_minCtrlName, m_validationState, MinGreaterThanMax, and Valid.
|
private |
Definition at line 48 of file drc_re_validator_min_max_ctrl.h.
Referenced by Clone(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 50 of file drc_re_validator_min_max_ctrl.h.
Referenced by Validate(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 47 of file drc_re_validator_min_max_ctrl.h.
Referenced by Clone(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 49 of file drc_re_validator_min_max_ctrl.h.
Referenced by Validate(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 51 of file drc_re_validator_min_max_ctrl.h.
Referenced by GetValidationState(), Validate(), and VALIDATE_MIN_MAX_CTRL().