Bitcoin
|
Signals | |
void | valueChanged () |
Public Member Functions | |
AmountSpinBox (QWidget *parent) | |
QValidator::State | validate (QString &text, int &pos) const |
void | fixup (QString &input) const |
CAmount | value (bool *valid_out=nullptr) const |
void | setValue (const CAmount &value) |
void | SetAllowEmpty (bool allow) |
void | SetMinValue (const CAmount &value) |
void | SetMaxValue (const CAmount &value) |
void | stepBy (int steps) |
void | setDisplayUnit (int unit) |
void | setSingleStep (const CAmount &step) |
QSize | minimumSizeHint () const |
Protected Member Functions | |
bool | event (QEvent *event) |
StepEnabled | stepEnabled () const |
Private Member Functions | |
CAmount | parse (const QString &text, bool *valid_out=nullptr) const |
Private Attributes | |
int | currentUnit {BitcoinUnits::BTC} |
CAmount | singleStep {CAmount(100000)} |
QSize | cachedMinimumSizeHint |
bool | m_allow_empty {true} |
CAmount | m_min_amount {CAmount(0)} |
CAmount | m_max_amount {BitcoinUnits::maxMoney()} |
QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions.
|
inlineexplicit |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprivate |
Parse a string into a number of base monetary units and return validity.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
signal |
|
mutableprivate |
|
private |
|
private |
|
private |