Loading...
Searching...
No Matches
MoveTool.hpp
1#pragma once
2#include <Curve/Palette/CommandObjects/CreatePointCommandObject.hpp>
3#include <Curve/Palette/CommandObjects/PenCommandObject.hpp>
4#include <Curve/Palette/CommandObjects/SetSegmentParametersCommandObject.hpp>
5#include <Curve/Palette/CurvePoint.hpp>
6#include <Curve/Palette/Tools/CurveTool.hpp>
7
8#include <QPoint>
9
10namespace Curve
11{
12class ToolPalette;
13
15{
16public:
18
19 void on_pressed(QPointF, Curve::Point);
20 void on_moved(QPointF, Curve::Point);
21 void on_released(QPointF, Curve::Point);
22};
23
25{
26public:
27 explicit CreateTool(Curve::ToolPalette& sm, const score::DocumentContext& context);
28
29private:
31};
32
34{
35public:
36 explicit SetSegmentTool(Curve::ToolPalette& sm, const score::DocumentContext& context);
37
38private:
40};
41
43{
44public:
45 explicit CreatePenTool(Curve::ToolPalette& sm, const score::DocumentContext& context);
46
47private:
49};
50}
Definition MoveTool.hpp:43
Definition CreatePointCommandObject.hpp:17
Definition MoveTool.hpp:25
Definition CurveTool.hpp:19
Definition MoveTool.hpp:15
Definition PenCommandObject.hpp:17
Definition SetSegmentParametersCommandObject.hpp:22
Definition MoveTool.hpp:34
Definition CurvePalette.hpp:33
Utilities and base classes for 1D curves.
Definition FocusDispatcher.hpp:12
Definition DocumentContext.hpp:18