Frame that draws an image when a paintevent is received.
More...
#include <ImageFrame.hh>
Inherits QFrame.
|
| ImageFrame (QWidget *_parent) |
| Constructor.
|
|
virtual | ~ImageFrame () |
| Destructor.
|
|
void | OnImage (const msgs::Image &_msg) |
| Receives incoming image messages.
|
|
|
void | paintEvent (QPaintEvent *_event) |
| Event used to paint the image.
|
|
Frame that draws an image when a paintevent is received.
◆ ImageFrame()
Constructor.
- Parameters
-
[in] | _parent | Parent Qt widget |
◆ ~ImageFrame()
◆ OnImage()
void OnImage |
( |
const msgs::Image & | _msg | ) |
|
Receives incoming image messages.
- Parameters
-
[in] | _msg | New image message. |
◆ paintEvent()
void paintEvent |
( |
QPaintEvent * | _event | ) |
|
|
protected |
Event used to paint the image.
- Parameters
-
[in] | _event | Pointer to the event information. |
The documentation for this class was generated from the following file: