summaryrefslogtreecommitdiff
path: root/doc/qtdesignstudio
diff options
context:
space:
mode:
authorPranta Dastider <pranta.dastider@qt.io>2022-11-21 14:47:26 +0100
committerPranta Ghosh Dastider <pranta.dastider@qt.io>2022-11-22 11:01:52 +0000
commitc960d75b33a55f42431590c81fdf85fa960a1756 (patch)
treedea8adc342ea544ec75b6b6d6231d58f27babf28 /doc/qtdesignstudio
parentac1af9a58211e6efc2b265c79ff192dc03e16ec2 (diff)
downloadqt-creator-c960d75b33a55f42431590c81fdf85fa960a1756.tar.gz
QmlDesigner: Update Property binding instructions
The property binidng instruction was a little outdated hence, had some mismatch with the current procedure. This patch updates it to the correct state removing the irrelevant text. Also, put the texts in more structured format for better readability. Fixes: QDS-8261 Change-Id: I809af7ef6bd33c25f571a81f2c4f1ff294139c25 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'doc/qtdesignstudio')
-rw-r--r--doc/qtdesignstudio/src/components/qtquick-positioning.qdoc24
1 files changed, 10 insertions, 14 deletions
diff --git a/doc/qtdesignstudio/src/components/qtquick-positioning.qdoc b/doc/qtdesignstudio/src/components/qtquick-positioning.qdoc
index 54857d9122..5ea37b040c 100644
--- a/doc/qtdesignstudio/src/components/qtquick-positioning.qdoc
+++ b/doc/qtdesignstudio/src/components/qtquick-positioning.qdoc
@@ -44,23 +44,19 @@
Property bindings are created implicitly whenever a property is assigned a
JavaScript expression. To set JavaScript expressions as values of properties
- in the \l Properties view, select the \inlineimage icons/action-icon.png
- (\uicontrol Actions) menu next to a property, and then select
- \uicontrol {Set Binding}.
+ in the \l Properties view:
+ \list 1
+ \li Select the \inlineimage icons/action-icon.png
+ (\uicontrol Actions) menu next to a property, and then select
+ \uicontrol {Set Binding}.
- \image qmldesigner-set-expression.png "Actions menu"
+ \image qmldesigner-set-expression.png "Actions menu"
- In \uicontrol {Binding Editor}, select a component and a property from
- lists of available components and their properties.
+ \li In \uicontrol {Binding Editor}, select a component and a property from
+ lists of available components and their properties.
- \image qmldesigner-binding-editor.png "Binding Editor"
-
- Alternatively, start typing a
- string and press \key Ctrl+Space to display a list of properties, IDs, and
- code snippets. When you enter a period (.) after a property name, a list of
- available values is displayed. Press \key Enter to accept the first
- suggestion in the list and to complete the code. For more information, see
- \l{Completing Code}.
+ \image qmldesigner-binding-editor.png "Binding Editor"
+ \endlist
When a binding is set, the \uicontrol Actions menu icon changes to
\inlineimage icons/action-icon-binding.png