looqs/gui/clicklabel.cpp

12 líneas
228 B
C++
Original Vista normal Histórico

#include <QMouseEvent>
#include "clicklabel.h"
void ClickLabel::mousePressEvent(QMouseEvent *event)
{
if(event->button() == Qt::LeftButton)
{
emit leftClick();
}
return QLabel::mousePressEvent(event);
}