PyQt5 issues related to QFileDialog

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PyQt5 issues related to QFileDialog

Detlev Offenbach
Hello Phil,

I think I encountered some issues with the PyQt5 bindings for QFileDialog. The
following static methods have a wrong signature. The 'directory' parameter
must be QUrl() instead of QString. The methods are

QFileDialog.getOpenFileUrl(...)
QFileDialog.getOpenFileUrls(...)
QFileDialog.getSaveFileUrl(...)

The signature of QFileDialog.getExistingDirectoryUrl(...) is correct.

Regards,
Detlev
--
Detlev Offenbach
[hidden email]


_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: PyQt5 issues related to QFileDialog

Phil Thompson-5
On 03/09/2019 18:03, Detlev Offenbach wrote:

> Hello Phil,
>
> I think I encountered some issues with the PyQt5 bindings for
> QFileDialog. The
> following static methods have a wrong signature. The 'directory'
> parameter
> must be QUrl() instead of QString. The methods are
>
> QFileDialog.getOpenFileUrl(...)
> QFileDialog.getOpenFileUrls(...)
> QFileDialog.getSaveFileUrl(...)
>
> The signature of QFileDialog.getExistingDirectoryUrl(...) is correct.

Should be fixed in tonight's snapshot.

Thanks,
Phil
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt