mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Since we don't want all the item type subclass config widgets to have to reside in gui, we need to populate the registry from app instead.
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/layout/qgslayoutitemmap.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsLayoutItemMap : QgsLayoutItem
|
|
{
|
|
%Docstring
|
|
Layout graphical items for displaying a map.
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgslayoutitemmap.h"
|
|
%End
|
|
public:
|
|
|
|
explicit QgsLayoutItemMap( QgsLayout *layout );
|
|
%Docstring
|
|
Constructor for QgsLayoutItemMap, with the specified parent ``layout``.
|
|
%End
|
|
virtual int type() const;
|
|
|
|
virtual QString stringType() const;
|
|
|
|
|
|
static QgsLayoutItemMap *create( QgsLayout *layout, const QVariantMap &settings ) /Factory/;
|
|
%Docstring
|
|
Returns a new map item for the specified ``layout``.
|
|
|
|
The caller takes responsibility for deleting the returned object.
|
|
:rtype: QgsLayoutItemMap
|
|
%End
|
|
|
|
protected:
|
|
|
|
virtual void draw( QgsRenderContext &context, const QStyleOptionGraphicsItem *itemStyle = 0 );
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/layout/qgslayoutitemmap.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|