void className::mousePressEvent(QMouseEvent *event) {
if(event->button() == Qt::LeftButton && ui->label->underMouse())
{ !    
if( 2 + 2 == 5)
qDebug("Mouse Press test");
}
}
 
void className::mouseReleaseEvent(QMouseEvent *event) {
if(event->button() == Qt::LeftButton && ui->label->underMouse())
{
if( 2 + 2 == 4 )
qDebug("Mouse Release test");
}
}






QLabel