|
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 |
| std::string | m_minCtrlName |
| std::string | m_maxCtrlName |
| VALIDATION_STATE | m_validationState |
Definition at line 35 of file drc_re_validator_min_max_ctrl.h.
|
strong |
| Enumerator | |
|---|---|
| Valid | |
| MinGreaterThanMax | |
Definition at line 38 of file drc_re_validator_min_max_ctrl.h.
| VALIDATE_MIN_MAX_CTRL::VALIDATE_MIN_MAX_CTRL | ( | wxTextCtrl * | aMinCtrl, |
| wxTextCtrl * | aMaxCtrl ) |
Definition at line 27 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 34 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 68 of file drc_re_validator_min_max_ctrl.cpp.
References m_validationState.
Referenced by DRC_RULE_EDITOR_UTILS::ValidateMinMaxCtrl().
|
overridevirtual |
Definition at line 40 of file drc_re_validator_min_max_ctrl.cpp.
References m_maxCtrlName, m_minCtrlName, m_validationState, MinGreaterThanMax, and Valid.
|
private |
Definition at line 54 of file drc_re_validator_min_max_ctrl.h.
Referenced by Clone(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 56 of file drc_re_validator_min_max_ctrl.h.
Referenced by Validate(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 53 of file drc_re_validator_min_max_ctrl.h.
Referenced by Clone(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 55 of file drc_re_validator_min_max_ctrl.h.
Referenced by Validate(), and VALIDATE_MIN_MAX_CTRL().
|
private |
Definition at line 57 of file drc_re_validator_min_max_ctrl.h.
Referenced by GetValidationState(), Validate(), and VALIDATE_MIN_MAX_CTRL().