#include <qmappainter.h>
Public Member Functions | |
template<typename Iterator > | |
void | drawPoints (const Iterator &begin, const Iterator &end, unsigned char r, unsigned char g, unsigned char b) |
QMapPainter (QWidget *parent=0, const char *name=0, WFlags f=0) | |
template<typename Cell > | |
void | setPixmap (unsigned int xsize, unsigned int ysize, Cell **values) |
void | start (int period) |
virtual | ~QMapPainter () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *paintevent) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | timerEvent (QTimerEvent *te) |
Protected Attributes | |
QPixmap * | m_pixmap |
int | timer |
Definition at line 11 of file qmappainter.h.
QMapPainter::QMapPainter | ( | QWidget * | parent = 0 , |
const char * | name = 0 , |
||
WFlags | f = 0 |
||
) |
Definition at line 4 of file qmappainter.cpp.
QMapPainter::~QMapPainter | ( | ) | [virtual] |
Definition at line 14 of file qmappainter.cpp.
void QMapPainter::drawPoints | ( | const Iterator & | begin, |
const Iterator & | end, | ||
unsigned char | r, | ||
unsigned char | g, | ||
unsigned char | b | ||
) |
Definition at line 50 of file qmappainter.h.
void QMapPainter::paintEvent | ( | QPaintEvent * | paintevent | ) | [protected, virtual] |
Reimplemented in QSLAMandNavWidget, and QNavigatorWidget.
Definition at line 29 of file qmappainter.cpp.
void QMapPainter::resizeEvent | ( | QResizeEvent * | sizeev | ) | [protected, virtual] |
Definition at line 10 of file qmappainter.cpp.
void QMapPainter::setPixmap | ( | unsigned int | xsize, |
unsigned int | ysize, | ||
Cell ** | values | ||
) |
Definition at line 30 of file qmappainter.h.
void QMapPainter::start | ( | int | period | ) |
Definition at line 24 of file qmappainter.cpp.
void QMapPainter::timerEvent | ( | QTimerEvent * | te | ) | [protected, virtual] |
Definition at line 19 of file qmappainter.cpp.
QPixmap* QMapPainter::m_pixmap [protected] |
Definition at line 26 of file qmappainter.h.
int QMapPainter::timer [protected] |
Definition at line 24 of file qmappainter.h.