[Qt] Improve single step in bitcoinamountfield
This commit is contained in:
@@ -26,6 +26,9 @@ public:
|
||||
qint64 value(bool *valid=0) const;
|
||||
void setValue(qint64 value);
|
||||
|
||||
/** Set single step in satoshis **/
|
||||
void setSingleStep(qint64 step);
|
||||
|
||||
/** Make read-only **/
|
||||
void setReadOnly(bool fReadOnly);
|
||||
|
||||
@@ -56,6 +59,7 @@ private:
|
||||
QDoubleSpinBox *amount;
|
||||
QValueComboBox *unit;
|
||||
int currentUnit;
|
||||
qint64 nSingleStep;
|
||||
|
||||
void setText(const QString &text);
|
||||
QString text() const;
|
||||
|
||||
Reference in New Issue
Block a user