QGIS/python/gui/auto_generated/editorwidgets/qgstextwidgetwrapper.sip.in
Alessandro Pasotti e9b5c3a358 Sipify
2022-12-29 10:34:14 +01:00

70 lines
2.0 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgstextwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsTextWidgetWrapper : QgsWidgetWrapper
{
%Docstring(signature="appended")
Wraps a label widget to display text
.. versionadded:: 3.30
%End
%TypeHeaderCode
#include "qgstextwidgetwrapper.h"
%End
public:
QgsTextWidgetWrapper( QgsVectorLayer *layer, QWidget *editor, QWidget *parent );
%Docstring
Create a text 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 setText( const QString &text );
%Docstring
Sets the text code to ``htmlCode``
%End
bool needsGeometry() const;
%Docstring
Returns true if the widget needs feature geometry
%End
public slots:
virtual void setFeature( const QgsFeature &feature );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgstextwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/