[Qt-interest] FileFilter

Malyushytsky, Alex alex at wai.com
Sat Mar 21 01:14:28 CET 2009


Read the documentation.
It has a perfect example.


________________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Sujan Dasmahapatra
Sent: Friday, March 20, 2009 5:12 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] FileFilter

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




--------------------------------------------------------------
This e-mail and any attachments are confidential. If you are not the named or intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any medium. Any unauthorized disclosure, use or storage is prohibited and might be unlawful.


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."




More information about the Qt-interest-old mailing list