#include <mainwindow.h>
Signals | |
void | itemClicked (QtCanvasItem *item) |
void | itemClicked (QtCanvasItem *item) |
void | itemMoved (QtCanvasItem *item) |
void | itemMoved (QtCanvasItem *item) |
Public Member Functions | |
CanvasView (QtCanvas *canvas, QWidget *parent=0) | |
CanvasView (QtCanvas *canvas, QWidget *parent=0) | |
CanvasView (QWidget *parent=0) | |
CanvasView (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 (QtCanvas *viewing, QWidget *parent=0) | |
QtCanvasView (QtCanvas *viewing, QWidget *parent=0) | |
QtCanvasView (QWidget *parent=0) | |
QtCanvasView (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) |
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 |
Reimplemented from QtCanvasView.
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
protectedvirtual |
Reimplemented from QtCanvasView.
References QtCanvasView::canvas(), QtCanvasView::inverseWorldMatrix(), itemMoved(), QtCanvasItem::moveBy(), and QtCanvas::update().
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
protectedvirtual |
Reimplemented from QtCanvasView.
|
signal |
|
signal |
|
signal |
|
signal |