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. QGraphicsScene + subtract and move
Forum Updated to NodeBB v4.3 + New Features

QGraphicsScene + subtract and move

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.9k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    AlricDoRei
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jake007
        wrote on last edited by
        #3

        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


        Code is poetry

        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