How to have a file dialog that select only directories not files in PyQt?
And how do I retrieve the name of the selected directory?
How to have a file dialog that select only directories not files in PyQt?
And how do I retrieve the name of the selected directory?
From inside your QDialog/QWidget class, you should be able to do: