[vtk-developers] Status of QVTKRenderWindowInteractor for PyQt4

clinton at elemtech.com clinton at elemtech.com
Tue May 8 12:18:50 EDT 2007


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