QtQuick.Shapes: Mark Shape properties as readonly

Expect boundingRect, which was added in Qt 6.6, so can't be
cherry-picked.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I03aeb808acdf60e207eba45e7b6761d29714d6f2
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit a35f65a5fa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ivan Tkachenko 2023-12-14 20:24:43 +03:00 committed by Qt Cherry-pick Bot
parent 319e10f9a9
commit 1e21dc3326
1 changed files with 2 additions and 0 deletions

View File

@ -728,6 +728,7 @@ QQuickShape::~QQuickShape()
/*!
\qmlproperty enumeration QtQuick.Shapes::Shape::rendererType
\readonly
This property determines which path rendering backend is active.
@ -910,6 +911,7 @@ void QQuickShape::setVendorExtensionsEnabled(bool enable)
/*!
\qmlproperty enumeration QtQuick.Shapes::Shape::status
\readonly
This property determines the status of the Shape and is relevant when
Shape.asynchronous is set to \c true.