swift
Public Member Functions | List of all members
swift::gui::CUpperCaseValidator Class Reference

Forces uppercase. More...

Inheritance diagram for swift::gui::CUpperCaseValidator:
[legend]

Public Member Functions

 CUpperCaseValidator (QObject *parent=nullptr)
 Constructor.
 
 CUpperCaseValidator (int minLength, int maxLength, QObject *parent=nullptr)
 Constructor.
 
 CUpperCaseValidator (bool optionalValue, int minLength, int maxLength, QObject *parent=nullptr)
 Constructor.
 
void setRestrictions (const QStringList &restrictions)
 Set restrictions.
 
void setAllowedCharacters (const QString &chars)
 Allowed characters.
 
void setAllowedCharacters09AZ ()
 Set the allowed characters as 0-9 and A-Z.
 
virtual State validate (QString &input, int &pos) const
 
virtual void fixup (QString &input) const
 

Detailed Description

Forces uppercase.

Definition at line 17 of file uppercasevalidator.h.

Member Function Documentation

◆ fixup()

void swift::gui::CUpperCaseValidator::fixup ( QString &  input) const
virtual

Definition at line 60 of file uppercasevalidator.cpp.

◆ validate()

QValidator::State swift::gui::CUpperCaseValidator::validate ( QString &  input,
int &  pos 
) const
virtual

Definition at line 35 of file uppercasevalidator.cpp.


The documentation for this class was generated from the following files: