3#include <QtCore/QObject>
4#include <QtCore/QJsonObject>
5#include <QtWidgets/QLabel>
7#include "nodes/QNodeDataModel"
33 QString
caption()
const override;
38 QString
name()
const override;
41 QString
portCaption(PortType portType, PortIndex portIndex)
const override;
45 QString
portTips(PortType portType, PortIndex portIndex)
const override;
50 unsigned int nPorts(PortType portType)
const override;
58 std::shared_ptr<QtNodeData>
outData(PortIndex port)
override;
61 void setInData(std::shared_ptr<QtNodeData> data, PortIndex portIndex)
override;
63 bool tryInData(PortIndex portIndex, std::shared_ptr<QtNodeData> nodeData)
override;
65 NodeDataType
dataType(PortType portType, PortIndex portIndex)
const override;
89 using OutFieldPtr = std::vector<std::shared_ptr<QtFieldData>>;
93 using InFieldPtr = std::vector<std::shared_ptr<QtFieldData>>;
99 std::shared_ptr<Module>
mModule =
nullptr;
106 FBase*
getField(PortType portType, PortIndex portIndex)
const;