<div dir="ltr">Hi,<div><br></div><div>I've tried to include that line, but that method it's not available neither in QVTKWidget nor QVTKWidget2 (vtk version 6.2.0).</div><div><br></div><div>I'm gonna keep with the easiest solution, keep the widget in MainWindow :)</div><div><br></div><div>Thanks again.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-28 1:25 GMT+02:00 Siavash Khallaghi <span dir="ltr"><<a href="mailto:siavashk@ece.ubc.ca" target="_blank">siavashk@ece.ubc.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This seems to be a known issue for QVTKWidget and ImageViewer2. See the<br>
following:<br>
<br>
<a href="https://www.google.ca/search?q=QVTKInteractor+cannot+control+the+event+loop&ie=utf-8&oe=utf-8&gws_rd=cr&ei=BpvfVYq4NpLdoAS83YXwBQ#q=QVTKInteractor+cannot+control+the+event+loop+site:public.kitware.com" rel="noreferrer" target="_blank">https://www.google.ca/search?q=QVTKInteractor+cannot+control+the+event+loop&ie=utf-8&oe=utf-8&gws_rd=cr&ei=BpvfVYq4NpLdoAS83YXwBQ#q=QVTKInteractor+cannot+control+the+event+loop+site:public.kitware.com</a><br>
<br>
For the record, I am developing a Qt GUI with a QVTKWidget myself to display<br>
2D images. I did not run into the same problem as you, but then again, I<br>
wrote my interactor from scratch to solve some specific issues.<br>
<br>
Can you try adding the following line and see if it works. This is<br>
referenced in:<br>
<br>
<a href="http://public.kitware.com/pipermail/vtkusers/2010-August/061832.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipermail/vtkusers/2010-August/061832.html</a><br>
<br>
qvtkWidget->ProcessEventsOn();<br>
<br>
Siavash<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkImageViewer2-and-QVTKWidget-tp5733647p5733653.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/vtkImageViewer2-and-QVTKWidget-tp5733647p5733653.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>