From 9218c36d8a6ec0445279a06dee37650959c30600 Mon Sep 17 00:00:00 2001 From: Vikas Pachdha Date: Wed, 12 Jul 2023 20:30:06 +0200 Subject: [PATCH] Docs: Improve properties documentation Fixes: QDS-6801 Change-Id: Iced78ffc7ef6251c32cd78f7a90fb6f56f3ca826 Reviewed-by: Thomas Hartmann Reviewed-by: Pranta Ghosh Dastider --- .../src/qtbridge/qtbridge-xd-using.qdoc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/qtdesignstudio/src/qtbridge/qtbridge-xd-using.qdoc b/doc/qtdesignstudio/src/qtbridge/qtbridge-xd-using.qdoc index f4728fa415a..904d9fdb916 100644 --- a/doc/qtdesignstudio/src/qtbridge/qtbridge-xd-using.qdoc +++ b/doc/qtdesignstudio/src/qtbridge/qtbridge-xd-using.qdoc @@ -113,8 +113,16 @@ \c {QtQuick.Controls 2.3} and to use Qt Quick Studio Components 1.0, you need the import statement \c {QtQuick.Studio.Components 1.0}. You can also import a module as an alias. - \li In the \uicontrol {Properties} field, specify properties for the - component. You can add and modify properties in \QDS. + \li In the \uicontrol {Properties} field, specify new properties or assign + value to the existing properties of the component. You can also add and modify + properties in \QDS. + Following are few examples of properties: + \code + property int counter: 5 + property string label: "ok" + antialiasing : true + width: parent.width / 2 + \endcode \li Select the \uicontrol Clip check box to enable clipping in the component generated from the layer. The generated component will clip its own painting, as well as the painting of its children, to its