Results 1 to 3 of 3

Thread: Adding items to a QGraphicsScene's selection list?

  1. #1

    Default Adding items to a QGraphicsScene's selection list?

    Can I manually add items to a QGraphicsScene's selection list?

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Adding items to a QGraphicsScene's selection list?

    A camel can go 14 days without drink,
    I can't!!!

  3. #3

    Default Re: Adding items to a QGraphicsScene's selection list?

    Hmm i tried set selected, but had some problems.

    Basically I'm trying to do this, If I have two boxes connected by an arrow, and I select the two boxes, I also want it to automatically select the arrow.

    I tried putting my code on itemchanged on my boxes, and it works when I ctrl select the two boxes, but not if I drag a rubberband. It seems like it gets selected momentairly but since the rubberband doesn't intersect the arrow, it gets immediately deselected.

    What can I do?

Similar Threads

  1. multiple selection of list view items
    By samirg in forum Qt Programming
    Replies: 2
    Last Post: 30th October 2007, 19:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.