QOpcUaAddNodeItem#

This class stores the necessary information to create a new node on the server. More

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

See also

addNode()

class PySide6.QtOpcUa.QOpcUaAddNodeItem#

PySide6.QtOpcUa.QOpcUaAddNodeItem(arg__1)

Parameters:

arg__1PySide6.QtOpcUa.QOpcUaAddNodeItem

Default constructs an add node item with no parameters set.

Constructs a add node item from other.

PySide6.QtOpcUa.QOpcUaAddNodeItem.browseName()#
Return type:

PySide6.QtOpcUa.QOpcUaQualifiedName

Returns the browse name of the new node.

See also

setBrowseName()

PySide6.QtOpcUa.QOpcUaAddNodeItem.nodeAttributes()#
Return type:

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes

Returns the values for the node attributes of the new node.

PySide6.QtOpcUa.QOpcUaAddNodeItem.nodeAttributesRef()#
Return type:

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes

Returns a reference to the values for the node attributes of the new node.

PySide6.QtOpcUa.QOpcUaAddNodeItem.nodeClass()#
Return type:

NodeClass

Returns the node class of the new node.

See also

setNodeClass()

PySide6.QtOpcUa.QOpcUaAddNodeItem.parentNodeId()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns the parent node id.

PySide6.QtOpcUa.QOpcUaAddNodeItem.referenceTypeId()#
Return type:

str

Returns the reference type id.

PySide6.QtOpcUa.QOpcUaAddNodeItem.requestedNewNodeId()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns the requested new node id.

PySide6.QtOpcUa.QOpcUaAddNodeItem.setBrowseName(browseName)#
Parameters:

browseNamePySide6.QtOpcUa.QOpcUaQualifiedName

Sets the browse name of the new node to browseName.

See also

browseName()

PySide6.QtOpcUa.QOpcUaAddNodeItem.setNodeAttributes(nodeAttributes)#
Parameters:

nodeAttributesPySide6.QtOpcUa.QOpcUaNodeCreationAttributes

Sets the values for the node attributes of the new node to nodeAttributes. Only the attributes supported by the node class of the new node will be used.

See also

nodeAttributes()

PySide6.QtOpcUa.QOpcUaAddNodeItem.setNodeClass(nodeClass)#
Parameters:

nodeClassNodeClass

Sets the node class of the new node to nodeClass.

See also

nodeClass()

PySide6.QtOpcUa.QOpcUaAddNodeItem.setParentNodeId(parentNodeId)#
Parameters:

parentNodeIdPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets the parent node id to parentNodeId. A reference of the type set in setReferenceTypeId() from this node to the newly added node will be created.

PySide6.QtOpcUa.QOpcUaAddNodeItem.setReferenceTypeId(referenceTypeId)#
Parameters:

referenceTypeId – str

Sets the reference type id to referenceTypeId. A reference of this type will be used to connect the node to the parent node.

PySide6.QtOpcUa.QOpcUaAddNodeItem.setRequestedNewNodeId(requestedNewNodeId)#
Parameters:

requestedNewNodeIdPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets the requested new node id to requestedNewNodeId.

PySide6.QtOpcUa.QOpcUaAddNodeItem.setTypeDefinition(typeDefinition)#
Parameters:

typeDefinitionPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets the node id of the type definition node to typeDefinition. This value shall be set if the node class is not Object or Variable.

See also

typeDefinition()

PySide6.QtOpcUa.QOpcUaAddNodeItem.typeDefinition()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns the node id of the type definition node.