Skip to content
Permalink
Browse files
fix doc: followup bf41a90
  • Loading branch information
slarosa committed Mar 30, 2018
1 parent bf41a90 commit 85602c60f470c9cb3060a1310c764a629df5cce7
Showing with 12 additions and 0 deletions.
  1. +7 −0 python/gui/layertree/qgslayertreeviewdefaultactions.sip.in
  2. +5 −0 src/gui/layertree/qgslayertreeviewdefaultactions.h
@@ -70,7 +70,14 @@ Action to enable/disable mutually exclusive flag of a group (only one child node
%End

void zoomToLayer( QgsMapCanvas *canvas );

void zoomToSelection( QgsMapCanvas *canvas );
%Docstring

.. seealso:: :py:func:`zoomToSelection`

.. versionadded:: 3.2
%End
void zoomToGroup( QgsMapCanvas *canvas );

public slots:
@@ -76,6 +76,11 @@ class GUI_EXPORT QgsLayerTreeViewDefaultActions : public QObject
QAction *actionMutuallyExclusiveGroup( QObject *parent = nullptr ) SIP_FACTORY;

void zoomToLayer( QgsMapCanvas *canvas );

/**
* \see zoomToSelection()
* \since QGIS 3.2
*/
void zoomToSelection( QgsMapCanvas *canvas );
void zoomToGroup( QgsMapCanvas *canvas );

0 comments on commit 85602c6

Please sign in to comment.