You can use python's raw_input() function to get user input. 
Paraview's raw_input support is meant to mimic command line programs,
so it expects that the python shell is open and places the text input
box at the cursor.<br>
<br>If you want to use PyQt4, see <a href="http://paraview.markmail.org/message/6h767kpak5dcoqwt" target="_blank">http://paraview.markmail.org/message/6h767kpak5dcoqwt</a><br><font color="#888888"><br>Pat<br></font><br><div class="gmail_quote">
On Tue, May 25, 2010 at 6:57 PM,  <span dir="ltr">&lt;<a href="mailto:m.c.wilkins@massey.ac.nz">m.c.wilkins@massey.ac.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
I am writing a plugin in the python shell.  I can get source info with<br>
ActiveSource, or FindSource, but I need to be able to get some info<br>
from the user.  Is there a way to popup a dialog box?  I know I could<br>
just import Qt myself and do it, but I am guessing paraview already has<br>
an active Qt mainloop somewhere, and starting another wouldn&#39;t be<br>
smart.<br>
<br>
Any help would be much appreciated please<br>
<br>
Thank you<br>
<br>
Matt Wilkins<br>
<br>
<br>
<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>
</blockquote></div><br>