26 #ifndef __TERRALIB_PROCESS_QT_INTERNAL_HOTPOINTGRAPHICSITEM_H 27 #define __TERRALIB_PROCESS_QT_INTERNAL_HOTPOINTGRAPHICSITEM_H 29 #include "../../Config.h" 33 #include <QGraphicsObject> 53 HotPointGraphicsItem(
const QPointF& position,
const std::size_t& index,
const std::string& taskId);
65 QPointF getHotPointPos();
72 virtual QRectF boundingRect()
const;
81 virtual void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget =
nullptr);
88 void setHotPointColor(QColor color);
95 std::size_t getHotPointIndex()
const;
111 #endif // __TERRALIB_PROCESS_QT_INTERNAL_HOTPOINTGRAPHICSITEM_H A GraphicItem to represents Task parameters as hot point.
QPointF m_pos
Position that represents this hot point.
QColor m_color
Color used to draw this hotpoint.
std::string m_taskId
Task id for this hot point parameter.
std::size_t m_index
Parameter index from task.