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 QQUICKIMPLICITSIZEITEM_H |
5 | #define QQUICKIMPLICITSIZEITEM_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 <private/qtquickglobal_p.h> |
19 | #include <QtQuick/qquickitem.h> |
20 | |
21 | QT_BEGIN_NAMESPACE |
22 | |
23 | class QQuickImplicitSizeItemPrivate; |
24 | class Q_QUICK_PRIVATE_EXPORT QQuickImplicitSizeItem : public QQuickItem |
25 | { |
26 | Q_OBJECT |
27 | Q_PROPERTY(qreal implicitWidth READ implicitWidth NOTIFY implicitWidthChanged) |
28 | Q_PROPERTY(qreal implicitHeight READ implicitHeight NOTIFY implicitHeightChanged) |
29 | QML_ANONYMOUS |
30 | QML_ADDED_IN_VERSION(6, 2) |
31 | |
32 | protected: |
33 | QQuickImplicitSizeItem(QQuickImplicitSizeItemPrivate &dd, QQuickItem *parent); |
34 | |
35 | private: |
36 | Q_DISABLE_COPY(QQuickImplicitSizeItem) |
37 | Q_DECLARE_PRIVATE(QQuickImplicitSizeItem) |
38 | }; |
39 | |
40 | QT_END_NAMESPACE |
41 | |
42 | #endif // QQUICKIMPLICITSIZEITEM_H |
43 | |