aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinamountfield.h
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-02-02 04:12:30 +0100
committerCozz Lovan <cozzlovan@yahoo.com>2014-02-02 07:57:50 +0100
commitb920148258ac78d975ded66eebfa8c0c89de3b9b (patch)
tree194151f27cb88b2d68623085f3dc48267e57dbab /src/qt/bitcoinamountfield.h
parent15ec451554b5889a92651b9fe71bf01047ba9fc3 (diff)
[Qt] Improve single step in bitcoinamountfield
Diffstat (limited to 'src/qt/bitcoinamountfield.h')
-rw-r--r--src/qt/bitcoinamountfield.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.h b/src/qt/bitcoinamountfield.h
index d54f536b1f..521a9ed561 100644
--- a/src/qt/bitcoinamountfield.h
+++ b/src/qt/bitcoinamountfield.h
@@ -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;