mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	Previously only a few were in this subfolder, which made it confusing to find the others...
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/maptools/qgsmaptoolemitpoint.h                               *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| class QgsMapToolEmitPoint : QgsMapTool
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| A map tool that simply emits a point when clicking on the map.
 | |
| Connecting a slot to its :py:func:`~canvasClicked` signal will
 | |
| let you implement custom behavior for the passed in point.
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsmaptoolemitpoint.h"
 | |
| %End
 | |
|   public:
 | |
|     QgsMapToolEmitPoint( QgsMapCanvas *canvas );
 | |
| %Docstring
 | |
| constructor
 | |
| %End
 | |
| 
 | |
|     virtual Flags flags() const;
 | |
|     virtual void canvasMoveEvent( QgsMapMouseEvent *e );
 | |
| 
 | |
|     virtual void canvasPressEvent( QgsMapMouseEvent *e );
 | |
| 
 | |
|     virtual void canvasReleaseEvent( QgsMapMouseEvent *e );
 | |
| 
 | |
| 
 | |
|   signals:
 | |
|     void canvasClicked( const QgsPointXY &point, Qt::MouseButton button );
 | |
| %Docstring
 | |
| signal emitted on canvas click
 | |
| %End
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/maptools/qgsmaptoolemitpoint.h                               *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 |