#include <SceneDSLinkItem.hxx>


Public Member Functions | |
| SceneDSLinkItem (QGraphicsScene *scene, SceneItem *parent, ScenePortItem *from, ScenePortItem *to, QString label, Subject *subject) | |
| virtual | ~SceneDSLinkItem () |
Public Member Functions inherited from YACS::HMI::SceneLinkItem | |
| SceneLinkItem (QGraphicsScene *scene, SceneItem *parent, ScenePortItem *from, ScenePortItem *to, QString label, Subject *subject) | |
| virtual | ~SceneLinkItem () |
| virtual void | select (bool isSelected) |
| virtual QRectF | boundingRect () const |
| virtual QPainterPath | shape () const |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| virtual void | update (GuiEvent event, int type, Subject *son) |
| virtual void | popupMenu (QWidget *caller, const QPoint &globalPos) |
| virtual void | setPath (LinkPath lp) |
| virtual void | minimizeDirectionChanges () |
| virtual void | force2points () |
| virtual QPointF | start () |
| virtual QPointF | goal () |
| virtual void | updateShape () |
| virtual SceneNodeItem * | getFromNode () |
| virtual SceneNodeItem * | getToNode () |
Public Member Functions inherited from YACS::HMI::SceneObserverItem | |
| SceneObserverItem (QGraphicsScene *scene, SceneItem *parent, QString label, Subject *subject) | |
| virtual | ~SceneObserverItem () |
| virtual void | activateSelection (bool selected) |
| virtual Subject * | getSubject () |
| virtual QString | getToolTip () |
Public Member Functions inherited from YACS::HMI::SceneItem | |
| SceneItem (QGraphicsScene *scene, SceneItem *parent, QString label) | |
| virtual | ~SceneItem () |
| virtual QRectF | childrenBoundingRect () const |
| virtual void | setTopLeft (QPointF topLeft) |
| virtual void | checkGeometryChange () |
| void | setParent (SceneItem *parent) |
| void | setEventPos (QPointF point) |
| virtual void | updateChildItems () |
| virtual void | updateLinks () |
| virtual void | shrinkExpandLink (bool se) |
| virtual void | shrinkExpandRecursive (bool isExpanding, bool fromHere, ShrinkMode theShrinkMode) |
| bool | isAncestorShrinked () |
Public Member Functions inherited from YACS::HMI::AbstractSceneItem | |
| AbstractSceneItem (QGraphicsScene *scene, SceneItem *parent, QString label) | |
| virtual | ~AbstractSceneItem () |
| int | getLevel () |
| void | setLevel () |
| virtual void | reorganize () |
| virtual QString | getLabel () |
| virtual void | addHeader () |
| virtual void | addProgressItem () |
| virtual qreal | getHeaderBottom () |
| qreal | getWidth () |
| qreal | getHeight () |
| virtual void | setWidth (qreal width) |
| AbstractSceneItem cannot be resized (only ComposedNodeItem can) More... | |
| virtual void | setHeight (qreal height) |
| AbstractSceneItem cannot be resized (only ComposedNodeItem can) More... | |
| virtual void | setGeometryOptimization (bool optimize) |
| SceneItem * | getParent () |
Public Member Functions inherited from YACS::HMI::GuiObserver | |
| GuiObserver () | |
| virtual | ~GuiObserver () |
| virtual void | incrementSubjects (Subject *subject) |
| virtual void | decrementSubjects (Subject *subject) |
| int | getNbSubjects () |
| bool | isDestructible () |
Protected Member Functions | |
| virtual QColor | getBrushColor () |
| virtual QColor | getPenColor () |
Protected Member Functions inherited from YACS::HMI::SceneLinkItem | |
| void | setShape (int thickness=1) |
| void | addArrow (QPointF pfrom, QPointF pto, HMI::Direction dir, int thickness=1) |
Protected Member Functions inherited from YACS::HMI::SceneObserverItem | |
| virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
| virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
| virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
| virtual QString | getMimeFormat () |
Protected Member Functions inherited from YACS::HMI::SceneItem | |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
| virtual void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
| QColor | hoverColor (QColor origColor) |
Protected Member Functions inherited from YACS::HMI::AbstractSceneItem | |
| virtual QRectF | childBoundingRect (AbstractSceneItem *child) const |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::GuiObserver | |
| static std::string | eventName (GuiEvent event) |
| static void | setEventMap () |
Public Attributes inherited from YACS::HMI::SceneItem | |
| bool | _blocX |
| bool | _blocY |
Protected Attributes inherited from YACS::HMI::SceneLinkItem | |
| QPainterPath | _path |
| ScenePortItem * | _from |
| ScenePortItem * | _to |
| std::vector< QPointF > | _lp |
| std::vector< Direction > | _directions |
| int | _nbPoints |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
| static std::map< int, std::string > | _eventNameMap |
Definition at line 30 of file SceneDSLinkItem.hxx.
| SceneDSLinkItem::SceneDSLinkItem | ( | QGraphicsScene * | scene, |
| SceneItem * | parent, | ||
| ScenePortItem * | from, | ||
| ScenePortItem * | to, | ||
| QString | label, | ||
| Subject * | subject | ||
| ) |
Definition at line 30 of file SceneDSLinkItem.cxx.
References YACS::HMI::AbstractSceneItem::_brushColor, YACS::HMI::AbstractSceneItem::_hiBrushColor, YACS::HMI::AbstractSceneItem::_hiPenColor, YACS::HMI::AbstractSceneItem::_penColor, YACS::HMI::Resource::link_pen_darkness, YACS::HMI::Resource::stream_link_draw_color, and YACS::HMI::Resource::stream_link_select_color.
|
virtual |
Definition at line 41 of file SceneDSLinkItem.cxx.
|
protectedvirtual |
Reimplemented from YACS::HMI::SceneLinkItem.
Definition at line 52 of file SceneDSLinkItem.cxx.
References YACS::HMI::AbstractSceneItem::_brushColor, YACS::HMI::AbstractSceneItem::_hiBrushColor, YACS::HMI::SceneObserverItem::getBrushColor(), YACS::HMI::Resource::stream_link_draw_color, and YACS::HMI::Resource::stream_link_select_color.
|
protectedvirtual |
Reimplemented from YACS::HMI::SceneLinkItem.
Definition at line 45 of file SceneDSLinkItem.cxx.
References YACS::HMI::AbstractSceneItem::_hiPenColor, YACS::HMI::AbstractSceneItem::_penColor, YACS::HMI::SceneItem::getPenColor(), YACS::HMI::Resource::link_pen_darkness, YACS::HMI::Resource::stream_link_draw_color, and YACS::HMI::Resource::stream_link_select_color.