Computer Assited Medical Intervention Tool Kit  version 4.1
Public Slots | Public Member Functions | Protected Member Functions | Properties | Private Slots | Private Member Functions | Private Attributes | Friends | List of all members
QtCanvasView Class Reference

#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

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

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

QtCanvasViewDatad
 
QtCanvasviewing
 

Friends

class QtCanvas
 
class QtCanvasWidget
 

Constructor & Destructor Documentation

◆ QtCanvasView() [1/4]

QtCanvasView::QtCanvasView ( QWidget *  parent = 0)

◆ QtCanvasView() [2/4]

QtCanvasView::QtCanvasView ( QtCanvas viewing,
QWidget *  parent = 0 
)

◆ ~QtCanvasView() [1/2]

QtCanvasView::~QtCanvasView ( )

◆ QtCanvasView() [3/4]

QtCanvasView::QtCanvasView ( QWidget *  parent = 0)

◆ QtCanvasView() [4/4]

QtCanvasView::QtCanvasView ( QtCanvas viewing,
QWidget *  parent = 0 
)

◆ ~QtCanvasView() [2/2]

QtCanvasView::~QtCanvasView ( )

Member Function Documentation

◆ canvas() [1/2]

QtCanvas* QtCanvasView::canvas ( ) const
inline

◆ canvas() [2/2]

QtCanvas* QtCanvasView::canvas ( ) const
inline

◆ contentsContextMenuEvent() [1/2]

void QtCanvasView::contentsContextMenuEvent ( QContextMenuEvent *  e)
protectedvirtual

◆ contentsContextMenuEvent() [2/2]

virtual void QtCanvasView::contentsContextMenuEvent ( QContextMenuEvent *  )
protectedvirtual

◆ contentsDragEnterEvent() [1/2]

virtual void QtCanvasView::contentsDragEnterEvent ( QDragEnterEvent *  )
protectedvirtual

◆ contentsDragEnterEvent() [2/2]

void QtCanvasView::contentsDragEnterEvent ( QDragEnterEvent *  )
protectedvirtual

◆ contentsDragLeaveEvent() [1/2]

void QtCanvasView::contentsDragLeaveEvent ( QDragLeaveEvent *  )
protectedvirtual

◆ contentsDragLeaveEvent() [2/2]

virtual void QtCanvasView::contentsDragLeaveEvent ( QDragLeaveEvent *  )
protectedvirtual

◆ contentsDragMoveEvent() [1/2]

virtual void QtCanvasView::contentsDragMoveEvent ( QDragMoveEvent *  )
protectedvirtual

◆ contentsDragMoveEvent() [2/2]

void QtCanvasView::contentsDragMoveEvent ( QDragMoveEvent *  )
protectedvirtual

◆ contentsDropEvent() [1/2]

void QtCanvasView::contentsDropEvent ( QDropEvent *  )
protectedvirtual

◆ contentsDropEvent() [2/2]

virtual void QtCanvasView::contentsDropEvent ( QDropEvent *  )
protectedvirtual

◆ contentsMouseDoubleClickEvent() [1/2]

virtual void QtCanvasView::contentsMouseDoubleClickEvent ( QMouseEvent *  )
protectedvirtual

Reimplemented in CanvasView, and CanvasView.

◆ contentsMouseDoubleClickEvent() [2/2]

void QtCanvasView::contentsMouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Reimplemented in CanvasView, and CanvasView.

Referenced by QtCanvasWidget::contextMenuEvent().

◆ contentsMouseMoveEvent() [1/2]

virtual void QtCanvasView::contentsMouseMoveEvent ( QMouseEvent *  )
protectedvirtual

Reimplemented in CanvasView, and CanvasView.

◆ contentsMouseMoveEvent() [2/2]

void QtCanvasView::contentsMouseMoveEvent ( QMouseEvent *  e)
protectedvirtual

Reimplemented in CanvasView, and CanvasView.

Referenced by QtCanvasWidget::contextMenuEvent().

