blob: eab46768ab62e6fb812a16bb334a1c64a6975b96 (
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
30
31
32
33
34
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef ABSTRACTFORMEDITORPLUGIN_H
#define ABSTRACTFORMEDITORPLUGIN_H
#include <QtDesigner/sdk_global.h>
#include <QtCore/qobject.h>
QT_BEGIN_NAMESPACE
class QDesignerFormEditorInterface;
class QAction;
class QDESIGNER_SDK_EXPORT QDesignerFormEditorPluginInterface
{
public:
Q_DISABLE_COPY_MOVE(QDesignerFormEditorPluginInterface)
QDesignerFormEditorPluginInterface() = default;
virtual ~QDesignerFormEditorPluginInterface() = default;
virtual bool isInitialized() const = 0;
virtual void initialize(QDesignerFormEditorInterface *core) = 0;
virtual QAction *action() const = 0;
virtual QDesignerFormEditorInterface *core() const = 0;
};
Q_DECLARE_INTERFACE(QDesignerFormEditorPluginInterface, "org.qt-project.Qt.Designer.QDesignerFormEditorPluginInterface")
QT_END_NAMESPACE
#endif // ABSTRACTFORMEDITORPLUGIN_H
|