|
VivoQuant 6.3.0
|
Validator for custom brain atlas name prefixes. More...
#include <BrainAtlasNaming.h>
Public Member Functions | |
| BrainAtlasNameValidator (QObject *parent=nullptr) | |
| Constructs the validator. | |
| State | validate (string &input, int &pos) override |
| Validates the current input. | |
Validator for custom brain atlas name prefixes.
Restricts user input to the character set supported by BrainAtlasNaming::prefixPattern().
Valid characters are:
This ensures atlas names generated by the atlas creation wizard can later be discovered and parsed correctly.
|
inlineexplicit |
Constructs the validator.
| parent | Parent QObject. |
|
override |
Validates the current input.
Empty input is considered Intermediate so the user may continue typing.
| input | Text being validated. |
| pos | Cursor position (unused). |