ddt  0.1
ddtGraphicalElementProperties.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 ddtGraphicalElementProperties.hpp
8 // @brief DDT Graphics. Class for common properties of graphical elements like
9 // line width, colour etc.
10 //
11 // Class for the Graphical Elements Properties
12 //
13 // @author Carsten Mannel, CGI
14 // @since 2021/01/15
15 //
16 
17 #ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_PROPERTIES_HPP
18 #define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_PROPERTIES_HPP
19 
20 #include <QBrush>
21 #include <QColor>
22 #include <QFont>
23 
28  public:
33 
38 
43 
44  /*
45  * Line colour
46  */
47  QColor line_colour;
48 
52  Qt::PenStyle line_style;
53 
57  QBrush fill_colour;
58 
62  QFont text_font;
63 
67  float rotation_deg;
68 
73 
78 
82  QString tag;
83 
84  protected:
85  private:
89  void Init();
90 };
91 
92 #endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_PROPERTIES_HPP
DdtGraphicalElementProperties::line_width_px
int line_width_px
Definition: ddtGraphicalElementProperties.hpp:42
DdtGraphicalElementProperties::line_colour
QColor line_colour
Definition: ddtGraphicalElementProperties.hpp:47
DdtGraphicalElementProperties::scale_threshold
float scale_threshold
Definition: ddtGraphicalElementProperties.hpp:77
DdtGraphicalElementProperties::rotation_deg
float rotation_deg
Definition: ddtGraphicalElementProperties.hpp:67
DdtGraphicalElementProperties::line_style
Qt::PenStyle line_style
Definition: ddtGraphicalElementProperties.hpp:52
DdtGraphicalElementProperties::fill_colour
QBrush fill_colour
Definition: ddtGraphicalElementProperties.hpp:57
DdtGraphicalElementProperties::tag
QString tag
Definition: ddtGraphicalElementProperties.hpp:82
DdtGraphicalElementProperties::show_element
bool show_element
Definition: ddtGraphicalElementProperties.hpp:72
DdtGraphicalElementProperties::~DdtGraphicalElementProperties
virtual ~DdtGraphicalElementProperties()
DdtGraphicalElementProperties::DdtGraphicalElementProperties
DdtGraphicalElementProperties()
Definition: ddtGraphicalElementProperties.cpp:19
DdtGraphicalElementProperties
Definition: ddtGraphicalElementProperties.hpp:27
DdtGraphicalElementProperties::text_font
QFont text_font
Definition: ddtGraphicalElementProperties.hpp:62