#include <overlay_base.hh>
Inherits QObject.
Inherited by DrawOverlay, MaskOverlay, NullOverlay, and PointlistOverlayBase.
Definition at line 46 of file overlay_base.hh.
◆ Overlay()
initialization requires name
◆ GetMenu()
virtual QMenu* GetMenu |
( |
| ) |
|
|
virtual |
◆ GetName()
◆ InfoTextChanged
void InfoTextChanged |
( |
const QString & |
t | ) |
|
|
signal |
◆ OnDraw()
virtual void OnDraw |
( |
QPainter & |
pnt, |
|
|
DataViewerPanel * |
dvp, |
|
|
bool |
is_active |
|
) |
| |
|
virtual |
◆ OnKeyEvent()
◆ OnMenuEvent()
virtual void OnMenuEvent |
( |
QAction * |
e | ) |
|
|
virtual |
◆ OnMenuEventSlot
void OnMenuEventSlot |
( |
QAction * |
e | ) |
|
|
slot |
◆ OnMouseEvent()
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 PointlistOverlay, NullOverlay, MaskOverlay, and DrawOverlay.
◆ SetName()
void SetName |
( |
const String & |
name | ) |
|
◆ SettingsChanged
The documentation for this class was generated from the following file: