ddt 1.2.1
Loading...
Searching...
No Matches
ddtGraphicalElementSlit.hpp
Go to the documentation of this file.
1
19#ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_SLIT_HPP
20#define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_SLIT_HPP
21
23
28 public:
39 const double y, const double w, const double h);
40
45
49 virtual void DrawElement(QPainter* painter) override;
50
55 QRectF boundingRect() const override;
56
61 int type() const override;
62
63 protected:
67 double x;
68
72 double y;
73
77 double width;
78
82 double height;
83};
84
85#endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_SLIT_HPP
86
Definition ddtGraphicalElementProperties.hpp:29
Definition ddtGraphicalElementSlit.hpp:27
double height
Definition ddtGraphicalElementSlit.hpp:82
virtual void DrawElement(QPainter *painter) override
Definition ddtGraphicalElementSlit.cpp:45
double width
Definition ddtGraphicalElementSlit.hpp:77
DdtGraphicalElementSlit(const DdtGraphicalElementProperties element_properties, const double x, const double y, const double w, const double h)
Definition ddtGraphicalElementSlit.cpp:24
double x
Definition ddtGraphicalElementSlit.hpp:67
double y
Definition ddtGraphicalElementSlit.hpp:72
QRectF boundingRect() const override
Definition ddtGraphicalElementSlit.cpp:33
virtual ~DdtGraphicalElementSlit()
int type() const override
Definition ddtGraphicalElementSlit.cpp:37
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,...