Fabcoin Core  0.16.2
P2P Digital Currency
Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
TrafficGraphWidget Class Reference

#include <trafficgraphwidget.h>

Inheritance diagram for TrafficGraphWidget:
[legend]
Collaboration diagram for TrafficGraphWidget:
[legend]

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
 
ClientModelclientModel
 

Detailed Description

Definition at line 18 of file trafficgraphwidget.h.

Constructor & Destructor Documentation

TrafficGraphWidget::TrafficGraphWidget ( QWidget *  parent = 0)
explicit

Definition at line 19 of file trafficgraphwidget.cpp.

Here is the call graph for this function:

Member Function Documentation

void TrafficGraphWidget::clear ( )
slot

Definition at line 163 of file trafficgraphwidget.cpp.

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.

void TrafficGraphWidget::paintEvent ( QPaintEvent *  )
protected

Definition at line 64 of file trafficgraphwidget.cpp.

Here is the call graph for this function:

void TrafficGraphWidget::paintPath ( QPainterPath &  path,
QQueue< float > &  samples 
)
private

Definition at line 48 of file trafficgraphwidget.cpp.

Here is the caller graph for this function:

void TrafficGraphWidget::setClientModel ( ClientModel model)

Definition at line 34 of file trafficgraphwidget.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TrafficGraphWidget::setGraphRangeMins ( int  mins)
slot

Definition at line 153 of file trafficgraphwidget.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void TrafficGraphWidget::updateRates ( )
slot

Definition at line 122 of file trafficgraphwidget.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ClientModel* TrafficGraphWidget::clientModel
private

Definition at line 45 of file trafficgraphwidget.h.

float TrafficGraphWidget::fMax
private

Definition at line 39 of file trafficgraphwidget.h.

quint64 TrafficGraphWidget::nLastBytesIn
private

Definition at line 43 of file trafficgraphwidget.h.

quint64 TrafficGraphWidget::nLastBytesOut
private

Definition at line 44 of file trafficgraphwidget.h.

int TrafficGraphWidget::nMins
private

Definition at line 40 of file trafficgraphwidget.h.

QTimer* TrafficGraphWidget::timer
private

Definition at line 38 of file trafficgraphwidget.h.

QQueue<float> TrafficGraphWidget::vSamplesIn
private

Definition at line 41 of file trafficgraphwidget.h.

QQueue<float> TrafficGraphWidget::vSamplesOut
private

Definition at line 42 of file trafficgraphwidget.h.


The documentation for this class was generated from the following files: