QgsMapCanvasSnappingUtils class

Snapping utils instance that is connected to a canvas and updates the configuration (map settings + current layer) whenever that is changed in the canvas.

Contents

Base classes

class QgsSnappingUtils
This class has all the configuration of snapping and can return answers to snapping queries.

Protected functions

void prepareIndexProgress(int index) override
Called when finished indexing a layer. When index == count the indexing is complete.
void prepareIndexStarting(int count) override
Called when starting to index - can be overridden and e.g. progress dialog can be provided.