casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
casa::CanvasMode Class Reference

#include <CanvasMode.h>

Inheritance diagram for casa::CanvasMode:
casa::CanvasModeAnnotation casa::CanvasModeChannel casa::CanvasModeContextMenu casa::CanvasModeRangeSelection casa::CanvasModeZoom

List of all members.

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 QtCanvasreceiver

Detailed Description

Definition at line 37 of file CanvasMode.h.


Member Enumeration Documentation

Enumerator:
MODE_ANNOTATION 
MODE_CHANNEL 
MODE_CONTEXTMENU 
MODE_RANGESELECTION 
MODE_ZOOM 

Definition at line 40 of file CanvasMode.h.


Constructor & Destructor Documentation

virtual casa::CanvasMode::~CanvasMode ( ) [virtual]
casa::CanvasMode::CanvasMode ( Qt::CursorShape  modeCursor) [protected]

Member Function Documentation

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]

Member Data Documentation

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.


The documentation for this class was generated from the following file: