![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include <trafficgraphwidget.h>
Inheritance diagram for TrafficGraphWidget:
Collaboration diagram for TrafficGraphWidget:Public Slots | |
| void | updateRates () |
| void | setGraphRangeMins (int mins) |
| void | clear () |
Public Member Functions | |
| TrafficGraphWidget (QWidget *parent=0) | |
| void | setClientModel (ClientModel *model) |
| int | getGraphRangeMins () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *) |
Private Member Functions | |
| void | paintPath (QPainterPath &path, QQueue< float > &samples) |
Private Attributes | |
| QTimer * | timer |
| float | fMax |
| int | nMins |
| QQueue< float > | vSamplesIn |
| QQueue< float > | vSamplesOut |
| quint64 | nLastBytesIn |
| quint64 | nLastBytesOut |
| ClientModel * | clientModel |
Definition at line 18 of file trafficgraphwidget.h.
|
explicit |
Definition at line 19 of file trafficgraphwidget.cpp.
References timer, and updateRates().
Here is the call graph for this function:
|
slot |
Definition at line 160 of file trafficgraphwidget.cpp.
References clientModel, fMax, ClientModel::getTotalBytesRecv(), ClientModel::getTotalBytesSent(), nLastBytesIn, nLastBytesOut, timer, vSamplesIn, and vSamplesOut.
Referenced by setGraphRangeMins().
Here is the call graph for this function:
Here is the caller graph for this function:| int TrafficGraphWidget::getGraphRangeMins | ( | ) | const |
Definition at line 43 of file trafficgraphwidget.cpp.
References nMins.
|
protected |
Definition at line 63 of file trafficgraphwidget.cpp.
References fMax, paintPath(), vSamplesIn, vSamplesOut, XMARGIN, and YMARGIN.
Here is the call graph for this function:
|
private |
Definition at line 48 of file trafficgraphwidget.cpp.
References DESIRED_SAMPLES, fMax, XMARGIN, and YMARGIN.
Referenced by paintEvent().
Here is the caller graph for this function:| void TrafficGraphWidget::setClientModel | ( | ClientModel * | model | ) |
Definition at line 34 of file trafficgraphwidget.cpp.
References clientModel, ClientModel::getTotalBytesRecv(), ClientModel::getTotalBytesSent(), nLastBytesIn, and nLastBytesOut.
Referenced by RPCConsole::setClientModel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 150 of file trafficgraphwidget.cpp.
References clear(), DESIRED_SAMPLES, nMins, and timer.
Referenced by RPCConsole::setTrafficGraphRange().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 119 of file trafficgraphwidget.cpp.
References clientModel, DESIRED_SAMPLES, fMax, ClientModel::getTotalBytesRecv(), ClientModel::getTotalBytesSent(), nLastBytesIn, nLastBytesOut, timer, vSamplesIn, and vSamplesOut.
Referenced by TrafficGraphWidget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 45 of file trafficgraphwidget.h.
Referenced by clear(), setClientModel(), and updateRates().
|
private |
Definition at line 39 of file trafficgraphwidget.h.
Referenced by clear(), paintEvent(), paintPath(), and updateRates().
|
private |
Definition at line 43 of file trafficgraphwidget.h.
Referenced by clear(), setClientModel(), and updateRates().
|
private |
Definition at line 44 of file trafficgraphwidget.h.
Referenced by clear(), setClientModel(), and updateRates().
|
private |
Definition at line 40 of file trafficgraphwidget.h.
Referenced by getGraphRangeMins(), and setGraphRangeMins().
|
private |
Definition at line 38 of file trafficgraphwidget.h.
Referenced by clear(), setGraphRangeMins(), TrafficGraphWidget(), and updateRates().
|
private |
Definition at line 41 of file trafficgraphwidget.h.
Referenced by clear(), paintEvent(), and updateRates().
|
private |
Definition at line 42 of file trafficgraphwidget.h.
Referenced by clear(), paintEvent(), and updateRates().
1.8.8