|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
An interface for objects which block interactions with a QgsMapCanvas. More...
#include <qgsmapcanvasinteractionblocker.h>
Public Types | |
| enum class | Interaction : int { MapPanOnSingleClick = 1 << 0 } |
| Available interactions to block. More... | |
Public Member Functions | |
| virtual | ~QgsMapCanvasInteractionBlocker ()=default |
| virtual bool | blockCanvasInteraction (Interaction interaction) const =0 |
Returns true if the specified interaction should be blocked. | |
An interface for objects which block interactions with a QgsMapCanvas.
Definition at line 30 of file qgsmapcanvasinteractionblocker.h.
|
strong |
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.
|
virtualdefault |
|
pure virtual |
Returns true if the specified interaction should be blocked.