6 #ifndef ANONCOINAMOUNTFIELD_H
7 #define ANONCOINAMOUNTFIELD_H
27 qint64
value(
bool *valid=0)
const;
73 #endif // ANONCOINAMOUNTFIELD_H
void setText(const QString &text)
void setDisplayUnit(int unit)
Change unit used to display amount.
void setValue(qint64 value)
void setValid(bool valid)
Mark current value as invalid in UI.
bool validate()
Perform input validation, mark field as invalid if entered value is not valid.
Widget for entering anoncoin amounts.
void unitChanged(int idx)
QWidget * setupTabChain(QWidget *prev)
Qt messes up the tab chain by default in some cases (issue https://bugreports.qt-project.org/browse/QTBUG-10907), in these cases we have to set it up manually.
void clear()
Make field empty and ready for new input.
bool eventFilter(QObject *object, QEvent *event)
Intercept focus-in event and ',' key presses.
void setSingleStep(qint64 step)
Set single step in satoshis.
void setReadOnly(bool fReadOnly)
Make read-only.
AnoncoinAmountField(QWidget *parent=0)