[Paraview] attach filebrowser to box in properties panel and does RequestData() block dialogs

FISSELL at pitt.edu FISSELL at pitt.edu
Mon Sep 19 15:38:29 EDT 2011


Hi,

Is there a way to attach a filebrowser to a textbox or dropdown list in
the properties panel in a custom filter via the XML spec ?

Since I didn't see the way to do that I added a pqFileDialog dialog() call
in my filter RequestData() method.  It came up ok but did not respond to
any mouse/keyboard input.  I tried moving the dialog() call to my filter
constructor, just to see if it worked there, and it worked fine.
Is mouse/keyboard interaction blocked during execute of RequestData() ?
For the server/parent parameters to dialog() I used
pqApplicationCore::instance()->getServerManagerModel()->getItemAtIndex<pqServer*>(0);
pqCoreUtilities::mainWidget()


(I know its gross to try to put a dialog() in RequestData(), but we at least
temporarily need a little junk file from the user, not worth writing a reader
for, would prefer to add filebrowser to properties panel if I can do that
easily).

thanks
kate




More information about the ParaView mailing list