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