| 
    KiCad PCB EDA Suite
    
   | 
 
Provide a custom wxValidator object for limiting the allowable characters when defining an environment variable name in a text edit control. More...
#include <validators.h>
 Public Member Functions | |
| ENV_VAR_NAME_VALIDATOR (wxString *aValue=nullptr) | |
| ENV_VAR_NAME_VALIDATOR (const ENV_VAR_NAME_VALIDATOR &val) | |
| virtual | ~ENV_VAR_NAME_VALIDATOR () | 
| virtual wxObject * | Clone () const override | 
| void | OnChar (wxKeyEvent &event) | 
| void | OnTextChanged (wxCommandEvent &event) | 
Provide a custom wxValidator object for limiting the allowable characters when defining an environment variable name in a text edit control.
Only uppercase, numbers, and underscore (_) characters are valid and the first character of the name cannot start with a number. This is according to IEEE Std 1003.1-2001. Even though most systems support other characters, these characters guarantee compatibility for all shells.
Definition at line 68 of file validators.h.
| ENV_VAR_NAME_VALIDATOR::ENV_VAR_NAME_VALIDATOR | ( | wxString * | aValue = nullptr | ) | 
Definition at line 56 of file validators.cpp.
References OnChar().
Referenced by Clone(), and ENV_VAR_NAME_VALIDATOR().
| ENV_VAR_NAME_VALIDATOR::ENV_VAR_NAME_VALIDATOR | ( | const ENV_VAR_NAME_VALIDATOR & | val | ) | 
Definition at line 63 of file validators.cpp.
References ENV_VAR_NAME_VALIDATOR(), and OnChar().
      
  | 
  virtual | 
Definition at line 72 of file validators.cpp.
References OnChar().
      
  | 
  inlineoverridevirtual | 
Definition at line 78 of file validators.h.
References ENV_VAR_NAME_VALIDATOR().
| void ENV_VAR_NAME_VALIDATOR::OnChar | ( | wxKeyEvent & | event | ) | 
Definition at line 78 of file validators.cpp.
References OnTextChanged().
Referenced by ENV_VAR_NAME_VALIDATOR(), ENV_VAR_NAME_VALIDATOR(), and ~ENV_VAR_NAME_VALIDATOR().
| void ENV_VAR_NAME_VALIDATOR::OnTextChanged | ( | wxCommandEvent & | event | ) | 
Definition at line 149 of file validators.cpp.
Referenced by OnChar().