Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickwidget_plugin.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
QQUICKWIDGET_PLUGIN_H
6
#
define
QQUICKWIDGET_PLUGIN_H
7
8
#
include
<
QtQuick
/
qquickwindow
.
h
>
9
#
include
<
QtUiPlugin
/
customwidget
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QQuickWidgetPlugin:
public
QObject,
public
QDesignerCustomWidgetInterface
14
{
15
Q_OBJECT
16
Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetInterface"
)
17
Q_INTERFACES(QDesignerCustomWidgetInterface)
18
public
:
19
explicit
QQuickWidgetPlugin(QObject *parent =
nullptr
);
20
21
QString name()
const
override;
22
QString group()
const
override;
23
QString toolTip()
const
override;
24
QString whatsThis()
const
override;
25
QString includeFile()
const
override;
26
QIcon icon()
const
override;
27
bool
isContainer()
const
override;
28
QWidget *createWidget(QWidget *parent) override;
29
bool
isInitialized()
const
override;
30
void
initialize(QDesignerFormEditorInterface *core) override;
31
QString domXml()
const
override;
32
33
private
slots:
34
void
sceneGraphError(QQuickWindow::SceneGraphError,
const
QString &);
35
36
private
:
37
bool
m_initialized =
false
;
38
};
39
40
QT_END_NAMESPACE
41
42
#
endif
// QQUICKWIDGET_PLUGIN_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qttools
src
designer
src
plugins
qquickwidget
qquickwidget_plugin.h
Generated on
for Qt by
1.18.0