summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/binding.qdoc
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-12 05:47:36 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-12 05:47:36 (GMT)
commitce37daea42e85a62bebff56fabe7103cd54df288 (patch)
tree11007cf7de0a9997fded6e33caa0a4b51635179c /doc/src/declarative/binding.qdoc
parent0241f0e132ef9724876d62cf3a4c29e7fa10cd6d (diff)
downloadQt-ce37daea42e85a62bebff56fabe7103cd54df288.zip
Qt-ce37daea42e85a62bebff56fabe7103cd54df288.tar.gz
Qt-ce37daea42e85a62bebff56fabe7103cd54df288.tar.bz2
Doc
Diffstat (limited to 'doc/src/declarative/binding.qdoc')
-rw-r--r--doc/src/declarative/binding.qdoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/declarative/binding.qdoc b/doc/src/declarative/binding.qdoc
index 4f9bdc8..79ba6ac 100644
--- a/doc/src/declarative/binding.qdoc
+++ b/doc/src/declarative/binding.qdoc
@@ -41,10 +41,12 @@
/*!
\page binding.html
-\title Data Binding in QML
-\target binding
+\title Property Binding
-Data binding provides a declarative way of specifying the data associated with objects, as well as the relationship between data of different objects. For example, you could bind the text of a label to the value of a slider: as the value of the slider changed, the label would be automatically updated with the new value.
+Property binding is a declarative way of specifying the value of a property. Binding allows
+a property's value to be expressed as an ECMAScript expression that defines the value relative
+to other property values or data accessible in the application. The property value is
+automatically kept up to date if the other properties or data values change.
Bindings are created in QML when an expression is assigned to a property. For example, the following produces two rectangles of equal size (\c rect2 is bound to the size of \c rect1):
\code