10#ifndef DATAVISUALISATION_GRAPHICS_SRC_INCLUDE_DDT_DDTGRAPHICALELEMENTSTATRECTANGLE_HPP_
11#define DATAVISUALISATION_GRAPHICS_SRC_INCLUDE_DDT_DDTGRAPHICALELEMENTSTATRECTANGLE_HPP_
31 const double y1,
const double x2,
const double y2);
41 virtual void DrawElement(QPainter* painter)
override;
59 int type()
const override;
72 QPointF
Start()
const;
130 virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event)
override;
131 bool HandleEvent(
PointGrabber* corner, QEvent* event)
const;
133 void SetCornerPositions()
const;
Definition ddtGraphicalElementProperties.hpp:20
QPointF UpperRight() const
Definition ddtGraphicalElementStatRectangle.cpp:75
QPointF End() const
Definition ddtGraphicalElementStatRectangle.cpp:71
void ResetEventFilter()
Definition ddtGraphicalElementStatRectangle.cpp:145
double x1
Definition ddtGraphicalElementStatRectangle.hpp:102
void RedrawCorners(QGraphicsScene *scene)
Definition ddtGraphicalElementStatRectangle.cpp:149
QRectF boundingRect() const override
Definition ddtGraphicalElementStatRectangle.cpp:63
virtual void DrawElement(QPainter *painter) override
Definition ddtGraphicalElementStatRectangle.cpp:91
bool installed_event_filters
Definition ddtGraphicalElementStatRectangle.hpp:127
double y2
Definition ddtGraphicalElementStatRectangle.hpp:117
QPointF LowerLeft() const
Definition ddtGraphicalElementStatRectangle.cpp:79
PointGrabber * corners[4]
Definition ddtGraphicalElementStatRectangle.hpp:122
void ReDrawRectangle(const QPointF p1, const QPointF p2)
Definition ddtGraphicalElementStatRectangle.cpp:136
double y1
Definition ddtGraphicalElementStatRectangle.hpp:107
int type() const override
Definition ddtGraphicalElementStatRectangle.cpp:83
double x2
Definition ddtGraphicalElementStatRectangle.hpp:112
DdtGraphicalElementStatRectangle(const DdtGraphicalElementProperties element_properties, const double x1, const double y1, const double x2, const double y2)
Definition ddtGraphicalElementStatRectangle.cpp:22
QPointF Start() const
Definition ddtGraphicalElementStatRectangle.cpp:67
virtual ~DdtGraphicalElementStatRectangle()
Definition ddtGraphicalElementStatRectangle.cpp:39
DdtGraphicalElementProperties element_properties
Definition ddtGraphicalElement.hpp:248
DdtGraphicalElement(DdtGraphicalElementProperties const &element_properties, const QString obj_name="", const QString elem_name="")
Definition ddtGraphicalElement.cpp:15
Definition ddtPointGrabber.hpp:24
DDT Graphics. Base Class for the DDT Graphical Elements. Elements can be lines, ovals,...
Point grabber for manipulate graphical elements.
string p1
Definition testCommandLineParser.cpp:355
string p2
Definition testCommandLineParser.cpp:356