19#ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_RECTANGLE_HPP
20#define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_RECTANGLE_HPP
41 const double y,
const double w,
const double h,
42 const QString obj_name =
"",
const QString elem_name =
"");
52 virtual void DrawElement(QPainter* painter)
override;
64 int type()
const override;
67 void hoverEnterEvent(QGraphicsSceneHoverEvent*
const event)
override;
68 void hoverLeaveEvent(QGraphicsSceneHoverEvent*
const event)
override;
70 bool sceneEventFilter(QGraphicsItem*
const watched,
71 QEvent*
const event)
override;
74 void SetCornerPositions()
const;
Definition: ddtCornergrabber.hpp:34
Definition: ddtGraphicalElementProperties.hpp:29
Definition: ddtGraphicalElementRectangle.hpp:27
virtual ~DdtGraphicalElementRectangle()
int type() const override
Definition: ddtGraphicalElementRectangle.cpp:60
QRectF boundingRect() const override
Definition: ddtGraphicalElementRectangle.cpp:48
virtual void DrawElement(QPainter *painter) override
Definition: ddtGraphicalElementRectangle.cpp:68
Definition: ddtGraphicalElement.hpp:89
DdtGraphicalElementProperties element_properties
Definition: ddtGraphicalElement.hpp:257
DDT Graphics. Base Class for the DDT Graphical Elements. Elements can be lines, ovals,...