Results 1 to 2 of 2

Thread: disabling multiple selection of items in graphicsscene/view

  1. #1
    Join Date
    Apr 2010
    Posts
    16
    Thanks
    1
    Qt products
    Platforms
    Windows

    Default disabling multiple selection of items in graphicsscene/view

    I want to enable/disable multiple selection of graphics items. As a default Qt allows to select multiple items with Ctrl+Click.

    Is there any way to switch this on or off or do I have to reimplement mouseEvents in the View/Scene?

    Thanks in advance
    Chris

  2. #2
    Join Date
    Apr 2010
    Posts
    16
    Thanks
    1
    Qt products
    Platforms
    Windows

    Default Re: disabling multiple selection of items in graphicsscene/view

    fixed it with a mode value for the scene and clearing selection when mousePress and mode is single selection.

Similar Threads

  1. QGraphicsScene: selection of multiple items is very slow
    By felixrubio in forum Qt Programming
    Replies: 0
    Last Post: 22nd July 2010, 16:51
  2. Replies: 6
    Last Post: 27th March 2010, 06:42
  3. Replies: 5
    Last Post: 10th February 2010, 12:08
  4. multiple selection of list view items
    By samirg in forum Qt Programming
    Replies: 2
    Last Post: 30th October 2007, 20:05
  5. Replies: 1
    Last Post: 16th October 2007, 23:41

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.