summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-09-28 00:40:49 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-10-13 06:48:33 (GMT)
commitdeb92145c5bc69b7ee252687cf5b763b33f17775 (patch)
tree65a479df53c8801883b22fbe26c5f42b38599d4d /doc/src
parentbefbf33a0170de28631adb01c49491197595d20c (diff)
downloadQt-deb92145c5bc69b7ee252687cf5b763b33f17775.zip
Qt-deb92145c5bc69b7ee252687cf5b763b33f17775.tar.gz
Qt-deb92145c5bc69b7ee252687cf5b763b33f17775.tar.bz2
Update color type docs to mention transparency
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/basictypes.qdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/declarative/basictypes.qdoc b/doc/src/declarative/basictypes.qdoc
index e327d4a..e8aceb3 100644
--- a/doc/src/declarative/basictypes.qdoc
+++ b/doc/src/declarative/basictypes.qdoc
@@ -156,8 +156,10 @@
Example:
\qml
Rectangle { color: "steelblue" }
+ Rectangle { color: "transparent" }
Rectangle { color: "#FF0000" }
Rectangle { color: "#800000FF" }
+ Rectangle { color: "#00000000" } // ARGB fully transparent
\endqml
Or with the \l{QML:Qt::rgba()}{Qt.rgba()}, \l{QML:Qt::hsla()}{Qt.hsla()}, \l{QML:Qt::darker()}{Qt.darker()},