Re: [QGIS-Developer] Open plugin automatically when file is dragged onto QGIS

2023-11-05 Thread Nyall Dawson via QGIS-Developer
On Mon, 6 Nov 2023, 6:32 am David Signer via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > You can use an eventfilter. You can find an example here > https://github.com/opengisch/QgisModelBaker/blob/master/QgisModelBaker/qgismodelbaker.py#L507C7-L552 > A better approach would be a Qg

Re: [QGIS-Developer] Open plugin automatically when file is dragged onto QGIS

2023-11-05 Thread David Signer via QGIS-Developer
You can use an eventfilter. You can find an example here https://github.com/opengisch/QgisModelBaker/blob/master/QgisModelBaker/qgismodelbaker.py#L507C7-L552 However, it may be appropriate to have a setting for this. In the plugin mentioned above, the user is asked if they want to open this type o