Version: 8.3.0
YACS::HMI::SceneCtrlOutPortItem Class Reference

#include <SceneCtrlOutPortItem.hxx>

Inheritance diagram for YACS::HMI::SceneCtrlOutPortItem:
Collaboration diagram for YACS::HMI::SceneCtrlOutPortItem:

Public Member Functions

 SceneCtrlOutPortItem (QGraphicsScene *scene, SceneItem *parent, QString label)
 
virtual ~SceneCtrlOutPortItem ()
 
virtual void popupMenu (QWidget *caller, const QPoint &globalPos)
 
- Public Member Functions inherited from YACS::HMI::SceneCtrlPortItem
 SceneCtrlPortItem (QGraphicsScene *scene, SceneItem *parent, QString label)
 
virtual ~SceneCtrlPortItem ()
 
virtual void setText (QString label)
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
virtual SceneNodeItemgetParentNode ()
 
SubjectNodegetSubjectNode ()
 
- Public Member Functions inherited from YACS::HMI::SceneItem
 SceneItem (QGraphicsScene *scene, SceneItem *parent, QString label)
 
virtual ~SceneItem ()
 
virtual QRectF boundingRect () const
 
virtual QRectF childrenBoundingRect () const
 
virtual void setTopLeft (QPointF topLeft)
 
virtual void checkGeometryChange ()
 
void setParent (SceneItem *parent)
 
virtual QString getToolTip ()
 
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 activateSelection (bool selected)
 
virtual void setGeometryOptimization (bool optimize)
 
SceneItemgetParent ()
 
- Public Member Functions inherited from YACS::HMI::ScenePortItem
 ScenePortItem (QString label)
 
virtual ~ScenePortItem ()
 

Protected Member Functions

virtual QString getMimeFormat ()
 
- Protected Member Functions inherited from YACS::HMI::SceneCtrlPortItem
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
- Protected Member Functions inherited from YACS::HMI::SceneItem
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
virtual void hoverMoveEvent (QGraphicsSceneHoverEvent *event)
 
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 
virtual QColor getPenColor ()
 
virtual QColor getBrushColor ()
 
QColor hoverColor (QColor origColor)
 
- Protected Member Functions inherited from YACS::HMI::AbstractSceneItem
virtual QRectF childBoundingRect (AbstractSceneItem *child) const
 

Additional Inherited Members

- Public Attributes inherited from YACS::HMI::SceneItem
bool _blocX
 
bool _blocY
 
- Protected Attributes inherited from YACS::HMI::SceneCtrlPortItem
bool _draging
 
bool _dragModifier
 

Detailed Description

Definition at line 29 of file SceneCtrlOutPortItem.hxx.

Constructor & Destructor Documentation

SceneCtrlOutPortItem::SceneCtrlOutPortItem ( QGraphicsScene scene,
SceneItem parent,
QString  label 
)

Definition at line 36 of file SceneCtrlOutPortItem.cxx.

References YACS::HMI::AbstractSceneItem::_dragable.

38  : SceneCtrlPortItem(scene, parent, label)
39 {
40  _dragable = true;
41 }
SceneCtrlOutPortItem::~SceneCtrlOutPortItem ( )
virtual

Definition at line 43 of file SceneCtrlOutPortItem.cxx.

44 {
45 }

Member Function Documentation

QString SceneCtrlOutPortItem::getMimeFormat ( )
protectedvirtual

Reimplemented from YACS::HMI::SceneCtrlPortItem.

Definition at line 53 of file SceneCtrlOutPortItem.cxx.

54 {
55  return "yacs/subjectOutGate";
56 }
void SceneCtrlOutPortItem::popupMenu ( QWidget caller,
const QPoint &  globalPos 
)
virtual

Reimplemented from YACS::HMI::SceneItem.

Definition at line 47 of file SceneCtrlOutPortItem.cxx.

References gui.GraphViewer::m, and YACS::HMI::CtrlOutPortMenu::popupMenu().

48 {
50  m.popupMenu(caller, globalPos);
51 }

The documentation for this class was generated from the following files: