To use graphics, view, scene for repaint a text
Unsolved
Qt for Python
-
Hi, I will develop a text editor in pyqt6 but using graphics, view and scene.
Until now I can "draw" the characters in the scene and I want to implement the following operations:- add another text at any position of the text
-remove some text from the text
I mapped the characters shown in the scene into a list of list.
I can act on this matrix for insert new characters from a position or remove characters from a position, then delete the scene and draw the text again.
This is not efficient! Is there another way?
- add another text at any position of the text