QDoubleValidator Class Reference
[QtGui module]
Inherits QValidator.
Types
- enum Notation { StandardNotation, ScientificNotation }
Methods
- __init__ (self, QObject parent = None)
- __init__ (self, float, float, int, QObject)
- float bottom (self)
- int decimals (self)
- Notation notation (self)
- setBottom (self, float)
- setDecimals (self, int)
- setNotation (self, Notation)
- setRange (self, float, float, int decimals = 0)
- setTop (self, float)
- float top (self)
- (QValidator.State, QString, int) validate (self, QString, int)
- (QValidator.State, int) validate (self, QString, int)
Detailed Description
Type Documentation
QDoubleValidator.Notation
Method Documentation
QDoubleValidator.__init__ (self, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDoubleValidator.__init__ (self, float, float, int, QObject)
The QObject argument, if not None, causes self to be owned by Qt instead of PyQt.
float QDoubleValidator.bottom (self)
int QDoubleValidator.decimals (self)
Notation QDoubleValidator.notation (self)
QDoubleValidator.setBottom (self, float)
QDoubleValidator.setDecimals (self, int)
QDoubleValidator.setNotation (self, Notation)
QDoubleValidator.setRange (self, float, float, int decimals = 0)
QDoubleValidator.setTop (self, float)
float QDoubleValidator.top (self)
(QValidator.State, QString, int) QDoubleValidator.validate (self, QString, int)
(QValidator.State, int) QDoubleValidator.validate (self, QString, int)