how take a directory to export file
Unsolved
Qt for Python
-
i'm use plugin builder and Qt designer for creat a plugin on QGIS.
i wold like export a PDF file with results of processing, but I can not take the directory user to the code for export the PDF file.
how i do this?
-
@newton_787 From where should the folder come? Do you show a dialog, so user can select the folder to store the file?
-
@newton_787 So, you are showing a dialog (https://doc.qt.io/qt-5/qfiledialog.html)?
-
@newton_787 You should be able to get the path from the dialog? What about https://qgis.org/api/classQgsFileWidget.html#a10bba9cb742f909cf621bffa67992fe9 ?