| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
Class that shows snapping marker on map canvas for the current snapping match. More...
#include <qgssnapindicator.h>
| Public Member Functions | |
| QgsSnapIndicator (QgsMapCanvas *canvas) | |
| Constructs an indicator for the given map canvas.  More... | |
| ~QgsSnapIndicator () | |
| bool | isVisible () const | 
| Returns whether the snapping indicator is visible.  More... | |
| QgsPointLocator::Match | match () const | 
| Returns currently displayed snapping match.  More... | |
| void | setMatch (const QgsPointLocator::Match &match) | 
| Sets snapping match that should be displayed in map canvas. Invalid match hides the indicator.  More... | |
| void | setVisible (bool visible=true) | 
| Sets whether the snapping indicator is visible.  More... | |
Class that shows snapping marker on map canvas for the current snapping match.
Definition at line 32 of file qgssnapindicator.h.
| QgsSnapIndicator::QgsSnapIndicator | ( | QgsMapCanvas * | canvas | ) | 
Constructs an indicator for the given map canvas.
Definition at line 27 of file qgssnapindicator.cpp.
| QgsSnapIndicator::~QgsSnapIndicator | ( | ) | 
Definition at line 41 of file qgssnapindicator.cpp.
| bool QgsSnapIndicator::isVisible | ( | ) | const | 
Returns whether the snapping indicator is visible.
Definition at line 129 of file qgssnapindicator.cpp.
| 
 | inline | 
Returns currently displayed snapping match.
Definition at line 42 of file qgssnapindicator.h.
| void QgsSnapIndicator::setMatch | ( | const QgsPointLocator::Match & | match | ) | 
Sets snapping match that should be displayed in map canvas. Invalid match hides the indicator.
Definition at line 52 of file qgssnapindicator.cpp.
| void QgsSnapIndicator::setVisible | ( | bool | visible = true | ) | 
Sets whether the snapping indicator is visible.
Definition at line 123 of file qgssnapindicator.cpp.