Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickdesignersupportproperties_p.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
4
#ifndef DESIGNERSUPPORTPROPERTIES_H
5
#define DESIGNERSUPPORTPROPERTIES_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include "
qquickdesignersupport_p.h
"
19
20
#include <QObject>
21
#include <QString>
22
#include <QVariant>
23
#include <QList>
24
#include <QByteArray>
25
#include <QQmlContext>
26
#include <QQmlListReference>
27
28
QT_BEGIN_NAMESPACE
29
30
class
Q_QUICK_EXPORT
QQuickDesignerSupportProperties
31
{
32
public
:
33
static
void
createNewDynamicProperty(
QObject
*
object
,
QQmlEngine
*
engine
,
const
QString
&
name
);
34
static
void
registerNodeInstanceMetaObject(
QObject
*
object
,
QQmlEngine
*
engine
);
35
static
void
registerCustomData(
QObject
*
object
);
36
static
QVariant
getResetValue(
QObject
*
object
,
const
QQuickDesignerSupport::PropertyName
&propertyName);
37
static
void
doResetProperty(
QObject
*
object
,
QQmlContext
*
context
,
const
QQuickDesignerSupport::PropertyName
&propertyName);
38
static
bool
hasValidResetBinding(
QObject
*
object
,
const
QQuickDesignerSupport::PropertyName
&propertyName);
39
40
static
bool
hasBindingForProperty(
QObject
*
object
,
41
QQmlContext
*
context
,
42
const
QQuickDesignerSupport::PropertyName
&propertyName,
43
bool
*hasChanged);
44
static
void
setPropertyBinding(
QObject
*
object
,
45
QQmlContext
*
context
,
46
const
QQuickDesignerSupport::PropertyName
&propertyName,
47
const
QString
&expression);
48
static
void
keepBindingFromGettingDeleted(
QObject
*
object
,
49
QQmlContext
*
context
,
50
const
QQuickDesignerSupport::PropertyName
&propertyName);
51
52
static
bool
isPropertyQObject(
const
QMetaProperty
&metaProperty);
53
static
QObject
*readQObjectProperty(
const
QMetaProperty
&metaProperty,
QObject
*
object
);
54
55
static
void
getPropertyCache(
QObject
*
object
);
56
static
bool
isPropertyBlackListed(
const
QQuickDesignerSupport::PropertyName
&propertyName);
57
static
QQuickDesignerSupport::PropertyNameList
propertyNameListForWritableProperties
(
QObject
*
object
);
58
static
QQuickDesignerSupport::PropertyNameList
allPropertyNames(
QObject
*
object
,
59
const
QQuickDesignerSupport::PropertyName
&baseName =
QQuickDesignerSupport::PropertyName
(),
60
QObjectList
*inspectedObjects =
nullptr
,
61
int
depth
= 0);
62
static
bool
hasFullImplementedListInterface(
const
QQmlListReference
&
list
);
63
};
64
65
QT_END_NAMESPACE
66
67
#endif
// DESIGNERSUPPORTPROPERTIES_H
QByteArray
\inmodule QtCore
Definition
qbytearray.h:57
QList< QObject * >
QMetaProperty
\inmodule QtCore
Definition
qmetaobject.h:324
QObject
\inmodule QtCore
Definition
qobject.h:103
QQmlContext
The QQmlContext class defines a context within a QML engine.
Definition
qqmlcontext.h:25
QQmlEngine
The QQmlEngine class provides an environment for instantiating QML components.
Definition
qqmlengine.h:57
QQmlListReference
The QQmlListReference class allows the manipulation of QQmlListProperty properties.
Definition
qqmllist.h:183
QQuickDesignerSupportProperties
Definition
qquickdesignersupportproperties_p.h:31
QQuickDesignerSupport::PropertyNameList
QList< PropertyName > PropertyNameList
Definition
qquickdesignersupport_p.h:39
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QVariant
\inmodule QtCore
Definition
qvariant.h:65
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
context
static void * context
Definition
qandroidaudiosource.cpp:42
depth
GLint GLenum GLsizei GLsizei GLsizei depth
Definition
qopengles2ext.h:603
name
GLuint name
Definition
qopengles2ext.h:156
qquickdesignersupport_p.h
propertyNameListForWritableProperties
static QQuickDesignerSupport::PropertyNameList propertyNameListForWritableProperties(QObject *object, const QQuickDesignerSupport::PropertyName &baseName, QObjectList *inspectedObjects, int depth=0)
Definition
qquickdesignersupportproperties.cpp:93
list
QList< int > list
[14]
Definition
src_concurrent_qtconcurrentfilter.cpp:140
engine
QJSEngine engine
[0]
Definition
src_script_qjsvalue.cpp:14
qtdeclarative
src
quick
designer
qquickdesignersupportproperties_p.h
Generated by
1.10.0