Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/tools/KoZoomStrategy.h
Show All 30 Lines | |||||
31 | */ | 31 | */ | ||
32 | class KoZoomStrategy : public KoShapeRubberSelectStrategy | 32 | class KoZoomStrategy : public KoShapeRubberSelectStrategy | ||
33 | { | 33 | { | ||
34 | public: | 34 | public: | ||
35 | /** | 35 | /** | ||
36 | * constructor | 36 | * constructor | ||
37 | * @param tool the parent tool this strategy is for | 37 | * @param tool the parent tool this strategy is for | ||
38 | * @param controller the canvas controller that wraps the canvas the tool is acting on. | 38 | * @param controller the canvas controller that wraps the canvas the tool is acting on. | ||
39 | * @param clicked the location (in documnet points) where the interaction starts. | 39 | * @param clicked the location (in document points) where the interaction starts. | ||
40 | */ | 40 | */ | ||
41 | KoZoomStrategy(KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked); | 41 | KoZoomStrategy(KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked); | ||
42 | 42 | | |||
43 | void forceZoomOut(); | 43 | void forceZoomOut(); | ||
44 | void forceZoomIn(); | 44 | void forceZoomIn(); | ||
45 | 45 | | |||
46 | /// Execute the zoom | 46 | /// Execute the zoom | ||
47 | void finishInteraction(Qt::KeyboardModifiers modifiers) override; | 47 | void finishInteraction(Qt::KeyboardModifiers modifiers) override; | ||
Show All 13 Lines |