Re: [Paraview] Python scripts with PyQt4

2010-04-21 Thread pat marion
PyQt can be made to work with paraview. Make sure paraview and pyqt use the same version of qt. It works for me using qt 4.6.2 compiled from source, and system pyqt (apt-get install python-qt4.) Don't create a QApplication or call exec_(), paraview already has an application event loop running.

Re: [Paraview] Python scripts with PyQt4

2010-04-17 Thread Berk Geveci
Hi Stefan, I am afraid what you are trying to do is not supported. I am saying not supported rather than impossible because someone smarter than me may be able to figure it out. We never envisioned it as a use case. I think you have two choices: use C++ to extend ParaView or use PyQt from

[Paraview] Python scripts with PyQt4

2010-04-09 Thread Stefan Kroboth
Hello! I've build a Gui in the QtDesigner and converted it into a *.py file using pyuic4. Then I wrote a small program which loads and shows this Window. This program works fine in Python 2.6 but fails in the ParaView python shell. Since I'm new to Qt I don't know where to look for help. Is it