PyMacroPTPlugin.PTNode

class PTNode

The PTNode class

Synopsis

Methods

Virtual methods

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

class NodeType
__init__()
getAllowed(userId)
Parameters:

userId – int

Return type:

bool

getCost(userId)
Parameters:

userId – int

Return type:

float

getId()
Return type:

int

getLineId()
Return type:

int

getNodeType()
Return type:

NodeType

getObjectId()
Return type:

int

setAllowed(userId, iAllowed)
Parameters:
  • userId – int

  • iAllowed – bool

setCost(userId, cost)
Parameters:
  • userId – int

  • cost – float

setId(id)
Parameters:

id – int

setLineId(arg__1)
Parameters:

arg__1 – int

setNodeType(iNodeType)
Parameters:

iNodeTypeNodeType

setObjectId(id)
Parameters:

id – int