#include <ClickableLabel.h>
Collaboration diagram for ClickableLabel:
Public Member Functions | |
ClickableLabel (QWidget *parent=NULL) | |
void | setClickHandler (ClickHandler *aHandler) |
Sets the handler for click events. | |
void | setMoveHandler (MoveHandler *aHandler) |
Sets the handler for mouse move events. | |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | mouseMoveEvent (QMouseEvent *e) |
Protected Attributes | |
ClickHandler * | handler |
MoveHandler * | moveHandler |
|
|
|
|
|
|
|
Sets the handler for click events. The previous handler will not get any further notifications. |
|
Sets the handler for mouse move events. The previous handler will not get any further notifications. |
|
|
|
|