28 namespace ost {
namespace img {
namespace gui {
virtual QMenu * GetMenu()
return overlay specific pulldown menu
virtual bool OnMouseEvent(QMouseEvent *e, DataViewerPanel *dvp, const QPoint &lastmouse)
mouse event handler
virtual bool OnKeyEvent(QKeyEvent *e, DataViewerPanel *dvp)
key event handler
virtual void OnMenuEvent(QAction *e)
virtual void OnDraw(QPainter &pnt, DataViewerPanel *dvp, bool is_active)
call when redrawing is necessary
#define DLLEXPORT_OST_GUI