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
qdesigner_components.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 QDESIGNER_COMPONENTS_H
5#define QDESIGNER_COMPONENTS_H
6
7#include <QtDesigner/qdesigner_components_global.h>
8#include <QtCore/qglobal.h>
9
10QT_BEGIN_NAMESPACE
11
12class QObject;
13class QWidget;
14
15class QDesignerFormEditorInterface;
16class QDesignerWidgetBoxInterface;
17class QDesignerPropertyEditorInterface;
18class QDesignerObjectInspectorInterface;
19class QDesignerActionEditorInterface;
20
21class QDESIGNER_COMPONENTS_EXPORT QDesignerComponents
22{
23public:
24 static void initializeResources();
25 static void initializePlugins(QDesignerFormEditorInterface *core);
26
27 static QDesignerFormEditorInterface *createFormEditor(QObject *parent);
28 static QDesignerFormEditorInterface *
29 createFormEditorWithPluginPaths(const QStringList &pluginPaths,
30 QObject *parent);
31 static QDesignerWidgetBoxInterface *createWidgetBox(QDesignerFormEditorInterface *core, QWidget *parent);
32 static QDesignerPropertyEditorInterface *createPropertyEditor(QDesignerFormEditorInterface *core, QWidget *parent);
33 static QDesignerObjectInspectorInterface *createObjectInspector(QDesignerFormEditorInterface *core, QWidget *parent);
34 static QDesignerActionEditorInterface *createActionEditor(QDesignerFormEditorInterface *core, QWidget *parent);
35
36 static QObject *createTaskMenu(QDesignerFormEditorInterface *core, QObject *parent);
37 static QWidget *createResourceEditor(QDesignerFormEditorInterface *core, QWidget *parent);
38 static QWidget *createSignalSlotEditor(QDesignerFormEditorInterface *core, QWidget *parent);
39
40 static QStringList defaultPluginPaths();
41};
42
43QT_END_NAMESPACE
44
45#endif // QDESIGNER_COMPONENTS_H
The QDesignerComponents class provides a central resource for the various components used in the \QD ...
friend class QWidget
Definition qpainter.h:421