* This is a significant optimisation, otherwise Qt will iterate over every event and get its size, which can be expensive with the events being rich text strings.