|  | OpenMS
    2.6.0
    | 
 
 
  
  
 
Go to the documentation of this file.
   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();
 
  126     QString getSourceOutParamName();
 
  128     void setTargetInParam(
int in);
 
  130     int getTargetInParam();
 
  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;
 
  168     QPointF nearestPoint_(
const QPointF & origin, 
const QList<QPointF> & list) 
const;
 
  
TOPPASVertex * from_
Pointer to the source of this edge.
Definition: TOPPASEdge.h:170
EdgeStatus
The status of this edge.
Definition: TOPPASEdge.h:68
Definition: TOPPASEdge.h:70
A more convenient string class.
Definition: String.h:59
int target_in_param_
The target input parameter index.
Definition: TOPPASEdge.h:180
Definition: TOPPASEdge.h:77
QPointF hover_pos_
Position of hovering end while edge is being created.
Definition: TOPPASEdge.h:174
QColor color_
The color.
Definition: TOPPASEdge.h:176
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Definition: TOPPASEdge.h:72
Definition: TOPPASEdge.h:73
Definition: TOPPASEdge.h:75
Definition: TOPPASEdge.h:74
The base class of the different vertex classes.
Definition: TOPPASVertex.h:101
Definition: TOPPASEdge.h:76
String toString(const T &i)
fallback template for general purpose using Boost::Karma; more specializations below
Definition: StringUtils.h:127
TOPPASVertex * to_
Pointer to the target of this edge.
Definition: TOPPASEdge.h:172
An edge representing a data flow in TOPPAS.
Definition: TOPPASEdge.h:59
int source_out_param_
The source output parameter index.
Definition: TOPPASEdge.h:178
Definition: TOPPASEdge.h:71