casa
$Rev:20696$
|
#include <CanvasMode.h>
Public Types | |
enum | ModeIndex { MODE_ANNOTATION, MODE_CHANNEL, MODE_CONTEXTMENU, MODE_RANGESELECTION, MODE_ZOOM } |
Public Member Functions | |
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 | ~CanvasMode () |
Static Public Member Functions | |
static void | setReceiver (QtCanvas *receiver) |
Protected Member Functions | |
CanvasMode (Qt::CursorShape modeCursor) | |
Protected Attributes | |
Qt::CursorShape | cursor |
Static Protected Attributes | |
static QtCanvas * | receiver |
Definition at line 37 of file CanvasMode.h.
Definition at line 40 of file CanvasMode.h.
virtual casa::CanvasMode::~CanvasMode | ( | ) | [virtual] |
casa::CanvasMode::CanvasMode | ( | Qt::CursorShape | modeCursor | ) | [protected] |
virtual bool casa::CanvasMode::isMode | ( | ModeIndex | mode | ) | const [virtual] |
virtual void casa::CanvasMode::mouseMoveEvent | ( | QMouseEvent * | event | ) | [pure virtual] |
void casa::CanvasMode::mousePressEvent | ( | QMouseEvent * | event | ) |
virtual void casa::CanvasMode::mousePressEventSpecific | ( | QMouseEvent * | event | ) | [pure virtual] |
void casa::CanvasMode::mouseReleaseEvent | ( | QMouseEvent * | event | ) |
virtual void casa::CanvasMode::mouseReleaseEventSpecific | ( | QMouseEvent * | event | ) | [pure virtual] |
static void casa::CanvasMode::setReceiver | ( | QtCanvas * | receiver | ) | [static] |
Qt::CursorShape casa::CanvasMode::cursor [protected] |
Definition at line 53 of file CanvasMode.h.
QtCanvas* casa::CanvasMode::receiver [static, protected] |
Definition at line 52 of file CanvasMode.h.