StatusPainter which lets us draw red/green circles for device status. More...
#include <kvh_status_painter.hpp>
Public Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
The custom paintEvent for our QWidget. More... | |
StatusPainter (QWidget *parent=0) | |
Initialize our Qt StatusPainter. More... | |
StatusPainter which lets us draw red/green circles for device status.
Definition at line 47 of file kvh_status_painter.hpp.
kvh::StatusPainter::StatusPainter | ( | QWidget * | parent = 0 | ) |
Initialize our Qt StatusPainter.
parent | [in] The QWidget to which this painter belongs. |
Definition at line 45 of file kvh_status_painter.cpp.
|
virtual |
The custom paintEvent for our QWidget.
event | [in] the paint event object we're executing |
This custom painter draws green circles if things are ok and red circles if things are bad.
Definition at line 59 of file kvh_status_painter.cpp.