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 23 of file ravenamountfield.cpp.
◆ AmountSpinBox()
AmountSpinBox::AmountSpinBox |
( |
QWidget * |
parent | ) |
|
|
inlineexplicit |
◆ event()
bool AmountSpinBox::event |
( |
QEvent * |
event | ) |
|
|
inlineprotected |
◆ fixup()
void AmountSpinBox::fixup |
( |
QString & |
input | ) |
const |
|
inline |
◆ minimumSizeHint()
QSize AmountSpinBox::minimumSizeHint |
( |
| ) |
const |
|
inline |
◆ parse()
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 158 of file ravenamountfield.cpp.
◆ setAssetUnit()
void AmountSpinBox::setAssetUnit |
( |
int |
unit | ) |
|
|
inline |
◆ setDisplayUnit()
void AmountSpinBox::setDisplayUnit |
( |
int |
unit | ) |
|
|
inline |
◆ setSingleStep()
void AmountSpinBox::setSingleStep |
( |
const CAmount & |
step | ) |
|
|
inline |
◆ setValue()
void AmountSpinBox::setValue |
( |
const CAmount & |
value | ) |
|
|
inline |
◆ stepBy()
void AmountSpinBox::stepBy |
( |
int |
steps | ) |
|
|
inline |
◆ stepEnabled()
StepEnabled AmountSpinBox::stepEnabled |
( |
| ) |
const |
|
inlineprotected |
◆ validate()
QValidator::State AmountSpinBox::validate |
( |
QString & |
text, |
|
|
int & |
pos |
|
) |
| const |
|
inline |
◆ value()
CAmount AmountSpinBox::value |
( |
bool * |
valid_out = 0 | ) |
const |
|
inline |
◆ valueChanged
void AmountSpinBox::valueChanged |
( |
| ) |
|
|
signal |
◆ assetUnit
int AmountSpinBox::assetUnit |
|
private |
◆ cachedMinimumSizeHint
QSize AmountSpinBox::cachedMinimumSizeHint |
|
mutableprivate |
◆ currentUnit
int AmountSpinBox::currentUnit |
|
private |
◆ singleStep
The documentation for this class was generated from the following file: