equal
deleted
inserted
replaced
59 |
59 |
60 QT_BEGIN_NAMESPACE |
60 QT_BEGIN_NAMESPACE |
61 |
61 |
62 /*! |
62 /*! |
63 \qmlclass TextEdit QDeclarativeTextEdit |
63 \qmlclass TextEdit QDeclarativeTextEdit |
|
64 \ingroup qml-basic-visual-elements |
64 \since 4.7 |
65 \since 4.7 |
65 \brief The TextEdit item displays multiple lines of editable formatted text. |
66 \brief The TextEdit item displays multiple lines of editable formatted text. |
66 \inherits Item |
67 \inherits Item |
67 |
68 |
68 The TextEdit item displays a block of editable, formatted text. |
69 The TextEdit item displays a block of editable, formatted text. |
100 points using positionAt() and positionToRectangle(). |
101 points using positionAt() and positionToRectangle(). |
101 |
102 |
102 \sa Text, TextInput, {declarative/text/textselection}{Text Selection example} |
103 \sa Text, TextInput, {declarative/text/textselection}{Text Selection example} |
103 */ |
104 */ |
104 |
105 |
105 /*! |
|
106 \internal |
|
107 \class QDeclarativeTextEdit |
|
108 \qmlclass TextEdit |
|
109 |
|
110 \brief The QDeclarativeTextEdit class provides an editable formatted text item that you can add to a QDeclarativeView. |
|
111 |
|
112 It can display both plain and rich text. |
|
113 |
|
114 \image declarative-textedit.png |
|
115 |
|
116 A QDeclarativeTextEdit object can be instantiated in QML using the tag \c <TextEdit>. |
|
117 */ |
|
118 |
|
119 /*! |
|
120 Constructs a new QDeclarativeTextEdit. |
|
121 */ |
|
122 QDeclarativeTextEdit::QDeclarativeTextEdit(QDeclarativeItem *parent) |
106 QDeclarativeTextEdit::QDeclarativeTextEdit(QDeclarativeItem *parent) |
123 : QDeclarativePaintedItem(*(new QDeclarativeTextEditPrivate), parent) |
107 : QDeclarativePaintedItem(*(new QDeclarativeTextEditPrivate), parent) |
124 { |
108 { |
125 Q_D(QDeclarativeTextEdit); |
109 Q_D(QDeclarativeTextEdit); |
126 d->init(); |
110 d->init(); |