15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_NODEEDITORCONNECTION_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_NODEEDITORCONNECTION_H
25 #include <QGraphicsPathItem>
50 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget);
Defines namespace ViewTypes with enum EWidgetTypes (nothing to implement)
view of ISampleNode's with rectangular shape and node functionality
void setPort2(NodeEditorPort *p)
ConnectableView * getChildView()
returns child view, i.e. the view which owns output port of given connection
NodeEditorPort * inputPort()
void updatePosFromPorts()
NodeEditorPort * port2() const
NodeEditorPort * outputPort()
void setPos1(const QPointF &p)
void setPort1(NodeEditorPort *p)
virtual ~NodeEditorConnection()
ConnectableView * getParentView()
returns parent view, i.e. the view which owns input port of given connection
NodeEditorConnection(QGraphicsItem *parent=0, QGraphicsScene *scene=0)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
void setPos2(const QPointF &p)
NodeEditorPort * port1() const