blob: 03c59b221d4a5c420d82bc96126ad46d2a64d059 (
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
26
27
28
29
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QObject>
namespace ScxmlEditor {
namespace PluginInterface {
class BaseItem;
class WarningItem;
class GraphicsItemProvider : public QObject
{
Q_OBJECT
public:
explicit GraphicsItemProvider(QObject *parent = nullptr)
: QObject(parent)
{
}
virtual WarningItem *createWarningItem(const QString &key, BaseItem *parentItem) const = 0;
};
} // namespace PluginInterface
} // namespace ScxmlEditor
|