ddt 1.4.0
 
Loading...
Searching...
No Matches
ddtGraphicalElementImage.hpp
Go to the documentation of this file.
1
9
10#ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_IMAGE_HPP
11#define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_IMAGE_HPP
12
14
19 public:
31 const int y, const int width, const int height, const QString file_name);
32
37
41 void DrawElement(QPainter* painter) override;
42
47 QRectF boundingRect() const override;
48
53 int type() const override;
54
55 protected:
59 int x;
60
64 int y;
65
69 int width;
70
74 int height;
75
79 QString filename;
80};
81
82#endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_IMAGE_HPP
QRectF boundingRect() const override
Definition ddtGraphicalElementImage.cpp:28
int y
Definition ddtGraphicalElementImage.hpp:64
int type() const override
Definition ddtGraphicalElementImage.cpp:33
QString filename
Definition ddtGraphicalElementImage.hpp:79
void DrawElement(QPainter *painter) override
Definition ddtGraphicalElementImage.cpp:40
~DdtGraphicalElementImage() override
int width
Definition ddtGraphicalElementImage.hpp:69
int height
Definition ddtGraphicalElementImage.hpp:74
int x
Definition ddtGraphicalElementImage.hpp:59
DdtGraphicalElementImage(const DdtGraphicalElementProperties &element_properties, const int x, const int y, const int width, const int height, const QString file_name)
Definition ddtGraphicalElementImage.cpp:14
Definition ddtGraphicalElementProperties.hpp:20
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,...