Stacked Graphs
Geometry & Aesthetics
 All Classes Functions Variables Enumerations
Signals | Public Member Functions | Protected Member Functions | List of all members
ClickableLabel Class Reference

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.
 

Detailed Description

Class derived from QLabel which additionally fires the clicked-signal when mousePressEvent is detected.


The documentation for this class was generated from the following files: