When I use "getOpenFileName" :

QString QFileDialog::getOpenFileName ( const QString & startWith =
QString::null, const QString & filter = QString::null, QWidget * parent = 0,
const char * name = 0, const QString & caption = QString::null, QString *
selectedFilter = 0, bool resolveSymlinks = TRUE ) [static]

I couldn't left secound argument (filter) empty, if I put "null" it
considers that as "All File (*.*)" and if I put a filter there it will show
that filter while I don't want to show that filter name , I just want to
show "All Supported File".

Is there any way that I can do something such as:

For example:

QString all Supported File = "*.jpg *.png *.gif"

QFileDialog.getOpenFileName("c:\", all Suppoted File, this )

And QfileDialog shows exactly "all supported file" in "Files of type" and
also filters that files?
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to