Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QGraphicsScene + subtract and move



  • Is it possible to do this with QGraphicsView + QGraphicsScene?
    !http://i44.tinypic.com/5k53ed.jpg(Image)!
    I mean adding for example a QGraphicsPixmapItem, then subtract some part of it and move this part such as individual item.



  • You should use the image button left of the link button for pictures. They will show up directly in your post.
    Your link is broken anyway. Please fix.



  • Yes it is.
    You basically already told the solution.
    Detect selected area,
    Copy everything in that are into new QGraphicsPixmap item,
    Fill the original with white, transparent or whatever you want,
    And display the new one as seperate item.

    Hope it helps,
    Regards,
    Jake


Log in to reply