Class derived from QLabel which additionally fires the clicked-signal when mousePressEvent is detected. More...
#include <clickablelabel.h>
Signals | |
void | clicked () |
Fired when mousePressEvent is detected. | |
Public Member Functions | |
ClickableLabel (QWidget *parent=0) | |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
Is called when a mouse button is pressed while the cursor is inside the label. | |
Class derived from QLabel which additionally fires the clicked-signal when mousePressEvent is detected.