Doc: Update screenshots about custom properties

Add an example of where custom properties should be used.

Task-number: QDS-4561
Change-Id: Idf99f63bc4c4a04b8b7912c98f15274ec7544b10
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Leena Miettinen
2021-09-17 08:57:49 +02:00
parent 0efe414100
commit 9283f74bed
3 changed files with 5 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -50,6 +50,11 @@
Similarly, you can add custom properties for your own components that are Similarly, you can add custom properties for your own components that are
based on preset components. based on preset components.
Any content that is data-driven should be exported as a public property
(alias property) of the relevant component. For example, a speedometer
should have an \e int or \e real property for speed to which the UI is
bound.
You can add properties for components in \l {Connection View} > You can add properties for components in \l {Connection View} >
\uicontrol Properties. \uicontrol Properties.