theshell/clickablelabel.cpp

13 lines
206 B
C++
Raw Normal View History

2016-03-17 19:46:40 +11:00
#include "clickablelabel.h"
ClickableLabel::ClickableLabel(QWidget* parent) :
QLabel(parent)
{
}
void ClickableLabel::mousePressEvent(QMouseEvent *event) {
emit clicked();
event->accept();
}