I’ve been working with QGraphicsTextItems. I currently have the laid out in a scene, each depicting a physical page of text. Right now I’m overriding the keyReleaseEvent function to redistribute the text typed across all of the pages. The problem with this is that when I set the text with setPlainText, the cursor moves back to the beginning of the textitem that is set as the focus item for the scene.
As you can imagine, this is problematic when typing, especially on another page instead of the one set to focus, it also makes the keyboard shortcuts for cutting and copying not work at all.
Is there a way to set the text of a QGraphicsTextItem without it resetting the cursor / moving the cursor?