17 #ifndef _GAZEBO_GUI_VIEWERS_IMAGEFRAME_HH_
18 #define _GAZEBO_GUI_VIEWERS_IMAGEFRAME_HH_
29 class ImageFramePrivate;
45 public:
void OnImage(
const msgs::Image &_msg);
49 protected:
void paintEvent(QPaintEvent *_event);
52 private: std::unique_ptr<ImageFramePrivate> dataPtr;
Frame that draws an image when a paintevent is received.
Definition: ImageFrame.hh:32
ImageFrame(QWidget *_parent)
Constructor.
void paintEvent(QPaintEvent *_event)
Event used to paint the image.
void OnImage(const msgs::Image &_msg)
Receives incoming image messages.
virtual ~ImageFrame()
Destructor.