diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2018-10-30 14:02:08 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2018-10-30 14:58:25 +0200 |
commit | 8711cc0c78fb15e49c6ab477a5d922fc51627873 (patch) | |
tree | f2485d717386c9fa70b8d1574b2b0848c0d04d2c /src/qt/signverifymessagedialog.cpp | |
parent | 29f429dc7d4c7e6cd012e749cadf89e3138bcab3 (diff) |
qt: Improve BitcoinAmountField class
This adds functions for specifing a min/max value for a
BitcoinAmountField. These options only affect user input, so it's still
possible to use setValue to set values outside of the min/max range. The
existing value will not be changed when calling these functions even if
it's out of range. The min/max range will be reinforced when the field
loses focus.
This also adds `SetAllowEmpty` function which specifies if the field is
allowed to be left empty by the user. If set to false the field will be
set to the minimum allowed value if it's empty when focus is lost.
Diffstat (limited to 'src/qt/signverifymessagedialog.cpp')
0 files changed, 0 insertions, 0 deletions