mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/editorwidgets/qgshtmlwidgetwrapper.h                         *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| class QgsHtmlWidgetWrapper : QgsWidgetWrapper
 | |
| {
 | |
| %Docstring
 | |
| Wraps a QQuickWidget to display HTML code
 | |
| 
 | |
| .. versionadded:: 3.4
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgshtmlwidgetwrapper.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     QgsHtmlWidgetWrapper( QgsVectorLayer *layer, QWidget *editor, QWidget *parent );
 | |
| %Docstring
 | |
| Create a html widget wrapper
 | |
| 
 | |
| :param layer: The layer on which the feature is
 | |
| :param editor: An editor widget. Can be ``None`` if one should be autogenerated.
 | |
| :param parent: A parent widget
 | |
| %End
 | |
| 
 | |
|     virtual bool valid() const;
 | |
| 
 | |
| 
 | |
|     virtual QWidget *createWidget( QWidget *parent );
 | |
| 
 | |
| 
 | |
|     virtual void initWidget( QWidget *editor );
 | |
| 
 | |
| 
 | |
|     void reinitWidget();
 | |
| %Docstring
 | |
| Clears the content and makes new initialization
 | |
| %End
 | |
| 
 | |
|     void setHtmlCode( const QString &htmlCode );
 | |
| %Docstring
 | |
| Sets the HTML code to ``htmlCode``
 | |
| %End
 | |
| 
 | |
|   public slots:
 | |
|     virtual void setFeature( const QgsFeature &feature );
 | |
| 
 | |
| 
 | |
| };
 | |
| 
 | |
| 
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/editorwidgets/qgshtmlwidgetwrapper.h                         *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 |