qt6-bb10/tests/benchmarks/widgets/graphicsview
David Faure 09c7457f4a QTextDocument: add setLayoutEnabled()
This allows to set up everything first - without paying for the layout
calculation at every step - and only then trigger the layout once.

Results:
 0.065 msecs to create a QGraphicsTextItem with some text (layouted)
 0.036 msecs to set everything up in a QGraphicsTextItem with 0 width

Change-Id: I138bd1d58941d029bc0a36d2730216778f1fbd97
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-05-26 16:58:42 +02:00
..
functional Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsanchorlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsitem QTextDocument: add setLayoutEnabled() 2022-05-26 16:58:42 +02:00
qgraphicslayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicslinearlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsscene Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicswidget Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt