Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qquickdesignersupportpropertychanges_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 DESIGNERSUPPORTPROPERTYCHANGES_H
5#define DESIGNERSUPPORTPROPERTYCHANGES_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
19
20#include <QVariant>
21
23
25{
26public:
27 static void detachFromState(QObject *propertyChanges);
28 static void attachToState(QObject *propertyChanges);
29 static QObject *targetObject(QObject *propertyChanges);
30 static void removeProperty(QObject *propertyChanges, const QQuickDesignerSupport::PropertyName &propertyName);
31 static QVariant getProperty(QObject *propertyChanges, const QQuickDesignerSupport::PropertyName &propertyName);
32 static void changeValue(QObject *propertyChanges, const QQuickDesignerSupport::PropertyName &propertyName, const QVariant &value);
33 static void changeExpression(QObject *propertyChanges, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression);
34 static QObject *stateObject(QObject *propertyChanges);
35 static bool isNormalProperty(const QQuickDesignerSupport::PropertyName &propertyName);
36};
37
39
40#endif // DESIGNERSUPPORTPROPERTYCHANGES_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore
Definition qobject.h:90
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
\inmodule QtCore
Definition qvariant.h:64
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]