In paraview 3.8 you can use this in the python console:

var = raw_input("Enter something: ")
print "you entered ", var

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.

Pat

On Thu, May 6, 2010 at 11:32 AM, Christian Werner <
[email protected]> wrote:

> Hi!
>
> 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."
>
> Best regards,
> Christian
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to