![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
#include <qtcanvas.h>
Inherits QScrollArea, and QScrollArea.
Inherited by CanvasView, and CanvasView.
Public Slots | |
| void | setHighQualityRendering (bool enable) |
| void | setHighQualityRendering (bool enable) |
Public Member Functions | |
| 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 | |
| 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 | contentsMouseDoubleClickEvent (QMouseEvent *) |
| virtual void | contentsMouseDoubleClickEvent (QMouseEvent *) |
| virtual void | contentsMouseMoveEvent (QMouseEvent *) |
| virtual void | contentsMouseMoveEvent (QMouseEvent *) |
| virtual void | contentsMousePressEvent (QMouseEvent *) |
| virtual void | contentsMousePressEvent (QMouseEvent *) |
| 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) |
Properties | |
| bool | highQualityRendering |
Private Slots | |
| void | updateContentsSize () |
| void | updateContentsSize () |
Private Member Functions | |
| void | drawContents (QPainter *) |
| void | drawContents (QPainter *) |
Private Attributes | |
| QtCanvasViewData * | d |
| QtCanvas * | viewing |
Friends | |
| class | QtCanvas |
| class | QtCanvasWidget |
| QtCanvasView::QtCanvasView | ( | QWidget * | parent = 0 | ) |
References d, QtCanvasViewData::highQuality, QtCanvasWidget, setCanvas(), and viewing.
Referenced by QtCanvasWidget::contextMenuEvent().
| QtCanvasView::QtCanvasView | ( | QtCanvas * | viewing, |
| QWidget * | parent = 0 |
||
| ) |
References d, QtCanvasViewData::highQuality, QtCanvasWidget, setCanvas(), and viewing.
| QtCanvasView::~QtCanvasView | ( | ) |
References d, QtCanvasViewData::highQuality, highQualityRendering(), and setCanvas().
Referenced by QtCanvasWidget::contextMenuEvent().
| QtCanvasView::QtCanvasView | ( | QWidget * | parent = 0 | ) |
| QtCanvasView::QtCanvasView | ( | QtCanvas * | viewing, |
| QWidget * | parent = 0 |
||
| ) |
| QtCanvasView::~QtCanvasView | ( | ) |
|
inline |
References QtCanvasItem::setCanvas().
Referenced by CanvasView::contentsMouseMoveEvent(), CanvasView::handleMouseClickEvent(), setCanvas(), and sizeHint().
|
inline |
References QtCanvas::d, and QtCanvasItem::setCanvas().
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in CanvasView, and CanvasView.
|
protectedvirtual |
Reimplemented in CanvasView, and CanvasView.
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
Reimplemented in CanvasView, and CanvasView.
|
protectedvirtual |
Reimplemented in CanvasView, and CanvasView.
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
Reimplemented in CanvasView, and CanvasView.
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
Reimplemented in CanvasView, and CanvasView.
|
protectedvirtual |
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
|
protectedvirtual |
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
References d, QtCanvas::drawViewArea(), QtCanvas::rect(), viewing, and QtCanvasViewData::xform.
Referenced by QtCanvasWidget::contextMenuEvent().
|
protectedvirtual |
|
private |
|
private |
| bool QtCanvasView::highQualityRendering | ( | ) | const |
Referenced by QtCanvasWidget::contextMenuEvent(), and ~QtCanvasView().
| bool QtCanvasView::highQualityRendering | ( | ) | const |
| const QMatrix & QtCanvasView::inverseWorldMatrix | ( | ) | const |
References d, and QtCanvasViewData::ixform.
Referenced by CanvasView::contentsMouseMoveEvent(), QtCanvasWidget::contextMenuEvent(), and CanvasView::handleMouseClickEvent().
| const QMatrix& QtCanvasView::inverseWorldMatrix | ( | ) | const |
| void QtCanvasView::setCanvas | ( | QtCanvas * | v | ) |
References QtCanvas::addView(), canvas(), d, QtCanvas::removeView(), updateContentsSize(), and viewing.
Referenced by QtCanvasWidget::contextMenuEvent(), QtCanvasView(), and ~QtCanvasView().
| void QtCanvasView::setCanvas | ( | QtCanvas * | v | ) |
|
slot |
References d, and QtCanvasViewData::highQuality.
Referenced by QtCanvasWidget::contextMenuEvent().
|
slot |
| bool QtCanvasView::setWorldMatrix | ( | const QMatrix & | wm | ) |
References d, QtCanvasViewData::ixform, updateContentsSize(), and QtCanvasViewData::xform.
Referenced by QtCanvasWidget::contextMenuEvent().
| bool QtCanvasView::setWorldMatrix | ( | const QMatrix & | ) |
|
virtual |
References canvas().
Referenced by QtCanvasWidget::contextMenuEvent().
|
virtual |
|
privateslot |
References d, QtCanvas::height(), viewing, QtCanvas::width(), and QtCanvasViewData::xform.
Referenced by QtCanvasWidget::contextMenuEvent(), setCanvas(), and setWorldMatrix().
|
privateslot |
| const QMatrix & QtCanvasView::worldMatrix | ( | ) | const |
References d, and QtCanvasViewData::xform.
Referenced by QtCanvasWidget::contextMenuEvent(), QtCanvas::drawViewArea(), scm(), and QtCanvas::update().
| const QMatrix& QtCanvasView::worldMatrix | ( | ) | const |
|
friend |
|
friend |
Referenced by QtCanvasView().
|
private |
|
private |
Referenced by drawContents(), QtCanvasView(), setCanvas(), and updateContentsSize().
|
readwrite |
1.8.11