QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
virtual Q_DECL_DEPRECATED void handleMimeData(const QMimeData *data)
Called when the specified mime data has been dropped onto QGIS.
Map canvas is a class for displaying all GIS data types on a canvas.
virtual bool canHandleMimeData(const QMimeData *data)
Returns true if the handler is capable of handling the provided mime data.
virtual void handleCustomUriDrop(const QgsMimeDataUtils::Uri &uri) const
Called from QGIS after a drop event with custom URI known by the handler.
virtual bool handleCustomUriCanvasDrop(const QgsMimeDataUtils::Uri &uri, QgsMapCanvas *canvas) const
Called from QGIS after a drop event with custom uri known by the handler occurs onto a map canvas.
virtual bool handleMimeDataV2(const QMimeData *data)
Called when the specified mime data has been dropped onto QGIS.
virtual QString customUriProviderKey() const
Type of custom URI recognized by the handler.
virtual bool canHandleCustomUriCanvasDrop(const QgsMimeDataUtils::Uri &uri, QgsMapCanvas *canvas)
Returns true if the handler is capable of handling the provided mime uri when dropped onto a map canv...
virtual bool handleFileDrop(const QString &file)
Called when the specified file has been dropped onto QGIS.