[vtk-developers] Status of QVTKRenderWindowInteractor for PyQt4

Brian Granger ellisonbg.net at gmail.com
Tue May 8 16:13:45 EDT 2007


I see Phil has also replied as well.  I have been using his patch on
OS X with the native aqua build of Qt 4 and PyQt and everything works
fine as far as I can tell.  I am not using X11 in any way, so maybe Qt
is smart enough to deal with the X11 specific calls.

I would probably agree with Phil that is would be great to commit this
patch and then deal with any bugs that come up in the future.

Cheers,

Brian

On 5/8/07, clinton at elemtech.com <clinton at elemtech.com> wrote:
>
> I gave a response to that patch when someone who might have applied the patch
> asked me about it.
>
> Among the issues I mentioned, a couple were:
> The non-portable use of WA_PaintOnScreen (supports X11 only), and using the
> X11 Visual Qt gives instead of the one VTK asks for.
>
> The impression I got by visual inspection was that the code only works on
> Linux.  Not on Windows, Mac, or other Unixes.
>
> Phil asked for a specific list of issues and I gave them to him.  That's the
> last I heard.
>
> I'm not sure it is possible to resolve all the issues I mentioned with python,
> but most of them probably could be.  Its my opinion that a python wrapper
> around the C++ QVTKWidget we already have would solve all the issues, but
> that would be a bit more work than what was done by Phil to make the original
> patch.
>
> I don't use this code, and if the users are happy with the patch, despite the
> limitations (most/all of which were there previously), then I have no problem
> with the patch being applied.
>
> Clint
>
> On Tuesday 08 May 2007 9:48:42 am Brian Granger wrote:
> > Hi,
> >
> > A while back (last Nov) Phil Thompson from Riverback send this list a
> > patch that ports the QVTKRenderWindowInteractor module to support
> > PyQt4:
> >
> > http://public.kitware.com/pipermail/vtk-developers/2006-November/004387.htm
> >l
> >
> > I have been using his patch recently to use PyQt4 with VTK and it is
> > working well so far.  I was disappointed to see that this patch has
> > never been applied to the VTK trunk.  What are the prospects of this
> > happening in the near future?
> >
> > Thanks
> >
> > Brian
> > _______________________________________________
> > vtk-developers mailing list
> > vtk-developers at vtk.org
> > http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



More information about the vtk-developers mailing list