示例#1
0
class MyNodeData(nodeeditor.NodeData):
    data_type = nodeeditor.NodeDataType('MyNodeData', 'My Node Data')
示例#2
0
class PortData(qtpynodeeditor.NodeData):
    data_type = qtpynodeeditor.NodeDataType(id='Port', name='Port')

    def __init__(self, port):
        self.port = port