[Qt-interest] QDir User Path

Andre Somers andre at familiesomers.nl
Tue Apr 6 10:20:41 CEST 2010


On 5-4-2010 21:43, Lucas Pereira Caixeta wrote:
> Guys,
> I found the solution!
> The directory must be set in the constructor of QFileDiaglog =)
>
> Example:
> QFileDialog (this, tr ("Open File"), QDir:: HomePath (), tr ("filetype 
> (*. ft )"));
>
> Thanks! =]
Also, note that QDesktopServices gives you some more information on 
locations for user files.

André

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100406/48861bbc/attachment.html 


More information about the Qt-interest-old mailing list