aboutsummaryrefslogtreecommitdiff
path: root/src/qt/overviewpage.cpp
AgeCommit message (Collapse)Author
2013-11-10Cleanup code using forward declarations.Brandon Dahler
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.
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-06-07qt: Add total balance in overview pageWladimir J. van der Laan
2013-04-14overviewpage: make some code Qt5 compatiblePhilip Kaufmann
- that changes will be fine for Qt4 also
2013-03-31qt: remove transaction count from overview pageWladimir J. van der Laan
It was needlessly confusing people, as it doesn't necessarily match the number of transactions in the transaction list.
2012-10-25Show warning when using prerelease versionWladimir J. van der Laan
Implements #1948 - Add macro `CLIENT_VERSION_IS_RELEASE` to clientversion.h - When running a prerelease (the above macro is `false`): - In UI, show an orange warning bar at the top. This will be used for other warnings (and alerts) as well, instead of the status bar. - For `bitcoind`, show the warning in the "errors" field in `getinfo` response.
2012-06-17add the slot updateDisplayUnit() to overviewpage, sendcoinsdialog, ↵Philip Kaufmann
sendcoinsentry and connect it to displayUnitChanged() - this ensures all fields in the GUI, who use a display unit are imediately updated, when the user changes this setting in the optionsdialog / ensure used fields init with the current set display unit
2012-05-25Added 'immature balance' for miners. Only displayed if the balance is ↵sje397
greater than zero. This adds a field labelled 'Immature' in the overview section under the 'unconfirmed' field, which shows mined income that has not yet matured (which is currently not displayed anywhere, even though the transactions exist in the transaction list). To do that I added a 'GetImmatureBalance' method to the wallet, and connected that through to the GUI as per the 'GetBalance' and 'GetUnconfirmedBalance' methods. I did a small 'no-op' change to make the code in adjacent functions a little more readable (imo); it was a change I had made in my repo earlier...but I thought it wouldn't hurt so left it in. Immature balance comes from mined income that is at least two blocks deep in the chain (same logic as displayed transactions). My reasoning is: - as a miner, it's a critical stat I want to see - as a miner, and taking into account the label 'immature', the uncertainty is pretty clearly implied - those numbers are already displayed in the transaction list - this makes the overview numbers add up to what's in the transaction list - it's not displayed if the immature balance is 0, so won't bother non-miners I also 'cleaned' the overview UI a little, moving code to the XML and removing HTML.
2012-05-18Restore overviewpage (put transactions back within frame)Wladimir J. van der Laan
- Also, change "(out of sync)" to only red, instead of red and bold, which a bit more subtle - Move label stylesheets to xml
2012-05-17add 2 labels to the overviewpage that display Wallet and Transaction status ↵Philip Kaufmann
(obsolete or current) / cleanup overviewpage XML ui-file
2012-05-12When a transaction is clicked on overview page, focus it on history pageWladimir J. van der Laan
2012-05-06move many overviewpage settings from code to ui XML-file / removed ability ↵Philip Kaufmann
to translate "0 BTC" and "123.456 BTC" as this is only used as preview in the Qt Designer anyway / set mouse cursor to IBeam for selectable labels
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-11-21Bugfix: only make QListView transparent, not its tooltipsLuke Dashjr
2011-11-08Add robustness against null modelsWladimir J. van der Laan
2011-10-09Improved Mac experience; QDoubleSpinBox for BitcoinAmountFieldp2k
Now it can't be told if this is was a Windows App before. All Mac design principles are fulfilled and some cosmetics have been applied to suit the native look and feel. The biggest change there is the proper use of the Dock icon which takes the role of the Tray icon on Mac. The QDoubleSpinBox improves entering of Bitcoin amounts, no two separate fields are required anymore. All functionality and validation effects have been retained; pressing the comma key will be internally translated to a period to keep it consistent throughout the application and eases entering in countries which use the comma as decimal separator. Additionally, Notificator now supports Growl, Mac's native notification system. This is provided via Apple Script in order to avoid linking to Growl on compile time. Other changes involve encapsulation of Toolbar and Menubar creation, loading of Qt's own translation and some clean up.
2011-09-19put Q_OBJECT everywhere it should be (removes warnings when running lupdate)Wladimir J. van der Laan
2011-08-08QtUI code cleanup / comment improvementsWladimir J. van der Laan
2011-08-07don't include <QDebug>Wladimir J. van der Laan
2011-08-04when clicking a transaction on the overview page, send the user to the ↵Wladimir J. van der Laan
transactions page
2011-08-03fix drawing on gtkWladimir J. van der Laan
2011-08-03unconfirmed amount = greyWladimir J. van der Laan
2011-08-03show last few transactions on overview pageWladimir J. van der Laan
2011-07-29Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan
(used when displaying amounts)
2011-07-25preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan
2011-07-14solve warnings at startupWladimir J. van der Laan
2011-07-11Show unconfirmed balance on overview pageWladimir J. van der Laan
2011-07-07Rename "History" tab to more logical "Transactions", move "Number of ↵Wladimir J. van der Laan
transactions" from status bar to overview page
2011-07-05tab reorg phase 1: split main gui into "overview" and "history"Wladimir J. van der Laan