KiCad PCB EDA Suite
Loading...
Searching...
No Matches
validators.h File Reference

Custom text control validator definitions. More...

#include <memory>
#include <wx/valtext.h>
#include <wx/grid.h>
#include <wx/regex.h>
#include <lib_id.h>

Go to the source code of this file.

Classes

class  FOOTPRINT_NAME_VALIDATOR
 This class provides a custom wxValidator object for limiting the allowable characters when defining footprint names. More...
 
class  FILE_NAME_WITH_PATH_CHAR_VALIDATOR
 This class provides a custom wxValidator object for limiting the allowable characters when defining file names with path, for instance in schematic sheet file names. More...
 
class  ENV_VAR_NAME_VALIDATOR
 This class provides a custom wxValidator object for limiting the allowable characters when defining an environment variable name in a text edit control. More...
 
class  REGEX_VALIDATOR
 Custom validator that checks verifies that a string exactly matches a regular expression. More...
 
class  NETNAME_VALIDATOR
 
class  FIELD_VALIDATOR
 A text control validator used for validating the text allowed in fields. More...
 

Namespaces

namespace  KIUI
 

Macros

#define FIELD_NAME   -1
 
#define FIELD_VALUE   -2
 
#define SHEETNAME_V   100
 
#define SHEETFILENAME_V   101
 
#define SHEETUSERFIELD_V   102
 
#define LABELUSERFIELD_V   200
 

Functions

void KIUI::ValidatorTransferToWindowWithoutEvents (wxValidator &aValidator)
 Call a text validator's TransferDataToWindow method without firing a text change event.
 

Detailed Description

Custom text control validator definitions.

Definition in file validators.h.

Macro Definition Documentation

◆ FIELD_NAME

#define FIELD_NAME   -1

Definition at line 43 of file validators.h.

◆ FIELD_VALUE

#define FIELD_VALUE   -2

Definition at line 44 of file validators.h.

◆ LABELUSERFIELD_V

#define LABELUSERFIELD_V   200

Definition at line 50 of file validators.h.

◆ SHEETFILENAME_V

#define SHEETFILENAME_V   101

Definition at line 47 of file validators.h.

◆ SHEETNAME_V

#define SHEETNAME_V   100

Definition at line 46 of file validators.h.

◆ SHEETUSERFIELD_V

#define SHEETUSERFIELD_V   102

Definition at line 48 of file validators.h.