A GraphicItem to represents connector between two Tasks parameters (hot points).
More...
#include <ConnectorGraphicsItem.h>
A GraphicItem to represents connector between two Tasks parameters (hot points).
Definition at line 51 of file ConnectorGraphicsItem.h.
◆ ConnectorGraphicsItem()
Default constructor.
- Parameters
-
taskFrom | QGraophicsItem that represents FROM task |
hotPointFrom | QGraphicsItem that represents FROM hotpoint |
taskTo | QGraophicsItem that represents TO task |
hotPointTo | QGraphicsItem that represents TO hotpoint |
◆ ~ConnectorGraphicsItem()
te::process::qt::ConnectorGraphicsItem::~ConnectorGraphicsItem |
( |
| ) |
|
◆ boundingRect()
virtual QRectF te::process::qt::ConnectorGraphicsItem::boundingRect |
( |
| ) |
const |
|
virtual |
Virtual function that defines the outer bounds of the item as a rectangle.
- Returns
- QRectF for this item.
◆ getConnectorArrowPainterPath()
QPainterPath te::process::qt::ConnectorGraphicsItem::getConnectorArrowPainterPath |
( |
| ) |
const |
|
protected |
◆ getConnectorId()
const std::string te::process::qt::ConnectorGraphicsItem::getConnectorId |
( |
| ) |
const |
Get function to access connector internal pointer.
◆ getConnectorPainterPath()
QPainterPath te::process::qt::ConnectorGraphicsItem::getConnectorPainterPath |
( |
| ) |
const |
|
protected |
Function used to get the hot points position in scene coordinate and create a QPainterPath.
- Returns
- a valid QPainterPath if connector hotpoints was defined
◆ paint()
virtual void te::process::qt::ConnectorGraphicsItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
virtual |
Function used to draw the process item.
- Parameters
-
painter | Qt Painter used to draw the process item. |
option | Qt style options used to draw the process item. |
◆ removed()
void te::process::qt::ConnectorGraphicsItem::removed |
( |
| ) |
|
Get function to notify that the connector was removed.
◆ m_connectorId
std::string te::process::qt::ConnectorGraphicsItem::m_connectorId |
|
protected |
◆ m_hotPointFrom
◆ m_hotPointTo
◆ m_taskFrom
◆ m_taskTo
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/process/qt/graphics/ConnectorGraphicsItem.h