26 #ifndef __TERRALIB_PROCESS_QT_INTERNAL_CONNECTORGRAPHICSITEM_H 27 #define __TERRALIB_PROCESS_QT_INTERNAL_CONNECTORGRAPHICSITEM_H 29 #include "../../Config.h" 33 #include <QGraphicsObject> 42 class HotPointGraphicsItem;
43 class TaskGraphicsItem;
72 const std::string getConnectorId()
const;
84 virtual QRectF boundingRect()
const;
93 virtual void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget =
nullptr);
102 QPainterPath getConnectorPainterPath()
const;
104 QPainterPath getConnectorArrowPainterPath()
const;
120 #endif // __TERRALIB_PROCESS_QT_INTERNAL_CONNECTORGRAPHICSITEM_H A GraphicItem to represents a Task Process Builder item.
A GraphicItem to represents connector between two Tasks parameters (hot points).
A GraphicItem to represents Task parameters as hot point.
TaskGraphicsItem * m_taskTo
QGraphicsItem that represents TO Task.
HotPointGraphicsItem * m_hotPointFrom
QGraphicsItem that represents FROM HotPoint.
HotPointGraphicsItem * m_hotPointTo
QGraphicsItem that represents TO HotPoint.
std::string m_connectorId
TerraLib connector object id.
TaskGraphicsItem * m_taskFrom
QGraphicsItem that represents FROM Task.