|
graph_analysis
|
graphical edge representation interface More...
#include <EdgeItem.hpp>


Public Member Functions | |
| EdgeItem () | |
| empty constructor More... | |
| ~EdgeItem () | |
| destructor More... | |
| EdgeItem (GraphWidget *graphWidget, QGraphicsItem *source, QGraphicsItem *target, graph_analysis::Edge::Ptr edge) | |
| constructor More... | |
| QGraphicsItem * | sourceItem () const |
| getter method to retrieve source node More... | |
| QGraphicsItem * | targetItem () const |
| getter method to retrieve target node More... | |
| virtual void | adjust () |
| updates edge graphics: edge lenght and endpoints positioning More... | |
| int | type () const |
| getter method to retrieve constant More... | |
| graph_analysis::Edge::Ptr | getEdge () |
| getter method to retrieve the internal conceptual edge More... | |
| virtual EdgeItem * | createNewItem (GraphWidget *graphWidget, QGraphicsItem *source, QGraphicsItem *target, graph_analysis::Edge::Ptr edge) const |
| virtual void | setLabel (const std::string &) |
| virtual graph_analysis::gui::items::EdgeLabel * | getLabel () |
| virtual void | adjustLabel () |
Protected Member Functions | |
| virtual QRectF | boundingRect () const |
| retrieves the bounding rectangular box around the area occupied by the node in the scene More... | |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| qt node painting method - here the node components get placed in the scene More... | |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
| retrieves the path of the bounding rectangular box around the area occupied by the node in the scene More... | |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
Protected Attributes | |
| GraphWidget * | mpGraphWidget |
| parent and managing graph widget More... | |
| QGraphicsItem * | mpSourceItem |
| source edge-endpoint More... | |
| QGraphicsItem * | mpTargetItem |
| target edge-endpoint More... | |
| graph_analysis::Edge::Ptr | mpEdge |
| internal conceptual edge on whose basis the edge's been constructed More... | |
| QPointF | mSourcePoint |
| in-scene edge source point More... | |
| QPointF | mTargetPoint |
| in-scene edge target point More... | |
| qreal | mArrowSize |
| arrow tip size More... | |
graphical edge representation interface
used as polymorphic base for several graphical edge implementations
|
inline |
empty constructor
|
inline |
destructor
| graph_analysis::gui::EdgeItem::EdgeItem | ( | GraphWidget * | graphWidget, |
| QGraphicsItem * | source, | ||
| QGraphicsItem * | target, | ||
| graph_analysis::Edge::Ptr | edge | ||
| ) |
constructor
| graphWidget | the parent and managing graph widget |
| source | the edge source endpoint vertex |
| target | the edge target endpoint vertex |
| edge | the internal conceptual edge |
|
virtual |
updates edge graphics: edge lenght and endpoints positioning
|
inlinevirtual |
|
protectedvirtual |
retrieves the bounding rectangular box around the area occupied by the node in the scene
|
inlinevirtual |
|
inline |
getter method to retrieve the internal conceptual edge
|
inlinevirtual |
|
protectedvirtual |
retrieves the path of the bounding rectangular box around the area occupied by the node in the scene
|
protectedvirtual |
|
protectedvirtual |
qt node painting method - here the node components get placed in the scene
|
inlinevirtual |
|
inline |
getter method to retrieve source node
|
inline |
getter method to retrieve target node
|
inline |
getter method to retrieve constant
|
protected |
arrow tip size
|
protected |
internal conceptual edge on whose basis the edge's been constructed
|
protected |
parent and managing graph widget
|
protected |
source edge-endpoint
|
protected |
target edge-endpoint
|
protected |
in-scene edge source point
|
protected |
in-scene edge target point
1.8.17