QGIS/python/gui/qgsmaptoolidentifyfeature.sip

23 lines
667 B
Plaintext
Raw Normal View History

2014-05-22 16:39:18 +02:00
class QgsMapToolIdentifyFeature : QgsMapToolIdentify
{
%TypeHeaderCode
#include <qgsmaptoolidentifyfeature.h>
%End
public:
/**
* @brief QgsMapToolIdentifyFeature is a map tool to identify a feature on a chosen layer
* @param canvas the map canvas
* @param vl the vector layer. The map tool can be initialized without any layer and can be set afterward.
*/
QgsMapToolIdentifyFeature( QgsMapCanvas* canvas, QgsVectorLayer* vl = 0 );
//! change the layer used by the map tool to identify
void setLayer( QgsVectorLayer* vl );
2014-05-22 16:39:18 +02:00
void canvasReleaseEvent( QMouseEvent* e );
signals:
void featureIdentified( QgsFeature );
};