mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgsmapcanvassnappingutils.h                                  *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsMapCanvasSnappingUtils : QgsSnappingUtils
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Snapping utils instance that is connected to a canvas and updates the
 | 
						|
configuration (map settings + current layer) whenever that is changed in
 | 
						|
the canvas.
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsmapcanvassnappingutils.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    QgsMapCanvasSnappingUtils( QgsMapCanvas *canvas, QObject *parent = 0 );
 | 
						|
%Docstring
 | 
						|
Construct map canvas snapping utils object
 | 
						|
 | 
						|
:param canvas: map canvas
 | 
						|
:param parent: parent object if ``False`` it will block until indexing
 | 
						|
               is done
 | 
						|
%End
 | 
						|
 | 
						|
  protected:
 | 
						|
    virtual void prepareIndexStarting( int count );
 | 
						|
 | 
						|
    virtual void prepareIndexProgress( int index );
 | 
						|
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgsmapcanvassnappingutils.h                                  *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 |