◆ contentsMousePressEvent() [1/2]

void QtCanvasView::contentsMousePressEvent ( QMouseEvent *  e)
protectedvirtual

Reimplemented in CanvasView, and CanvasView.

Referenced by QtCanvasWidget::contextMenuEvent().

◆ contentsMousePressEvent() [2/2]

virtual void QtCanvasView::contentsMousePressEvent ( QMouseEvent *  )
protectedvirtual

Reimplemented in CanvasView, and CanvasView.

◆ contentsMouseReleaseEvent() [1/2]

virtual void QtCanvasView::contentsMouseReleaseEvent ( QMouseEvent *  )
protectedvirtual

◆ contentsMouseReleaseEvent() [2/2]

void QtCanvasView::contentsMouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual

◆ contentsWheelEvent() [1/2]

virtual void QtCanvasView::contentsWheelEvent ( QWheelEvent *  )
protectedvirtual

◆ contentsWheelEvent() [2/2]

void QtCanvasView::contentsWheelEvent ( QWheelEvent *  e)
protectedvirtual

◆ drawContents() [1/4]

void QtCanvasView::drawContents ( QPainter *  p,
int  cx,
int  cy,
int  cw,
int  ch 
)
protectedvirtual

◆ drawContents() [2/4]

virtual void QtCanvasView::drawContents ( QPainter *  p,
int  cx,
int  cy,
int  cw,
int  ch 
)
protectedvirtual

◆ drawContents() [3/4]

void QtCanvasView::drawContents ( QPainter *  )
private

◆ drawContents() [4/4]

void QtCanvasView::drawContents ( QPainter *  )
private

◆ highQualityRendering() [1/2]

bool QtCanvasView::highQualityRendering ( ) const

◆ highQualityRendering() [2/2]

bool QtCanvasView::highQualityRendering ( ) const

◆ inverseWorldMatrix() [1/2]

const QMatrix & QtCanvasView::inverseWorldMatrix ( ) const

◆ inverseWorldMatrix() [2/2]

const QMatrix& QtCanvasView::inverseWorldMatrix ( ) const

◆ setCanvas() [1/2]

void QtCanvasView::setCanvas ( QtCanvas v)

◆ setCanvas() [2/2]

void QtCanvasView::setCanvas ( QtCanvas v)

◆ setHighQualityRendering [1/2]

void QtCanvasView::setHighQualityRendering ( bool  enable)
slot

◆ setHighQualityRendering [2/2]

void QtCanvasView::setHighQualityRendering ( bool  enable)
slot

◆ setWorldMatrix() [1/2]

bool QtCanvasView::setWorldMatrix ( const QMatrix &  wm)

◆ setWorldMatrix() [2/2]

bool QtCanvasView::setWorldMatrix ( const QMatrix &  )

◆ sizeHint() [1/2]

QSize QtCanvasView::sizeHint ( ) const
virtual

References canvas().

Referenced by QtCanvasWidget::contextMenuEvent().

◆ sizeHint() [2/2]

virtual QSize QtCanvasView::sizeHint ( ) const
virtual

◆ updateContentsSize [1/2]

void QtCanvasView::updateContentsSize ( )
privateslot

◆ updateContentsSize [2/2]

void QtCanvasView::updateContentsSize ( )
privateslot

◆ worldMatrix() [1/2]

const QMatrix & QtCanvasView::worldMatrix ( ) const

◆ worldMatrix() [2/2]

const QMatrix& QtCanvasView::worldMatrix ( ) const

Friends And Related Function Documentation

◆ QtCanvas

QtCanvas
friend

◆ QtCanvasWidget

Referenced by QtCanvasView().

Member Data Documentation

◆ d

QtCanvasViewData * QtCanvasView::d
private

◆ viewing

QtCanvas * QtCanvasView::viewing
private

Property Documentation

◆ highQualityRendering

bool QtCanvasView::highQualityRendering
readwrite

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