diff options
Diffstat (limited to 'src/declarative/fx/qfxtextedit.cpp')
-rw-r--r-- | src/declarative/fx/qfxtextedit.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/declarative/fx/qfxtextedit.cpp b/src/declarative/fx/qfxtextedit.cpp index 68aea01..807fcbf 100644 --- a/src/declarative/fx/qfxtextedit.cpp +++ b/src/declarative/fx/qfxtextedit.cpp @@ -63,16 +63,15 @@ QML_DEFINE_TYPE(QFxTextEdit, TextEdit); /*! \qmlclass TextEdit \brief The TextEdit element allows you to add editable formatted text to a scene. - \inherits ImageItem It can display both plain and rich text. For example: - \code + \qml <TextEdit id="edit" focus="true" focusable="true" font.family="Helvetica" font.size="20" color="blue" width="240"> <![CDATA[<b>Hello</b> <i>World!</i>]]/> </TextEdit> - \endcode + \endqml \image declarative-textedit.gif |