mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			65 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/inputcontroller/qgsabstractinputcontroller.h                 *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| class QgsAbstractInputController : QObject
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| Abstract base class for all input controllers.
 | |
| 
 | |
| .. versionadded:: 3.34
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsabstractinputcontroller.h"
 | |
| #include "qgs2dmapcontroller.h"
 | |
| #include "qgs3dmapcontroller.h"
 | |
| %End
 | |
| %ConvertToSubClassCode
 | |
|     if ( qobject_cast< QgsAbstract2DMapController * >( sipCpp ) )
 | |
|       sipType = sipType_QgsAbstract2DMapController;
 | |
|     else if ( qobject_cast< QgsAbstract3DMapController * >( sipCpp ) )
 | |
|       sipType = sipType_QgsAbstract3DMapController;
 | |
|     else
 | |
|       sipType = nullptr;
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     QgsAbstractInputController( QObject *parent /TransferThis/ = 0 );
 | |
| %Docstring
 | |
| Constructor for QgsAbstractInputController, with the specified ``parent`` object.
 | |
| %End
 | |
| 
 | |
|     virtual QgsAbstractInputController *clone() const = 0 /Factory/;
 | |
| %Docstring
 | |
| Returns a new copy of the controller.
 | |
| %End
 | |
| 
 | |
|     virtual QString deviceId() const = 0;
 | |
| %Docstring
 | |
| Returns a string uniquely identifying the device.
 | |
| %End
 | |
| 
 | |
|     virtual Qgis::InputControllerType type() const = 0;
 | |
| %Docstring
 | |
| Returns the input controller type.
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/inputcontroller/qgsabstractinputcontroller.h                 *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 |