Go to the documentation of this file.
17 #ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GRAPHICALELEMENT_HPP
18 #define DDT_DATAVISUALISATION_DDTGRAPHCIS_GRAPHICALELEMENT_HPP
20 #include <QGraphicsObject>
100 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
142 #endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GRAPHICALELEMENT_HPP
virtual float ScaleThreshold()
Definition: ddtGraphicalElement.cpp:44
virtual QRectF boundingRect() const
Definition: ddtGraphicalElement.cpp:34
@ DDT_OVERLAY_LINE
Definition: ddtGraphicalElement.hpp:52
@ DDT_OVERLAY_TEXT
Definition: ddtGraphicalElement.hpp:48
DdtOverlayType element_type
Definition: ddtGraphicalElement.hpp:137
DdtGraphicalElementProperties element_properties
Definition: ddtGraphicalElement.hpp:132
virtual QString GetTag()
Definition: ddtGraphicalElement.cpp:50
@ DDT_OVERLAY_REF_LINE
Definition: ddtGraphicalElement.hpp:60
Definition: ddtGraphicalElement.hpp:70
@ DDT_OVERLAY_ALL
Definition: ddtGraphicalElement.hpp:32
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: ddtGraphicalElement.cpp:28
virtual ~DdtGraphicalElement()
virtual void SetShowFlag(bool show)
Definition: ddtGraphicalElement.cpp:36
virtual void DrawElement(QPainter *painter)=0
virtual DdtOverlayType GetType()
Definition: ddtGraphicalElement.cpp:48
@ DDT_OVERLAY_RECTANGLE
Definition: ddtGraphicalElement.hpp:40
virtual bool IsHidden()
Definition: ddtGraphicalElement.cpp:40
DdtGraphicalElement(DdtGraphicalElementProperties element_properties)
Definition: ddtGraphicalElement.cpp:19
@ DDT_OVERLAY_SLIT
Definition: ddtGraphicalElement.hpp:56
@ DDT_OVERLAY_ELLIPSE
Definition: ddtGraphicalElement.hpp:36
@ DDT_OVERLAY_STAT_RECTANGLE
Definition: ddtGraphicalElement.hpp:64
Definition: ddtGraphicalElementProperties.hpp:27
DdtOverlayType
Definition: ddtGraphicalElement.hpp:28
@ DDT_OVERLAY_CROSS
Definition: ddtGraphicalElement.hpp:44