[vtkusers] QVTKInteractor problem

Luis Roberto P. Paula luisrpp at gmail.com
Mon Feb 9 22:04:16 EST 2009


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/c09eb3ef/attachment.htm>


More information about the vtkusers mailing list