Subgroup: Layout

Class: QgsLayoutViewToolTemporaryKeyPan

class qgis.gui.QgsLayoutViewToolTemporaryKeyPan

Bases: qgis._gui.QgsLayoutViewTool

Layout view tool for temporarily panning a layout while a key is depressed.

New in version 3.0: Methods

action Returns the action associated with the tool or None if no action is associated.
activate
blockSignals
childEvent
children
connectNotify
customEvent
deactivate Called when tool is deactivated.
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 Returns the current combination of flags set for the tool.
ignoredSnapItems Returns a list of items which should be ignored while snapping events for this tool.
inherits
installEventFilter
isClickAndDrag
isSignalConnected
isWidgetType
isWindowType
keyPressEvent Key press event for overriding.
keyReleaseEvent
killTimer
layout Returns the layout associated with the tool.
layoutDoubleClickEvent Mouse double-click event for overriding.
layoutMoveEvent
layoutPressEvent Mouse press event for overriding.
layoutReleaseEvent Mouse release event for overriding.
metaObject
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
sender
senderSignalIndex
setAction Associates an action with this tool.
setCursor Sets a user defined cursor for use when the tool is active.
setFlags
setObjectName
setParent
setProperty
signalsBlocked
startTimer
thread
timerEvent
toolName Returns a user-visible, translated name for the tool.
tr
view Returns the view associated with the tool.
wheelEvent Mouse wheel event for overriding.

Attributes

FlagSnaps
activated Emitted when the tool is activated.
deactivated Emitted when the tool is deactivated.
destroyed destroyed(self, QObject = None) [signal]
itemFocused Emitted when an item is “focused” by the tool, i.e.
objectNameChanged objectNameChanged(self, str) [signal]
staticMetaObject
activate(self)
childEvent()
connectNotify()
customEvent()
disconnectNotify()
isClickAndDrag()
isSignalConnected()
keyReleaseEvent(self, event: QKeyEvent)
layoutMoveEvent(self, event: QgsLayoutViewMouseEvent)
receivers()
sender()
senderSignalIndex()
setFlags()
timerEvent()