QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
More...
|
CAmount | parse (const QString &text, bool *valid_out=0) const |
| Parse a string into a number of base monetary units and return validity. More...
|
|
QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
Definition at line 20 of file fabcoinamountfield.cpp.
AmountSpinBox::AmountSpinBox |
( |
QWidget * |
parent | ) |
|
|
inlineexplicit |
bool AmountSpinBox::event |
( |
QEvent * |
event | ) |
|
|
inlineprotected |
void AmountSpinBox::fixup |
( |
QString & |
input | ) |
const |
|
inline |
CAmount AmountSpinBox::minimum |
( |
| ) |
const |
|
inline |
QSize AmountSpinBox::minimumSizeHint |
( |
| ) |
const |
|
inline |
CAmount AmountSpinBox::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 153 of file fabcoinamountfield.cpp.
void AmountSpinBox::setDisplayUnit |
( |
int |
unit | ) |
|
|
inline |
void AmountSpinBox::setMinimum |
( |
const CAmount & |
min | ) |
|
|
inline |
void AmountSpinBox::setSingleStep |
( |
const CAmount & |
step | ) |
|
|
inline |
void AmountSpinBox::setValue |
( |
const CAmount & |
value | ) |
|
|
inline |
void AmountSpinBox::stepBy |
( |
int |
steps | ) |
|
|
inline |
StepEnabled AmountSpinBox::stepEnabled |
( |
| ) |
const |
|
inlineprotected |
QValidator::State AmountSpinBox::validate |
( |
QString & |
text, |
|
|
int & |
pos |
|
) |
| const |
|
inline |
CAmount AmountSpinBox::value |
( |
bool * |
valid_out = 0 | ) |
const |
|
inline |
void AmountSpinBox::valueChanged |
( |
| ) |
|
|
signal |
QSize AmountSpinBox::cachedMinimumSizeHint |
|
mutableprivate |
int AmountSpinBox::currentUnit |
|
private |
The documentation for this class was generated from the following file: