Right clicking on applet on panel gets different events

2009-12-30 Thread Dong Tiger
Hi, The applet has a QWidget embedded through QGraphicsProxyWidget. When moved to a panel, the first several right clicking will trigger QGraphicsView::contextMenuEvent, which is expected. But after that, QGraphicsProxyWidget::mouseReleaseEvent will be triggered instead. Here is the backtraces fo

Re: Right clicking on applet on panel gets different events

2009-12-31 Thread Aaron J. Seigo
On December 30, 2009, Dong Tiger wrote: > Hi, > > The applet has a QWidget embedded through QGraphicsProxyWidget. When moved > to a panel, the first several right clicking will trigger > QGraphicsView::contextMenuEvent, which is expected. But > after that, QGraphicsProxyWidget::mouseReleaseEvent w