I have set the second window as a Dialog window and open it as modal. For some reason, the callback for this new window are not being observed.<br><br><div class="gmail_quote">On Tue, Feb 10, 2009 at 1:04 AM, Luis Roberto P. Paula <span dir="ltr">&lt;<a href="mailto:luisrpp@gmail.com">luisrpp@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>Since QVTKInteractor cannot control the event loop, how do I start a second window after the click of a button and make this new window to have its own event loop?<br>
<br>When the button is clicked, this action is performed:<br>
<br>&nbsp; MyWidget* widget = new &nbsp; MyWidget();<br>&nbsp; widget-&gt;show();<br><br>The new window appears, but to make the interactor to work, there should be a command like:<br><br>&nbsp; qApp-&gt;exec();<br><br>but QT does not allow me to start a new GUI event loop.<br>

<br>Does anybody can help me?<br><br>Thanks,<br><font color="#888888">Luis<br>
</font></blockquote></div><br>