QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
More...
|
| CAmount | parse (const QString &text, bool *valid_out=nullptr) 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 21 of file bitcoinamountfield.cpp.
| AmountSpinBox::AmountSpinBox |
( |
QWidget * |
parent | ) |
|
|
inlineexplicit |
| bool AmountSpinBox::event |
( |
QEvent * |
event | ) |
|
|
inlineoverrideprotected |
| void AmountSpinBox::fixup |
( |
QString & |
input | ) |
const |
|
inlineoverride |
| QSize AmountSpinBox::minimumSizeHint |
( |
| ) |
const |
|
inlineoverride |
| CAmount AmountSpinBox::parse |
( |
const QString & |
text, |
|
|
bool * |
valid_out = nullptr |
|
) |
| const |
|
inlineprivate |
Parse a string into a number of base monetary units and return validity.
- Note
- Must return 0 if !valid.
Definition at line 163 of file bitcoinamountfield.cpp.
| void AmountSpinBox::SetAllowEmpty |
( |
bool |
allow | ) |
|
|
inline |
| void AmountSpinBox::setDisplayUnit |
( |
int |
unit | ) |
|
|
inline |
| void AmountSpinBox::SetMaxValue |
( |
const CAmount & |
value | ) |
|
|
inline |
| void AmountSpinBox::SetMinValue |
( |
const CAmount & |
value | ) |
|
|
inline |
| void AmountSpinBox::setSingleStep |
( |
const CAmount & |
step | ) |
|
|
inline |
| void AmountSpinBox::setValue |
( |
const CAmount & |
value | ) |
|
|
inline |
| void AmountSpinBox::stepBy |
( |
int |
steps | ) |
|
|
inlineoverride |
| StepEnabled AmountSpinBox::stepEnabled |
( |
| ) |
const |
|
inlineoverrideprotected |
| CAmount AmountSpinBox::value |
( |
bool * |
valid_out = nullptr | ) |
const |
|
inline |
| void AmountSpinBox::valueChanged |
( |
| ) |
|
|
signal |
| QSize AmountSpinBox::cachedMinimumSizeHint |
|
mutableprivate |
| bool AmountSpinBox::m_allow_empty {true} |
|
private |
The documentation for this class was generated from the following file: