casa
5.7.0-16
|
#include <CanvasMode.h>
Public Types | |
enum | ModeIndex { MODE_ANNOTATION, MODE_CHANNEL, MODE_CONTEXTMENU, MODE_RANGESELECTION, MODE_ZOOM } |
Public Member Functions | |
void | setReceiver (QtCanvas *receiver) |
virtual bool | isMode (ModeIndex mode) const |
void | mousePressEvent (QMouseEvent *event) |
virtual void | mousePressEventSpecific (QMouseEvent *event)=0 |
virtual void | mouseMoveEvent (QMouseEvent *event)=0 |
void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | mouseReleaseEventSpecific (QMouseEvent *event)=0 |
virtual QString | toString () const =0 |
virtual | ~CanvasMode () |
Protected Member Functions | |
CanvasMode (Qt::CursorShape modeCursor) | |
Protected Attributes | |
QtCanvas * | receiver |
Qt::CursorShape | cursor |
Definition at line 37 of file CanvasMode.h.
Enumerator | |
---|---|
MODE_ANNOTATION | |
MODE_CHANNEL | |
MODE_CONTEXTMENU | |
MODE_RANGESELECTION | |
MODE_ZOOM |
Definition at line 40 of file CanvasMode.h.
|
virtual |
|
protected |
|
virtual |
|
pure virtual |
void casa::CanvasMode::mousePressEvent | ( | QMouseEvent * | event | ) |
|
pure virtual |
void casa::CanvasMode::mouseReleaseEvent | ( | QMouseEvent * | event | ) |
|
pure virtual |
void casa::CanvasMode::setReceiver | ( | QtCanvas * | receiver | ) |
|
pure virtual |
|
protected |
Definition at line 54 of file CanvasMode.h.
|
protected |
Definition at line 53 of file CanvasMode.h.