Vidalia  0.3.1
Classes | Macros
GraphFrame.h File Reference
#include <QApplication>
#include <QDesktopWidget>
#include <QFrame>
#include <QPainter>
#include <QPen>
#include <QList>

Go to the source code of this file.

Classes

class  GraphFrame
 

Macros

#define HOR_SPC   2 /** Space between data points */
 
#define MIN_SCALE   10 /** 10 kB/s is the minimum scale */
 
#define SCROLL_STEP   4 /** Horizontal change on graph update */
 
#define BACK_COLOR   Qt::black
 
#define SCALE_COLOR   Qt::green
 
#define GRID_COLOR   Qt::darkGreen
 
#define RECV_COLOR   Qt::cyan
 
#define SEND_COLOR   Qt::yellow
 
#define FONT_SIZE   11
 

Macro Definition Documentation

§ BACK_COLOR

#define BACK_COLOR   Qt::black

Definition at line 30 of file GraphFrame.h.

Referenced by GraphFrame::paintEvent().

§ FONT_SIZE

#define FONT_SIZE   11

Definition at line 36 of file GraphFrame.h.

Referenced by GraphFrame::paintTotals().

§ GRID_COLOR

#define GRID_COLOR   Qt::darkGreen

Definition at line 32 of file GraphFrame.h.

Referenced by GraphFrame::paintScale().

§ HOR_SPC

#define HOR_SPC   2 /** Space between data points */

Definition at line 26 of file GraphFrame.h.

§ MIN_SCALE

#define MIN_SCALE   10 /** 10 kB/s is the minimum scale */

§ RECV_COLOR

#define RECV_COLOR   Qt::cyan

Definition at line 33 of file GraphFrame.h.

Referenced by GraphFrame::paintData(), and GraphFrame::paintTotals().

§ SCALE_COLOR

#define SCALE_COLOR   Qt::green

Definition at line 31 of file GraphFrame.h.

Referenced by GraphFrame::paintScale().

§ SCROLL_STEP

#define SCROLL_STEP   4 /** Horizontal change on graph update */

Definition at line 28 of file GraphFrame.h.

Referenced by GraphFrame::pointsFromData(), and GraphFrame::resizeEvent().

§ SEND_COLOR

#define SEND_COLOR   Qt::yellow

Definition at line 34 of file GraphFrame.h.

Referenced by GraphFrame::paintData(), and GraphFrame::paintTotals().