[vtkusers] QVTKInteractor problem

Luis Roberto P. Paula luisrpp at gmail.com
Tue Feb 10 09:10:04 EST 2009


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.

On Tue, Feb 10, 2009 at 1:04 AM, Luis Roberto P. Paula <luisrpp at gmail.com>wrote:

> Hi All,
>
> 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?
>
> When the button is clicked, this action is performed:
>
>   MyWidget* widget = new   MyWidget();
>   widget->show();
>
> The new window appears, but to make the interactor to work, there should be
> a command like:
>
>   qApp->exec();
>
> but QT does not allow me to start a new GUI event loop.
>
> Does anybody can help me?
>
> Thanks,
> Luis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090210/467eaa84/attachment.htm>


More information about the vtkusers mailing list