Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. To use graphics, view, scene for repaint a text
Forum Updated to NodeBB v4.3 + New Features

To use graphics, view, scene for repaint a text

Scheduled Pinned Locked Moved Unsolved Qt for Python
pythonqt for python
1 Posts 1 Posters 203 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zabitqt
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved