6.1.1.3.1.10. thyrsis.gui.point_tool module¶
Point tool for the crisis interface
- class thyrsis.gui.point_tool.PointTool(canvas)¶
Bases:
qgis._gui.QgsMapTool
PointTool, declined from QgsMapTool
- canvasMoveEvent(event)¶
Triggered when the mouse is moved on canvas
- Parameters
event (QEvent) – mouse event
- canvasPressEvent(event)¶
Triggered when the mouse is used on canvas
- Parameters
event (QEvent) – mouse event
- isEditTool()¶
Overwrite QgsMapTool function to tell PointTool is a transient (one shoot) tool
- isTransient()¶
Overwrite QgsMapTool function to tell PointTool is a zoom tool
- isZoomTool()¶
Overwrite QgsMapTool function to tell PointTool is not a zoom tool
- pointClicked¶
- rightClicked¶