Krita Source Code Documentation
Loading...
Searching...
No Matches
KoParameterChangeStrategy.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
SPDX-FileCopyrightText: 2006 Thorsten Zachmann <zachmann@kde.org>
3
SPDX-FileCopyrightText: 2007 Thomas Zander <zander@kde.org>
4
5
SPDX-License-Identifier: LGPL-2.0-or-later
6
*/
7
#ifndef KOPARAMETERCHANGESTRATEGY_H
8
#define KOPARAMETERCHANGESTRATEGY_H
9
10
#include "kritaflake_export.h"
11
#include "
KoInteractionStrategy.h
"
12
#include <QPointF>
13
14
class
KoParameterShape
;
15
class
KoParameterChangeStrategyPrivate
;
16
18
class
KRITAFLAKE_EXPORT
KoParameterChangeStrategy
:
public
KoInteractionStrategy
19
{
20
public
:
27
KoParameterChangeStrategy
(
KoToolBase
*tool,
KoParameterShape
*parameterShape,
int
handleId);
28
~KoParameterChangeStrategy
()
override
;
29
30
void
handleMouseMove
(
const
QPointF &mouseLocation, Qt::KeyboardModifiers modifiers)
override
;
31
void
finishInteraction
(Qt::KeyboardModifiers modifiers)
override
;
32
KUndo2Command
*
createCommand
()
override
;
33
34
protected
:
36
KoParameterChangeStrategy
(
KoParameterChangeStrategyPrivate
&);
37
38
private
:
39
Q_DECLARE_PRIVATE(
KoParameterChangeStrategy
)
40
};
41
42
#endif
/* KOPARAMETERCHANGESTRATEGY_H */
KoInteractionStrategy.h
KUndo2Command
Definition
kundo2stack.h:87
KoInteractionStrategy
Definition
KoInteractionStrategy.h:38
KoInteractionStrategy::handleMouseMove
virtual void handleMouseMove(const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers)=0
KoInteractionStrategy::createCommand
virtual KUndo2Command * createCommand()=0
KoInteractionStrategy::finishInteraction
virtual void finishInteraction(Qt::KeyboardModifiers modifiers)=0
KoParameterChangeStrategyPrivate
Definition
KoParameterChangeStrategy_p.h:15
KoParameterChangeStrategy
Strategy for changing control points of parametric shapes.
Definition
KoParameterChangeStrategy.h:19
KoParameterShape
Definition
KoParameterShape.h:35
KoToolBase
Definition
KoToolBase.h:57
libs
flake
tools
KoParameterChangeStrategy.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52