QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
More...
QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
Definition at line 22 of file bitcoinamountfield.cpp.
◆ AmountSpinBox()
AmountSpinBox::AmountSpinBox |
( |
QWidget * |
parent | ) |
|
|
inlineexplicit |
◆ event()
◆ fixup()
◆ minimumSizeHint()
QSize AmountSpinBox::minimumSizeHint |
( |
| ) |
const |
|
inlineoverride |
◆ parse()
Parse a string into a number of base monetary units and return validity.
- Note
- Must return 0 if !valid.
Definition at line 160 of file bitcoinamountfield.cpp.
◆ SetAllowEmpty()
void AmountSpinBox::SetAllowEmpty |
( |
bool |
allow | ) |
|
|
inline |
◆ setDisplayUnit()
void AmountSpinBox::setDisplayUnit |
( |
int |
unit | ) |
|
|
inline |
◆ SetMaxValue()
void AmountSpinBox::SetMaxValue |
( |
const Amount & |
value | ) |
|
|
inline |
◆ SetMinValue()
void AmountSpinBox::SetMinValue |
( |
const Amount & |
value | ) |
|
|
inline |
◆ setSingleStep()
void AmountSpinBox::setSingleStep |
( |
const Amount |
step | ) |
|
|
inline |
◆ setValue()
void AmountSpinBox::setValue |
( |
const Amount |
value | ) |
|
|
inline |
◆ stepBy()
void AmountSpinBox::stepBy |
( |
int |
steps | ) |
|
|
inlineoverride |
◆ stepEnabled()
◆ validate()
QValidator::State AmountSpinBox::validate |
( |
QString & |
text, |
|
|
int & |
pos |
|
) |
| const |
|
inlineoverride |
◆ value()
◆ valueChanged
void AmountSpinBox::valueChanged |
( |
| ) |
|
|
signal |
◆ cachedMinimumSizeHint
QSize AmountSpinBox::cachedMinimumSizeHint |
|
mutableprivate |
◆ currentUnit
◆ m_allow_empty
bool AmountSpinBox::m_allow_empty {true} |
|
private |
◆ m_max_amount
◆ m_min_amount
◆ singleStep
The documentation for this class was generated from the following file: