21 using node_t = std::function<void(QtNodes::Node&)>;
22 using menu_t = std::function<void(QtNodes::Node&,
const QPointF&)>;
Definition pcinterface.h:7
Definition pcinterface.h:16
virtual void setNodeDoubleClickedCallback(QtNodes::FlowScene *scene, const node_t &cb)=0
virtual void setConfigChangedCbk(const node_t cb)=0
virtual ~PCInterface()
Definition pcinterface.h:17
virtual void showContextMenu(QMenu &menu, const QPoint &pos)=0
std::function< void(QtNodes::Node &)> node_t
Definition pcinterface.h:21
virtual void setNodeContextMenuCallback(QtNodes::FlowScene *scene, const menu_t &cb)=0
virtual void setNodeDeletedCallback(QtNodes::FlowScene *scene, const node_t &cb)=0
std::function< void(QtNodes::Node &, const QPointF &)> menu_t
Definition pcinterface.h:22
virtual void setNodeCreatedCallback(QtNodes::FlowScene *scene, const node_t &cb)=0
virtual void openProperties(QtNodes::Node &node)=0