aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinunits.h
Commit message (Collapse)AuthorAgeFilesLines
* qt: Remove unused functions from BitcoinUnitsWladimir J. van der Laan2014-07-231-4/+0
| | | | Remove two functions that are now unused.
* qt: Use fixed-point arithmetic in amount spinboxWladimir J. van der Laan2014-07-231-0/+3
| | | | | | | | | 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.
* Remove unused fAlign argument from BitcoinUnits::format and friendsRoy Badami2014-07-071-2/+2
|
* Merge remote-tracking branch 'upstream/master'Roy Badami2014-07-071-0/+4
|\ | | | | | | | | | | Conflicts: src/qt/overviewpage.cpp src/qt/transactiondesc.cpp
| * [Qt] Replace status bar unit icon with actual imagesCozz Lovan2014-07-051-0/+2
| |
| * [Qt] New status bar Unit Display Control and related changes.gubatron2014-06-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Implement SI-style (thin space) thoudands separatorRoy Badami2014-05-171-2/+51
|/
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-1/+1
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* 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/+2
| | | | | 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 ?
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-0/+3
| | | | | | | - try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
* Bugfix: Fix a variety of misspellingsLuke Dashjr2012-08-011-3/+3
|
* 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
|
* Improve documentation for UI classesWladimir J. van der Laan2011-11-131-19/+28
|
* QtUI code cleanup / comment improvementsWladimir J. van der Laan2011-08-081-1/+2
|
* refuse to format nor parse invalid unitsWladimir J. van der Laan2011-07-261-0/+2
|
* allow multiple units in bitcoin amount widget (for example, for sending) ↵Wladimir J. van der Laan2011-07-261-8/+28
| | | | using a combobox
* preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan2011-07-251-0/+34