haraldhv
/
aigo
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
aigo/qt/clickablelabel.h

22 lines
340 B
C
Raw Permalink Normal View History

#ifndef _CLICKABLELABEL_H_
#define _CLICKABLELABEL_H_
#include <QMouseEvent>
#include <QLabel>
class ClickableLabel : public QLabel
{
Q_OBJECT
public:
ClickableLabel(QWidget *parent = NULL);
virtual void mouseReleaseEvent(QMouseEvent *event);
signals:
void clicked( int x, int y );
};
#endif /* ifndef _CLICKABLELABEL_H_ */