1 #ifndef TOKENAMOUNTFIELD_H 2 #define TOKENAMOUNTFIELD_H 7 #include <boost/multiprecision/cpp_int.hpp> 18 Q_PROPERTY(int256_t value READ value WRITE setValue NOTIFY valueChanged USER
true)
22 int256_t value(
bool *value=0)
const;
23 void setValue(
const int256_t& value);
26 void setSingleStep(
const int256_t& step);
29 void setReadOnly(
bool fReadOnly);
32 void setValid(
bool valid);
40 void setEnabled(
bool fEnabled);
42 int256_t minimum()
const;
43 void setMinimum(
const int256_t&
min);
45 void setTotalSupply(
const int256_t &value);
46 void setDecimalUnits(
int value);
55 bool eventFilter(QObject *
object, QEvent *event);
63 #endif // TOKENAMOUNTFIELD_H QSpinBox that uses fixed-point numbers internally and uses our own formatting/parsing functions...
TokenAmountSpinBox * amount
Widget for entering token amounts.