#include <QtMainWindowWidget.h>
Public Member Functions | |
CQtImageWidget (CQtMainWindow *main_window, QWidget *pParent=0) | |
void | SetImage (const CByteImage *pImage) |
~CQtImageWidget () | |
Private Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
void | keyReleaseEvent (QKeyEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | mouseReleaseEvent (QMouseEvent *e) |
void | paintEvent (QPaintEvent *pPaintEvent) |
Private Attributes | |
int | m_mouse_current_x |
int | m_mouse_current_y |
bool | m_mouse_down |
int | m_mouse_start_x |
int | m_mouse_start_y |
int | m_nHeight |
int | m_nWidth |
unsigned char * | m_pBuffer |
Definition at line 69 of file QtMainWindowWidget.h.
CQtImageWidget::CQtImageWidget | ( | CQtMainWindow * | main_window, |
QWidget * | pParent = 0 |
||
) |
Definition at line 66 of file QtMainWindowWidget.cpp.
Definition at line 87 of file QtMainWindowWidget.cpp.
void CQtImageWidget::keyPressEvent | ( | QKeyEvent * | e | ) | [private] |
Definition at line 358 of file QtMainWindowWidget.cpp.
void CQtImageWidget::keyReleaseEvent | ( | QKeyEvent * | e | ) | [private] |
Definition at line 374 of file QtMainWindowWidget.cpp.
void CQtImageWidget::mouseMoveEvent | ( | QMouseEvent * | e | ) | [private] |
Definition at line 291 of file QtMainWindowWidget.cpp.
void CQtImageWidget::mousePressEvent | ( | QMouseEvent * | e | ) | [private] |
Definition at line 187 of file QtMainWindowWidget.cpp.
void CQtImageWidget::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [private] |
Definition at line 226 of file QtMainWindowWidget.cpp.
void CQtImageWidget::paintEvent | ( | QPaintEvent * | pPaintEvent | ) | [private] |
Definition at line 146 of file QtMainWindowWidget.cpp.
void CQtImageWidget::SetImage | ( | const CByteImage * | pImage | ) |
Definition at line 93 of file QtMainWindowWidget.cpp.
int CQtImageWidget::m_mouse_current_x [private] |
Definition at line 91 of file QtMainWindowWidget.h.
int CQtImageWidget::m_mouse_current_y [private] |
Definition at line 92 of file QtMainWindowWidget.h.
bool CQtImageWidget::m_mouse_down [private] |
Definition at line 88 of file QtMainWindowWidget.h.
int CQtImageWidget::m_mouse_start_x [private] |
Definition at line 89 of file QtMainWindowWidget.h.
int CQtImageWidget::m_mouse_start_y [private] |
Definition at line 90 of file QtMainWindowWidget.h.
int CQtImageWidget::m_nHeight [private] |
Definition at line 85 of file QtMainWindowWidget.h.
int CQtImageWidget::m_nWidth [private] |
Definition at line 84 of file QtMainWindowWidget.h.
unsigned char* CQtImageWidget::m_pBuffer [private] |
Definition at line 86 of file QtMainWindowWidget.h.