19#ifndef DATAVISUALISATION_GRAPHICS_SRC_INCLUDE_DDT_DDTGRAPHICALELEMENTSTATRECTANGLE_HPP_
20#define DATAVISUALISATION_GRAPHICS_SRC_INCLUDE_DDT_DDTGRAPHICALELEMENTSTATRECTANGLE_HPP_
40 const double y1,
const double x2,
const double y2);
50 virtual void DrawElement(QPainter* painter)
override;
68 int type()
const override;
81 QPointF
Start()
const;
139 virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event)
override;
140 bool HandleEvent(
CornerGrabber* corner, QEvent* event)
const;
142 void SetCornerPositions()
const;
Definition: ddtCornergrabber.hpp:34
Definition: ddtGraphicalElementProperties.hpp:29
Definition: ddtGraphicalElementStatRectangle.hpp:28
QPointF UpperRight() const
Definition: ddtGraphicalElementStatRectangle.cpp:84
QPointF End() const
Definition: ddtGraphicalElementStatRectangle.cpp:80
CornerGrabber * corners[4]
Definition: ddtGraphicalElementStatRectangle.hpp:131
void ResetEventFilter()
Definition: ddtGraphicalElementStatRectangle.cpp:154
double x1
Definition: ddtGraphicalElementStatRectangle.hpp:111
void RedrawCorners(QGraphicsScene *scene)
Definition: ddtGraphicalElementStatRectangle.cpp:158
QRectF boundingRect() const override
Definition: ddtGraphicalElementStatRectangle.cpp:72
virtual void DrawElement(QPainter *painter) override
Definition: ddtGraphicalElementStatRectangle.cpp:100
bool installed_event_filters
Definition: ddtGraphicalElementStatRectangle.hpp:136
double y2
Definition: ddtGraphicalElementStatRectangle.hpp:126
QPointF LowerLeft() const
Definition: ddtGraphicalElementStatRectangle.cpp:88
void ReDrawRectangle(const QPointF p1, const QPointF p2)
Definition: ddtGraphicalElementStatRectangle.cpp:145
double y1
Definition: ddtGraphicalElementStatRectangle.hpp:116
int type() const override
Definition: ddtGraphicalElementStatRectangle.cpp:92
double x2
Definition: ddtGraphicalElementStatRectangle.hpp:121
QPointF Start() const
Definition: ddtGraphicalElementStatRectangle.cpp:76
virtual ~DdtGraphicalElementStatRectangle()
Definition: ddtGraphicalElementStatRectangle.cpp:48
Definition: ddtGraphicalElement.hpp:89
DdtGraphicalElementProperties element_properties
Definition: ddtGraphicalElement.hpp:257
Corner grabber for resizable graphical elements. Class for the corners of resizable graphical element...
DDT Graphics. Base Class for the DDT Graphical Elements. Elements can be lines, ovals,...
string p1
Definition: testCommandLineParser.cpp:360
string p2
Definition: testCommandLineParser.cpp:361