<div>This is the forwarded answer to 'Load State::file filter'. Hope it will be there to the public just if it has not been.</div>
<div><br>Zhanping Liu, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x 138<br><a href="http://www.zhanpingliu.org/" target="_blank">http://www.zhanpingliu.org</a><br><br>
<br></div>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Zhanping Liu</b> <span dir="ltr"><<a href="mailto:zhanping.liu@kitware.com">zhanping.liu@kitware.com</a>></span><br>
Date: Mon, Nov 24, 2008 at 1:28 PM<br>Subject: Fwd: [Fwd: [Paraview] load state :: file filter]<br>To: <a href="mailto:rreis@aero.ist.utl.pt">rreis@aero.ist.utl.pt</a><br>Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
<br><br>
<div>Hi Ricardo Reis:</div>
<div> </div>
<div> As you know, pqFileDialog is a sub-class of QDialog. In fact QDialog takes a set of 'SIMILAR' files as something like a folder and groups these files together, which are then shown, instead of being filtered out, in the 'Load State' file dialog. By 'SIMILAR', such files have the same file name (and certainly the same file extension) EXCEPT FOR the DIGIT-based suffixes. Here are some examples:</div>
<div> </div>
<div> (1) Image00.bmp and Image01.bmp are SIMILAR.</div>
<div> (2) Image00.bmp and Image999.bmp are SIMILAR --- the suffixes may be of different lengths.</div>
<div> (3) Image.bmp and Image00.bmp are NOT SIMILAR --- because the former file name does not contain a digit-based suffix.</div>
<div> (4) Image00.bmp and Imagexx are NOT SIMILAR.</div>
<div> </div>
<div> Such a grouping mechanism (applicable to only SIMILAR files) provided by pqFileDialog (and originally QDialog) is desired in that it avoids a possibly long list of SIMILAR files in the preview (the long list is expandable only per the user's click --- this is desirable) when "All Files(*)" is used.</div>
<div> </div>
<div> In a word, what was reported might not be a bug. Instead it is just a useful feature. If there are no any SIMILAR files in a directory, the mis-filter 'problem'' will not occur. Should file dialog mis-filtering occur again with a directory that contains no any SIMILAR files, please let me know.</div>
<div> </div>
<div> Thanks.</div>
<div> </div>
<div> -Zhanping<br></div>
<div class="gmail_quote">
<div>
<div></div>
<div class="Wj3C7c">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Utkarsh Ayachit</b> <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span><br>
Date: Mon, Nov 24, 2008 at 9:16 AM<br>Subject: [Fwd: [Paraview] load state :: file filter]<br>To: Zhanping Liu <<a href="mailto:zhanping.liu@kitware.com" target="_blank">zhanping.liu@kitware.com</a>><br><br><br>Zhanping,<br>
<br>Can you take a look at this?<br><br>Thanks,<br>Utkarsh<br><br>-------- Original Message --------<br>Subject: [Paraview] load state :: file filter<br>Date: Mon, 24 Nov 2008 11:58:38 +0000 (WET)<br>From: Ricardo Reis <<a href="mailto:rreis@aero.ist.utl.pt" target="_blank">rreis@aero.ist.utl.pt</a>><br>
To: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><br><br> When doing "load state"<br><br> and having in the "Files of type" selected "Paraview state file (*.pvsm)"<br>
<br> instead of just showing up the files ending with .pvsm<br><br> all files are shown.<br><br> I'm using paraview compile from cvs right now.<br><br> best,<br><br> Ricardo Reis<br><br> 'Non Serviam'<br><br> PhD student @ Lasef<br>
Computational Fluid Dynamics, High Performance Computing, Turbulence<br> <a href="http://www.lasef.ist.utl.pt/" target="_blank">http://www.lasef.ist.utl.pt</a><br><br> &<br><br> Cultural Instigator @ Rádio Zero<br> <a href="http://www.radiozero.pt/" target="_blank">http://www.radiozero.pt</a><br>
<br> <a href="http://www.flickr.com/photos/rreis/" target="_blank">http://www.flickr.com/photos/rreis/</a><br><br></div></div>_______________________________________________<br>ParaView mailing list<br><a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br><br><br></div><br><br clear="all"><br></div><br><br clear="all"><br>-- <br>Zhanping Liu, PhD<br>
Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x 138<br><a href="http://www.zhanpingliu.org">http://www.zhanpingliu.org</a><br>