[Qt-interest] FileFilter
Alessandro Portale
alessandro.portale at trolltech.com
Fri Mar 20 13:15:31 CET 2009
Hi, the function getSaveFileName also takes a filter as argument.
See the documentation which has also an example snippet which sets a filter:
http://doc.trolltech.com/latest/qfiledialog.html#getSaveFileName
Alessandro
Sujan Dasmahapatra wrote:
> QString fileName = QFileDialog::getSaveFileName(this);
>
> I am getting the file dialog using the above code but, I want to put a
> file filter with *.dat.So only the .dat files I want how would I put a
> file filter ?
>
> Can anyone tell me plss..
>
> Kind regards,
> LM Glasfiber R&D (India) Pvt. Ltd.
>
> Sujan Dasmahapatra
> Project Engineer - CFD
>
> Telephone: +91 80 66470248
> Mobile:
> E-mail: sdh at lmglasfiber.com <mailto:sdh at lmglasfiber.com>
More information about the Qt-interest-old
mailing list