This is the forwarded answer to 'Load State::file filter'. Hope it will be there to the public just if it has not been.
Zhanping Liu, PhD Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x 138 http://www.zhanpingliu.org ---------- Forwarded message ---------- From: Zhanping Liu <[EMAIL PROTECTED]> Date: Mon, Nov 24, 2008 at 1:28 PM Subject: Fwd: [Fwd: [Paraview] load state :: file filter] To: [EMAIL PROTECTED] Cc: [email protected] Hi Ricardo Reis: 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: (1) Image00.bmp and Image01.bmp are SIMILAR. (2) Image00.bmp and Image999.bmp are SIMILAR --- the suffixes may be of different lengths. (3) Image.bmp and Image00.bmp are NOT SIMILAR --- because the former file name does not contain a digit-based suffix. (4) Image00.bmp and Imagexx are NOT SIMILAR. 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. 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. Thanks. -Zhanping ---------- Forwarded message ---------- From: Utkarsh Ayachit <[EMAIL PROTECTED]> Date: Mon, Nov 24, 2008 at 9:16 AM Subject: [Fwd: [Paraview] load state :: file filter] To: Zhanping Liu <[EMAIL PROTECTED]> Zhanping, Can you take a look at this? Thanks, Utkarsh -------- Original Message -------- Subject: [Paraview] load state :: file filter Date: Mon, 24 Nov 2008 11:58:38 +0000 (WET) From: Ricardo Reis <[EMAIL PROTECTED]> To: [email protected] When doing "load state" and having in the "Files of type" selected "Paraview state file (*.pvsm)" instead of just showing up the files ending with .pvsm all files are shown. I'm using paraview compile from cvs right now. best, Ricardo Reis 'Non Serviam' PhD student @ Lasef Computational Fluid Dynamics, High Performance Computing, Turbulence http://www.lasef.ist.utl.pt & Cultural Instigator @ RĂ¡dio Zero http://www.radiozero.pt http://www.flickr.com/photos/rreis/ _______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview -- Zhanping Liu, PhD Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x 138 http://www.zhanpingliu.org
_______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
