QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
More...
|
| int256_t | parse (const QString &text, bool *valid_out=0) const |
| | Parse a string into a number of base monetary units and return validity. More...
|
| |
| void | setSingleStep () |
| |
| int256_t | getMax (int256_t a, int256_t b) const |
| |
| int256_t | getMin (int256_t a, int256_t b) const |
| |
QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
Definition at line 16 of file tokenamountfield.cpp.
| TokenAmountSpinBox::TokenAmountSpinBox |
( |
QWidget * |
parent | ) |
|
|
inlineexplicit |
| bool TokenAmountSpinBox::event |
( |
QEvent * |
event | ) |
|
|
inlineprotected |
| void TokenAmountSpinBox::fixup |
( |
QString & |
input | ) |
const |
|
inline |
| int256_t TokenAmountSpinBox::getMax |
( |
int256_t |
a, |
|
|
int256_t |
b |
|
) |
| const |
|
inlineprivate |
| int256_t TokenAmountSpinBox::getMin |
( |
int256_t |
a, |
|
|
int256_t |
b |
|
) |
| const |
|
inlineprivate |
| int256_t TokenAmountSpinBox::minimum |
( |
| ) |
const |
|
inline |
| int256_t TokenAmountSpinBox::parse |
( |
const QString & |
text, |
|
|
bool * |
valid_out = 0 |
|
) |
| const |
|
inlineprivate |
Parse a string into a number of base monetary units and return validity.
- Note
- Must return 0 if !valid.
Definition at line 109 of file tokenamountfield.cpp.
| void TokenAmountSpinBox::setDecimalUnits |
( |
int |
value | ) |
|
|
inline |
| void TokenAmountSpinBox::setMinimum |
( |
const int256_t & |
min | ) |
|
|
inline |
| void TokenAmountSpinBox::setSingleStep |
( |
| ) |
|
|
inlineprivate |
| void TokenAmountSpinBox::setTotalSupply |
( |
const int256_t & |
value | ) |
|
|
inline |
| void TokenAmountSpinBox::setValue |
( |
const int256_t & |
value | ) |
|
|
inline |
| void TokenAmountSpinBox::stepBy |
( |
int |
steps | ) |
|
|
inline |
| StepEnabled TokenAmountSpinBox::stepEnabled |
( |
| ) |
const |
|
inlineprotected |
| QValidator::State TokenAmountSpinBox::validate |
( |
QString & |
text, |
|
|
int & |
pos |
|
) |
| const |
|
inline |
| int256_t TokenAmountSpinBox::value |
( |
bool * |
valid_out = 0 | ) |
const |
|
inline |
| void TokenAmountSpinBox::valueChanged |
( |
| ) |
|
|
signal |
| int TokenAmountSpinBox::decimalUnits |
|
private |
| int256_t TokenAmountSpinBox::minAmount |
|
private |
| int256_t TokenAmountSpinBox::singleStep |
|
private |
| int256_t TokenAmountSpinBox::totalSupply |
|
private |
The documentation for this class was generated from the following file: