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. Propagating QGraphicsVIew rubber band selection (data) to the QGraphicsItems
Qt 6.11 is out! See what's new in the release blog

Propagating QGraphicsVIew rubber band selection (data) to the QGraphicsItems

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    As the title suggests I am trying to extend the QGraphicsView rubber band selection mechanism but without much luck. What I am trying to achieve is to propagate the selection (bounding box, etc.) to the graphics items that are being selected.

    The reason to this is that I have created a point cloud graphics item that displays a whole bunch of points and I would like to propagate the selection area to this item so that it can manage the selection of individual points in its own way. Due to the sheer size of the point cloud representing each point as a graphics item is out of the question.

    I have been scouring through the documentation as well as brief intermissions inside the source code but without luck. As far as I can tell there is no obvious means to do this. But there should be some reasonable solution to this? Or do I need to roll out my own rubber band selection functionality?

    Cheers!
    /Maigo

    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