Widget able to display the content of image messages. More...
#include <ImageMessagesDisplay.h>
Public Slots | |
void | changePollInterval (int interval) |
void | grabImage () |
Request an image of the selected type. | |
void | saveImage () |
void | setSourceId (ImageSources::SourceId sourceId) |
void | togglePoll (int checkState) |
Public Member Functions | |
ImageMessagesDisplay (QWidget *parent=0, ImageSources::SourceId sourceId=ImageSources::None, bool showGrabButton=false, bool showSelector=true) | |
void | updateImage (const unsigned char *image, unsigned width, unsigned height) |
~ImageMessagesDisplay () | |
Public Attributes | |
GLImageWidget * | m_GlImageWidget |
Private Attributes | |
QSpinBox * | m_PollSpinBox |
QTimer * | m_PollTimer |
ImageSources::SourceId | m_SourceId |
QCheckBox * | m_YuvCheckBox |
Widget able to display the content of image messages.
Definition at line 33 of file ImageMessagesDisplay.h.
ImageMessagesDisplay::ImageMessagesDisplay | ( | QWidget * | parent = 0 , |
ImageSources::SourceId | sourceId = ImageSources::None , |
||
bool | showGrabButton = false , |
||
bool | showSelector = true |
||
) |
ImageMessagesDisplay::~ImageMessagesDisplay | ( | ) | [inline] |
Definition at line 42 of file ImageMessagesDisplay.h.
void ImageMessagesDisplay::changePollInterval | ( | int | interval | ) | [slot] |
void ImageMessagesDisplay::grabImage | ( | ) | [slot] |
Request an image of the selected type.
void ImageMessagesDisplay::saveImage | ( | ) | [slot] |
void ImageMessagesDisplay::setSourceId | ( | ImageSources::SourceId | sourceId | ) | [slot] |
void ImageMessagesDisplay::togglePoll | ( | int | checkState | ) | [slot] |
void ImageMessagesDisplay::updateImage | ( | const unsigned char * | image, |
unsigned | width, | ||
unsigned | height | ||
) |
Definition at line 63 of file ImageMessagesDisplay.h.
QSpinBox* ImageMessagesDisplay::m_PollSpinBox [private] |
Definition at line 69 of file ImageMessagesDisplay.h.
QTimer* ImageMessagesDisplay::m_PollTimer [private] |
Definition at line 70 of file ImageMessagesDisplay.h.
Definition at line 67 of file ImageMessagesDisplay.h.
QCheckBox* ImageMessagesDisplay::m_YuvCheckBox [private] |
Definition at line 72 of file ImageMessagesDisplay.h.