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
objectutils_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef OBJECTUTILS_P_H
6#define OBJECTUTILS_P_H
7
8#if 0
9# pragma qt_sync_skip_header_check
10#endif
11
12#include "uilib_global.h"
13
14#include <QtCore/qlist.h>
15#include <QtCore/qmetaobject.h>
16
17QT_BEGIN_NAMESPACE
18
19class QLayout;
20class QWidget;
21
22#ifdef QFORMINTERNAL_NAMESPACE
23namespace QFormInternal
24{
25#endif
26
29
30QDESIGNER_UILIB_EXPORT QList<const QMetaObject *> widgetMetaObjects();
31
32QDESIGNER_UILIB_EXPORT QLayout *createLayoutInstance(const QString &className, QWidget *parent);
33QDESIGNER_UILIB_EXPORT QWidget *createWidgetInstance(const QString &className, QWidget *parent);
34
35#ifdef QFORMINTERNAL_NAMESPACE
36}
37#endif
38
39QT_END_NAMESPACE
40
41#endif // OBJECTUTILS_P_H
The QLayout class is the base class of geometry managers.
Definition qlayout.h:27
friend class QWidget
Definition qpainter.h:432
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
Auxiliary methods to store/retrieve settings.
static QString xmlFromWidgetBox(const QDesignerFormEditorInterface *core, const QString &className, const QString &objectName)
static QString generateNewFormXML(const QString &className, const QString &similarClassName, const QString &name)
static bool isExistingTemplate(const QString &className)
static WidgetDataBaseItem * createCustomWidgetItem(const QDesignerCustomWidgetInterface *c, const QDesignerCustomWidgetData &data)
static bool suitableForNewForm(const QString &className)
static void addWidgetItem(WidgetDataBase *wdb, const QMetaObject *mo)
QList< QString > QStringList
Constructs a string list that contains the given string, str.
#define QDESIGNER_SHARED_EXPORT
#define QDESIGNER_UILIB_EXPORT
Definition ui4.h:36