Computer Assited Medical Intervention Tool Kit
version 4.1
|
#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 | |
QtCanvas * | canvas () const |
QtCanvas * | canvas () 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 | |
QtCanvasItem * | moving |
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
protectedvirtual |
Reimplemented from QtCanvasView.
References QtCanvasView::canvas(), QtCanvasView::inverseWorldMatrix(), itemMoved(), QtCanvasItem::moveBy(), moving, moving_start, and QtCanvas::update().
Referenced by CanvasView().
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
private |
References QtCanvasView::canvas(), QtCanvas::collisions(), QtCanvasView::inverseWorldMatrix(), itemClicked(), moving, and moving_start.
Referenced by CanvasView(), contentsMouseDoubleClickEvent(), and contentsMousePressEvent().
|
private |
|
signal |
Referenced by CanvasView(), and handleMouseClickEvent().
|
signal |
|
signal |
Referenced by CanvasView(), and contentsMouseMoveEvent().
|
signal |
|
private |
Referenced by CanvasView(), contentsMouseMoveEvent(), and handleMouseClickEvent().
|
private |
Referenced by CanvasView(), contentsMouseMoveEvent(), and handleMouseClickEvent().