aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinunits.cpp
AgeCommit message (Collapse)Author
2018-07-27Update copyright headers to 2018DrahtBot
2018-05-17[qt] Added satoshi unitGreatSock
"Satoshi (sat)" will be displayed in dropdowns and status bars. "sat" will be used when appended to numbers.
2018-05-17[qt] BitcoinUnits::format with zero decimalsGreatSock
Formatting with zero decimals will now result in 123 instead of 123.0
2018-01-03Merge #12035: [qt] change µBTC to bitsJonas Schnelli
ebcee1de2 bips: add bip176 (Bits Denomination) (William Casarin) 275b2eeed [qt] change µBTC to bits (William Casarin) Pull request description: Now that we have bip176, change "µBTC" to the more colloquial "bits" Tree-SHA512: eba5e5f89c392728a4f0a3bd81a9779a117b8d72a490390fd031d4e7cc56c2bfee0016aba7ef9535903e8cf2262ce46497283424e378906d0e3bf5b0d2d981c7
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-12-28[qt] change µBTC to bitsWilliam Casarin
* Now that we have bip176, change "µBTC" to the more colloquial "bits" * We retain the `µBTC (bits)` description in dropdowns and status bars. The more concise "bits" is used when appended to numbers. Signed-off-by: William Casarin <jb55@jb55.com>
2017-11-16scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider
-BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
Edited via: $ contrib/devtools/copyright_header.py update .
2016-01-05Merge pull request #7205Wladimir J. van der Laan
fa71669 [devtools] Use git pretty-format for year parsing (MarcoFalke) fa24439 Bump copyright headers to 2015 (MarcoFalke) fa6ad85 [devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
2015-12-26Replace some instances of formatWithUnit with formatHtmlWithUnitfanquake
Strings in a HTML context should be using formatHtmlWithUnit.
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-01-03Remove dead BitcoinUnits::id code and update assets-attribution for ↵Luke Dashjr
non-image unit selector
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-16Remove references to X11 licenceMichael Ford
2014-12-03MOVEONLY: core/ -> primitives/Luke Dashjr
2014-11-28Update the intent on SI-style separators.21E14
2014-10-27MOVEONLY: Separate CTransaction and dependencies from corejtimon
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