[vtkusers] qvtkWidget as separate window

David Doria daviddoria at gmail.com
Tue Jan 31 08:48:44 EST 2012


On Tue, Jan 31, 2012 at 8:30 AM, Jon Agirre <jon.agirre at gmail.com> wrote:

> Hi Doug,
>
> thanks for your reply. I've been able to figure this out myself, according
> to Murphy's Law of Support Mailing Lists (Despite having spent two weeks on
> one problem, you only get to solve it right after asking for help in the
> appropriate mailing list).
>
> The solution seems to be to add the qvtkWidget to a separate QWidget,
> which acts as a window. There were two problems: 1) qvtkWidget's parent
> should be the widget I'm summoning to act as separate window. 2) In the
> QWidget's creator, the flags should be adjusted to something sensible, i.e.
> Qt::Dialog. I had them set as Qt::Window.
>
> Thanks!
>
> Jon
>

If you've done something that isn't demonstrated here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt

it would be great if you would add an example.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120131/2afe4878/attachment.htm>


More information about the vtkusers mailing list