In paraview 3.8 you can use this in the python console:<br><div class="de1"><br>var = <span class="kw2">raw_input</span><span class="br0">(</span><span class="st0">"Enter something: "</span><span class="br0">)<br>
</span><span class="kw1">print</span> <span class="st0">"you entered "</span>, var<br><br>It's not as pretty as a QMessageBox, but it works. In fact, it would be trivial to change the c++ code to make a QMessageBox appear instead of a QLineEdit appear.<br>
<br>Pat<br></div><br><div class="gmail_quote">On Thu, May 6, 2010 at 11:32 AM, Christian Werner <span dir="ltr"><<a href="mailto:christian.werner@rwth-aachen.de">christian.werner@rwth-aachen.de</a>></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;">Hi!<br>
<br>
Is there a way to show the user some MessageBox? I'd like to get some user input to control a scripts execution. I am thinking about something like that: "Binary Measurement? Yes/No", or "Enter background value in the awesome text box below."<br>
<br>
Best regards,<br>
Christian<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>