diff options
| author | Philip Kaufmann <[email protected]> | 2014-06-04 12:06:18 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-08-04 15:46:18 +0200 |
| commit | a5b2d9c82e985fa8df4457072b4fa30781f1d53a (patch) | |
| tree | f8ede7b943a1769a989f146e1f72ce1d6c55e3ab /src/qt/guiutil.h | |
| parent | Merge pull request #4582 (diff) | |
| download | discoin-a5b2d9c82e985fa8df4457072b4fa30781f1d53a.tar.xz discoin-a5b2d9c82e985fa8df4457072b4fa30781f1d53a.zip | |
[Qt] tweak new peers tab in console window
- remove starting height as table header and replace with ping time
- remove columnResizingFixer
- add local address (if available) in detailed node view (on top of the
right view below the remote address)
- remove some .c_str() by using QString::fromStdString()
- rename Address to Address/Hostname
- rename secs to just s for ping time
- use MODEL_UPDATE_DELAY from guiconstants.h for the peer refresh time
- make PeerTableModel::columnCount() return no hard-coded value
- remove and cleanup dup private: section in RPCConsole header
- add new defaults for column sizes
- remove behaviour which keeps disconnected peers selected and also remove
code which keeps track of last selected peer stats
- add sync height to detail view
- add some additional NULL pointer checks for clientModel in
rpcconsole.cpp
Diffstat (limited to 'src/qt/guiutil.h')
| -rw-r--r-- | src/qt/guiutil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 45c78b4e1..dd31d051e 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -178,6 +178,9 @@ namespace GUIUtil /* Format CNodeStats.nServices bitmask into a user-readable string */ QString formatServicesStr(uint64_t mask); + + /* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/ + QString formatPingTime(double dPingTime); } // namespace GUIUtil #endif // GUIUTIL_H |