I have a windows application where I instrumented connecting the mouse events in QVTkWidget to slots and noticed that <b>NONE</b> of the mouse <b>RELEASE</b> events<br>can be captured into a slot using vtkEventQtSlotConnect.<br>
<br> connections = vtkEventQtSlotConnect::New();<br><br> connections->Connect(interactorROI,<br> vtkCommand::EnterEvent,<br> this,<br> SLOT(handleMouseEnter()));<br>
<br> connections->Connect(interactorROI,<br> vtkCommand::LeaveEvent,<br> this,<br> SLOT(handleMouseLeave()));<br><br> connections->Connect(interactorROI,<br>
vtkCommand::LeftButtonPressEvent,<br> this,<br> SLOT(handleMouseLeftButtonPress()));<br><br> connections->Connect(interactorROI,<br> vtkCommand::LeftButtonReleaseEvent,<br>
this,<br> SLOT(handleMouseLeftButtonRelease()));<br><br> connections->Connect(interactorROI,<br> vtkCommand::MouseWheelForwardEvent,<br> this,<br>
SLOT(handleMouseWheelForward()));<br><br> connections->Connect(interactorROI,<br> vtkCommand::MouseWheelBackwardEvent,<br> this,<br> SLOT(handleMouseWheelBackward()));<br>
<br> connections->Connect(interactorROI,<br> vtkCommand::RightButtonPressEvent,<br> this,<br> SLOT(handleMouseRightButtonPress()));<br><br> connections->Connect(interactorROI,<br>
vtkCommand::RightButtonReleaseEvent,<br> this,<br> SLOT(handleMouseRightButtonRelease()));<br><br>All other mouse events work.<br><br> I noticed that a couple of other folks<br>
<br>Constantine Zakkaroff adn Tamaron : vtkEventQtSlotConnect skips vtkCommand::LeftButtonReleaseEvent?<br><br>Have also experienced this. This is a very basic functionality for me to use the QVTKWidget. I hope someone can suggest<br>
a solution or a workaround.<br clear="all"><br>-- <br><a style="font-family: comic sans ms,sans-serif;" href="http://www.linkedin.com/in/imranhkhan" target="_blank">Imran</a><br><br>