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. Placing undefined amount of qgraphicspixmapitem
Forum Updated to NodeBB v4.3 + New Features

Placing undefined amount of qgraphicspixmapitem

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 486 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.
  • M Offline
    M Offline
    Misty River
    wrote on last edited by
    #1

    Hi, I would like to place a dynamically chosen amount of qgraphicspixmapitem on the scene that have the same pixmap but the problem is that qgraphicspixmapitem is non-copyable. I tried using a Qlist of pointers but it will only let me add one item with the same pixmap.. how can I add a modifiable amount of items like that without lets say making 25 pixmapitem as class members ?!

    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