[Paraview-developers] Folder Selector in ParaView
Aron Helser
aron.helser at kitware.com
Wed Jun 6 11:43:13 EDT 2018
I don't see anything next to FileListDomain in the code that looks
promising. You could always use a straight string, but that doesn't get you
the nice selector dialog.
On Tue, Jun 5, 2018 at 6:52 PM, rclaveria <rclaveria at dim.uchile.cl> wrote:
> Hello,
>
> I'm writing a filter for ParaView. I need to enable the user to select a
> folder through the filter's menu, ideally using the module pqFileDialog.
> For files, the following lines on the xml file of the filter suffice, but
> with this piece of code only files are admitted (not directories). Is there
> a way to set a menu that admits only directories?
>
> <StringVectorProperty animateable="0"
> command="SetOutputDir"
> name="OutputDir"
> number_of_elements="1"
> panel_visibility="default">
> <FileListDomain name="files" />
>
> Thanks
> _______________________________________________
> Powered by www.kitware.com
>
> ParaView development discussion is moving! Please visit
> https://discourse.paraview.org/ for future posts.
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180606/f43eef60/attachment.html>
More information about the Paraview-developers
mailing list