Skip to content

Commit

Permalink
dox
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Jan 7, 2020
1 parent 2b031cf commit 18e9766
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
48 changes: 48 additions & 0 deletions python/gui/auto_generated/qgisinterface.sip.in
Expand Up @@ -600,21 +600,69 @@ Returns the Hide Deselected Layers action.
virtual QAction *actionAbout() = 0;

virtual QAction *actionCircle2Points() = 0;
%Docstring
Returns the native add circle from 2 points action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionCircle3Points() = 0;
%Docstring
Returns the native add circle from 3 points action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionCircle3Tangents() = 0;
%Docstring
Returns the native add circle from 3 tangents action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionCircle2TangentsPoint() = 0;
%Docstring
Returns the native add circle from 2 tangents and a point action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionCircleCenterPoint() = 0;
%Docstring
Returns the native add circle from center action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionEllipseCenter2Points() = 0;
%Docstring
Returns the native add ellipse from center and 2 points action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionEllipseCenterPoint() = 0;
%Docstring
Returns the native add ellipse from center and a point action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionEllipseExtent() = 0;
%Docstring
Returns the native add ellipse from an extent action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionEllipseFoci() = 0;
%Docstring
Returns the native add ellipse from foci action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRectangleCenterPoint() = 0;
%Docstring
Returns the native add rectangle from center and a point action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRectangleExtent() = 0;
%Docstring
Returns the native add rectangle from extent action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRectangle3PointsDistance() = 0;
%Docstring
Returns the native add rectangle from 3 points (distance from 2nd and 3rd points) action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRectangle3PointsProjected() = 0;
%Docstring
Returns the native add rectangle from 3 points (distance from projected 3rd point on segment p1 and p2) action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRegularPolygon2Points() = 0;
%Docstring
Returns the native add regular polygon from 2 points action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRegularPolygonCenterPoint() = 0;
%Docstring
Returns the native add regular polygon from center and a point action. Call trigger() on it to set the map tool.
%End
virtual QAction *actionRegularPolygonCenterCorner() = 0;
%Docstring
Returns the native add regular polygon from center and a corner action. Call trigger() on it to set the map tool.
%End

virtual QgsVectorLayerTools *vectorLayerTools() = 0;
%Docstring
Expand Down
16 changes: 16 additions & 0 deletions src/gui/qgisinterface.h
Expand Up @@ -535,21 +535,37 @@ class GUI_EXPORT QgisInterface : public QObject
virtual QAction *actionAbout() = 0;

// Shape digitize actions
//! Returns the native add circle from 2 points action. Call trigger() on it to set the map tool.
virtual QAction *actionCircle2Points() = 0;
//! Returns the native add circle from 3 points action. Call trigger() on it to set the map tool.
virtual QAction *actionCircle3Points() = 0;
//! Returns the native add circle from 3 tangents action. Call trigger() on it to set the map tool.
virtual QAction *actionCircle3Tangents() = 0;
//! Returns the native add circle from 2 tangents and a point action. Call trigger() on it to set the map tool.
virtual QAction *actionCircle2TangentsPoint() = 0;
//! Returns the native add circle from center action. Call trigger() on it to set the map tool.
virtual QAction *actionCircleCenterPoint() = 0;
//! Returns the native add ellipse from center and 2 points action. Call trigger() on it to set the map tool.
virtual QAction *actionEllipseCenter2Points() = 0;
//! Returns the native add ellipse from center and a point action. Call trigger() on it to set the map tool.
virtual QAction *actionEllipseCenterPoint() = 0;
//! Returns the native add ellipse from an extent action. Call trigger() on it to set the map tool.
virtual QAction *actionEllipseExtent() = 0;
//! Returns the native add ellipse from foci action. Call trigger() on it to set the map tool.
virtual QAction *actionEllipseFoci() = 0;
//! Returns the native add rectangle from center and a point action. Call trigger() on it to set the map tool.
virtual QAction *actionRectangleCenterPoint() = 0;
//! Returns the native add rectangle from extent action. Call trigger() on it to set the map tool.
virtual QAction *actionRectangleExtent() = 0;
//! Returns the native add rectangle from 3 points (distance from 2nd and 3rd points) action. Call trigger() on it to set the map tool.
virtual QAction *actionRectangle3PointsDistance() = 0;
//! Returns the native add rectangle from 3 points (distance from projected 3rd point on segment p1 and p2) action. Call trigger() on it to set the map tool.
virtual QAction *actionRectangle3PointsProjected() = 0;
//! Returns the native add regular polygon from 2 points action. Call trigger() on it to set the map tool.
virtual QAction *actionRegularPolygon2Points() = 0;
//! Returns the native add regular polygon from center and a point action. Call trigger() on it to set the map tool.
virtual QAction *actionRegularPolygonCenterPoint() = 0;
//! Returns the native add regular polygon from center and a corner action. Call trigger() on it to set the map tool.
virtual QAction *actionRegularPolygonCenterCorner() = 0;

/**
Expand Down

0 comments on commit 18e9766

Please sign in to comment.