|
KiCad PCB EDA Suite
|
Public Member Functions | |
| LIB_SYMBOL_REFERENCE_VALIDATOR (std::function< bool()> aAllowEmpty) | |
| LIB_SYMBOL_REFERENCE_VALIDATOR (const LIB_SYMBOL_REFERENCE_VALIDATOR &aOther) | |
| wxObject * | Clone () const override |
| bool | Validate (wxWindow *aParent) override |
| Override the default Validate() function provided by wxTextValidator to provide better error messages. | |
| bool | DoValidate (const wxString &aValue, wxWindow *aParent) |
Private Attributes | |
| std::function< bool()> | m_allowEmpty |
| FIELD_T | m_fieldId |
Definition at line 54 of file dialog_lib_fields_table.cpp.
|
inline |
Definition at line 57 of file dialog_lib_fields_table.cpp.
References FIELD_VALIDATOR::FIELD_VALIDATOR(), m_allowEmpty, and REFERENCE.
Referenced by Clone(), and LIB_SYMBOL_REFERENCE_VALIDATOR().
|
inline |
Definition at line 63 of file dialog_lib_fields_table.cpp.
References FIELD_VALIDATOR::FIELD_VALIDATOR(), LIB_SYMBOL_REFERENCE_VALIDATOR(), and m_allowEmpty.
|
inlineoverridevirtual |
Reimplemented from FIELD_VALIDATOR.
Definition at line 69 of file dialog_lib_fields_table.cpp.
References LIB_SYMBOL_REFERENCE_VALIDATOR().
|
inherited |
Definition at line 394 of file validators.cpp.
References _, GetFieldValidationErrorMessage(), and m_fieldId.
Referenced by Validate().
|
inlineoverridevirtual |
Override the default Validate() function provided by wxTextValidator to provide better error messages.
| aParent | is the parent window of the error message dialog. |
Reimplemented from FIELD_VALIDATOR.
Definition at line 71 of file dialog_lib_fields_table.cpp.
References m_allowEmpty, text, and FIELD_VALIDATOR::Validate().
|
private |
Definition at line 82 of file dialog_lib_fields_table.cpp.
Referenced by LIB_SYMBOL_REFERENCE_VALIDATOR(), LIB_SYMBOL_REFERENCE_VALIDATOR(), and Validate().
|
privateinherited |
Definition at line 158 of file validators.h.
Referenced by DoValidate(), FIELD_VALIDATOR(), and FIELD_VALIDATOR().