Subgroup: Layout

Class: QgsLayoutViewToolEditNodes

class qgis.gui.QgsLayoutViewToolEditNodes

Bases: qgis._gui.QgsLayoutViewTool

Layout view tool for edit node based items in the layout.

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
deleteLater
deleteSelectedNode Deletes the selected node from the item.
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
inherits
installEventFilter
isClickAndDrag
isSignalConnected
isWidgetType
isWindowType
keyPressEvent
keyReleaseEvent Key release event for overriding.
killTimer
layout Returns the layout associated with the tool.
layoutDoubleClickEvent
layoutMoveEvent
layoutPressEvent
layoutReleaseEvent
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()
deactivate(self)
deleteSelectedNode(self)

Deletes the selected node from the item.

disconnectNotify()
ignoredSnapItems(self) → List[QgsLayoutItem]
isClickAndDrag()
isSignalConnected()
keyPressEvent(self, event: QKeyEvent)
layoutDoubleClickEvent(self, event: QgsLayoutViewMouseEvent)
layoutMoveEvent(self, event: QgsLayoutViewMouseEvent)
layoutPressEvent(self, event: QgsLayoutViewMouseEvent)
layoutReleaseEvent(self, event: QgsLayoutViewMouseEvent)
receivers()
sender()
senderSignalIndex()
setFlags()
timerEvent()