Qt Virtual Chart Table (QVCT)
COverlayBase Class Reference

Generic overlay base (non-widget) More...

#include <overlays/COverlayBase.hpp>

Inheritance diagram for COverlayBase:
COverlay CPointerOverlay

Protected Member Functions

 COverlayBase (const QString &_rqsName)
 
virtual ~COverlayBase ()
 
- Protected Member Functions inherited from COverlay
 COverlay (const QString &_rqsName)
 
virtual ~COverlay ()
 

Additional Inherited Members

- Public Member Functions inherited from COverlay
void setVisible (bool _bVisible)
 Sets this overlay items' global visibility status. More...
 
void forceRedraw ()
 Forces this overlay's rendering (not matter its cache content) More...
 
bool isVisible () const
 Returns this overlay items' global visibility status. More...
 
bool isRedrawForced () const
 
const QFont & getFont () const
 
const QBrush & getBrushText () const
 
const QPen & getPenText () const
 
const QBrush & getBrushMarker () const
 
const QPen & getPenMarker () const
 
const QBrush & getBrushMarkerSelected () const
 
const QPen & getPenMarkerSelected () const
 
const QPen & getPenLine () const
 
const QPen & getPenVector () const
 
void draw (const CChart *_poChart, QPainter *_pqPainter)
 Draws this overlay. More...
 
virtual void drawContent (const CChart *_poChart, QPainter *_pqPainter) const =0
 Draws this overlay's content. More...
 
virtual void showDetail (const QTreeWidgetItem *_pqTreeWidgetItem) const =0
 Displays the given overlay object's details (in the appropriate widget/view) More...
 
virtual void setPosition (const QTreeWidgetItem *_pqTreeWidgetItem) const =0
 Centers the chart on the given overlay object's position. More...
 
virtual COverlayPointmatchScrPosition (const CChart *_poChart, const QPointF &_rqPointFScrPosition) const =0
 Returns the overlay's point that (first) matches the given screen position (0 if none is found) More...
 
QString newChildName (const QString &_rqsName, int __iZeroPrefix=0, bool __bForceSuffix=false) const
 Returns a valid name for a new sibling of this object. More...
 
- Protected Attributes inherited from COverlay
QString qsName
 Overlay name. More...
 
bool bVisible
 Overlay items' global visibility status. More...
 
QPixmap qPixmapBuffer
 Pixmap buffer used to render and cache this overlay's graphical content. More...
 
const CChartpoChartPixmap
 Chart for which the last rendering was achieved. More...
 
QPointF qPointFDatPositionPixmap
 Chart position at which the last rendering was achieved. More...
 
double fdZoomPixmap
 Zoom factor at which the last rendering was achieved. More...
 
bool bForceRedraw
 Forces this overlay's rendering (not matter its cache content) More...
 
QFont qFont
 QFont used to draw text on this overlay. More...
 
QBrush qBrushText
 QBrush used to draw text on this overlay. More...
 
QPen qPenText
 QPen used to draw text on this overlay. More...
 
QBrush qBrushMarker
 QBrush used to draw markers on this overlay. More...
 
QPen qPenMarker
 QPen used to draw markers on this overlay. More...
 
QBrush qBrushMarkerSelected
 QBrush used to identify selected markers on this overlay. More...
 
QPen qPenMarkerSelected
 QPen used to identify selected markers on this overlay. More...
 
QPen qPenLine
 QPen used to draw lines on this overlay. More...
 
QPen qPenVector
 QPen used to draw vectors on this overlay. More...
 

Detailed Description

Generic overlay base (non-widget)

This class defines the generic representation of an overlay (base object), devoid of corresponding QTreeWidget.

See also
COverlay
Author
Cedric Dufour http://cedric.dufour.name

Definition at line 36 of file COverlayBase.hpp.

Constructor & Destructor Documentation

◆ COverlayBase()

COverlayBase::COverlayBase ( const QString &  _rqsName)
protected

Definition at line 27 of file COverlayBase.cpp.

◆ ~COverlayBase()

virtual COverlayBase::~COverlayBase ( )
inlineprotectedvirtual

Definition at line 46 of file COverlayBase.hpp.


The documentation for this class was generated from the following files: