Hi, tell me please is it bug or maybe I doing something wrong... ?
{
if(event->button() == Qt::LeftButton){
qDebug() << "left"; //not working
}else if (event->button() == Qt::RightButton){
qDebug() << "right"; //working
}
event->ignore();
}
void mousePressEvent(QMouseEvent * event)
{
if(event->button() == Qt::LeftButton){
qDebug() << "left"; //not working
}else if (event->button() == Qt::RightButton){
qDebug() << "right"; //working
}
event->ignore();
}
To copy to clipboard, switch view to plain text mode
Bookmarks