blob: e7c50f583c481436e3771ccdf86c9ca9fc2f0fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <QList>
QT_BEGIN_NAMESPACE
class QString;
class QPointF;
QT_END_NAMESPACE
namespace qmt {
class IRelationable
{
public:
virtual ~IRelationable() { }
virtual QPointF relationStartPos() const = 0;
virtual void relationDrawn(const QString &id, const QPointF &toScenePos,
const QList<QPointF> &intermediatePoints) = 0;
};
} // namespace qmt
|