Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
abstractformeditorplugin.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef ABSTRACTFORMEDITORPLUGIN_H
5#define ABSTRACTFORMEDITORPLUGIN_H
6
7#include <QtDesigner/sdk_global.h>
8
9#include <QtCore/qobject.h>
10
11QT_BEGIN_NAMESPACE
12
13class QDesignerFormEditorInterface;
14class QAction;
15
16class QDESIGNER_SDK_EXPORT QDesignerFormEditorPluginInterface
17{
18public:
19 Q_DISABLE_COPY_MOVE(QDesignerFormEditorPluginInterface)
20
21 QDesignerFormEditorPluginInterface() = default;
22 virtual ~QDesignerFormEditorPluginInterface() = default;
23
24 virtual bool isInitialized() const = 0;
25 virtual void initialize(QDesignerFormEditorInterface *core) = 0;
26 virtual QAction *action() const = 0;
27
28 virtual QDesignerFormEditorInterface *core() const = 0;
29};
30Q_DECLARE_INTERFACE(QDesignerFormEditorPluginInterface, "org.qt-project.Qt.Designer.QDesignerFormEditorPluginInterface")
31
32QT_END_NAMESPACE
33
34#endif // ABSTRACTFORMEDITORPLUGIN_H
The QDesignerFormEditorPluginInterface class provides an interface that is used to manage plugins for...
Q_DECLARE_INTERFACE(QNetworkAccessBackendFactory, QNetworkAccessBackendFactory_iid)