Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qvalidator.cpp File Reference

(222e51a0b6b2349779d1dec95b9d679d96f69546)

#include <qdebug.h>
#include "qvalidator.h"
#include "private/qobject_p.h"
#include "private/qlocale_p.h"
#include "private/qnumeric_p.h"
#include "private/qstringiterator_p.h"
#include <limits.h>
#include <cmath>
#include "moc_qvalidator.cpp"
Include dependency graph for qvalidator.cpp:

Go to the source code of this file.

Classes

class  QValidatorPrivate
class  QDoubleValidatorPrivate

Macros

#define LLONG_MAX   Q_INT64_C(0x7fffffffffffffff)

Functions

static bool hasMoreIntegerDigits (double value, double bound)
template<typename T>
static std::optional< QValidator::StateinitialResultCheck (T min, T max, const QLocaleData::ParsingResult &result)

Macro Definition Documentation

◆ LLONG_MAX

#define LLONG_MAX   Q_INT64_C(0x7fffffffffffffff)

Definition at line 637 of file qvalidator.cpp.

Function Documentation

◆ hasMoreIntegerDigits()

bool hasMoreIntegerDigits ( double value,
double bound )
static

Definition at line 352 of file qvalidator.cpp.

◆ initialResultCheck()

template<typename T>
std::optional< QValidator::State > initialResultCheck ( T min,
T max,
const QLocaleData::ParsingResult & result )
inlinestatic

Definition at line 363 of file qvalidator.cpp.