Esempio n. 1
0
 def __init__(self, node, port):
     """
     Args:
         node (NodeGraphQt.NodeObject): parent node object.
         port (NodeGraphQt.widgets.port.PortItem): port view item.
     """
     self.__view = port
     self.__model = PortModel(node)
Esempio n. 2
0
 def __init__(self, node, port):
     self.__view = port
     self.__model = PortModel(node)