Sahar Payandeh wrote:
> 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:
>
> 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?
Hi Sahar,
Which language are you programming in? Previously you said you used
python. This looks like C++. If you are programming Qt in C++ you should
ask questions to the C++ mailing list, [EMAIL PROTECTED]
best regards,
Gunnar
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest