38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 40 #include <QtWidgets/QGraphicsItem> 45 class TOPPASToolVertex;
46 class TOPPASInputFileListVertex;
96 QRectF boundingRect()
const override;
98 QPainterPath shape()
const override;
100 void paint(QPainter * painter,
const QStyleOptionGraphicsItem * option,
QWidget * widget)
override;
102 QPointF startPos()
const;
104 QPointF endPos()
const;
106 void setHoverPos(
const QPointF & pos);
116 void prepareResize();
118 void setColor(
const QColor & color);
120 EdgeStatus getEdgeStatus();
122 void setSourceOutParam(
int out);
124 int getSourceOutParam()
const;
126 QString getSourceOutParamName();
128 void setTargetInParam(
int in);
130 int getTargetInParam()
const;
132 QString getTargetInParamName();
138 void showIOMappingDialog();
143 void sourceHasChanged();
148 void somethingHasChanged();
154 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * e)
override;
155 void contextMenuEvent(QGraphicsSceneContextMenuEvent * event)
override;
165 QPointF borderPoint_(
bool atTargetVertex =
true)
const;
Definition: TOPPASEdge.h:77
QPointF hover_pos_
Position of hovering end while edge is being created.
Definition: TOPPASEdge.h:172
const std::string & toString(const DriftTimeUnit value)
A more convenient string class.
Definition: String.h:58
The base class of the different vertex classes.
Definition: TOPPASVertex.h:100
TOPPASVertex * from_
Pointer to the source of this edge.
Definition: TOPPASEdge.h:168
Definition: TOPPASEdge.h:73
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
An edge representing a data flow in TOPPAS.
Definition: TOPPASEdge.h:59
Definition: TOPPASEdge.h:70
int source_out_param_
The source output parameter index.
Definition: TOPPASEdge.h:176
QColor color_
The color.
Definition: TOPPASEdge.h:174
EdgeStatus
The status of this edge.
Definition: TOPPASEdge.h:68
Definition: TOPPASEdge.h:72
TOPPASVertex * to_
Pointer to the target of this edge.
Definition: TOPPASEdge.h:170
Definition: TOPPASEdge.h:75
Definition: TOPPASEdge.h:71
int target_in_param_
The target input parameter index.
Definition: TOPPASEdge.h:178
Definition: TOPPASEdge.h:76
Definition: TOPPASEdge.h:74