ddt 1.4.0
 
Loading...
Searching...
No Matches
ddtGraphicalElementSlit.hpp
Go to the documentation of this file.
1
9
10#ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_SLIT_HPP
11#define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_SLIT_HPP
12
14
19 public:
30 const double y, const double w, const double h);
31
36
40 virtual void DrawElement(QPainter* painter) override;
41
46 QRectF boundingRect() const override;
47
52 int type() const override;
53
54 protected:
58 double x;
59
63 double y;
64
68 double width;
69
73 double height;
74};
75
76#endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_SLIT_HPP
Definition ddtGraphicalElementProperties.hpp:20
double height
Definition ddtGraphicalElementSlit.hpp:73
virtual void DrawElement(QPainter *painter) override
Definition ddtGraphicalElementSlit.cpp:36
double width
Definition ddtGraphicalElementSlit.hpp:68
DdtGraphicalElementSlit(const DdtGraphicalElementProperties element_properties, const double x, const double y, const double w, const double h)
Definition ddtGraphicalElementSlit.cpp:15
double x
Definition ddtGraphicalElementSlit.hpp:58
double y
Definition ddtGraphicalElementSlit.hpp:63
QRectF boundingRect() const override
Definition ddtGraphicalElementSlit.cpp:24
virtual ~DdtGraphicalElementSlit()
int type() const override
Definition ddtGraphicalElementSlit.cpp:28
DdtGraphicalElementProperties element_properties
Definition ddtGraphicalElement.hpp:248
DdtGraphicalElement(DdtGraphicalElementProperties const &element_properties, const QString obj_name="", const QString elem_name="")
Definition ddtGraphicalElement.cpp:15
DDT Graphics. Base Class for the DDT Graphical Elements. Elements can be lines, ovals,...