Computer Assited Medical Intervention Tool Kit  version 4.1
Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
CanvasView Class Reference

#include <mainwindow.h>

Inherits QtCanvasView, and QtCanvasView.

Signals

void itemClicked (QtCanvasItem *item)
 
void itemClicked (QtCanvasItem *item)
 
void itemMoved (QtCanvasItem *item)
 
void itemMoved (QtCanvasItem *item)
 

Public Member Functions

 CanvasView (QWidget *parent=0)
 
 CanvasView (QtCanvas *canvas, QWidget *parent=0)
 
 CanvasView (QWidget *parent=0)
 
 CanvasView (QtCanvas *canvas, QWidget *parent=0)
 
- Public Member Functions inherited from QtCanvasView
QtCanvascanvas () const
 
QtCanvascanvas () const
 
bool highQualityRendering () const
 
bool highQualityRendering () const
 
const QMatrix & inverseWorldMatrix () const
 
const QMatrix & inverseWorldMatrix () const
 
 QtCanvasView (QWidget *parent=0)
 
 QtCanvasView (QWidget *parent=0)
 
 QtCanvasView (QtCanvas *viewing, QWidget *parent=0)
 
 QtCanvasView (QtCanvas *viewing, QWidget *parent=0)
 
void setCanvas (QtCanvas *v)
 
void setCanvas (QtCanvas *v)
 
bool setWorldMatrix (const QMatrix &)
 
bool setWorldMatrix (const QMatrix &)
 
virtual QSize sizeHint () const
 
virtual QSize sizeHint () const
 
const QMatrix & worldMatrix () const
 
const QMatrix & worldMatrix () const
 
 ~QtCanvasView ()
 
 ~QtCanvasView ()
 

Protected Member Functions

void contentsMouseDoubleClickEvent (QMouseEvent *event)
 
void contentsMouseDoubleClickEvent (QMouseEvent *event)
 
void contentsMouseMoveEvent (QMouseEvent *event)
 
void contentsMouseMoveEvent (QMouseEvent *event)
 
void contentsMousePressEvent (QMouseEvent *event)
 
void contentsMousePressEvent (QMouseEvent *event)
 
- Protected Member Functions inherited from QtCanvasView
virtual void contentsContextMenuEvent (QContextMenuEvent *)
 
virtual void contentsContextMenuEvent (QContextMenuEvent *)
 
virtual void contentsDragEnterEvent (QDragEnterEvent *)
 
virtual void contentsDragEnterEvent (QDragEnterEvent *)
 
virtual void contentsDragLeaveEvent (QDragLeaveEvent *)
 
virtual void contentsDragLeaveEvent (QDragLeaveEvent *)
 
virtual void contentsDragMoveEvent (QDragMoveEvent *)
 
virtual void contentsDragMoveEvent (QDragMoveEvent *)
 
virtual void contentsDropEvent (QDropEvent *)
 
virtual void contentsDropEvent (QDropEvent *)
 
virtual void contentsMouseReleaseEvent (QMouseEvent *)
 
virtual void contentsMouseReleaseEvent (QMouseEvent *)
 
virtual void contentsWheelEvent (QWheelEvent *)
 
virtual void contentsWheelEvent (QWheelEvent *)
 
virtual void drawContents (QPainter *p, int cx, int cy, int cw, int ch)
 
virtual void drawContents (QPainter *p, int cx, int cy, int cw, int ch)
 

Private Member Functions

void handleMouseClickEvent (QMouseEvent *event)
 
void handleMouseClickEvent (QMouseEvent *event)
 

Private Attributes

QtCanvasItemmoving
 
QPoint moving_start
 

Additional Inherited Members

- Public Slots inherited from QtCanvasView
void setHighQualityRendering (bool enable)
 
void setHighQualityRendering (bool enable)
 
- Properties inherited from QtCanvasView
bool highQualityRendering
 

Constructor & Destructor Documentation

◆ CanvasView() [1/4]

CanvasView::CanvasView ( QWidget *  parent = 0)
inline

◆ CanvasView() [2/4]

CanvasView::CanvasView ( QtCanvas canvas,
QWidget *  parent = 0 
)
inline

◆ CanvasView() [3/4]

CanvasView::CanvasView ( QWidget *  parent = 0)
inline

◆ CanvasView() [4/4]

CanvasView::CanvasView ( QtCanvas canvas,
QWidget *  parent = 0 
)
inline

Member Function Documentation

◆ contentsMouseDoubleClickEvent() [1/2]

void CanvasView::contentsMouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from QtCanvasView.

References handleMouseClickEvent().

Referenced by CanvasView().

◆ contentsMouseDoubleClickEvent() [2/2]

void CanvasView::contentsMouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from QtCanvasView.

◆ contentsMouseMoveEvent() [1/2]

void CanvasView::contentsMouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

◆ contentsMouseMoveEvent() [2/2]

void CanvasView::contentsMouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from QtCanvasView.

◆ contentsMousePressEvent() [1/2]

void CanvasView::contentsMousePressEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from QtCanvasView.

References handleMouseClickEvent().

Referenced by CanvasView().

◆ contentsMousePressEvent() [2/2]

void CanvasView::contentsMousePressEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from QtCanvasView.

◆ handleMouseClickEvent() [1/2]

void CanvasView::handleMouseClickEvent ( QMouseEvent *  event)
private

◆ handleMouseClickEvent() [2/2]

void CanvasView::handleMouseClickEvent ( QMouseEvent *  event)
private

◆ itemClicked [1/2]

void CanvasView::itemClicked ( QtCanvasItem item)
signal

◆ itemClicked [2/2]

void CanvasView::itemClicked ( QtCanvasItem item)
signal

◆ itemMoved [1/2]

void CanvasView::itemMoved ( QtCanvasItem item)
signal

◆ itemMoved [2/2]

void CanvasView::itemMoved ( QtCanvasItem item)
signal

Member Data Documentation

◆ moving

QtCanvasItem * CanvasView::moving
private

◆ moving_start

QPoint CanvasView::moving_start
private

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