Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.0, 5.13.2, 6.3
Description
There is no way to change the QTextDocument instance of a QQuickTextEdit. QQuickTextDocument provides only read access to the QTextDocument instance. That is a custom QTextDocument subclass (QQuickTextDocumentWithImageResources) and therefore cannot be made interchangeable - a plain QTextDocument wouldn't work correctly with QQuickTextEdit.
=> QTextDocument should provide means for QQuickTextEdit to do the resource handling without subclassing QTextDocument.
This is a rather big restriction for applications with multiple documents, because each document requires its own instance of QQuickTextEdit. This is not only clumsy but also very inefficient because each document, visible or not, has a view attached and thus does heavy text layouting when the content changes in the background.
Attachments
Issue Links
- relates to
-
QTBUG-103246 Qt should have a QIo like what KIO is. But much much better
- Open
-
QTBUG-35760 Crash during application shutdown, in freetype
- Closed
-
QTBUG-108146 move remote resource loading from Qt Quick to QtCore
- Reported
-
QTBUG-90211 Qt 6.1 API Change Review
- Closed
-
QTBUG-92208 QUrlResourceProvider API needs to be fixed
- Closed
-
QTBUG-25116 Qt 5 to-do in QTextDocument
- Closed
-
QTBUG-81022 Text editor example contradicts QQuickTextDocument's documentation
- Reported
- mentioned in
-
Page Loading...