mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			58 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.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsEditorWidgetSetup
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Holder for the widget type and its configuration for a field.
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgseditorwidgetsetup.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsEditorWidgetSetup( const QString &type, const QVariantMap &config );
 | 
						|
%Docstring
 | 
						|
Constructor
 | 
						|
%End
 | 
						|
 | 
						|
    QgsEditorWidgetSetup();
 | 
						|
 | 
						|
    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
 | 
						|
 | 
						|
    bool operator==( const QgsEditorWidgetSetup &other ) const;
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgseditorwidgetsetup.h                                      *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 |