Docs: Improve properties documentation

Fixes: QDS-6801
Change-Id: Iced78ffc7ef6251c32cd78f7a90fb6f56f3ca826
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
This commit is contained in:
Vikas Pachdha
2023-07-12 20:30:06 +02:00
parent c3dee68573
commit 9218c36d8a

View File

@@ -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