Ward
Ward

Reputation: 97

QFileDialog (PyQt) dsiplaying sequence of files as one entry

I would like the QFileDialog in PyQt4 to display sequences of files as one entry.

For example.

image0001.dpx, image0002.dpx, image0003.dpx

Could be shortened to

image%04d.dpx OR image####.dpx

Does anyone have a solution to this or an idea of how to approach it?

Thanks

Upvotes: 0

Views: 671

Answers (1)

Achayan
Achayan

Reputation: 5895

You must be from vfx :) .. anyways there are few ways to do this. glob can be used and the best thing is using something like this http://code.google.com/p/pyseq/ then build your own file dialogbox.

Upvotes: 1

Related Questions