Class: QgsMapToolIdentifyFeature

class qgis.gui.QgsMapToolIdentifyFeature

Bases: QgsMapToolIdentify

The QgsMapToolIdentifyFeature class is a map tool to identify a feature on a chosen layer. Once the map tool is enable, user can click on the map canvas to identify a feature. A signal will then be emitted.

QgsMapToolIdentifyFeature(canvas: QgsMapCanvas, vl: QgsVectorLayer = None) QgsMapToolIdentifyFeature is a map tool to identify a feature on a chosen layer

canvasReleaseEvent(self, e: QgsMapMouseEvent)

e (QgsMapMouseEvent) –

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)

featureIdentified(self, QgsFeature) [signal] featureIdentified(self, int) [signal]

isSignalConnected(self, QMetaMethod) bool
keyPressEvent(self, e: QKeyEvent)

e (QKeyEvent) –

receivers(self, PYQT_SIGNAL) int
sender(self) QObject
senderSignalIndex(self) int
setLayer(self, vl: QgsVectorLayer)

change the layer used by the map tool to identify


vl (QgsVectorLayer) –

timerEvent(self, QTimerEvent)