#include <overlay_base.hh>
Inherits QObject.
Inherited by DrawOverlay, MaskOverlay, NullOverlay, and PointlistOverlayBase.
Definition at line 46 of file overlay_base.hh.
initialization requires name
virtual QMenu* GetMenu |
( |
| ) |
|
|
virtual |
void InfoTextChanged |
( |
const QString & |
t | ) |
|
|
signal |
virtual void OnDraw |
( |
QPainter & |
pnt, |
|
|
DataViewerPanel * |
dvp, |
|
|
bool |
is_active |
|
) |
| |
|
virtual |
virtual void OnMenuEvent |
( |
QAction * |
e | ) |
|
|
virtual |
void OnMenuEventSlot |
( |
QAction * |
e | ) |
|
|
slot |
virtual bool OnMouseEvent |
( |
QMouseEvent * |
e, |
|
|
DataViewerPanel * |
dvp, |
|
|
const QPoint & |
lastmouse |
|
) |
| |
|
virtual |
mouse event handler
if an overlay is active, it receives the mouse events. if it handles the event for itself, it should return true, otherwise false should be returned to give the data viewer a chance to handle the event for itself
Reimplemented in MaskOverlay, DrawOverlay, PointlistOverlay, and NullOverlay.
void SetName |
( |
const String & |
name | ) |
|
The documentation for this class was generated from the following file: