ImageFrame Class Reference

Frame that draws an image when a paintevent is received. More...

#include <ImageFrame.hh>

Inherits QFrame.

Public Member Functions

 ImageFrame (QWidget *_parent)
 Constructor. More...
 
virtual ~ImageFrame ()
 Destructor. More...
 
void OnImage (const msgs::Image &_msg)
 Receives incoming image messages. More...
 

Protected Member Functions

void paintEvent (QPaintEvent *_event)
 Event used to paint the image. More...
 

Detailed Description

Frame that draws an image when a paintevent is received.

Constructor & Destructor Documentation

ImageFrame ( QWidget *  _parent)
explicit

Constructor.

Parameters
[in]_parentParent Qt widget
virtual ~ImageFrame ( )
virtual

Destructor.

Member Function Documentation

void OnImage ( const msgs::Image &  _msg)

Receives incoming image messages.

Parameters
[in]_msgNew image message.
void paintEvent ( QPaintEvent *  _event)
protected

Event used to paint the image.

Parameters
[in]_eventPointer to the event information.

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