Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
AmountValidator Class Reference
Amount widget validator, checks for valid CAmount value. More...
Inheritance diagram for AmountValidator:
Collaboration diagram for AmountValidator:
Public Member Functions | |
AmountValidator (QObject *parent) | |
State | validate (QString &input, int &pos) const |
void | updateUnit (int nUnit) |
Private Attributes | |
int | currentUnit |
Detailed Description
Amount widget validator, checks for valid CAmount value.
Definition at line 37 of file bitcoinamountfield.cpp.
Constructor & Destructor Documentation
◆ AmountValidator()
|
inlineexplicit |
Definition at line 42 of file bitcoinamountfield.cpp.
Member Function Documentation
◆ updateUnit()
|
inline |
Definition at line 56 of file bitcoinamountfield.cpp.
References currentUnit.
Referenced by AmountLineEdit::setDisplayUnit().
◆ validate()
|
inline |
Definition at line 46 of file bitcoinamountfield.cpp.
References currentUnit, and parse().
Member Data Documentation
◆ currentUnit
|
private |
Definition at line 40 of file bitcoinamountfield.cpp.
Referenced by updateUnit(), and validate().
The documentation for this class was generated from the following file:
- src/qt/bitcoinamountfield.cpp