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;
Extension of QgsTracer that provides extra functionality:
QAction * actionEnableTracing() const
Access to action that user may use to toggle tracing on/off. May be nullptr if no action was associat...
void setActionEnableTracing(QAction *action)
Assign "enable tracing" checkable action to the tracer.
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.
Map canvas is a class for displaying all GIS data types on a canvas.
Represents an item shown within a QgsMessageBar widget.
A bar for displaying non-blocking messages to the user.
Utility class that construct a planar graph from the input vector layers and provides shortest path s...
virtual void configure()
Allows derived classes to setup the settings just before the tracer is initialized.