Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathPointRubberSelectStrategy.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006 Jan Hambrecht <jaham@gmx.net>
3 * SPDX-FileCopyrightText: 2006 Thorsten Zachmann <zachmann@kde.org>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KOPATHPOINTRUBBERSELECTSTRATEGY_H
9#define KOPATHPOINTRUBBERSELECTSTRATEGY_H
10
12
13class KoPathTool;
14
19{
20public:
21 KoPathPointRubberSelectStrategy(KoPathTool *tool, const QPointF &clicked);
23
24 void handleMouseMove(const QPointF &p, Qt::KeyboardModifiers modifiers) override;
25 void finishInteraction(Qt::KeyboardModifiers modifiers) override;
26 void cancelInteraction() override;
27
28private:
31 Q_DECLARE_PRIVATE(KoShapeRubberSelectStrategy)
32};
33
34#endif /* KOPATHPOINTRUBBERSELECTSTRATEGY_H */
const Params2D p
Strategy to rubber select points of a path shape.
KoPathTool * m_tool
pointer to the path tool
void handleMouseMove(const QPointF &p, Qt::KeyboardModifiers modifiers) override
void finishInteraction(Qt::KeyboardModifiers modifiers) override
KoPathPointRubberSelectStrategy(KoPathTool *tool, const QPointF &clicked)