Krita Source Code Documentation
Loading...
Searching...
No Matches
KoZoomStrategy.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006-2007 Thomas Zander <zander@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOZOOMSTRATEGY_H
8#define KOZOOMSTRATEGY_H
9
11
13class KoZoomTool;
14
20{
21public:
28 KoZoomStrategy(KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked);
29
30 void forceZoomOut();
31 void forceZoomIn();
32
34 void finishInteraction(Qt::KeyboardModifiers modifiers) override;
35 void cancelInteraction() override;
36
37protected:
38 SelectionMode currentMode() const override;
39private:
41
43 Q_DECLARE_PRIVATE(KoShapeRubberSelectStrategy)
44};
45
46#endif
47
KoZoomStrategy(KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked)
SelectionMode currentMode() const override
void finishInteraction(Qt::KeyboardModifiers modifiers) override
Execute the zoom.
void cancelInteraction() override
KoCanvasController * m_controller