15 lines
247 B
C++
15 lines
247 B
C++
|
#include "clickablelabel.h"
|
||
|
|
||
|
ClickableLabel::ClickableLabel(QWidget *parent)
|
||
|
: QLabel(parent)
|
||
|
{
|
||
|
//do nothing
|
||
|
}
|
||
|
|
||
|
void ClickableLabel::mouseReleaseEvent(QMouseEvent *event)
|
||
|
{
|
||
|
emit clicked(event->x(), event->y());
|
||
|
}
|
||
|
|
||
|
#include "clickablelabel.moc"
|