Navigation Menu

Skip to content

Commit

Permalink
Update docs, sip
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 3, 2017
1 parent 59d28a3 commit 7972092
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/core/layout/qgslayoutitem.sip
Expand Up @@ -22,6 +22,9 @@ class QgsLayoutItem : QgsLayoutObject, QGraphicsRectItem
public:

QgsLayoutItem( QgsLayout *layout );
%Docstring
Constructor for QgsLayoutItem, with the specified parent ``layout``.
%End

virtual int type() const = 0;
%Docstring
Expand Down
24 changes: 24 additions & 0 deletions python/gui/qgisinterface.sip
Expand Up @@ -1193,6 +1193,30 @@ Get timeout for timed messages: default of 5 seconds
.. versionadded:: 3.0
.. seealso:: composerWillBeClosed()
.. seealso:: composerOpened()
%End

void layoutDesignerOpened( QgsLayoutDesignerInterface *designer );
%Docstring
This signal is emitted when a new layout ``designer`` has been opened.
.. versionadded:: 3.0
.. seealso:: layoutDesignerWillBeClosed()
%End

void layoutDesignerWillBeClosed( QgsLayoutDesignerInterface *designer );
%Docstring
This signal is emitted before a layout ``designer`` is going to be closed
and deleted.
.. versionadded:: 3.0
.. seealso:: layoutDesignerClosed()
.. seealso:: layoutDesignerOpened()
%End

void layoutDesignerClosed();
%Docstring
This signal is emitted after a layout designer window is closed.
.. versionadded:: 3.0
.. seealso:: layoutDesignerWillBeClosed()
.. seealso:: layoutDesignerOpened()
%End

void initializationCompleted();
Expand Down
3 changes: 3 additions & 0 deletions src/core/layout/qgslayoutitem.h
Expand Up @@ -36,6 +36,9 @@ class CORE_EXPORT QgsLayoutItem : public QgsLayoutObject, public QGraphicsRectIt

public:

/**
* Constructor for QgsLayoutItem, with the specified parent \a layout.
*/
QgsLayoutItem( QgsLayout *layout );

//! Return correct graphics item type.
Expand Down

0 comments on commit 7972092

Please sign in to comment.