summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts/ibus/interfaces
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2022-05-25 22:07:36 +0200
committerDavid Faure <david.faure@kdab.com>2022-05-26 16:58:42 +0200
commit09c7457f4ab8021e7637e60e6c3d1f644639aec1 (patch)
treea616cc26d117d741d593542d7dc41a67a79de96f /src/plugins/platforminputcontexts/ibus/interfaces
parent2996ca031efcd97ef9866186ae53e96ed75c9fbf (diff)
QTextDocument: add setLayoutEnabled()HEADdev
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>
Diffstat (limited to 'src/plugins/platforminputcontexts/ibus/interfaces')
0 files changed, 0 insertions, 0 deletions