Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Residual lines moving QGraphicsRectItem

Residual lines moving QGraphicsRectItem

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 433 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.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by
    #1

    Hello!!

    I have a QGraphicsView with a QGraphicsScene. I have drawn a QGraphicsRectItem with nodes topleft and bottomRight. Dragging this nodes I can resize the QGraphicsRectItem. The problem is, when I resize it, residual lines appear. (see attached image)

    How can I fix it?

    Thank you very much!!

    0_1505377026248_residualLines.PNG

    1 Reply Last reply
    0
    • ivanicyI Offline
      ivanicyI Offline
      ivanicy
      wrote on last edited by
      #2

      Using the repaint function in QGraphicsView class solves the problem.

      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