#include <qgraphpainter.h>
Public Slots | |
void | clear () |
void | disableYReference () |
bool | getAutoscale () const |
void | setAutoscale (bool a) |
void | setRange (double min, double max) |
void | setTitle (const char *title) |
void | setYReference (double y) |
void | start (int period) |
void | valueAdded (double) |
void | valueAdded (double, double, double) |
Public Member Functions | |
QGraphPainter (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0) | |
virtual | ~QGraphPainter () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *paintevent) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | timerEvent (QTimerEvent *te) |
Protected Attributes | |
bool | autoscale |
QPixmap * | m_pixmap |
bool | m_useYReference |
double | max |
double | min |
double | reference |
int | timer |
QString | title |
DoubleDeque | values |
Definition at line 37 of file qgraphpainter.h.
QGraphPainter::QGraphPainter | ( | QWidget * | parent = 0 , |
const char * | name = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 29 of file qgraphpainter.cpp.
QGraphPainter::~QGraphPainter | ( | ) | [virtual] |
Definition at line 41 of file qgraphpainter.cpp.
void QGraphPainter::clear | ( | ) | [slot] |
Definition at line 45 of file qgraphpainter.cpp.
void QGraphPainter::disableYReference | ( | ) | [slot] |
Definition at line 63 of file qgraphpainter.cpp.
bool QGraphPainter::getAutoscale | ( | ) | const [slot] |
Definition at line 81 of file qgraphpainter.cpp.
void QGraphPainter::paintEvent | ( | QPaintEvent * | paintevent | ) | [protected, virtual] |
Definition at line 96 of file qgraphpainter.cpp.
void QGraphPainter::resizeEvent | ( | QResizeEvent * | sizeev | ) | [protected, virtual] |
Definition at line 37 of file qgraphpainter.cpp.
void QGraphPainter::setAutoscale | ( | bool | a | ) | [slot] |
Definition at line 77 of file qgraphpainter.cpp.
void QGraphPainter::setRange | ( | double | min, |
double | max | ||
) | [slot] |
Definition at line 72 of file qgraphpainter.cpp.
void QGraphPainter::setTitle | ( | const char * | title | ) | [slot] |
Definition at line 68 of file qgraphpainter.cpp.
void QGraphPainter::setYReference | ( | double | y | ) | [slot] |
Definition at line 58 of file qgraphpainter.cpp.
void QGraphPainter::start | ( | int | period | ) | [slot] |
Definition at line 90 of file qgraphpainter.cpp.
void QGraphPainter::timerEvent | ( | QTimerEvent * | te | ) | [protected, virtual] |
Definition at line 85 of file qgraphpainter.cpp.
void QGraphPainter::valueAdded | ( | double | v | ) | [slot] |
Definition at line 49 of file qgraphpainter.cpp.
void QGraphPainter::valueAdded | ( | double | v, |
double | _min, | ||
double | _max | ||
) | [slot] |
Definition at line 53 of file qgraphpainter.cpp.
bool QGraphPainter::autoscale [protected] |
Definition at line 58 of file qgraphpainter.h.
QPixmap* QGraphPainter::m_pixmap [protected] |
Definition at line 62 of file qgraphpainter.h.
bool QGraphPainter::m_useYReference [protected] |
Definition at line 59 of file qgraphpainter.h.
double QGraphPainter::max [protected] |
Definition at line 56 of file qgraphpainter.h.
double QGraphPainter::min [protected] |
Definition at line 56 of file qgraphpainter.h.
double QGraphPainter::reference [protected] |
Definition at line 56 of file qgraphpainter.h.
int QGraphPainter::timer [protected] |
Definition at line 60 of file qgraphpainter.h.
QString QGraphPainter::title [protected] |
Definition at line 63 of file qgraphpainter.h.
DoubleDeque QGraphPainter::values [protected] |
Definition at line 57 of file qgraphpainter.h.