[PyQt] Add some text in QFileDialog

Geert Vancompernolle geert.discussions at gmail.com
Mon Feb 2 19:32:32 GMT 2009


projetmbc at club-internet.fr wrote:
> Hello,
> I would like to add some informations in a TextEdit or a Label in QFileDialog to 
> help the users to know what it must searchs. How can I do that ?
>
> Best regards.
> Christophe.
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>   

Something like this?

        self.upgfile = QFileDialog.getOpenFileName(\
            None,
            self.trUtf8("Select the UPG file"),
            self.upgfile,
            self.trUtf8("*.upg"),
            None)


-- 
Best rgds,

Geert
________________________________________________

*Use EcoCho <http://www.ecocho.com>: environmentally friendly search the 
internet!*


More information about the PyQt mailing list