Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

CanvasGesture Class Reference

#include <canvasgesture.h>

Inheritance diagram for CanvasGesture:

Inheritance graph
[legend]
Collaboration diagram for CanvasGesture:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void enterEvent (QEvent *e)
virtual void leaveEvent (QEvent *e)
virtual void dragEnterEvent (QDragEnterEvent *e)
virtual void dragMoveEvent (QDragMoveEvent *e)
virtual void dragLeaveEvent (QDragLeaveEvent *e)
virtual void dropEvent (QDropEvent *e)
virtual void mouseDoubleClickEvent (QMouseEvent *m)
virtual void mouseReleaseEvent (QMouseEvent *m)
virtual void mouseMoveEvent (QMouseEvent *m)
virtual void mousePressEvent (QMouseEvent *m)
virtual void keyPressEvent (QKeyEvent *e)
virtual void keyReleaseEvent (QKeyEvent *e)
virtual void inputMethodEvent (QInputMethodEvent *e)
CanvasModedelegate ()
void setDelegate (CanvasMode *delegate)

Protected Member Functions

 CanvasGesture (CanvasMode *parent)
 CanvasGesture (ScribusView *view)

Protected Attributes

CanvasModem_delegate


Detailed Description

This class is a superclass for canvas gestures. CanvasGestures are temporary canvasmodes which have a pointer to the CanvasMode in which they started. ScribusView::stopGesture() will return control to that mode. By default, all events are delegated to the canvas mode.

Definition at line 47 of file canvasgesture.h.


Constructor & Destructor Documentation

CanvasGesture::CanvasGesture ( CanvasMode parent  )  [inline, protected]

Definition at line 50 of file canvasgesture.h.

CanvasGesture::CanvasGesture ( ScribusView view  )  [inline, protected]

Definition at line 51 of file canvasgesture.h.


Member Function Documentation

virtual void CanvasGesture::enterEvent ( QEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Reimplemented in RectSelect.

Definition at line 54 of file canvasgesture.h.

virtual void CanvasGesture::leaveEvent ( QEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Reimplemented in RectSelect.

Definition at line 55 of file canvasgesture.h.

virtual void CanvasGesture::dragEnterEvent ( QDragEnterEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 57 of file canvasgesture.h.

virtual void CanvasGesture::dragMoveEvent ( QDragMoveEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 58 of file canvasgesture.h.

virtual void CanvasGesture::dragLeaveEvent ( QDragLeaveEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 59 of file canvasgesture.h.

virtual void CanvasGesture::dropEvent ( QDropEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 60 of file canvasgesture.h.

virtual void CanvasGesture::mouseDoubleClickEvent ( QMouseEvent *  m  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 62 of file canvasgesture.h.

virtual void CanvasGesture::mouseReleaseEvent ( QMouseEvent *  m  )  [inline, virtual]

Reimplemented from CanvasMode.

Reimplemented in LineMove, RectSelect, ResizeGesture, and RulerGesture.

Definition at line 63 of file canvasgesture.h.

virtual void CanvasGesture::mouseMoveEvent ( QMouseEvent *  m  )  [inline, virtual]

Reimplemented from CanvasMode.

Reimplemented in LineMove, RectSelect, ResizeGesture, and RulerGesture.

Definition at line 64 of file canvasgesture.h.

virtual void CanvasGesture::mousePressEvent ( QMouseEvent *  m  )  [inline, virtual]

Reimplemented from CanvasMode.

Reimplemented in LineMove, RectSelect, ResizeGesture, and RulerGesture.

Definition at line 65 of file canvasgesture.h.

virtual void CanvasGesture::keyPressEvent ( QKeyEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 67 of file canvasgesture.h.

virtual void CanvasGesture::keyReleaseEvent ( QKeyEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 68 of file canvasgesture.h.

virtual void CanvasGesture::inputMethodEvent ( QInputMethodEvent *  e  )  [inline, virtual]

Reimplemented from CanvasMode.

Definition at line 69 of file canvasgesture.h.

CanvasMode* CanvasGesture::delegate (  )  [inline, virtual]

main canvas modes dont have a delegate

Reimplemented from CanvasMode.

Definition at line 71 of file canvasgesture.h.

void CanvasGesture::setDelegate ( CanvasMode delegate  )  [inline]

Definition at line 72 of file canvasgesture.h.

Referenced by ScribusView::startGesture().


Member Data Documentation

Definition at line 75 of file canvasgesture.h.


The documentation for this class was generated from the following file:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.