Subgroup: Map
Class: QgsMapToolPan¶
-
class
qgis.gui.
QgsMapToolPan
¶ Bases:
qgis._gui.QgsMapTool
A map tool for panning the map.
See also
Methods
action
Return associated action with map tool or NULL if no action is associated activate
blockSignals
button
Return associated button with map tool or NULL if no button is associated canvas
returns pointer to the tool’s map canvas canvasDoubleClickEvent
canvasMoveEvent
canvasPressEvent
canvasReleaseEvent
childEvent
children
clean
convenient method to clean members connectNotify
customEvent
deactivate
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild
findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject findChildren
findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] flags
gestureEvent
inherits
installEventFilter
isSignalConnected
isWidgetType
isWindowType
keyPressEvent
Key event for overriding. keyReleaseEvent
Key event for overriding. killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal. receivers
removeEventFilter
searchRadiusMM
Get search radius in mm. searchRadiusMU
Get search radius in map units for given context. sender
senderSignalIndex
setAction
Use this to associate a QAction to this maptool. setButton
Use this to associate a button to this maptool. setCursor
Set a user defined cursor setObjectName
setParent
setProperty
signalsBlocked
startTimer
thread
timerEvent
toCanvasCoordinates
toLayerCoordinates
toMapCoordinates
toMapCoordinatesV2
toolName
Emit map tool changed with the old tool tr
wheelEvent
Mouse wheel event for overriding. Attributes
AllowZoomRect
EditTool
Transient
activated
signal emitted once the map tool is activated [signal] deactivated
signal emitted once the map tool is deactivated [signal] destroyed
destroyed(self, QObject = None) [signal] messageDiscarded
emit signal to clear previous message [signal] messageEmitted
emit a message [signal] objectNameChanged
objectNameChanged(self, str) [signal] staticMetaObject
-
activate
(self)¶
-
canvasDoubleClickEvent
(self, e: QgsMapMouseEvent)¶
-
canvasMoveEvent
(self, e: QgsMapMouseEvent)¶
-
canvasPressEvent
(self, e: QgsMapMouseEvent)¶
-
canvasReleaseEvent
(self, e: QgsMapMouseEvent)¶
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
deactivate
(self)¶
-
disconnectNotify
()¶
-
flags
(self) → QgsMapTool.Flags¶
-
gestureEvent
(self, e: QGestureEvent) → bool¶
-
isSignalConnected
()¶
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
timerEvent
()¶
-
toCanvasCoordinates
()¶
-
toLayerCoordinates
()¶
-
toMapCoordinates
()¶
-
toMapCoordinatesV2
()¶
-