ddt  0.1
ddtGraphicalElementCross.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file ddtGraphicalElementCross.hpp
8 // @brief DDT Graphics. Class for crosses
9 //
10 // Class for the Graphical Elements - Cross
11 //
12 // @author Carsten Mannel, CGI
13 // @since 2021/01/15
14 //
15 
16 #ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_CROSS_HPP
17 #define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_CROSS_HPP
18 
19 #include "ddtGraphicalElement.hpp"
20 
25  public:
29  explicit DdtGraphicalElementCross(
31 
36 
40  virtual void DrawElement(QPainter* painter);
41 
46  QRectF boundingRect() const;
47 
52  int type() const;
53 
54  protected:
58  int x;
59 
63  int y;
64 
68  int size;
69 
70  private:
71 };
72 
73 #endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_CROSS_HPP
DdtGraphicalElementCross::~DdtGraphicalElementCross
virtual ~DdtGraphicalElementCross()
DdtGraphicalElementCross
Definition: ddtGraphicalElementCross.hpp:24
DdtGraphicalElementCross::x
int x
Definition: ddtGraphicalElementCross.hpp:58
DdtGraphicalElement::element_properties
DdtGraphicalElementProperties element_properties
Definition: ddtGraphicalElement.hpp:145
DdtGraphicalElement
Definition: ddtGraphicalElement.hpp:78
DdtGraphicalElementCross::DdtGraphicalElementCross
DdtGraphicalElementCross(DdtGraphicalElementProperties element_properties, int x, int y, int size)
Definition: ddtGraphicalElementCross.cpp:18
DdtGraphicalElementCross::DrawElement
virtual void DrawElement(QPainter *painter)
Definition: ddtGraphicalElementCross.cpp:44
DdtGraphicalElementCross::type
int type() const
Definition: ddtGraphicalElementCross.cpp:26
DdtGraphicalElementCross::y
int y
Definition: ddtGraphicalElementCross.hpp:63
ddtGraphicalElement.hpp
DdtGraphicalElementCross::size
int size
Definition: ddtGraphicalElementCross.hpp:68
DdtGraphicalElementProperties
Definition: ddtGraphicalElementProperties.hpp:27
DdtGraphicalElementCross::boundingRect
QRectF boundingRect() const
Definition: ddtGraphicalElementCross.cpp:34