TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TFormValidator::RuleEntry Class Reference

#include <tformvalidator.h>

Public Member Functions

 RuleEntry (const QString &key, int rule, bool enable, const QString &errorMessage)
 
 RuleEntry (const QString &key, int rule, int64_t val, const QString &errorMessage)
 
 RuleEntry (const QString &key, int rule, double val, const QString &errorMessage)
 
 RuleEntry (const QString &key, int rule, const QRegularExpression &rx, const QString &errorMessage)
 

Public Attributes

QString key
 
int rule
 
QVariant value
 
QString message
 

Detailed Description

The RuleEntry class is for internal use only.

Constructor & Destructor Documentation

◆ RuleEntry() [1/4]

TFormValidator::RuleEntry::RuleEntry ( const QString &  key,
int  rule,
bool  enable,
const QString &  errorMessage 
)

◆ RuleEntry() [2/4]

TFormValidator::RuleEntry::RuleEntry ( const QString &  key,
int  rule,
int64_t  val,
const QString &  errorMessage 
)

◆ RuleEntry() [3/4]

TFormValidator::RuleEntry::RuleEntry ( const QString &  key,
int  rule,
double  val,
const QString &  errorMessage 
)

◆ RuleEntry() [4/4]

TFormValidator::RuleEntry::RuleEntry ( const QString &  key,
int  rule,
const QRegularExpression &  rx,
const QString &  errorMessage 
)

Member Data Documentation

◆ key

QString TFormValidator::RuleEntry::key

◆ message

QString TFormValidator::RuleEntry::message

◆ rule

int TFormValidator::RuleEntry::rule

◆ value

QVariant TFormValidator::RuleEntry::value

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