CMRepeatedItemAdd Class Reference

#include <canvasmanipulator.h>

Inheritance diagram for CMRepeatedItemAdd:

Inheritance graph
[legend]
Collaboration diagram for CMRepeatedItemAdd:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CMRepeatedItemAdd (ItemDocument *itemDocument, CMManager *cmManager)
virtual ~CMRepeatedItemAdd ()
virtual Type type () const
virtual bool mousePressedInitial (const EventInfo &info)
virtual bool mousePressedRepeat (const EventInfo &info)
virtual bool mouseMoved (const EventInfo &info)
virtual bool mouseReleased (const EventInfo &info)

Static Public Member Functions

static CanvasManipulatorconstruct (ItemDocument *itemDocument, CMManager *cmManager)
static ManipulatorInfomanipulatorInfo ()
static bool acceptManipulation (uint eventState, uint cmState, uint itemType, uint cnItemType)

Detailed Description

Author:
David Saxton

Definition at line 230 of file canvasmanipulator.h.


Member Function Documentation

bool CMRepeatedItemAdd::mousePressedInitial ( const EventInfo info  )  [virtual]

Called when the user single-clicks the mouse

Returns:
true if the manipulation operation has finished

Reimplemented from CanvasManipulator.

Definition at line 375 of file canvasmanipulator.cpp.

References ICNDocument::addItem(), EventInfo::isRightClick, CanvasManipulator::m_eventInfo, CanvasManipulator::p_cmManager, CanvasManipulator::p_icnDocument, CanvasManipulator::p_itemDocument, EventInfo::pos, CMManager::repeatedItemId(), ItemDocument::requestStateSave(), and CMManager::setCMState().

Referenced by mousePressedRepeat().

bool CMRepeatedItemAdd::mousePressedRepeat ( const EventInfo info  )  [virtual]

Called when the user single-clicks the mouse after the first time (only applicable for those operations who are not oneClick

Returns:
true if the manipulation operation has finished

Reimplemented from CanvasManipulator.

Definition at line 370 of file canvasmanipulator.cpp.

References mousePressedInitial().

bool CMRepeatedItemAdd::mouseMoved ( const EventInfo info  )  [virtual]

Called when the user moves the mouse

Returns:
true if the manipulation operation has finished

Reimplemented from CanvasManipulator.

Definition at line 388 of file canvasmanipulator.cpp.

bool CMRepeatedItemAdd::mouseReleased ( const EventInfo info  )  [virtual]

Called when the user releases the mouse

Returns:
true if the manipulation operation has finished

Reimplemented from CanvasManipulator.

Definition at line 393 of file canvasmanipulator.cpp.


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:35 2007 for KTechLab by  doxygen 1.5.1