[Qt-interest] problem in QGraphicsWidget with grabMouse()

Chandru... sekarwagmare at gmail.com
Fri Aug 7 09:01:13 CEST 2009


hi friends,

i came across a problem in setting grabMouse() on QGraphicsWidget itemWidget

itemWidget is having a proxywidget added to it as child .. now in scene i
set itemWidget ->grabMouse() ..

after grabMouse() .. the entire mouseEvent shift to itemWidget ..
keypressEvent return true ..

but the proxyWidget .. its child is not getting the mouseClick .. i set

proxyWidget->setFocusPolicy(Qt::ClickFocus);

but same thing is happening .. how to shift the whole focus to the child ..
please help ...
-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090807/1452daf3/attachment.html 


More information about the Qt-interest-old mailing list