A GraphicItem to represents a Task Process Builder item.
More...
#include <TaskGraphicsItem.h>
|
virtual QRectF | boundingRect () const |
| Virtual function that defines the outer bounds of the item as a rectangle. More...
|
|
virtual void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) override |
| Virtual function to reimplement qt event. More...
|
|
virtual void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) override |
| Virtual function to reimplement qt event. More...
|
|
virtual void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) override |
| Virtual function to reimplement qt event. More...
|
|
virtual void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
| Virtual function to reimplement qt event. More...
|
|
HotPointGraphicsItem * | getHotPoint (const QPointF &pos) |
| Function used to get hotpoint given a item position. More...
|
|
virtual void | hotPointPressed (HotPointGraphicsItem *hotpoint) |
| Virtual function used to notify when user clicks over a hotpoint. More...
|
|
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
| Receive hover enter events for this item. The default implementation calls update(). More...
|
|
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
| Receive hover leave events for this item. The default implementation calls update(). More...
|
|
void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) override |
| Receive hover move events for this item. The default implementation does nothing. More...
|
|
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
| Receive mouse move events for this item. More...
|
|
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| Receive mouse press events for this item. More...
|
|
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
| Receive mouse release events for this item. More...
|
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) |
| Function used to draw the process item. More...
|
|
A GraphicItem to represents a Task Process Builder item.
Definition at line 54 of file TaskGraphicsItem.h.
◆ TaskGraphicsItem()
te::process::qt::TaskGraphicsItem::TaskGraphicsItem |
( |
ProcessManager * |
manager, |
|
|
const std::string & |
taskId |
|
) |
| |
◆ ~TaskGraphicsItem()
te::process::qt::TaskGraphicsItem::~TaskGraphicsItem |
( |
| ) |
|
◆ addConnector()
Function used to add a new connector item to this task.
◆ boundingRect()
virtual QRectF te::process::qt::TaskGraphicsItem::boundingRect |
( |
| ) |
const |
|
protectedvirtual |
◆ dragEnterEvent()
virtual void te::process::qt::TaskGraphicsItem::dragEnterEvent |
( |
QGraphicsSceneDragDropEvent * |
event | ) |
|
|
overrideprotectedvirtual |
Virtual function to reimplement qt event.
◆ dragLeaveEvent()
virtual void te::process::qt::TaskGraphicsItem::dragLeaveEvent |
( |
QGraphicsSceneDragDropEvent * |
event | ) |
|
|
overrideprotectedvirtual |
Virtual function to reimplement qt event.
◆ dragMoveEvent()
virtual void te::process::qt::TaskGraphicsItem::dragMoveEvent |
( |
QGraphicsSceneDragDropEvent * |
event | ) |
|
|
overrideprotectedvirtual |
Virtual function to reimplement qt event.
◆ dropEvent()
virtual void te::process::qt::TaskGraphicsItem::dropEvent |
( |
QGraphicsSceneDragDropEvent * |
event | ) |
|
|
overrideprotectedvirtual |
Virtual function to reimplement qt event.
◆ getBrush()
QBrush te::process::qt::AbstractGraphicsItem::getBrush |
( |
| ) |
|
|
inherited |
◆ getFont()
QFont te::process::qt::AbstractGraphicsItem::getFont |
( |
| ) |
|
|
inherited |
◆ getHotPoint()
Function used to get hotpoint given a item position.
\Return Pointer to the hotpoint if in this position has a hotpoint and nullptr in other case.
◆ getPen()
QPen te::process::qt::AbstractGraphicsItem::getPen |
( |
| ) |
|
|
inherited |
◆ getTaskId()
const std::string te::process::qt::TaskGraphicsItem::getTaskId |
( |
| ) |
const |
Function used to get the task id.
◆ hotPointPressed()
◆ hoverEnterEvent()
void te::process::qt::AbstractGraphicsItem::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedinherited |
Receive hover enter events for this item. The default implementation calls update().
- Parameters
-
◆ hoverLeaveEvent()
void te::process::qt::AbstractGraphicsItem::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedinherited |
Receive hover leave events for this item. The default implementation calls update().
- Parameters
-
◆ hoverMoveEvent()
void te::process::qt::AbstractGraphicsItem::hoverMoveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedinherited |
Receive hover move events for this item. The default implementation does nothing.
- Parameters
-
◆ mouseMoveEvent()
void te::process::qt::AbstractGraphicsItem::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedinherited |
Receive mouse move events for this item.
- Parameters
-
◆ mousePressEvent()
void te::process::qt::AbstractGraphicsItem::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedinherited |
Receive mouse press events for this item.
- Parameters
-
◆ mouseReleaseEvent()
void te::process::qt::AbstractGraphicsItem::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedinherited |
Receive mouse release events for this item.
- Parameters
-
◆ paint()
virtual void te::process::qt::TaskGraphicsItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
protectedvirtual |
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. |
Reimplemented from te::process::qt::AbstractGraphicsItem.
◆ resetTaskId()
void te::process::qt::TaskGraphicsItem::resetTaskId |
( |
const std::string & |
newTaskId | ) |
|
Function used to reset the task id.
◆ setBrushColor()
void te::process::qt::AbstractGraphicsItem::setBrushColor |
( |
QColor |
color | ) |
|
|
inherited |
◆ setBrushStyle()
void te::process::qt::AbstractGraphicsItem::setBrushStyle |
( |
Qt::BrushStyle |
style | ) |
|
|
inherited |
◆ setFont()
void te::process::qt::AbstractGraphicsItem::setFont |
( |
QFont |
font | ) |
|
|
inherited |
◆ setPenColor()
void te::process::qt::AbstractGraphicsItem::setPenColor |
( |
QColor |
color | ) |
|
|
inherited |
◆ setPenStyle()
void te::process::qt::AbstractGraphicsItem::setPenStyle |
( |
Qt::PenStyle |
style | ) |
|
|
inherited |
◆ setPenWidth()
void te::process::qt::AbstractGraphicsItem::setPenWidth |
( |
int |
width | ) |
|
|
inherited |
◆ m_brush
QBrush te::process::qt::AbstractGraphicsItem::m_brush |
|
protectedinherited |
◆ m_connectors
◆ m_drawHotPoints
bool te::process::qt::AbstractGraphicsItem::m_drawHotPoints |
|
protectedinherited |
◆ m_font
QFont te::process::qt::AbstractGraphicsItem::m_font |
|
protectedinherited |
◆ m_hotPoints
◆ m_manager
◆ m_path
QPainterPath te::process::qt::AbstractGraphicsItem::m_path |
|
protectedinherited |
◆ m_pen
QPen te::process::qt::AbstractGraphicsItem::m_pen |
|
protectedinherited |
◆ m_taskGraphicalCapabilities
◆ m_taskId
std::string te::process::qt::TaskGraphicsItem::m_taskId |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/process/qt/graphics/TaskGraphicsItem.h