aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
AgeCommit message (Collapse)Author
2012-05-23add client startup time as an entry to debug.log (note: logged time in ↵Philip Kaufmann
debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
2012-05-20Convert UI interface to boost::signals2.Wladimir J. van der Laan
- Signals now go directly from the core to WalletModel/ClientModel. - WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet. - Gets rid of noui.cpp, the few lines that were left are merged into init.cpp - Rename wxXXX message flags to MF_XXX, to make them UI indifferent. - ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
2012-05-20Fine-grained UI updatesWladimir J. van der Laan
Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed. This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart. The following notifications were added: - `NotifyBlocksChanged`: Block chain changed - `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed. - `NotifyAddressBookChanged`: Address book entry changed. - `NotifyTransactionChanged`: Wallet transaction added, removed or updated. - `NotifyNumConnectionsChanged`: Number of connections changed. - `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification. These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp). Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
2012-05-12add the client startup time to the debug window / rename Version label to ↵Philip Kaufmann
Client, which is better suiting now / add IBeamCursor for selectable text on the information page / make ">" sign on RPC page untranslatable / re-order XML-file tags to match real GUI element order
2012-05-05Add UI RPC console / debug windowWladimir J. van der Laan
2012-04-10Build identification stringsPieter Wuille
All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
2012-04-04qtui.h/noui.h interface cleanupWladimir J. van der Laan
- rename wxMessageBox, remove redundant arguments to noui/qtui calls - also, add flag to force blocking, modal dialog box for disk space warning etc - clarify function naming - no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
2012-04-04Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan
instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
2011-12-13Fix status bar not displaying Alerts.Matt Corallo
2011-11-13Improve documentation for UI classesWladimir J. van der Laan
2011-09-11clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' ↵Wladimir J. van der Laan
blocks as initial value for number of peer blocks
2011-09-11The synchronization progress bar now compares the amount of total blocks to ↵Janne Pulkkinen
amount of blocks downloaded at application start-up. Could be probably implemented better.
2011-08-08QtUI code cleanup / comment improvementsWladimir J. van der Laan
2011-07-29Remove no longer valid commentWladimir 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-17make initial block download reporting somewhat better by tracking version ↵Wladimir J. van der Laan
responses
2011-07-08Display a "freshness" indicator instead of nr of blocksWladimir J. van der Laan
2011-07-01General cleanupsWladimir J. van der Laan
2011-06-30Make it very clear when on testnet (green icon, add [testnet] to title)Wladimir J. van der Laan
2011-06-30Split off WalletModel from ClientModel, to be able to support multi-wallets ↵Wladimir J. van der Laan
in future
2011-06-26update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan
2011-06-25allow adding address to address book in send dialogWladimir J. van der Laan
2011-06-21Allow changing default address (fixes issue #6)Wladimir J. van der Laan
2011-06-18On initial block chain download, show a progress barWladimir J. van der Laan
2011-06-18Prevent notification balloon-spam on initial block download, ↵Wladimir J. van der Laan
const-correctness in client model
2011-06-11move back to original directory structureWladimir J. van der Laan