An interface for objects which block interactions with a QgsMapCanvas.
More...
#include <qgsmapcanvasinteractionblocker.h>
An interface for objects which block interactions with a QgsMapCanvas.
- Since
- QGIS 3.14
Definition at line 29 of file qgsmapcanvasinteractionblocker.h.
◆ Interaction
Available interactions to block.
Enumerator |
---|
MapPanOnSingleClick | A map pan interaction caused by a single click and release on the map canvas.
|
Definition at line 36 of file qgsmapcanvasinteractionblocker.h.
◆ ~QgsMapCanvasInteractionBlocker()
virtual QgsMapCanvasInteractionBlocker::~QgsMapCanvasInteractionBlocker |
( |
| ) |
|
|
virtualdefault |
◆ blockCanvasInteraction()
virtual bool QgsMapCanvasInteractionBlocker::blockCanvasInteraction |
( |
Interaction |
interaction | ) |
const |
|
pure virtual |
Returns true
if the specified interaction should be blocked.
The documentation for this class was generated from the following file: