aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinunits.cpp
AgeCommit message (Collapse)Author
2014-09-26Use a typedef for monetary valuesMark Friedenbach
2014-09-08qt: Remove thousands separators after decimal pointWladimir J. van der Laan
Revert thousands separators after decimal point, as introduced in #4167.
2014-07-23qt: Remove unused functions from BitcoinUnitsWladimir J. van der Laan
Remove two functions that are now unused.
2014-07-23qt: Use fixed-point arithmetic in amount spinboxWladimir J. van der Laan
Fixes various issues and cleans up code - Fixes issue #4500: Amount widget +/- has floating point rounding artifacts - Amount box can now be emptied again, without clearing to 0 Also aligns the amount to the right, as in other places.
2014-07-07Add comments re BitcoinUnits::formatWithUnit/formatHtmlWithUnitRoy Badami
2014-07-07Remove unused fAlign argument from BitcoinUnits::format and friendsRoy Badami
2014-07-07Merge remote-tracking branch 'upstream/master'Roy Badami
Conflicts: src/qt/overviewpage.cpp src/qt/transactiondesc.cpp
2014-07-07Show bitcoin quantities with full precision, even in the presence of ↵Roy Badami
trailing zeros
2014-07-05[Qt] Replace status bar unit icon with actual imagesCozz Lovan
2014-06-25[Qt] New status bar Unit Display Control and related changes.gubatron
- New status bar control shows the current Unit of Display. When clicked (left,or right button) it shows a context menu that allows the user to switch the current Unit of Display (BTC, mBTC, uBTC) - Recent Requests and Transaction Table headers are now updated when unit of display is changed, because their "Amount" column now displays the current unit of display. - Takes care of issue #3970 Units in transaction export csv file. - Small refactors for reusability. - Demo Video https://www.youtube.com/watch?v=wwcr0Yh68go&list=UUG3jF2hgofmLWP0tRPisQAQ - changes after Diapolo's feedback. Have not been able to build after last pool, issues with boost on MacOSX, will test on Ubuntu these changes. - removed return statement on switch - renamed onDisplayUnitsChanged(int) to updateDisplayUnit(int) - now getAmountColumnTitle(int unit) takes a simple unit parameter. moved to BitcoinUnits.
2014-05-17Implement SI-style (thin space) thoudands separatorRoy Badami
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-06-02Too many bitcoins allowed in amount. (#2401)vhf / victor felder
Using magic number doesn't seem right. Could we factor this out, together with https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrpc.cpp#L96 ? And what about BitcoinUnits::parse() as well ?
2012-08-01Bugfix: Correct English grammar regarding "'s"Luke Dashjr
2011-12-21Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
2011-12-20Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr
2011-07-27also accept numbers without dot/decimals for parsing, fixes transaction ↵Wladimir J. van der Laan
filter row
2011-07-26refuse to format nor parse invalid unitsWladimir J. van der Laan
2011-07-26allow multiple units in bitcoin amount widget (for example, for sending) ↵Wladimir J. van der Laan
using a combobox
2011-07-25fix unit names (μBTC)Wladimir J. van der Laan
2011-07-25preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan