[Qt-interest] No mouse relase event
Zhongmiao Li
mars.leezm at gmail.com
Fri Dec 17 10:02:32 CET 2010
Hello everyone,
I display a widget inside another widget and I inherited its mouse event
handler
public void mouseMoveEvent(QMouseEvent e)
{
env.handleEvent(this, e);
}
public void mousePressEvent(QMouseEvent e)
{
env.handleEvent(this, e);
}
public void mouseReleaseEvent(QMouseEvent e)
{
env.handleEvent(this, e);
}
However, the mouseReleaseEvent is never trigged, while the other two is
working normally. So do you know what causes that problem? Thanks very much!
--
Best regards
Li Zhongmiao
Digital Media, College of Computer Science, Zhejiang University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101217/cc7ae2f3/attachment.html
More information about the Qt-interest-old
mailing list