#include <pointlist_overlay_base.hh>
Inherits Overlay.
Inherited by PointlistOverlay.
Public Member Functions |
| PointlistOverlayBase (const String &name) |
virtual void | OnDraw (QPainter &pnt, DataViewerPanel *dvp, bool is_active) |
virtual void | OnMenuEvent (QAction *e) |
virtual QMenu * | GetMenu () |
virtual void | DrawPointList (QPainter &pnt, DataViewerPanel *dvp, const QColor &col, const std::vector< QPoint > &pointlist) |
virtual void | DrawVariableSizePointList (QPainter &pnt, DataViewerPanel *dvp, const QColor &col, const std::vector< std::pair< QPoint, double > > &pointlist) |
unsigned int | GetSymbolSize () const |
void | SetSymbolSize (unsigned int symbolsize) |
unsigned int | GetSymbolShape () const |
void | SetSymbolShape (unsigned int symbolshape) |
bool | GetCrosshair () const |
void | SetCrosshair (bool flag) |
void | SetActiveColor (const QColor &col) |
void | SetPassiveColor (const QColor &col) |
| Overlay (const String &name) |
void | SetName (const String &name) |
String | GetName () const |
virtual bool | OnMouseEvent (QMouseEvent *e, DataViewerPanel *dvp, const QPoint &lastmouse) |
virtual bool | OnKeyEvent (QKeyEvent *e, DataViewerPanel *dvp) |
Detailed Description
Definition at line 75 of file pointlist_overlay_base.hh.
Constructor & Destructor Documentation
Member Function Documentation
virtual void DrawPointList |
( |
QPainter & |
pnt, |
|
|
DataViewerPanel * |
dvp, |
|
|
const QColor & |
col, |
|
|
const std::vector< QPoint > & |
pointlist |
|
) |
| |
|
virtual |
virtual void DrawVariableSizePointList |
( |
QPainter & |
pnt, |
|
|
DataViewerPanel * |
dvp, |
|
|
const QColor & |
col, |
|
|
const std::vector< std::pair< QPoint, double > > & |
pointlist |
|
) |
| |
|
virtual |
bool GetCrosshair |
( |
| ) |
const |
virtual QMenu* GetMenu |
( |
| ) |
|
|
virtual |
return overlay specific pulldown menu
Reimplemented from Overlay.
unsigned int GetSymbolShape |
( |
| ) |
const |
unsigned int GetSymbolSize |
( |
| ) |
const |
virtual void OnDraw |
( |
QPainter & |
pnt, |
|
|
DataViewerPanel * |
dvp, |
|
|
bool |
is_active |
|
) |
| |
|
inlinevirtual |
call when redrawing is necessary
params: the drawing context, the parent data viewer, as well as a flag to indicate wether this overlay is currently active
Reimplemented from Overlay.
Reimplemented in PointlistOverlay.
Definition at line 82 of file pointlist_overlay_base.hh.
virtual void OnMenuEvent |
( |
QAction * |
e | ) |
|
|
virtual |
void SetActiveColor |
( |
const QColor & |
col | ) |
|
void SetCrosshair |
( |
bool |
flag | ) |
|
void SetPassiveColor |
( |
const QColor & |
col | ) |
|
void SetSymbolShape |
( |
unsigned int |
symbolshape | ) |
|
void SetSymbolSize |
( |
unsigned int |
symbolsize | ) |
|
Field Documentation
unsigned int symbolstrength_ |
|
protected |
The documentation for this class was generated from the following file: