QGIS/python/gui/qgsmaptoolemitpoint.sip
Denis Rouzaud 93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00

27 lines
649 B
Plaintext

class QgsMapToolEmitPoint : QgsMapTool
{
%TypeHeaderCode
#include <qgsmaptoolemitpoint.h>
%End
public:
//! constructor
QgsMapToolEmitPoint( QgsMapCanvas *canvas );
virtual Flags flags() const;
//! Overridden mouse move event
virtual void canvasMoveEvent( QgsMapMouseEvent *e );
//! Overridden mouse press event - emits the signal
virtual void canvasPressEvent( QgsMapMouseEvent *e );
//! Overridden mouse release event
virtual void canvasReleaseEvent( QgsMapMouseEvent *e );
signals:
//! signal emitted on canvas click
void canvasClicked( const QgsPoint &point, Qt::MouseButton button );
};