2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2016-09-15 17:55:28 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
namespace ScxmlEditor {
|
|
|
|
|
|
|
|
|
|
namespace PluginInterface {
|
|
|
|
|
|
|
|
|
|
class ScxmlTag;
|
|
|
|
|
|
|
|
|
|
class ImageProvider : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit ImageProvider(QObject *parent = nullptr);
|
|
|
|
|
|
|
|
|
|
virtual QImage *backgroundImage(const ScxmlTag *tag) const = 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace PluginInterface
|
|
|
|
|
} // namespace ScxmlEditor
|