#include <SceneCtrlInPortItem.hxx>
Public Member Functions | |
SceneCtrlInPortItem (QGraphicsScene *scene, SceneItem *parent, QString label) | |
virtual | ~SceneCtrlInPortItem () |
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 SceneNodeItem * | getParentNode () |
SubjectNode * | getSubjectNode () |
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) |
SceneItem * | getParent () |
Public Member Functions inherited from YACS::HMI::ScenePortItem | |
ScenePortItem (QString label) | |
virtual | ~ScenePortItem () |
Protected Member Functions | |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) |
void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) |
void | dropEvent (QGraphicsSceneDragDropEvent *event) |
Protected Member Functions inherited from YACS::HMI::SceneCtrlPortItem | |
virtual QString | getMimeFormat () |
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 |
Protected Attributes | |
bool | _dragOver |
Protected Attributes inherited from YACS::HMI::SceneCtrlPortItem | |
bool | _draging |
bool | _dragModifier |
Protected Attributes inherited from YACS::HMI::SceneItem | |
bool | _hover |
bool | _ancestorShrinked |
QPointF | _eventPos |
Protected Attributes inherited from YACS::HMI::AbstractSceneItem | |
SceneItem * | _parent |
YACS::HMI::Scene * | _scene |
QString | _label |
int | _level |
qreal | _width |
qreal | _height |
qreal | _incHeight |
QColor | _penColor |
QColor | _brushColor |
QColor | _hiPenColor |
QColor | _hiBrushColor |
bool | _hasHeader |
bool | _optimize |
bool | _dragable |
enum Qt::MouseButton | _dragButton |
Protected Attributes inherited from YACS::HMI::ScenePortItem | |
SceneTextItem * | _text |
Additional Inherited Members | |
Public Attributes inherited from YACS::HMI::SceneItem | |
bool | _blocX |
bool | _blocY |
Definition at line 29 of file SceneCtrlInPortItem.hxx.
SceneCtrlInPortItem::SceneCtrlInPortItem | ( | QGraphicsScene * | scene, |
SceneItem * | parent, | ||
QString | label | ||
) |
|
virtual |
Definition at line 46 of file SceneCtrlInPortItem.cxx.
|
protected |
Definition at line 56 of file SceneCtrlInPortItem.cxx.
References _dragOver, and YACS::HMI::ItemMimeData::getSubject().
|
protected |
Definition at line 74 of file SceneCtrlInPortItem.cxx.
References _dragOver.
|
protected |
Definition at line 81 of file SceneCtrlInPortItem.cxx.
References _dragOver, YACS::HMI::QtGuiContext::_mapOfSceneItem, YACS::HMI::SceneCtrlPortItem::getParentNode(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::SceneObserverItem::getSubject(), YACS::HMI::ItemMimeData::getSubject(), and YACS::HMI::SubjectNode::tryCreateLink().
|
virtual |
Reimplemented from YACS::HMI::SceneItem.
Definition at line 50 of file SceneCtrlInPortItem.cxx.
References gui.GraphViewer::m, and YACS::HMI::CtrlInPortMenu::popupMenu().
|
protected |
Definition at line 40 of file SceneCtrlInPortItem.hxx.
Referenced by dragEnterEvent(), dragLeaveEvent(), dropEvent(), and SceneCtrlInPortItem().