diff options
| author | Scott Ellis <[email protected]> | 2013-08-23 02:09:32 +1000 |
|---|---|---|
| committer | Scott Ellis <[email protected]> | 2013-10-14 19:02:03 +1100 |
| commit | ce14345a89dfa05992f8d2c7c9fe36315d4a67e6 (patch) | |
| tree | 997e08222a82558e8720fa0ce0ba82438f161664 /src/qt/rpcconsole.h | |
| parent | Merge pull request #2937 (diff) | |
| download | discoin-ce14345a89dfa05992f8d2c7c9fe36315d4a67e6.tar.xz discoin-ce14345a89dfa05992f8d2c7c9fe36315d4a67e6.zip | |
Add network traffic graph
Diffstat (limited to 'src/qt/rpcconsole.h')
| -rw-r--r-- | src/qt/rpcconsole.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 3c38b4b8d..af92b5577 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -37,6 +37,12 @@ private slots: void on_openDebugLogfileButton_clicked(); /** display messagebox with program parameters (same as bitcoin-qt --help) */ void on_showCLOptionsButton_clicked(); + /** change the time range of the network traffic graph */ + void on_sldGraphRange_valueChanged(int value); + /** update traffic statistics */ + void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut); + /** clear traffic graph */ + void on_btnClearTrafficGraph_clicked(); public slots: void clear(); @@ -55,6 +61,9 @@ signals: void cmdRequest(const QString &command); private: + static QString FormatBytes(quint64 bytes); + void setTrafficGraphRange(int mins); + Ui::RPCConsole *ui; ClientModel *clientModel; QStringList history; |