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
abstractwidgetfactory.cpp
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
#
include
<
QtDesigner
/
abstractwidgetfactory
.
h
>
6
#
include
"abstractformeditor.h"
7
#
include
"abstractwidgetdatabase.h"
8
9
QT_BEGIN_NAMESPACE
10
11
/*!
12
\class QDesignerWidgetFactoryInterface
13
\brief The QDesignerWidgetFactoryInterface class provides an interface that is used to control
14
the widget factory used by \QD.
15
\inmodule QtDesigner
16
\internal
17
*/
18
19
/*!
20
\fn QDesignerWidgetFactoryInterface::QDesignerWidgetFactoryInterface(QObject *parent)
21
22
Constructs an interface to a widget factory with the given \a parent.
23
*/
24
QDesignerWidgetFactoryInterface::QDesignerWidgetFactoryInterface(QObject *parent)
25
: QObject(parent)
26
{
27
}
28
29
/*!
30
\fn virtual QDesignerWidgetFactoryInterface::~QDesignerWidgetFactoryInterface()
31
*/
32
QDesignerWidgetFactoryInterface::~QDesignerWidgetFactoryInterface() =
default
;
33
34
/*!
35
\fn virtual QDesignerFormEditorInterface *QDesignerWidgetFactoryInterface::core() const = 0
36
37
Returns the core form editor interface associated with this interface.
38
*/
39
40
/*!
41
\fn virtual QWidget* QDesignerWidgetFactoryInterface::containerOfWidget(QWidget *child) const = 0
42
43
Returns the widget that contains the specified \a child widget.
44
*/
45
46
/*!
47
\fn virtual QWidget* QDesignerWidgetFactoryInterface::widgetOfContainer(QWidget *container) const = 0
48
49
50
*/
51
52
/*!
53
\fn virtual QWidget *QDesignerWidgetFactoryInterface::createWidget(const QString &name, QWidget *parent) const = 0
54
55
Returns a new widget with the given \a name and \a parent widget. If no parent is specified,
56
the widget created will be a top-level widget.
57
*/
58
59
/*!
60
\fn virtual QLayout *QDesignerWidgetFactoryInterface::createLayout(QWidget *widget, QLayout *layout, int type) const = 0
61
62
Returns a new layout of the specified \a type for the given \a widget or \a layout.
63
*/
64
65
/*!
66
\fn virtual bool QDesignerWidgetFactoryInterface::isPassiveInteractor(QWidget *widget) = 0
67
*/
68
69
/*!
70
\fn virtual void QDesignerWidgetFactoryInterface::initialize(QObject *object) const = 0
71
*/
72
73
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qttools
src
designer
src
lib
sdk
abstractwidgetfactory.cpp
Generated on
for Qt by
1.16.1