libs/flake

KoZoomStrategy Class Reference

//internal This is a strategy for the KoZoomTool which will be used to do the actual zooming More...

#include <KoZoomStrategy.h>

Inheritance diagram for KoZoomStrategy:

List of all members.

Public Member Functions

 KoZoomStrategy (KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked)
virtual void cancelInteraction ()
virtual void finishInteraction (Qt::KeyboardModifiers modifiers)
void forceZoomIn ()
void forceZoomOut ()

Detailed Description

//internal This is a strategy for the KoZoomTool which will be used to do the actual zooming

Definition at line 32 of file KoZoomStrategy.h.


Constructor & Destructor Documentation

KoZoomStrategy::KoZoomStrategy ( KoZoomTool tool,
KoCanvasController controller,
const QPointF clicked 
)

constructor

Parameters:
tool the parent tool this strategy is for
controller the canvas controller that wraps the canvas the tool is acting on.
clicked the location (in documnet points) where the interaction starts.

Definition at line 28 of file KoZoomStrategy.cpp.


Member Function Documentation

void KoZoomStrategy::cancelInteraction (  )  [virtual]

This method will undo frames based interactions by calling createCommand() and unexecuting that.

Reimplemented from KoInteractionStrategy.

Definition at line 53 of file KoZoomStrategy.cpp.

void KoZoomStrategy::finishInteraction ( Qt::KeyboardModifiers  modifiers  )  [virtual]

Execute the zoom.

Reimplemented from KoShapeRubberSelectStrategy.

Definition at line 35 of file KoZoomStrategy.cpp.

void KoZoomStrategy::forceZoomIn (  ) 

Definition at line 64 of file KoZoomStrategy.cpp.

void KoZoomStrategy::forceZoomOut (  ) 

Definition at line 59 of file KoZoomStrategy.cpp.


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