}
else if(mouseEvent->buttons() & Qt::RightButton)
{
qDebug("The Right Button Event!");
//clickNum++;
//again();
timeId = startTimer(3000);
}
return true;
}
}
//其它部件产生的事件则交给基类处理
return QMainWindow::eventFilter(target, event);
}
作者:chenlong12580
作者:chenlong12580