Public Member Functions | List of all members
kvh::StatusPainter Class Reference

StatusPainter which lets us draw red/green circles for device status. More...

#include <kvh_status_painter.hpp>

Inheritance diagram for kvh::StatusPainter:
Inheritance graph
[legend]

Public Member Functions

virtual void paintEvent (QPaintEvent *event)
 The custom paintEvent for our QWidget. More...
 
 StatusPainter (QWidget *parent=0)
 Initialize our Qt StatusPainter. More...
 

Detailed Description

StatusPainter which lets us draw red/green circles for device status.

Definition at line 47 of file kvh_status_painter.hpp.

Constructor & Destructor Documentation

kvh::StatusPainter::StatusPainter ( QWidget *  parent = 0)

Initialize our Qt StatusPainter.

Parameters
parent[in] The QWidget to which this painter belongs.

Definition at line 45 of file kvh_status_painter.cpp.

Member Function Documentation

void kvh::StatusPainter::paintEvent ( QPaintEvent *  event)
virtual

The custom paintEvent for our QWidget.

Parameters
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.


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


kvh_geo_fog_3d_rviz
Author(s): Zach LaCelle
autogenerated on Fri Jan 24 2020 03:18:20