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// Qt-Security score:significant reason:default
4
5#ifndef QDESIGNER_COMPONENTS_H
6#define QDESIGNER_COMPONENTS_H
7
8#include <QtDesigner/qdesigner_components_global.h>
9#include <QtCore/qglobal.h>
10
11QT_BEGIN_NAMESPACE
12
13class QObject;
14class QWidget;
15
16class QDesignerFormEditorInterface;
17class QDesignerWidgetBoxInterface;
18class QDesignerPropertyEditorInterface;
19class QDesignerObjectInspectorInterface;
20class QDesignerActionEditorInterface;
21
22class QDESIGNER_COMPONENTS_EXPORT QDesignerComponents
23{
24public:
25 static void initializeResources();
26 static void initializePlugins(QDesignerFormEditorInterface *core);
27
28 static QDesignerFormEditorInterface *createFormEditor(QObject *parent);
29 static QDesignerFormEditorInterface *
30 createFormEditorWithPluginPaths(const QStringList &pluginPaths,
31 QObject *parent);
32 static QDesignerWidgetBoxInterface *createWidgetBox(QDesignerFormEditorInterface *core, QWidget *parent);
33 static QDesignerPropertyEditorInterface *createPropertyEditor(QDesignerFormEditorInterface *core, QWidget *parent);
34 static QDesignerObjectInspectorInterface *createObjectInspector(QDesignerFormEditorInterface *core, QWidget *parent);
35 static QDesignerActionEditorInterface *createActionEditor(QDesignerFormEditorInterface *core, QWidget *parent);
36
37 static QObject *createTaskMenu(QDesignerFormEditorInterface *core, QObject *parent);
38 static QWidget *createResourceEditor(QDesignerFormEditorInterface *core, QWidget *parent);
39 static QWidget *createSignalSlotEditor(QDesignerFormEditorInterface *core, QWidget *parent);
40
41 static QStringList defaultPluginPaths();
42};
43
44QT_END_NAMESPACE
45
46#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:432