mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgsmapcanvasinteractionblocker.h                             *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsMapCanvasInteractionBlocker
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
An interface for objects which block interactions with a :py:class:`QgsMapCanvas`.
 | 
						|
 | 
						|
.. versionadded:: 3.14
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsmapcanvasinteractionblocker.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    enum class Interaction /BaseType=IntFlag/
 | 
						|
    {
 | 
						|
      MapPanOnSingleClick,
 | 
						|
    };
 | 
						|
 | 
						|
    virtual ~QgsMapCanvasInteractionBlocker();
 | 
						|
 | 
						|
    virtual bool blockCanvasInteraction( Interaction interaction ) const = 0;
 | 
						|
%Docstring
 | 
						|
Returns ``True`` if the specified ``interaction`` should be blocked.
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgsmapcanvasinteractionblocker.h                             *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |