<div dir="ltr"><span style="font-size:12.8000001907349px">Chiranjib,</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">No, that's not what I mean. Your </span><span style="color:rgb(221,17,68);font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:inherit;line-height:1.5;background-color:transparent">FileName</span><span style="font-size:12.8000001907349px"> is not being shown since you have the </span><span style="font-size:inherit;font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;line-height:1.5;color:teal;background-color:transparent">panel_visibility=</span><span style="font-size:inherit;font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;line-height:1.5;color:rgb(221,17,68);background-color:transparent">"never".</span><br><div class="gmail_extra">Change that to "default" or "advanced" as appropriate.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Utkarsh</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 2:20 PM, Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">HI Utkarsh,<div>Great, Let me try it. <div>Currently, I have declared it like </div><div><br></div><div><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:13px;padding:10px;margin-top:0px;margin-bottom:0px;word-break:break-all;word-wrap:normal;color:rgb(51,51,51);border-left-width:1px;border-style:none none none solid;border-left-color:rgb(187,187,187);border-radius:0px;line-height:1.5!important"><code style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:inherit;padding:0px;color:inherit;border-radius:0px;word-wrap:normal;background-color:transparent"><span style="display:inline"><span style="color:navy"><StringVectorProperty</span> <span style="color:teal">animateable=</span><span style="color:rgb(221,17,68)">"0"</span></span>
<span style="display:inline">                            <span style="color:teal">command=</span><span style="color:rgb(221,17,68)">"SetFileName"</span></span>
<span style="display:inline">                            <span style="color:teal">name=</span><span style="color:rgb(221,17,68)">"FileName"</span></span>
<span style="display:inline">                            <span style="color:teal">number_of_elements=</span><span style="color:rgb(221,17,68)">"1"</span></span>
<span style="display:inline">                            <span style="color:teal">panel_visibility=</span><span style="color:rgb(221,17,68)">"never"</span><span style="color:navy">></span></span>
<span style="display:inline">        <span style="color:navy"><FileListDomain</span> <span style="color:teal">name=</span><span style="color:rgb(221,17,68)">"files"</span> <span style="color:navy">/></span></span></code></pre><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:13px;padding:10px;margin-top:0px;margin-bottom:0px;word-break:break-all;word-wrap:normal;color:rgb(51,51,51);border-left-width:1px;border-style:none none none solid;border-left-color:rgb(187,187,187);border-radius:0px;line-height:1.5!important"><code style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:inherit;padding:0px;color:inherit;border-radius:0px;word-wrap:normal;background-color:transparent"><span style="display:inline"><span style="color:navy">.... </span></span></code></pre>so that I can extract the "FileName" as a string. However, with this, I don't have an option to select the files using pop-up.</div><div><br></div><div>If I understood it correctly, I need to use the following part along with the one I already have ?</div><div><br></div><div><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:13px;padding:10px;margin-top:0px;margin-bottom:0px;word-break:break-all;word-wrap:normal;color:rgb(51,51,51);border-left-width:1px;border-style:none none none solid;border-left-color:rgb(187,187,187);border-radius:0px;line-height:1.5!important"><code style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:inherit;padding:0px;color:inherit;border-radius:0px;word-wrap:normal;background-color:transparent"><span style="display:inline;background-color:rgb(248,248,248)"><span style="color:navy"><StringVectorProperty</span> <span style="color:teal">animateable=</span><span style="color:rgb(221,17,68)">"0"</span></span>
<span style="display:inline;background-color:rgb(248,248,248)">                            <span style="color:teal">command=</span><span style="color:rgb(221,17,68)">"SetQFileName"</span></span>
<span style="display:inline;background-color:rgb(248,248,248)">                            <span style="color:teal">name=</span><span style="color:rgb(221,17,68)">"QFileName"</span></span>
<span style="display:inline;background-color:rgb(248,248,248)">                            <span style="color:teal">number_of_elements=</span><span style="color:rgb(221,17,68)">"1"</span></span>
<span style="display:inline;background-color:rgb(248,248,248)">                            <span style="color:teal">panel_visibility=</span><span style="color:rgb(221,17,68)">"default"</span><span style="color:navy">> .....</span></span></code></pre><pre style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:13px;padding:10px;margin-top:0px;margin-bottom:0px;word-break:break-all;word-wrap:normal;color:rgb(51,51,51);border-left-width:1px;border-style:none none none solid;border-left-color:rgb(187,187,187);border-radius:0px;line-height:1.5!important"><code style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:inherit;padding:0px;color:inherit;border-radius:0px;word-wrap:normal;background-color:transparent"><span style="display:inline;background-color:rgb(248,248,248)"><span style="color:navy"><br></span></span></code></pre>Is it what you mean by adding FileListDomain ?</div><div><br></div><div>Thanks,</div><div>Chiranjib</div></div></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 6:56 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Simply add the "FileListDomain" to the property as done for the QFileName property here: <a href="https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml#L2659-2667" target="_blank">https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml#L2659-2667</a><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Apr 27, 2015 at 6:27 AM, Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div>I am trying to write my own filter (C++) and want to deal with reading an existing file. I intend implement  a functionality where file selection will results into popping up a window like when one does, File->Open action.</div><div><br></div><div>In the following screen capture, I want to implement that functionality so that when one clicks mouse inside the text box, File->Open windows will popup and the user can select the file he/she wants. (The alternative is to provide the file name by typing which is error prone and I want to avoid that) </div><div><br></div><div><img src="cid:ii_14cfa6435b54dfcf" alt="Inline image 1" width="369" height="29"><br></div><div><br></div><div>After reading various posts from the previous mailing threads and the other documentation, I narrowed down my idea to use the class pqFileDialog. Is this the right choice or are there some alternatives? Are there any place where, I can read and learn about usage of this class ?</div><div><br></div><div>Google search points me towards solutions in pure Qt which looks like :</div><div><br></div><div><a href="http://stackoverflow.com/questions/14372012/qt-standard-dialogs-example-open-file" target="_blank">http://stackoverflow.com/questions/14372012/qt-standard-dialogs-example-open-file</a><br></div><div><br></div><div><br></div><div>Any suggestions from the experts?</div><div><br></div><div>Thanks,</div><div>Chiranjib</div></div>
<br></div></div>_______________________________________________<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>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>