[Qt-interest] custom file dialog in python

Andreas Pakulat apaku at gmx.de
Fri Sep 23 22:33:46 CEST 2011


On 23.09.11 18:31:02, Florian Bruckner wrote:
> hi,
> 
> how is it possible to modify the default behavior of the qt open file
> dialog. If possible i would like to use python for doing this. What i
> exactly want to do, is to be able to control and modify filenames that
> are displayed. E.g. if there are more than one file with the same
> basename, but different numbers in it, they all should be grouped to
> one entry (test01, test02, test03, .. -> test*).

Subclass QDialog and implement a filedialog on it. You can't do this
with QFileDialog. Or you could patch Qt.

Andreas
 



More information about the Qt-interest-old mailing list