diff options
author | David Boddie <david.boddie@nokia.com> | 2011-01-17 19:16:50 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-01-17 19:16:50 (GMT) |
commit | 006929de7f84430278e370eaa468a93fa3a1fb96 (patch) | |
tree | e6fdfc64e6efc162585f8f6c01492b4925c46527 /src/declarative/graphicsitems/qdeclarativetextedit.cpp | |
parent | 72900c3004825514244ebd38f38c0443b9774ad3 (diff) | |
download | Qt-006929de7f84430278e370eaa468a93fa3a1fb96.zip Qt-006929de7f84430278e370eaa468a93fa3a1fb96.tar.gz Qt-006929de7f84430278e370eaa468a93fa3a1fb96.tar.bz2 |
Doc: Fixed invalid/incomplete QML code snippets.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextedit.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextedit.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextedit.cpp b/src/declarative/graphicsitems/qdeclarativetextedit.cpp index 675f8d9..d326ff7 100644 --- a/src/declarative/graphicsitems/qdeclarativetextedit.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextedit.cpp @@ -350,11 +350,13 @@ void QDeclarativeTextEdit::setFont(const QFont &font) The text color. \qml -// green text using hexadecimal notation -TextEdit { color: "#00FF00"; ... } + // green text using hexadecimal notation + TextEdit { color: "#00FF00" } + \endqml -// steelblue text using SVG color name -TextEdit { color: "steelblue"; ... } + \qml + // steelblue text using SVG color name + TextEdit { color: "steelblue" } \endqml */ QColor QDeclarativeTextEdit::color() const |