looqs/gui/clicklabel.cpp

12 行
228 B
C++
Raw 通常表示 履歴

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