QGIS/python/gui/qgsformannotation.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

87 lines
2.4 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsformannotation.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsFormAnnotation: QgsAnnotation
{
%Docstring
An annotation item that embeds a designer form showing the feature attribute
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsformannotation.h"
%End
public:
QgsFormAnnotation( QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsFormAnnotation.
%End
virtual QgsFormAnnotation *clone() const /Factory/;
virtual QSizeF minimumFrameSize() const;
QSizeF preferredFrameSize() const;
%Docstring
Returns the optimal frame size
:rtype: QSizeF
%End
void setDesignerForm( const QString &uiFile );
%Docstring
Sets the path to the Qt Designer UI file to show in the annotation.
.. seealso:: :py:func:`designerForm()`
%End
QString designerForm() const;
%Docstring
Returns the path to the Qt Designer UI file to show in the annotation.
:rtype: str
.. seealso:: :py:func:`setDesignerForm()`
%End
virtual void writeXml( QDomElement &elem, QDomDocument &doc, const QgsReadWriteContext &context ) const;
virtual void readXml( const QDomElement &itemElem, const QgsReadWriteContext &context );
virtual void setAssociatedFeature( const QgsFeature &feature );
static QgsFormAnnotation *create() /Factory/;
%Docstring
Returns a new QgsFormAnnotation object.
:rtype: QgsFormAnnotation
%End
protected:
virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsformannotation.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/