[Paraview] Python - Dialogs
Christian Werner
christian.werner at rwth-aachen.de
Fri May 7 08:20:31 EDT 2010
"In fact, it would be trivial to change the c++ code to make a
QMessageBox appear instead of a QLineEdit."
Are you saying that I should submit a feature request for that? A
QMessageBox would definitely be more helpful than the QLineEdit.
Best regards,
Christian
pat marion schrieb:
> 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
> <christian.werner at rwth-aachen.de
> <mailto:christian.werner at rwth-aachen.de>> 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 <http://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
>
>
More information about the ParaView
mailing list