Krita Source Code Documentation
Loading...
Searching...
No Matches
KisCanvasNavigationActionStrategyNativeGesture.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISCANVASNAVIGATIONACTIONSTRATEGYNATIVEGESTURE_H
8#define KISCANVASNAVIGATIONACTIONSTRATEGYNATIVEGESTURE_H
9
10#include <QPointF>
13
14class QEvent;
15class KisCanvas2;
16
18{
19public:
20 KisCanvasNavigationActionStrategyNativeGesture(Flags flags, const QPointF &startViewPos, KisCanvas2 *canvas);
21
22 bool supportsEvent(QEvent* event) const override;
23 void inputEvent(QEvent* event) override;
24
25private:
27
29 qreal m_nonRoundedZoom {0.0};
32
34};
35
36#endif // KISCANVASNAVIGATIONACTIONSTRATEGYNATIVEGESTURE_H
KisCanvasNavigationActionStrategyNativeGesture(Flags flags, const QPointF &startViewPos, KisCanvas2 *canvas)