![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <trafficgraphwidget.h>
Public Slots | |
| void | updateRates () |
| void | setGraphRange (std::chrono::minutes new_range) |
| void | clear () |
Public Member Functions | |
| TrafficGraphWidget (QWidget *parent=nullptr) | |
| void | setClientModel (ClientModel *model) |
| std::chrono::minutes | getGraphRange () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *) override |
Private Member Functions | |
| void | paintPath (QPainterPath &path, QQueue< float > &samples) |
Private Attributes | |
| QTimer * | timer {nullptr} |
| float | fMax {0.0f} |
| std::chrono::minutes | m_range {0} |
| QQueue< float > | vSamplesIn |
| QQueue< float > | vSamplesOut |
| quint64 | nLastBytesIn {0} |
| quint64 | nLastBytesOut {0} |
| ClientModel * | clientModel {nullptr} |
Definition at line 20 of file trafficgraphwidget.h.
|
explicit |
|
slot |
| std::chrono::minutes TrafficGraphWidget::getGraphRange | ( | ) | const |
Definition at line 40 of file trafficgraphwidget.cpp.
|
overrideprotected |
|
private |
| void TrafficGraphWidget::setClientModel | ( | ClientModel * | model | ) |
|
slot |
|
slot |
|
private |
Definition at line 47 of file trafficgraphwidget.h.
|
private |
Definition at line 41 of file trafficgraphwidget.h.
|
private |
Definition at line 42 of file trafficgraphwidget.h.
|
private |
Definition at line 45 of file trafficgraphwidget.h.
|
private |
Definition at line 46 of file trafficgraphwidget.h.
|
private |
Definition at line 40 of file trafficgraphwidget.h.
|
private |
Definition at line 43 of file trafficgraphwidget.h.
|
private |
Definition at line 44 of file trafficgraphwidget.h.