No, you can't embed the ParaView GUI inside a PyQt application in that manner. But, you could extend the ParaView GUI using PyQt if you generate SIP bindings fo the classes in the ParaView/Qt source directory. I'm not sure if that has ever been done before. You can embed objects from the ParaView ServerManager & VTK libraries, but not the ParaView GUI classes. The VTK source code contains PyQt4 examples.<br>
<br>Pat<br><br><div class="gmail_quote">On Wed, Nov 21, 2012 at 2:58 PM, Indrajit Jagtap <span dir="ltr"><<a href="mailto:indrajit.jagtap@tridiagonal.co.in" target="_blank">indrajit.jagtap@tridiagonal.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi,<br>
<br>
It will be great help and highly appreciated if someone can give
some inputs or pointers for queries mentioned in mail below.<br>
<br>
Regards,<br>
Indrajit<div><div class="h5"><br>
<br>
On 11/19/2012 2:24 PM, Indrajit Jagtap wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
Hi All,<br>
<br>
I have a query as mentioned below. I would like to know whether
this is feasible, if yes, can I get some sample code example. Any
inputs in this regard are highly appreciated.<br>
<br>
The requirement is as follows - <br>
<ol>
<li>There is a PyQT based application.</li>
<li>The Paraview window is embedded within the QT widget as
shown in attached image. Note - the attached image is just an
illustration, not from the actual app</li>
<ul>
<li>This is something similar to embedding activex control</li>
</ul>
<li>The user inputs are collected through user interface and STL
file is opened in Paraview viewer programmatically.</li>
<li>User can perform certain activities with STL file within
Paraview viewer that are supported by Paraview i.e. pan, zoom
etc.</li>
<li>The application can perform certain tasks programmatically
using Paraview functions - <br>
</li>
<ul>
<li>Set the location of STL file and the position of STL
object is updated in viewer</li>
<li>Query the position or transformation of objects displayed</li>
<li>Handle events generated by Paraview i.e. create slots for
signals from Paraview</li>
</ul>
<li>If user selects some objects in Paraview viewer, application
should be able to detect the selection and get the selection
list</li>
<li>In general, the activities that user can perform
interactively with Paraview, whether same can be done
programmatically via PyQT application that embeds Paraview?
Upto what extent?</li>
</ol>
<p><br>
Regards,<br>
</p>
Indrajit<br>
<br>
<br>
</blockquote>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">--
Thanks & Regards,
Indrajit Jagtap
Project Manager, Software Solutions
Tridiagonal Solutions Pvt.Ltd.
Plexus - 134/1,CTS No.1337/1,
3rd Floor,ITI Road,
Aundh, Pune – 411 007
Tel.No :- <a href="tel:%2B91%2020-41432000" value="+912041432000" target="_blank">+91 20-41432000</a>
Email :- <a href="mailto:indrajit.jagtap@tridiagonal.co.in" target="_blank">indrajit.jagtap@tridiagonal.co.in</a>
Website :- <a href="http://www.tridiagonal.co.in" target="_blank">http://www.tridiagonal.co.in</a></pre>
</font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>