Skip to content

Commit

Permalink
fix more dox
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 28, 2022
1 parent d8d824a commit 41ea405
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gui/maptools/qgsmaptoolcapturelayergeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class QgsMapCanvas;

/**
* \ingroup gui
* QgsMapToolCaptureLayerGeometry is a base class for map tools digitizing layer geometries
* \brief QgsMapToolCaptureLayerGeometry is a base class for map tools digitizing layer geometries
* It will implement avoid intersections
* \since QGIS 3.24
*/
Expand Down
3 changes: 2 additions & 1 deletion src/gui/maptools/qgsmaptoolshapeabstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class QKeyEvent;

/**
* \ingroup gui
* QgsMapToolShapeAbstract is a base class for shape map tools to be use in QgsMapToolCapture
* \brief QgsMapToolShapeAbstract is a base class for shape map tools to be use in QgsMapToolCapture
* \since QGIS 3.24
*/
class GUI_EXPORT QgsMapToolShapeAbstract
Expand Down Expand Up @@ -63,6 +63,7 @@ class GUI_EXPORT QgsMapToolShapeAbstract

virtual ~QgsMapToolShapeAbstract() = default;

//! Returns the id of the shape tool (equivalent to the one from the metadata)
QString id() const {return mId;}

/**
Expand Down
5 changes: 3 additions & 2 deletions src/gui/maptools/qgsmaptoolshaperegistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class QgsMapToolCapture;

/**
* \ingroup gui
* Keeps track of the registered shape map tools
* \brief Keeps track of the registered shape map tools
* \since QGIS 3.24
*/
class GUI_EXPORT QgsMapToolShapeRegistry
Expand Down Expand Up @@ -73,7 +73,7 @@ class GUI_EXPORT QgsMapToolShapeRegistry

/**
* \ingroup gui
* QgsMapToolShapeMetadata is a base class for shape map tools metadata to be used in QgsMapToolShapeRegistry
* \brief QgsMapToolShapeMetadata is a base class for shape map tools metadata to be used in QgsMapToolShapeRegistry
* \since QGIS 3.24
*/
class GUI_EXPORT QgsMapToolShapeMetadata
Expand All @@ -93,6 +93,7 @@ class GUI_EXPORT QgsMapToolShapeMetadata
//! Icon to be displayed in the toolbar
virtual QIcon icon() const = 0;

//! Returns the shape category of the tool
virtual QgsMapToolShapeAbstract::ShapeCategory category() const = 0;

//! Creates the shape map tool for the given \a parentTool
Expand Down

0 comments on commit 41ea405

Please sign in to comment.