kivio
KivioCanvas Class Reference
List of all members.Detailed Description
Definition at line 60 of file kivio_canvas.h.
Public Types | |
enum | RectType { Insert, Rubber } |
Public Slots | |
virtual void | setUpdatesEnabled (bool) |
void | zoomIn (const QPoint &) |
void | zoomOut (const QPoint &) |
void | scrollDx (int dx) |
void | scrollDy (int dy) |
void | scrollV (int value) |
void | scrollH (int value) |
void | updateScrollBars () |
void | startPasteMoving () |
void | updateAutoGuideLines () |
Signals | |
void | visibleAreaChanged () |
Public Member Functions | |
KivioCanvas (QWidget *, KivioView *, KivioDoc *, QScrollBar *, QScrollBar *) | |
~KivioCanvas () | |
int | xOffset () const |
int | yOffset () const |
const KivioPage * | activePage () const |
KivioPage * | activePage () |
KivioPage * | findPage (const QString &_name) |
KivioView * | view () const |
KivioDoc * | doc () const |
QSize | actualSize () const |
virtual bool | event (QEvent *) |
void | startRectDraw (const QPoint &p, RectType t) |
void | continueRectDraw (const QPoint &p, RectType t) |
void | endRectDraw () |
QRect | rect () const |
void | startSpawnerDragDraw (const QPoint &p) |
void | continueSpawnerDragDraw (const QPoint &p) |
void | endSpawnerDragDraw () |
void | drawSelectedStencilsXOR () |
void | drawStencilXOR (KivioStencil *) |
KoPoint | snapToGrid (const KoPoint &) |
KoPoint | snapToGuides (const KoPoint &, bool &, bool &) |
KoPoint | snapToGridAndGuides (const KoPoint &) |
KoPoint | mapFromScreen (const QPoint &) |
QPoint | mapToScreen (const KoPoint &) |
void | beginUnclippedSpawnerPainter () |
void | endUnclippedSpawnerPainter () |
void | setViewCenterPoint (const KoPoint &) |
KoRect | visibleArea () |
void | setVisibleArea (KoRect, int margin=0) |
void | setVisibleAreaByWidth (KoRect, int margin=0) |
void | setVisibleAreaByHeight (KoRect, int margin=0) |
KoGuides & | guideLines () |
int | pageOffsetX () const |
int | pageOffsetY () const |
void | setShowConnectorTargets (bool state) |
bool | showConnectorTargets () const |
Protected Slots | |
void | borderTimerTimeout () |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | enterEvent (QEvent *) |
virtual void | leaveEvent (QEvent *) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | paintEvent (QPaintEvent *) |
virtual void | wheelEvent (QWheelEvent *) |
virtual void | dragEnterEvent (QDragEnterEvent *) |
virtual void | dragMoveEvent (QDragMoveEvent *) |
virtual void | dragLeaveEvent (QDragLeaveEvent *) |
virtual void | dropEvent (QDropEvent *) |
virtual void | keyPressEvent (QKeyEvent *) |
void | beginUnclippedPainter () |
void | endUnclippedPainter () |
void | paintSelectedXOR () |
void | continuePasteMoving (const QPoint &pos) |
void | endPasteMoving () |
Friends | |
class | KivioView |
Member Function Documentation
|
Creates a new spawner drawing object.
Definition at line 695 of file kivio_canvas.cpp. |
|
Undraws the old stencil outline, draws the new one.
Definition at line 596 of file kivio_canvas.cpp. |
|
Handles the initial drag event.
Definition at line 822 of file kivio_canvas.cpp. |
|
Handles when a drag leaves this object.
Definition at line 892 of file kivio_canvas.cpp. |
|
Handles drag-move events.
Definition at line 844 of file kivio_canvas.cpp. |
|
Handles drops for this object.
Definition at line 865 of file kivio_canvas.cpp. |
|
Ends the ability to draw a drag & drop spawner object.
Definition at line 663 of file kivio_canvas.cpp. |
|
Deletes the current spawner drawing object.
Definition at line 726 of file kivio_canvas.cpp. |
|
Starts a new drag & draw (called from the drag enter event).
Definition at line 547 of file kivio_canvas.cpp. |
The documentation for this class was generated from the following files: