BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The FixupDoubleValidator class is a derivative of QDoubleValidator with non-empty "fixup" method. If the validator return QValidator::Intermediate, then "fixup" lets us know about that, emiting fixupSignal().
Definition at line 24 of file FixupDoubleValidator.h.
Signals | |
void | fixupSignal () const |
Public Member Functions | |
FixupDoubleValidator (double bottom, double top, int decimals, QObject *parent=nullptr) | |
FixupDoubleValidator (QObject *parent=nullptr) | |
virtual void | fixup (QString &input) const override |
|
explicit |
Definition at line 3 of file FixupDoubleValidator.cpp.
FixupDoubleValidator::FixupDoubleValidator | ( | double | bottom, |
double | top, | ||
int | decimals, | ||
QObject * | parent = nullptr |
||
) |
Definition at line 8 of file FixupDoubleValidator.cpp.
|
overridevirtual |
Definition at line 13 of file FixupDoubleValidator.cpp.
References fixupSignal().
|
signal |