mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Qt: Add GUI feedback and control of network activity state.
Add getNetworkActive()/setNetworkActive() method to client model. Send network active status through NotifyNetworkActiveChanged. Indicate in tool tip of gui status bar network indicator whether network activity is disabled. Indicate in debug window whether network activity is disabled and add button to allow user to toggle network activity state.
This commit is contained in:
committed by
Luke Dashjr
parent
e38993bb36
commit
32efa79e0e
@@ -85,6 +85,9 @@ public:
|
||||
/** Number of network connections changed. */
|
||||
boost::signals2::signal<void (int newNumConnections)> NotifyNumConnectionsChanged;
|
||||
|
||||
/** Network activity state changed. */
|
||||
boost::signals2::signal<void (bool networkActive)> NotifyNetworkActiveChanged;
|
||||
|
||||
/**
|
||||
* Status bar alerts changed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user