aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinunits.cpp
Commit message (Collapse)AuthorAgeFilesLines
* qt: Remove unused functions from BitcoinUnitsWladimir J. van der Laan2014-07-231-22/+0
| | | | Remove two functions that are now unused.
* qt: Use fixed-point arithmetic in amount spinboxWladimir J. van der Laan2014-07-231-0/+7
| | | | | | | | | 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.
* Add comments re BitcoinUnits::formatWithUnit/formatHtmlWithUnitRoy Badami2014-07-071-0/+15
|
* Remove unused fAlign argument from BitcoinUnits::format and friendsRoy Badami2014-07-071-3/+4
|
* Merge remote-tracking branch 'upstream/master'Roy Badami2014-07-071-0/+21
|\ | | | | | | | | | | Conflicts: src/qt/overviewpage.cpp src/qt/transactiondesc.cpp
| * [Qt] Replace status bar unit icon with actual imagesCozz Lovan2014-07-051-0/+11
| |
| * [Qt] New status bar Unit Display Control and related changes.gubatron2014-06-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Show bitcoin quantities with full precision, even in the presence of ↵Roy Badami2014-07-071-8/+0
| | | | | | | | trailing zeros
* | Implement SI-style (thin space) thoudands separatorRoy Badami2014-05-171-6/+33
|/
* qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* Too many bitcoins allowed in amount. (#2401)vhf / victor felder2013-06-021-0/+11
| | | | | 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 ?
* Bugfix: Correct English grammar regarding "'s"Luke Dashjr2012-08-011-1/+1
|
* Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan2011-12-211-1/+0
| | | | This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
* Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr2011-12-201-0/+1
|
* also accept numbers without dot/decimals for parsing, fixes transaction ↵Wladimir J. van der Laan2011-07-271-7/+23
| | | | filter row
* refuse to format nor parse invalid unitsWladimir J. van der Laan2011-07-261-1/+18
|
* allow multiple units in bitcoin amount widget (for example, for sending) ↵Wladimir J. van der Laan2011-07-261-10/+62
| | | | using a combobox
* fix unit names (μBTC)Wladimir J. van der Laan2011-07-251-8/+8
|
* preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan2011-07-251-0/+96