Skip to content

Commit

Permalink
Fix dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 11, 2021
1 parent ad94415 commit 4d3a022
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/gui/layout/qgslayoutitemguiregistry.h
Expand Up @@ -275,6 +275,18 @@ class GUI_EXPORT QgsLayoutItemGuiMetadata : public QgsLayoutItemAbstractGuiMetad

QgsLayoutItem *createItem( QgsLayout *layout ) override;
void newItemAddedToLayout( QgsLayoutItem *item ) override;

/**
* Called when a newly created item of the associated type has been added to a layout.
*
* This is only called for additions which result from GUI operations - i.e. it is not
* called for items added from templates.
*
* The \a properties map will be filled with any custom properties which were specified during
* the item creation.
*
* \since QGIS 3.18
*/
void newItemAddedToLayout( QgsLayoutItem *item, const QVariantMap &properties );

protected:
Expand Down

0 comments on commit 4d3a022

Please sign in to comment.