Hi,

You should be able to sub-class QgsMapToolIdentify or
QgsMapToolIdentifyFeature
see the documentation
https://qgis.org/pyqgis/master/gui/Map/QgsMapToolIdentify.html
https://qgis.org/pyqgis/master/gui/Map/QgsMapToolIdentifyFeature.html

Denis

Le ven. 15 juin 2018 à 04:42, Ashutosh Vaish <[email protected]>
a écrit :

> I'm trying to develop a plugin which contains it's own QgsMapCanvas. I
> need the user to select a feature on the map canvas which requires the map
> tool to replicate the function of the Select Feature of the Qgis
> Interface.[iface.actionSelect().trigger()]. Is there any way to do it?
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to