Commit Graph

23 Commits

Author SHA1 Message Date
Neil Booth 7b40b63a3d Refresh all amount edits when units change.
Improved version of prior commit.
2015-11-09 20:06:36 +09:00
Neil Booth 34ce6d1821 Updates for exchange_rate plugin
Have AmountEdit return an int if is_int, otherwise a Decimal
Set the tray tooltip unconditionally.
More verbose logging for exchage_rate plugin.
Get rate_float from Coindesk as rate can have commas.
Plugin tracks windows itself, and doesn't create its own
members in the window objects.
Clean up the edit handling.
2015-09-06 13:42:40 +09:00
ThomasV 43880d452e dynamic fees 2015-08-05 15:45:28 +02:00
Neil Booth aa6de86c27 Once a user inputs a fee, retain it.
It has long been a minor annoyance that this isn't the
default behaviour.  Semantics are as follows:

- Fees are calculated automatically, as usual, and shown
  in black
- If the user inputs a fee, it is retained, and shown in
  blue to indicate it is user-overridden
- The user can switch back to automatic fee calculation mode
  in two ways: press Clear, or blank out the fee field
- User fees are also cleared by do_clear(), for instance when
  the payment is sent

I have checked all usage combinations I could think of, including
the ! case, and all work in a sensible and natural fashion.

This also fixes issue #995.
2015-07-03 20:14:12 +09:00
Neil Booth e5d243e08c Fix nasty bug in amount editors
str() can convert amounts to scientific notation
2015-05-27 17:14:40 +09:00
Neil Booth ec953c7f30 Expand default BTC / fiat amount width. Seems to suffice for expected usage. 2015-04-29 21:41:27 +09:00
Tafelpoot d9c5250a6f removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
ThomasV 67b9a59d34 better fees estimates 2014-09-07 20:36:29 +02:00
ThomasV 068609b4a6 AmountEdit:get_amount 2014-07-16 15:33:59 +02:00
slush0 a97a0629dd Added base unit 'bits'. 2014-06-30 16:40:11 +02:00
ThomasV f4dfec4565 define frozen signal for exchange rate plugin 2014-06-24 17:44:31 +02:00
ThomasV 4eeacde2b1 fix decimal point in AmountEdit 2014-06-16 18:38:28 +02:00
ThomasV af08e704d9 show list of requests in receive tab 2014-06-14 18:02:45 +02:00
ThomasV a2e39bac8e AmountEdit: use a separate palette for the help text 2014-06-11 18:52:55 +02:00
ThomasV 91b4019d2e sanitize get_amount 2014-06-11 18:17:27 +02:00
ThomasV 46c2de3979 separate AmountEdit and BTCAmountEdit classes, for exchange rate plugin 2014-06-11 14:44:26 +02:00
ThomasV 10e5ec56a1 setFrozen generic method 2014-06-05 14:49:32 +02:00
ThomasV 1cd3776e8f fix 2014-06-05 12:55:02 +02:00
ThomasV de46bcd515 fix 2014-06-05 12:46:18 +02:00
ThomasV ea9e0eb053 parse payto text 2014-06-05 12:43:11 +02:00
ThomasV c59f1b1edb handle units in AmountEdit 2014-06-05 12:40:07 +02:00
ThomasV d3f136d609 parse payto text 2014-06-04 14:49:55 +02:00
ThomasV 2c0814f0d3 simplify gui names 2013-09-24 10:06:03 +02:00