QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
15 #ifndef QGSMAPCANVASTRACER_H
16 #define QGSMAPCANVASTRACER_H
80 void reportError( PathError err,
bool addingVertex );
87 void onCurrentLayerChanged();
94 QAction *mActionEnableTracing =
nullptr;
95 QAction *mActionEnableSnapping =
nullptr;
98 #endif // QGSMAPCANVASTRACER_H
Utility class that construct a planar graph from the input vector layers and provides shortest path s...
void setActionEnableTracing(QAction *action)
Assign "enable tracing" checkable action to the tracer.
Map canvas is a class for displaying all GIS data types on a canvas.
QAction * actionEnableTracing() const
Access to action that user may use to toggle tracing on/off. May be nullptr if no action was associat...
Represents an item shown within a QgsMessageBar widget.
Extension of QgsTracer that provides extra functionality:
A bar for displaying non-blocking messages to the user.
QAction * actionEnableSnapping() const
Access to action that user may use to toggle snapping on/off.
void setActionEnableSnapping(QAction *action)
Assign "enable snapping" checkable action to the tracer.
virtual void configure()
Allows derived classes to setup the settings just before the tracer is initialized.