| 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 | #include "qquickimplicitsizeitem_p.h" |
| 5 | #include "qquickimplicitsizeitem_p_p.h" |
| 6 | |
| 7 | QT_BEGIN_NAMESPACE |
| 8 | |
| 9 | /*! |
| 10 | \internal |
| 11 | |
| 12 | QQuickImplicitSizeItem redefines the implicitWidth and implicitHeight |
| 13 | properties as readonly, as some items (e.g. Image, where the implicit size |
| 14 | represents the real size of the image) should not be able to have their |
| 15 | implicit size modified. |
| 16 | */ |
| 17 | |
| 18 | QQuickImplicitSizeItem::QQuickImplicitSizeItem(QQuickImplicitSizeItemPrivate &dd, QQuickItem *parent) |
| 19 | : QQuickItem(dd, parent) |
| 20 | { |
| 21 | } |
| 22 | |
| 23 | QT_END_NAMESPACE |
| 24 | |
| 25 | #include "moc_qquickimplicitsizeitem_p.cpp" |
| 26 |
