[Paraview] Fwd: [Fwd: load state :: file filter]
Zhanping Liu
zhanping.liu at kitware.com
Mon Nov 24 16:11:22 EST 2008
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 <zhanping.liu at kitware.com>
Date: Mon, Nov 24, 2008 at 1:28 PM
Subject: Fwd: [Fwd: [Paraview] load state :: file filter]
To: rreis at aero.ist.utl.pt
Cc: paraview at paraview.org
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 <utkarsh.ayachit at kitware.com>
Date: Mon, Nov 24, 2008 at 9:16 AM
Subject: [Fwd: [Paraview] load state :: file filter]
To: Zhanping Liu <zhanping.liu at kitware.com>
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 <rreis at aero.ist.utl.pt>
To: paraview at paraview.org
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
ParaView at paraview.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081124/f460a8e0/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Attached Message Part
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081124/f460a8e0/attachment.asc>
More information about the ParaView
mailing list