mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-29 00:07:54 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			61 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/core/qgseditorwidgetsetup.h                                      *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| class QgsEditorWidgetSetup
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| Holder for the widget type and its configuration for a field.
 | |
| 
 | |
| .. versionadded:: 3.0
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgseditorwidgetsetup.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     QgsEditorWidgetSetup( const QString &type, const QVariantMap &config );
 | |
| %Docstring
 | |
| Constructor
 | |
| %End
 | |
| 
 | |
|     QgsEditorWidgetSetup();
 | |
| %Docstring
 | |
| Constructor for QgsEditorWidgetSetup
 | |
| %End
 | |
| 
 | |
|     QString type() const;
 | |
| %Docstring
 | |
| 
 | |
| :return: the widget type to use
 | |
| %End
 | |
| 
 | |
|     QVariantMap config() const;
 | |
| %Docstring
 | |
| 
 | |
| :return: the widget configuration to used
 | |
| %End
 | |
| 
 | |
|     bool isNull() const;
 | |
| %Docstring
 | |
| 
 | |
| :return: ``True`` if there is no widget configured.
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/core/qgseditorwidgetsetup.h                                      *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 |