\reentrant \inmodule QtGui
\reentrant \inmodule QtGui
void addResource(int type, const QUrl &name, const QVariant &resource)
Adds the resource resource to the resource cache, using type and name as identifiers.
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
QTextCursor textCursor() const
Returns a copy of the QTextCursor that represents the currently visible cursor.
virtual bool canInsertFromMimeData(const QMimeData *source) const
This function returns true if the contents of the MIME data object, specified by source,...
QTextDocument * document
the underlying document of the text editor.
void insertFromMimeData(const QMimeData *source) override
[0]
TextEdit(QWidget *parent=nullptr)
bool canInsertFromMimeData(const QMimeData *source) const override
[0]