19#ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_REF_LINE_HPP
20#define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_REF_LINE_HPP
41 const double y1,
const double x2,
const double y2);
51 virtual void DrawElement(QPainter* painter)
override;
63 int type()
const override;
70 void ReDrawLine(
const QPointF start,
const QPointF end);
82 QPointF
Start()
const;
128 virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event)
override;
129 bool HandleEvent(
CornerGrabber* corner, QEvent* event)
const;
Definition: ddtCornergrabber.hpp:34
Definition: ddtGraphicalElementProperties.hpp:29
Definition: ddtGraphicalElementRefLine.hpp:29
QPointF End() const
Definition: ddtGraphicalElementRefLine.cpp:60
QPointF Start() const
Definition: ddtGraphicalElementRefLine.cpp:58
void ResetEventFilter()
Definition: ddtGraphicalElementRefLine.cpp:127
QRectF boundingRect() const override
Definition: ddtGraphicalElementRefLine.cpp:48
void ReDrawLine(const QPointF start, const QPointF end)
Definition: ddtGraphicalElementRefLine.cpp:118
double x1
Definition: ddtGraphicalElementRefLine.hpp:100
virtual ~DdtGraphicalElementRefLine()
Definition: ddtGraphicalElementRefLine.cpp:35
double y2
Definition: ddtGraphicalElementRefLine.hpp:115
int type() const override
Definition: ddtGraphicalElementRefLine.cpp:62
CornerGrabber * corners[2]
Definition: ddtGraphicalElementRefLine.hpp:120
bool installed_event_filters
Definition: ddtGraphicalElementRefLine.hpp:125
virtual void DrawElement(QPainter *painter) override
Definition: ddtGraphicalElementRefLine.cpp:70
void RedrawCorners(QGraphicsScene *scene)
Definition: ddtGraphicalElementRefLine.cpp:52
double x2
Definition: ddtGraphicalElementRefLine.hpp:110
double y1
Definition: ddtGraphicalElementRefLine.hpp:105
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 Utils. Helper classes for DDT Datavisualisation. Utilities for the DDT Datavisualisation.
DDT Graphics. Base Class for the DDT Graphical Elements. Elements can be lines, ovals,...